From 1fdc150116cad39aae5c5da407c3312b47a59e3a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 17 Dec 2021 07:06:30 -0500 Subject: New upstream version 3.3.3+dfsg1. --- Plugins/DbSqliteWx/sha1.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Plugins/DbSqliteWx/sha1.h (limited to 'Plugins/DbSqliteWx/sha1.h') diff --git a/Plugins/DbSqliteWx/sha1.h b/Plugins/DbSqliteWx/sha1.h deleted file mode 100644 index 120d0a2..0000000 --- a/Plugins/DbSqliteWx/sha1.h +++ /dev/null @@ -1,29 +0,0 @@ -/* public api for steve reid's public domain SHA-1 implementation */ -/* this file is in the public domain */ - -#ifndef SHA1_H_ -#define SHA1_H_ (1) - -/** SHA-1 Context */ -typedef struct { - uint32_t h[5]; - /**< Context state */ - uint32_t count[2]; - /**< Counter */ - uint8_t buffer[64]; /**< SHA-1 buffer */ -} sha1_ctx; - -#define SHA1_BLOCK_SIZE 64 -/** SHA-1 Digest size in bytes */ -#define SHA1_DIGEST_SIZE 20 - -void sha1_init(sha1_ctx *context); - -void sha1_update(sha1_ctx *context, const void *p, size_t len); - -void sha1_final(sha1_ctx *context, uint8_t digest[SHA1_DIGEST_SIZE]); - -void sha1_transform(sha1_ctx *context, const uint8_t buffer[64]); - -#endif /* SHA1_H_ */ - -- cgit v1.2.3