diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-02-07 21:20:20 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-02-07 23:32:10 +0000 |
commit | e7ae51b0d75d9b9925748743b91405c99e5c7fec (patch) | |
tree | 00a1509a96ee9c40647abcde9b9bbfe4ec54c437 /src/tests/tests.c | |
parent | af4583b214bfe98df82d6645387d6c78fd698d7f (diff) | |
download | ipxe-e7ae51b0d75d9b9925748743b91405c99e5c7fec.tar.gz |
[crypto] Add implementation of the DES cipher
The DES block cipher dates back to the 1970s. It is no longer
relevant for use in TLS cipher suites, but it is still used by the
MS-CHAPv2 authentication protocol which remains unfortunately common
for 802.1x port authentication.
Add an implementation of the DES block cipher, complete with the
extremely comprehensive test vectors published by NBS (the precursor
to NIST) in the form of an utterly adorable typewritten and hand-drawn
paper document.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/tests.c')
-rw-r--r-- | src/tests/tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/tests.c b/src/tests/tests.c index 41c199c0b..282d2eb65 100644 --- a/src/tests/tests.c +++ b/src/tests/tests.c @@ -82,3 +82,4 @@ REQUIRE_OBJECT ( dhe_test ); REQUIRE_OBJECT ( gcm_test ); REQUIRE_OBJECT ( nap_test ); REQUIRE_OBJECT ( x25519_test ); +REQUIRE_OBJECT ( des_test ); |