diff options
Diffstat (limited to 'src/crypto/sha1.c')
-rw-r--r-- | src/crypto/sha1.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/crypto/sha1.c b/src/crypto/sha1.c index 51866f4b7..94fce0029 100644 --- a/src/crypto/sha1.c +++ b/src/crypto/sha1.c @@ -35,7 +35,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include <assert.h> #include <ipxe/rotate.h> #include <ipxe/crypto.h> -#include <ipxe/asn1.h> #include <ipxe/sha1.h> /** SHA-1 variables */ @@ -264,13 +263,3 @@ struct digest_algorithm sha1_algorithm = { .update = sha1_update, .final = sha1_final, }; - -/** "sha1" object identifier */ -static uint8_t oid_sha1[] = { ASN1_OID_SHA1 }; - -/** "sha1" OID-identified algorithm */ -struct asn1_algorithm oid_sha1_algorithm __asn1_algorithm = { - .name = "sha1", - .digest = &sha1_algorithm, - .oid = ASN1_OID_CURSOR ( oid_sha1 ), -}; |