Searched refs:BLAKE2S_KEYBYTES (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2s-test.c | 19 uint8_t key[BLAKE2S_KEYBYTES]; in main() 22 for( size_t i = 0; i < BLAKE2S_KEYBYTES; ++i ) in main() 32 if( blake2s( hash, buf, key, BLAKE2S_OUTBYTES, i, BLAKE2S_KEYBYTES ) < 0 || in main()
|
D | blake2sp-test.c | 20 uint8_t key[BLAKE2S_KEYBYTES]; in main() 23 for( size_t i = 0; i < BLAKE2S_KEYBYTES; ++i ) in main() 32 if( blake2sp( hash, buf, key, BLAKE2S_OUTBYTES, i, BLAKE2S_KEYBYTES ) < 0 || in main()
|
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()
|
D | blake2s.c | 236 if ( ( !key ) || ( !keylen ) || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key() 394 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s()
|
D | blake2s-ref.c | 197 if ( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key() 354 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s()
|
D | blake2.h | 56 BLAKE2S_KEYBYTES = 32, enumerator
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2module.c | 96 ADD_INT(d, "MAX_KEY_SIZE", BLAKE2S_KEYBYTES); in PyInit__blake2() 101 PyModule_AddIntConstant(m, "BLAKE2S_MAX_KEY_SIZE", BLAKE2S_KEYBYTES); in PyInit__blake2()
|
D | blake2s_impl.c | 189 if (key->len > BLAKE2S_KEYBYTES) { in py_blake2s_new_impl() 192 BLAKE2S_KEYBYTES); in py_blake2s_new_impl()
|