Searched refs:BLAKE2B_KEYBYTES (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2b.c | 244 if ( ( !keylen ) || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key() 399 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b() 427 uint8_t key[BLAKE2B_KEYBYTES]; in main() 431 for( i = 0; i < BLAKE2B_KEYBYTES; ++i ) in main() 440 blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ); in main()
|
D | blake2b-ref.c | 200 if ( !key || !keylen || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key() 366 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b() 394 uint8_t key[BLAKE2B_KEYBYTES]; in main() 398 for( i = 0; i < BLAKE2B_KEYBYTES; ++i ) in main() 407 blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ); in main()
|
D | blake2.h | 47 BLAKE2B_KEYBYTES = 64, enumerator
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2module.c | 76 ADD_INT(d, "MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in PyInit__blake2() 81 PyModule_AddIntConstant(m, "BLAKE2B_MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in PyInit__blake2()
|
D | blake2b_impl.c | 204 if (key->len > BLAKE2B_KEYBYTES) { in py_blake2b_new_impl() 207 BLAKE2B_KEYBYTES); in py_blake2b_new_impl()
|