diff options
Diffstat (limited to 'src/crypto/sha256.c')
-rw-r--r-- | src/crypto/sha256.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/crypto/sha256.c b/src/crypto/sha256.c index 0360d8d..6bd7277 100644 --- a/src/crypto/sha256.c +++ b/src/crypto/sha256.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/sha256.h> /** SHA-256 variables */ @@ -271,13 +270,3 @@ struct digest_algorithm sha256_algorithm = { .update = sha256_update, .final = sha256_final, }; - -/** "sha256" object identifier */ -static uint8_t oid_sha256[] = { ASN1_OID_SHA256 }; - -/** "sha256" OID-identified algorithm */ -struct asn1_algorithm oid_sha256_algorithm __asn1_algorithm = { - .name = "sha256", - .digest = &sha256_algorithm, - .oid = ASN1_OID_CURSOR ( oid_sha256 ), -}; |