Home
last modified time | relevance | path

Searched refs:BLAKE2S_KEYBYTES (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/libarchive/libarchive/
H A Darchive_blake2s_ref.c123 if ( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key()
280 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s()
308 uint8_t key[BLAKE2S_KEYBYTES]; in main()
312 for( i = 0; i < BLAKE2S_KEYBYTES; ++i ) in main()
322 blake2s( hash, BLAKE2S_OUTBYTES, buf, i, key, BLAKE2S_KEYBYTES ); in main()
339 if( (err = blake2s_init_key(&S, BLAKE2S_OUTBYTES, key, BLAKE2S_KEYBYTES)) < 0 ) { in main()
H A Darchive_blake2sp_ref.c107 if( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2sp_init_key()
232 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2sp()
300 uint8_t key[BLAKE2S_KEYBYTES]; in main()
304 for( i = 0; i < BLAKE2S_KEYBYTES; ++i ) in main()
314 blake2sp( hash, BLAKE2S_OUTBYTES, buf, i, key, BLAKE2S_KEYBYTES ); in main()
331 if( (err = blake2sp_init_key(&S, BLAKE2S_OUTBYTES, key, BLAKE2S_KEYBYTES)) < 0 ) { in main()
H A Darchive_blake2.h38 BLAKE2S_KEYBYTES = 32, enumerator
/freebsd/crypto/openssl/providers/implementations/macs/
H A Dblake2s_mac.c13 #define BLAKE2_KEYBYTES BLAKE2S_KEYBYTES
/freebsd/sys/crypto/blake2/
H A Dblake2_cryptodev.c46 CTASSERT((size_t)BLAKE2B_KEYBYTES > (size_t)BLAKE2S_KEYBYTES);
188 return (klen <= BLAKE2S_KEYBYTES); in blake2_check_klen()
H A Dblake2-sw.c144 .keysize = BLAKE2S_KEYBYTES,
/freebsd/sys/contrib/libb2/
H A Dblake2sp.c87 if( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2sp_init_key()
209 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2sp()
H A Dblake2s-ref.c204 if ( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key()
361 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s()
H A Dblake2s.c243 if ( ( !key ) || ( !keylen ) || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key()
401 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s()
H A Dblake2.h56 BLAKE2S_KEYBYTES = 32, enumerator
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dblake2.h20 # define BLAKE2S_KEYBYTES 32 macro
/freebsd/tests/sys/opencrypto/
H A Dblake2_test.c59 static uint8_t key2s[BLAKE2S_KEYBYTES];