diff options
author | Michael Brown <mcb30@ipxe.org> | 2025-01-22 12:54:52 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2025-01-28 14:47:52 +0000 |
commit | 66b5d1ec81433d4cbc218ed18f2e4ee04d51aa38 (patch) | |
tree | 8334707b626a69f48af6155977fb12f8120f4225 /src/include/ipxe/tls.h | |
parent | c2f21a21852741e869b5a64d02d6a49ef16a94cd (diff) | |
download | ipxe-66b5d1ec81433d4cbc218ed18f2e4ee04d51aa38.tar.gz |
[crypto] Add a generic implementation of a Montgomery ladder
The Montgomery ladder may be used to perform any operation that is
isomorphic to exponentiation, i.e. to compute the result
r = g^e = g * g * g * g * .... * g
for an arbitrary commutative operation "*", base or generator "g", and
exponent "e".
Implement a generic Montgomery ladder for use by both modular
exponentiation and elliptic curve point multiplication (both of which
are isomorphic to exponentiation).
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tls.h')
0 files changed, 0 insertions, 0 deletions