Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-19 | catch up to changes in core version numbers | Paul Selkirk | |
2015-10-03 | Use initializers for automatic variables of type fp_int because it's a | Rob Austein | |
bit more obvious when we've forgotten to do this than when we've forgotten to call fp_init() or memset(). Convert rsa.c to use the one-element-array idiom so we can get stop prefixing every bignum reference with "&". | |||
2015-10-02 | Impressive how much trouble one can get into with one uninitialized bignum. | Rob Austein | |
2015-10-02 | Testing shows that signature and verification are both faster with | Rob Austein | |
mixed Jacobian-affine addition, so go with that. Minor additional clean-up and comments. | |||
2015-10-02 | Revise point addition and point scalar multiplication routines to use | Rob Austein | |
mixed Jacobian-affine coordinates, per a suggestion from Pavel. Old code still present under compile time conditional for easy comparison, but will probably go away soon along with a bit of minor cleanup. | |||
2015-09-14 | Fencepost error in hal_ecdas_key_from_ecpoint(). | Rob Austein | |
2015-09-14 | P-512 parameters were mislabeled. | Rob Austein | |
2015-09-12 | PKCS #11 testing turned up a problem with P-521, don't really | Rob Austein | |
understand the bug yet, but first step is fixing test-ecdsa. | |||
2015-09-11 | Avoid gratuitous assertion failure if caller gives us a larger buffer | Rob Austein | |
than necessary when writing private key to DER. | |||
2015-09-08 | Merge branch 'master' into ecdsa | Rob Austein | |
This required a bit of manual cleanup in hal.h, hash.c, and rsa.c. No intended changes to functionality provided by parent comments, just a few tweaks to track API changes beyond git's ken. | |||
2015-09-08 | Merge branch 'state_access' | Rob Austein | |
2015-09-08 | Merge branch 'modexps6' | Rob Austein | |
2015-09-06 | Add ECPoint I/O functions. ASN.1 cleanup. | Rob Austein | |
2015-09-02 | Still more const-ification. | Rob Austein | |
2015-09-02 | Add PKCS11 ECDSA signature format. | Rob Austein | |
2015-09-02 | Identify PBKDF2 tests. | Rob Austein | |
2015-09-02 | Clean up excessively complicated handling of opaque types in hash and | Rob Austein | |
RSA code; use simpler model (pointer to incomplete structure) used in ECDSA code. Refactor RSA code to use shared ASN.1 routines. | |||
2015-08-27 | Add point validation check to hal_ecdsa_verify(). Update README.md | Rob Austein | |
and code comments. | |||
2015-08-26 | Signature works better if we read the entire hash. | Rob Austein | |
2015-08-25 | More ASN.1 fixes. | Rob Austein | |
2015-08-25 | Rework RFC 5915 ASN.1. | Rob Austein | |
2015-08-25 | More test code. | Rob Austein | |
2015-08-25 | ASN.1 bugfixes. | Rob Austein | |
2015-08-25 | Add keygen/sign/verify test with dynamic (not test vector) key. | Rob Austein | |
2015-08-24 | First stumblings towards ECDSA test code. | Rob Austein | |
2015-08-22 | Rework point_scalar_multiply() to avoid a timing leak with small scalars. | Rob Austein | |
2015-08-22 | Add hal_ecdsa_verify(). Move hashing out of ECDSA routines. Clean up | Rob Austein | |
a few bits that didn't pass self-review. | |||
2015-08-21 | Updated point doubling and addition to use algorithms from the | Rob Austein | |
hyperelliptic.org formula database. Compiles, still not tested. | |||
2015-08-21 | Snapshot along the way to ECDSA. Code mostly written, except for | Rob Austein | |
ecdsa_verify(). Untested. Point addition and doubling algorithms are the ones from libtomcrypt, main point of this commit is to save those before replacing them with faster algorithms from hyperelliptic.org. | |||
2015-07-18 | Re-enable key generation test and RSA blinding. | Rob Austein | |
2015-07-18 | Add support for dynamic allocation of hash and HMAC state, for cases | Rob Austein | |
where it's unavoidable. | |||
2015-07-17 | Debian Jessie hangs with bs=128, Kosagi forum tells us that the magic | Rob Austein | |
solution is to change to bs=32. | |||
2015-07-17 | First cut at libhal support for hash cores with ability to save and | Rob Austein | |
restore internal state. Compiles, not yet tested. | |||
2015-07-14 | Changes to support Pavel's ModExpS6 core. | Rob Austein | |
2015-07-07 | Track move of third party libraries to /sw/thirdparty/. | Rob Austein | |
2015-07-05 | Add load_novena_fpga script. | Rob Austein | |
2015-07-05 | Use C99 variadic macro as safety wrapper around variadic function. | Rob Austein | |
Are we having fun yet? | |||
2015-07-05 | NULL-terminate string list, doh. | Rob Austein | |
2015-07-05 | novena-eim.h had an invisible dependency on <sys/types.h>, at least on | Rob Austein | |
Debian Wheezy (ie, on the Novena). | |||
2015-07-05 | Get rid of autoconf, as we don't really need it. Add eim_peek_poke | Rob Austein | |
utility program, based on Paul's example in the core/platform/novena repository. | |||
2015-07-01 | Change default to use software modexp until we sort out performance | Rob Austein | |
issues in ModExp core. | |||
2015-06-30 | Track ModExp core exponent padding change: this enables the short exponent ↵ | Rob Austein | |
fast path. | |||
2015-06-26 | Verify signature in key generation test. | Rob Austein | |
2015-06-24 | Rework API for loading keys from components. Relax key size | Rob Austein | |
constraints to allow any key size within our supported range, since hsmbully seems to want to twist this knob to every possible setting. | |||
2015-06-21 | libcryptech -> libhal, doh. | Rob Austein | |
2015-06-21 | Check for hash core present before running PBKDF2 tests. | Rob Austein | |
2015-06-21 | Add digest algorithm IDs. | Rob Austein | |
2015-06-19 | Add methods to extract public components from an RSA key. Other minor | Rob Austein | |
cleanup and commenting within RSA module. | |||
2015-06-19 | Add README.md. | Rob Austein | |
2015-06-19 | Add temporary workaround to let us use software ModExp when we're | Rob Austein | |
testing other code and don't want to wait for the as-yet-unoptimized FPGA ModExp core. |