Searched refs:BLAKE2S_KEYBYTES (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2s.c | 230 if ( ( !key ) || ( !keylen ) || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key() 380 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s() 408 uint8_t key[BLAKE2S_KEYBYTES]; in main() 412 for( i = 0; i < BLAKE2S_KEYBYTES; ++i ) in main() 422 if( blake2s( hash, buf, key, BLAKE2S_OUTBYTES, i, BLAKE2S_KEYBYTES ) < 0 || in main()
|
D | blake2s-ref.c | 193 if ( !key || !keylen || keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s_init_key() 356 if( keylen > BLAKE2S_KEYBYTES ) return -1; in blake2s() 384 uint8_t key[BLAKE2S_KEYBYTES]; in main() 388 for( i = 0; i < BLAKE2S_KEYBYTES; ++i ) in main() 397 blake2s( hash, buf, key, BLAKE2S_OUTBYTES, i, BLAKE2S_KEYBYTES ); in main()
|
D | blake2.h | 38 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 | 204 if (key->len > BLAKE2S_KEYBYTES) { in py_blake2s_new_impl() 207 BLAKE2S_KEYBYTES); in py_blake2s_new_impl()
|