Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sse/blake2s.c')
-rw-r--r--sse/blake2s.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sse/blake2s.c b/sse/blake2s.c
index 4da9cf6..d554e10 100644
--- a/sse/blake2s.c
+++ b/sse/blake2s.c
@@ -406,16 +406,16 @@ int crypto_hash( unsigned char *out, unsigned char *in, unsigned long long inlen
int main( int argc, char **argv )
{
uint8_t key[BLAKE2S_KEYBYTES];
- uint8_t buf[KAT_LENGTH];
+ uint8_t buf[BLAKE2_KAT_LENGTH];
size_t i;
for( i = 0; i < BLAKE2S_KEYBYTES; ++i )
key[i] = ( uint8_t )i;
- for( i = 0; i < KAT_LENGTH; ++i )
+ for( i = 0; i < BLAKE2_KAT_LENGTH; ++i )
buf[i] = ( uint8_t )i;
- for( i = 0; i < KAT_LENGTH; ++i )
+ for( i = 0; i < BLAKE2_KAT_LENGTH; ++i )
{
uint8_t hash[BLAKE2S_OUTBYTES];