aboutsummaryrefslogtreecommitdiff
path: root/modexp.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-05-22 23:22:09 -0400
committerRob Austein <sra@hactrn.net>2017-05-22 23:22:09 -0400
commit2b4dc660d9d10eed407851319bfe63d5f9c3acd1 (patch)
tree8890c91f6cae57a95f8616ffc5e9e979813faa58 /modexp.c
parent6c3ec32a384e3018f44dda42ff8bcaf9c94f15c4 (diff)
First pass on experimental one-size-fits-nobody keystore.
Support for variable-length keystore objects significantly complicates the keystore implementation, including serious some serious code bloat and a complex recovery algorithm to deal with crashes or loss of power at exactly the wrong time. Perhaps we don't really need this? So this is an experiment to see whether we can replace variable-length keystore objects with fixed-length, perhaps with a compile time option to let us make the fixed object length be 8192 bytes instead of 4096 bytes when needed to hold things like large RSA keys. First pass on this is just throwing away nearly 1,000 lines of excessively complex code. The result probably won't even compile yet, but it's already significantly easier to read.
Diffstat (limited to 'modexp.c')
0 files changed, 0 insertions, 0 deletions