From bb74f00512995f15bf61517fc039f32713e0af73 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 16 Jun 2020 23:40:58 +0100 Subject: [crypto] Ensure that test code drags in required ASN.1 object identifiers Signed-off-by: Michael Brown --- src/include/ipxe/asn1.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/include') diff --git a/src/include/ipxe/asn1.h b/src/include/ipxe/asn1.h index 24caecdc5..efc66631d 100644 --- a/src/include/ipxe/asn1.h +++ b/src/include/ipxe/asn1.h @@ -312,6 +312,24 @@ struct asn1_algorithm { /** Declare an ASN.1 OID-identified algorithm */ #define __asn1_algorithm __table_entry ( ASN1_ALGORITHMS, 01 ) +/* ASN.1 OID-identified algorithms */ +extern struct asn1_algorithm rsa_encryption_algorithm; +extern struct asn1_algorithm md5_with_rsa_encryption_algorithm; +extern struct asn1_algorithm sha1_with_rsa_encryption_algorithm; +extern struct asn1_algorithm sha256_with_rsa_encryption_algorithm; +extern struct asn1_algorithm sha384_with_rsa_encryption_algorithm; +extern struct asn1_algorithm sha512_with_rsa_encryption_algorithm; +extern struct asn1_algorithm sha224_with_rsa_encryption_algorithm; +extern struct asn1_algorithm oid_md4_algorithm; +extern struct asn1_algorithm oid_md5_algorithm; +extern struct asn1_algorithm oid_sha1_algorithm; +extern struct asn1_algorithm oid_sha256_algorithm; +extern struct asn1_algorithm oid_sha384_algorithm; +extern struct asn1_algorithm oid_sha512_algorithm; +extern struct asn1_algorithm oid_sha224_algorithm; +extern struct asn1_algorithm oid_sha512_224_algorithm; +extern struct asn1_algorithm oid_sha512_256_algorithm; + /** An ASN.1 bit string */ struct asn1_bit_string { /** Data */ -- cgit v1.2.3-55-g7522