summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown2025-12-06 17:59:29 +0100
committerMichael Brown2025-12-08 15:24:24 +0100
commitc7f129fedef8c576c3399e20defcb32ad16fad36 (patch)
tree6af88435b538ae21945726d65a712a9eaefa4496 /src/interface
parent[crypto] Split out Weierstrass point initialisation and finalisation (diff)
downloadipxe-c7f129fedef8c576c3399e20defcb32ad16fad36.tar.gz
ipxe-c7f129fedef8c576c3399e20defcb32ad16fad36.tar.xz
ipxe-c7f129fedef8c576c3399e20defcb32ad16fad36.zip
[crypto] Allow for addition of arbitrary Weierstrass curve points
ECDSA verification requires the ability to add two arbitrary curve points (as well as the ability to multiply a curve point by a scalar). Add an elliptic curve method to perform arbitrary point addition. Pass in curve points as affine coordinates: this will require some redundant conversions between affine coorfinates and the internal representation as projective coordinates in Montgomery form, but keeps the API as simple as possible. Since we do not expect to perform a high volume of ECDSA signature verifications, these redundant calculations are an acceptable cost for keeping the code simple. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions