| info.txt |
|
346 |
- |
| pcurves_impl.h |
@brief Helper class to pass literal strings to C++ templates
This is a generic utility so it may make sense to move this into utils
if someday such functionality is useful outside of pcurves.
|
59410 |
- |
| pcurves_solinas.h |
Helpers for modular reduction of Solinas primes, such as P-256 and P-384.
Instead of explicitly forming the various integers and adding/subtracting them
row-by-row, we compute the entire sum in one pass, column by column. To prevent
overflow/underflow the accumulator is a signed 64-bit integer, while the various
limbs are (at least for all NIST curves aside from P-192) 32 bit integers.
For more background on Solinas primes / Solinas reduction see
J. Solinas 'Generalized Mersenne Numbers'
<https://cacr.uwaterloo.ca/techreports/1999/corr99-39.pdf>
NIST SP 800-186 Appendix G.1
<https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-186.pdf>
Handbook of Elliptic And Hyperelliptic Curve Cryptography § 10.4.3
|
2789 |
- |
| pcurves_util.h |
|
8267 |
- |
| pcurves_wrap.h |
This class provides a bridge between the "public" (actually still
internal) PrimeOrderCurve type, and the inner templates which are
subclasses of EllipticCurve from pcurves_impl.h
|
16015 |
- |