[Cryptech-Commits] [sw/libhal] 01/04: Bump size of some static tables, particuarly pkey slots.

git at cryptech.is git at cryptech.is
Mon Mar 6 22:16:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch pymux
in repository sw/libhal.

commit 2abfa2b7fdd1498d49022141b9a44add1fecafe6
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Mon Mar 6 17:11:21 2017 -0500

    Bump size of some static tables, particuarly pkey slots.
---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 08215a8..2d9cbf7 100644
--- a/Makefile
+++ b/Makefile
@@ -27,13 +27,13 @@
 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-# Number of static hash and HMAC state blocks to allocate.
-# Numbers pulled out of a hat, just testing.
+# Number of various kinds of static state blocks to allocate.
+# Numbers pulled out of a hat, tune as we go.
 
 STATIC_CORE_STATE_BLOCKS = 32
-STATIC_HASH_STATE_BLOCKS = 10
-STATIC_HMAC_STATE_BLOCKS = 4
-STATIC_PKEY_STATE_BLOCKS = 32
+STATIC_HASH_STATE_BLOCKS = 32
+STATIC_HMAC_STATE_BLOCKS = 16
+STATIC_PKEY_STATE_BLOCKS = 256
 STATIC_KS_VOLATILE_SLOTS = 128
 
 INC		= hal.h hal_internal.h



More information about the Commits mailing list