diff options
Diffstat (limited to 'src/crypto/sha512.c')
| -rw-r--r-- | src/crypto/sha512.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/crypto/sha512.c b/src/crypto/sha512.c index 814f44563..e84895010 100644 --- a/src/crypto/sha512.c +++ b/src/crypto/sha512.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/sha512.h> /** SHA-512 variables */ @@ -291,13 +290,3 @@ struct digest_algorithm sha512_algorithm = { .update = sha512_update, .final = sha512_final, }; - -/** "sha512" object identifier */ -static uint8_t oid_sha512[] = { ASN1_OID_SHA512 }; - -/** "sha512" OID-identified algorithm */ -struct asn1_algorithm oid_sha512_algorithm __asn1_algorithm = { - .name = "sha512", - .digest = &sha512_algorithm, - .oid = ASN1_OID_CURSOR ( oid_sha512 ), -}; |
