Files
ipxe/src/include
Michael Brown 27398f1360 [crypto] Check for all-zeros result from X25519 key exchange
RFC7748 states that it is entirely optional for X25519 Diffie-Hellman
implementations to check whether or not the result is the all-zero
value (indicating that an attacker sent a malicious public key with a
small order).  RFC8422 states that implementations in TLS must abort
the handshake if the all-zero value is obtained.

Return an error if the all-zero value is obtained, so that the TLS
code will not require knowledge specific to the X25519 curve.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2024-01-30 13:21:01 +00:00
..
2015-03-02 16:35:37 +00:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2017-04-10 16:12:53 +01:00
2015-03-02 19:42:48 +00:00
2005-03-08 18:53:11 +00:00
2016-05-04 16:01:33 +01:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2007-07-14 15:42:26 +01:00
2017-04-10 16:12:53 +01:00
2021-05-18 11:45:24 +01:00
2005-03-08 18:53:11 +00:00