aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/des.h
AgeCommit message (Collapse)AuthorFilesLines
2024-02-07[crypto] Add implementation of the DES cipherMichael Brown1-0/+91
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>