summaryrefslogtreecommitdiff
path: root/gpxe/src/crypto/axtls_sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/crypto/axtls_sha1.c')
-rw-r--r--gpxe/src/crypto/axtls_sha1.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/gpxe/src/crypto/axtls_sha1.c b/gpxe/src/crypto/axtls_sha1.c
deleted file mode 100644
index 841e193b..00000000
--- a/gpxe/src/crypto/axtls_sha1.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "crypto/axtls/crypto.h"
-#include <gpxe/crypto.h>
-#include <gpxe/sha1.h>
-
-static void sha1_init ( void *ctx ) {
- SHA1Init ( ctx );
-}
-
-static void sha1_update ( void *ctx, const void *data, size_t len ) {
- SHA1Update ( ctx, data, len );
-}
-
-static void sha1_final ( void *ctx, void *out ) {
- SHA1Final ( ctx, out );
-}
-
-struct digest_algorithm sha1_algorithm = {
- .name = "sha1",
- .ctxsize = SHA1_CTX_SIZE,
- .blocksize = 64,
- .digestsize = SHA1_DIGEST_SIZE,
- .init = sha1_init,
- .update = sha1_update,
- .final = sha1_final,
-};