diff options
| author | ame <[email protected]> | 2024-04-12 14:13:33 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2024-04-12 14:13:33 -0500 |
| commit | ac965cf5e65a120134e5fe15be637a71ecd9ff60 (patch) | |
| tree | acca08a0dc78785cbc8117fb1f325d07e743bf78 /src/hash/blake.c | |
| parent | 16270830384792a8e7d681a04c82bc86f43cea40 (diff) | |
blake2s
Diffstat (limited to 'src/hash/blake.c')
| -rw-r--r-- | src/hash/blake.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/hash/blake.c b/src/hash/blake.c index bd73cef..84aa727 100644 --- a/src/hash/blake.c +++ b/src/hash/blake.c @@ -87,14 +87,6 @@ void compress256(uint32_t* hash, char *block, uint64_t compressed){ //printf("\n"); } -struct blake256_hash { - uint8_t* buffer; - size_t bufflen; - uint32_t total, *hash; - uint64_t compressed; -}; -#define blake224_hash blake256_hash - #define bs 64 struct blake256_hash blake256_init(){ struct blake256_hash a = {.bufflen = 0, .total = 0, .compressed = 0}; @@ -307,13 +299,6 @@ void compress512(uint64_t* hash, uint8_t *block, uint64_t compressed){ for(int i = 0; i < 16; i++) hash[i % 8] ^= v[i]; } -struct blake512_hash { - uint8_t* buffer; - size_t bufflen; - uint64_t total, *hash; - uint64_t compressed; -}; -#define blake384_hash blake512_hash //#undef bs #define bs_2 128 |
