summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/errfile.h
diff options
context:
space:
mode:
authorMichael Brown2024-02-07 22:20:20 +0100
committerMichael Brown2024-02-08 00:32:10 +0100
commite7ae51b0d75d9b9925748743b91405c99e5c7fec (patch)
tree00a1509a96ee9c40647abcde9b9bbfe4ec54c437 /src/include/ipxe/errfile.h
parent[test] Remove dummy initialisation vector for ECB-mode AES tests (diff)
downloadipxe-e7ae51b0d75d9b9925748743b91405c99e5c7fec.tar.gz
ipxe-e7ae51b0d75d9b9925748743b91405c99e5c7fec.tar.xz
ipxe-e7ae51b0d75d9b9925748743b91405c99e5c7fec.zip
[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/include/ipxe/errfile.h')
-rw-r--r--src/include/ipxe/errfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h
index 060a42a3..f7a00dbe 100644
--- a/src/include/ipxe/errfile.h
+++ b/src/include/ipxe/errfile.h
@@ -408,6 +408,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define ERRFILE_efi_shim ( ERRFILE_OTHER | 0x005d0000 )
#define ERRFILE_efi_settings ( ERRFILE_OTHER | 0x005e0000 )
#define ERRFILE_x25519 ( ERRFILE_OTHER | 0x005f0000 )
+#define ERRFILE_des ( ERRFILE_OTHER | 0x00600000 )
/** @} */