]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Add RFC 3526 FFDHE key exchange algorithms
authorMichael Brown <mcb30@ipxe.org>
Wed, 17 Jun 2026 12:33:54 +0000 (13:33 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 17 Jun 2026 12:38:50 +0000 (13:38 +0100)
commit70d63bec9418dd9f4b9dce46fd0f04b6cb00c0fe
tree5b4ab195c629d4b9f75f6f69969f796f3bf48159
parentcd873a2b5d2f3ff81d16908d932e8517dc6b7daa
[crypto] Add RFC 3526 FFDHE key exchange algorithms

The family of finite fields defined in RFC 7919 is almost identical to
that defined in RFC 3526, with the difference being that the older
standard uses the constant "pi" rather than "e".

Extend the definition of an FFDHE group to include a pointer to the
group constant, add the value of "pi", and define the modp2048,
modp3072, and modp4096 FFDHE groups.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/ffdhe.c
src/include/ipxe/ffdhe.h
src/tests/ffdhe_test.c