Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2015-06-19 | Add replacement for fp_exptmod() using our ModExp core, so we don't | Rob Austein | |
drag in all of TFM's Montgomery just to support the Miller-Rabin test. | |||
2015-06-18 | Supply public exponent as bigendian byte string rather than unsigned | Rob Austein | |
long, since that's the form we'll need for PKCS #11. | |||
2015-06-18 | Helps to set the return value when reading a key, doh. | Rob Austein | |
2015-06-18 | Add round-trip test for DER I/O code. | Rob Austein | |
2015-06-18 | Add RSA blinding. | Rob Austein | |
2015-06-18 | Refactor CRT code into public API. | Rob Austein | |
2015-06-17 | Debug RSA key generation. | Rob Austein | |
2015-06-17 | RSA key generation and DER support. | Rob Austein | |
2015-06-17 | RSA key generation. Compiles, not (yet) tested otherwise. | Rob Austein | |
2015-06-16 | Refactor key loading code. | Rob Austein | |
2015-06-11 | Debug modexp_fp() buffer handling. Add basic timing report. | Rob Austein | |
Compensate for PyCrypto's weird inversion of p and q when calculating CRT coefficients, and add key the key components PyCrypto doesn't bother pre-calculating to our test data. | |||
2015-06-11 | Build issues on Novena. | Rob Austein | |
2015-06-11 | First cut at RSA decryption/signature using the Chinese Remainder | Rob Austein | |
Theorem. Not yet tested, and given the number of moving parts I would be astonished if this version actually worked, but it does compile. Added some timing code to tests/test-rsa.c so we can see whether this is doing anything useful once it does work. | |||
2015-06-10 | Operand lengths weren't including bug-workaround padding. | Rob Austein | |
2015-06-10 | Add hal_modexp(), since the protocol is a bit complex. Rewrite | Rob Austein | |
test-rsa to use hal_modexp(), and generate a new set of test keys without the whacky padding, since hal_modexp() now handles that. | |||
2015-06-05 | This time for sure, Rocky! | Rob Austein | |
2015-06-05 | Get feedback cycle right in PBKDF2 iteration. | Rob Austein | |
2015-06-05 | HMAC for truncated SHA-512 digests would probably work better if we | Rob Austein | |
used the right digest length constants. Doh. | |||
2015-06-04 | First cut at PBKDF2. | Rob Austein | |
2015-06-04 | Disable HMAC-SHA-384 tests as neither my implementation nor PyCrypto | Rob Austein | |
passes them. Add missing copyright notices, other trivial cleanup (whitespace, etc). | |||
2015-06-04 | Whoops, we're supposed to hash an entire block for the key regardless | Rob Austein | |
of how long the key is. With this fix, HMAC passes tests on Novena. | |||
2015-06-04 | HMAC implementation and test vectors. | Rob Austein | |
2015-06-04 | Refactor hash code prior to adding HMAC (which we need for PBKDF2). | Rob Austein | |
Main changes: moving the ten zillion core-related constants from closures into a driver structure, rework API to the more common initialize/update/finalize because it's easier to understand, particularly with HMAC. | |||
2015-06-03 | ModExp now working! | Rob Austein | |
2015-06-01 | Add padding options to test workaround for current ModExp bugs. | Rob Austein | |
2015-05-28 | More fun with RSA test cases, still not working. | Rob Austein | |
2015-05-27 | First pass at RSA tests. | Rob Austein | |
2015-05-25 | Cleanup: names of *_core_present() functions, Makefile. | Rob Austein | |
2015-05-25 | Doh, skip tests when we know core isn't present. | Rob Austein | |
2015-05-25 | Add missing truncated SHA-512 cases. | Rob Austein | |
2015-05-24 | Cleanup. | Rob Austein | |
2015-05-24 | Debug hash-testing code. | Rob Austein | |
2015-05-24 | First pass on hash test code. | Rob Austein | |
2015-05-24 | AES key wrap now working with AES core. | Rob Austein | |
2015-05-24 | Typing "!" when one meant "~" has interesting effects when bit masking. | Rob Austein | |
2015-05-23 | Guess it might help to write the config value to the AES core after | Rob Austein | |
constructing it, doh. | |||
2015-05-21 | Add test cases for 128-bit and 256-bit KEKs. | Rob Austein | |
2015-05-21 | Add test harness: no useful tests yet, just the framework. | Rob Austein | |
Add human-readable error strings for hal_error_t codes. | |||
2015-05-21 | Copy Joachim's EIM timeout change, make timeout configurable at | Rob Austein | |
compile time. Detect not-multiple-of-four-byte errors before they trigger an infinite loop. Remove printfs() that don't belong in library code, along with an unnecessary malloc(). Other minor cleanup. | |||
2015-05-20 | Add AES Key Wrap using Cryptech AES core. | Rob Austein | |
2015-05-20 | Add csprng and hash modules. Add real error codes instead of magic | Rob Austein | |
numbers, and propegate error codes up from lower layers. Whack C++-isms, add parenthesese to a lot of macro expressions for evaluation safety, other minor cleanup. | |||
2015-05-19 | Import FPGA I/O code from core/platform/novena/sw, add minimal | Rob Austein | |
autoconf, whack with a club until it builds. |