Searched refs:BLAKE2B_OUTBYTES (Results 1 – 5 of 5) sorted by relevance
/coreutils/src/blake2/ |
D | blake2b-ref.c | 106 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init() 128 if ( ( !outlen ) || ( outlen > BLAKE2B_OUTBYTES ) ) return -1; in blake2b_init_key() 254 uint8_t buffer[BLAKE2B_OUTBYTES] = {0}; in blake2b_final() 288 if( !outlen || outlen > BLAKE2B_OUTBYTES ) return -1; in blake2b() 313 return blake2b( out, BLAKE2B_OUTBYTES, in, inlen, NULL, 0 ); in crypto_hash() 335 uint8_t hash[BLAKE2B_OUTBYTES]; in main() 336 blake2b( hash, BLAKE2B_OUTBYTES, buf, i, key, BLAKE2B_KEYBYTES ); in main() 338 if( 0 != memcmp( hash, blake2b_keyed_kat[i], BLAKE2B_OUTBYTES ) ) in main() 347 uint8_t hash[BLAKE2B_OUTBYTES]; in main() 353 if( (err = blake2b_init_key(&S, BLAKE2B_OUTBYTES, key, BLAKE2B_KEYBYTES)) < 0 ) { in main() [all …]
|
D | b2sum.h | 20 #define BLAKE2B_OUTBYTES 64 macro
|
D | b2sum.c | 260 unsigned long maxbytes = BLAKE2B_OUTBYTES; 263 unsigned char hash[BLAKE2B_OUTBYTES] = {0}; 287 maxbytes = BLAKE2B_OUTBYTES; 299 maxbytes = BLAKE2B_OUTBYTES;
|
D | blake2.h | 45 BLAKE2B_OUTBYTES = 64, enumerator 143 BLAKE2_DUMMY_2 = 1 / (sizeof (blake2b_param) == BLAKE2B_OUTBYTES)
|
/coreutils/src/ |
D | digest.c | 215 # define BLAKE2B_MAX_LEN BLAKE2B_OUTBYTES
|