]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Split out Diffie-Hellman parameter signature verification
authorMichael Brown <mcb30@ipxe.org>
Tue, 30 Jan 2024 15:23:39 +0000 (15:23 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 30 Jan 2024 16:06:45 +0000 (16:06 +0000)
commit8e2469c861fd25ac4956ca6b3bc3ed4ab8d74308
tree53de0c185a7f45304ce51ca22791aa16f3f975bc
parent989dbe0bc4e63a5843e0c23fb1fd25ba8403bc40
[tls] Split out Diffie-Hellman parameter signature verification

DHE and ECDHE use essentially the same mechanism for verifying the
signature over the Diffie-Hellman parameters, though the format of the
parameters is different between the two methods.

Split out the verification of the parameter signature so that it may
be shared between the DHE and ECDHE key exchange algorithms.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/tls.c