]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Add Ephemeral Diffie-Hellman key exchange algorithm
authorMichael Brown <mcb30@ipxe.org>
Tue, 4 Oct 2022 14:03:28 +0000 (15:03 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 11 Oct 2022 13:33:19 +0000 (14:33 +0100)
commit18b861024ad542bd6df337dfb10a84e04173040f
treedcfb83b24ab695cadf7173ad2348e094c12c8df0
parent007d3cb800fd0e4b01be8a76f0cce2c795cfc89b
[crypto] Add Ephemeral Diffie-Hellman key exchange algorithm

Add an implementation of the Ephemeral Diffie-Hellman key exchange
algorithm as defined in RFC2631, with test vectors taken from the NIST
Cryptographic Toolkit.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/dhe.c [new file with mode: 0644]
src/include/ipxe/dhe.h [new file with mode: 0644]
src/include/ipxe/errfile.h
src/tests/dhe_test.c [new file with mode: 0644]
src/tests/tests.c