Age | Commit message (Collapse) | Author |
|
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.
|
|
test-rsa to use hal_modexp(), and generate a new set of test keys
without the whacky padding, since hal_modexp() now handles that.
|
|
|
|
passes them. Add missing copyright notices, other trivial cleanup
(whitespace, etc).
|
|
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.
|
|
|
|
Add human-readable error strings for hal_error_t codes.
|
|
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.
|
|
|
|
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.
|
|
autoconf, whack with a club until it builds.
|