From dcacc00e3750300617ba6e16eb346713f91a783a Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:52:54 +0100 Subject: Remove testing data --- examples/redis-unstable/src/sha256.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 examples/redis-unstable/src/sha256.h (limited to 'examples/redis-unstable/src/sha256.h') diff --git a/examples/redis-unstable/src/sha256.h b/examples/redis-unstable/src/sha256.h deleted file mode 100644 index a0d90a7..0000000 --- a/examples/redis-unstable/src/sha256.h +++ /dev/null @@ -1,35 +0,0 @@ -/********************************************************************* -* Filename: sha256.h -* Author: Brad Conte (brad AT bradconte.com) -* Copyright: -* Disclaimer: This code is presented "as is" without any guarantees. -* Details: Defines the API for the corresponding SHA256 implementation. -*********************************************************************/ - -#ifndef SHA256_H -#define SHA256_H - -/*************************** HEADER FILES ***************************/ -#include -#include - -/****************************** MACROS ******************************/ -#define SHA256_BLOCK_SIZE 32 // SHA256 outputs a 32 byte digest - -/**************************** DATA TYPES ****************************/ -typedef uint8_t BYTE; // 8-bit byte -typedef uint32_t WORD; // 32-bit word - -typedef struct { - BYTE data[64]; - WORD datalen; - unsigned long long bitlen; - WORD state[8]; -} SHA256_CTX; - -/*********************** FUNCTION DECLARATIONS **********************/ -void sha256_init(SHA256_CTX *ctx); -void sha256_update(SHA256_CTX *ctx, const BYTE data[], size_t len); -void sha256_final(SHA256_CTX *ctx, BYTE hash[]); - -#endif // SHA256_H -- cgit v1.2.3