[Cryptech-Commits] [sw/libhal] branch ecdsa updated (55116cc -> a16bdf7)

git at cryptech.is git at cryptech.is
Mon Sep 14 21:43:17 UTC 2015

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

sra at hactrn.net pushed a change to branch ecdsa
in repository sw/libhal.

      from  55116cc   Add point validation check to hal_ecdsa_verify().  Update README.md and code comments.
       new  12ed3ab   Clean up excessively complicated handling of opaque types in hash and RSA code; use simpler model (pointer to incomplete structure) used in ECDSA code.  Refactor RSA code to use shared ASN.1 routines.
       new  56f48e7   Identify PBKDF2 tests.
       new  ed1608d   Add PKCS11 ECDSA signature format.
       new  89cf910   Still more const-ification.
       new  12fd927   Add ECPoint I/O functions.  ASN.1 cleanup.
      adds  0915302   Changes to support Pavel's ModExpS6 core.
      adds  2d37968   Re-enable key generation test and RSA blinding.
       new  c334ad5   Merge branch 'modexps6'
      adds  b96b3ae   First cut at libhal support for hash cores with ability to save and restore internal state.  Compiles, not yet tested.
      adds  809f0c7   Add support for dynamic allocation of hash and HMAC state, for cases where it's unavoidable.
       new  5106b88   Merge branch 'state_access'
       new  e946b46   Merge branch 'master' into ecdsa
       new  5528927   Avoid gratuitous assertion failure if caller gives us a larger buffer than necessary when writing private key to DER.
       new  c820fa7   PKCS #11 testing turned up a problem with P-521, don't really understand the bug yet, but first step is fixing test-ecdsa.
       new  c60f4fe   P-512 parameters were mislabeled.
       new  a16bdf7   Fencepost error in hal_ecdas_key_from_ecpoint().

The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.

Summary of changes:
 asn1.c              |  34 +++--
 asn1_internal.h     |  19 ++-
 csprng.c            |  50 +++----
 ecdsa.c             | 342 ++++++++++++++++++++++++++++++++++++++++--------
 ecdsa_curves.h      |  24 ++--
 hal.h               | 140 +++++++++++---------
 hal_io_eim.c        |   6 +-
 hal_io_i2c.c        |   6 +-
 hash.c              | 347 +++++++++++++++++++++++++++++++------------------
 modexp.c            | 104 ++++++++-------
 novena-eim.c        |  16 +--
 pbkdf2.c            |   2 +-
 rsa.c               | 365 +++++++++++++++++-----------------------------------
 tests/test-ecdsa.c  |  68 ++++++----
 tests/test-hash.c   |   4 +-
 tests/test-pbkdf2.c |   2 +-
 tests/test-rsa.c    |   8 +-
 17 files changed, 901 insertions(+), 636 deletions(-)

More information about the Commits mailing list