diff options
author | Michael Brown | 2017-11-08 00:20:10 +0100 |
---|---|---|
committer | Michael Brown | 2017-11-12 19:52:03 +0100 |
commit | 0077b0933dea01113336f1b0fb5e0cfecbfc212c (patch) | |
tree | d1ec5172863ea651de8759154ac836fea7fc6a7c /src/include/ipxe/asn1.h | |
parent | [crypto] Eliminate repetitions in MD5 round constant table (diff) | |
download | ipxe-0077b0933dea01113336f1b0fb5e0cfecbfc212c.tar.gz ipxe-0077b0933dea01113336f1b0fb5e0cfecbfc212c.tar.xz ipxe-0077b0933dea01113336f1b0fb5e0cfecbfc212c.zip |
[crypto] Add MD4 message digest algorithm
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/asn1.h')
-rw-r--r-- | src/include/ipxe/asn1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/ipxe/asn1.h b/src/include/ipxe/asn1.h index 847d845b..24caecdc 100644 --- a/src/include/ipxe/asn1.h +++ b/src/include/ipxe/asn1.h @@ -161,6 +161,12 @@ struct asn1_builder_header { ASN1_OID_TRIPLE ( 113549 ), ASN1_OID_SINGLE ( 1 ), \ ASN1_OID_SINGLE ( 1 ), ASN1_OID_SINGLE ( 14 ) +/** ASN.1 OID for id-md4 (1.2.840.113549.2.4) */ +#define ASN1_OID_MD4 \ + ASN1_OID_INITIAL ( 1, 2 ), ASN1_OID_DOUBLE ( 840 ), \ + ASN1_OID_TRIPLE ( 113549 ), ASN1_OID_SINGLE ( 2 ), \ + ASN1_OID_SINGLE ( 4 ) + /** ASN.1 OID for id-md5 (1.2.840.113549.2.5) */ #define ASN1_OID_MD5 \ ASN1_OID_INITIAL ( 1, 2 ), ASN1_OID_DOUBLE ( 840 ), \ |