Searched refs:BLAKE2S_KEYBYTES (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_blake2s_ref.c | 123 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 D | archive_blake2sp_ref.c | 107 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 D | archive_blake2.h | 38 BLAKE2S_KEYBYTES = 32, enumerator
|
/freebsd/crypto/openssl/providers/implementations/macs/ |
H A D | blake2s_mac.c | 13 #define BLAKE2_KEYBYTES BLAKE2S_KEYBYTES
|
/freebsd/sys/crypto/blake2/ |
H A D | blake2_cryptodev.c | 46 CTASSERT((size_t)BLAKE2B_KEYBYTES > (size_t)BLAKE2S_KEYBYTES); 188 return (klen <= BLAKE2S_KEYBYTES); in blake2_check_klen()
|
H A D | blake2-sw.c | 144 .keysize = BLAKE2S_KEYBYTES,
|
/freebsd/sys/contrib/libb2/ |
H A D | blake2sp.c | 87 if( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2sp_init_key() 209 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2sp()
|
H A D | blake2s-ref.c | 204 if ( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key() 361 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s()
|
H A D | blake2s.c | 243 if ( ( !key ) || ( !keylen ) || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key() 401 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s()
|
H A D | blake2.h | 56 BLAKE2S_KEYBYTES = 32, enumerator
|
/freebsd/crypto/openssl/providers/implementations/include/prov/ |
H A D | blake2.h | 20 # define BLAKE2S_KEYBYTES 32 macro
|
/freebsd/tests/sys/opencrypto/ |
H A D | blake2_test.c | 59 static uint8_t key2s[BLAKE2S_KEYBYTES];
|