Searched refs:BLAKE2B_KEYBYTES (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2b-test.c | 19 uint8_t key[BLAKE2B_KEYBYTES]; in main() 22 for( size_t i = 0; i < BLAKE2B_KEYBYTES; ++i ) in main() 32 if( blake2b( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ) < 0 || in main()
|
D | blake2bp-test.c | 20 uint8_t key[BLAKE2B_KEYBYTES]; in main() 23 for( size_t i = 0; i < BLAKE2B_KEYBYTES; ++i ) in main() 33 if( blake2bp( hash, buf, key, BLAKE2B_OUTBYTES, i, BLAKE2B_KEYBYTES ) < 0 || in main()
|
D | blake2bp.c | 90 if( !key || !keylen || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2bp_init_key() 211 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2bp()
|
D | blake2b-ref.c | 204 if ( !key || !keylen || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key() 364 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b()
|
D | blake2b.c | 250 if ( ( !keylen ) || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key() 416 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b()
|
D | blake2.h | 65 BLAKE2B_KEYBYTES = 64, enumerator
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2module.c | 73 ADD_INT(d, "MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in PyInit__blake2() 78 PyModule_AddIntConstant(m, "BLAKE2B_MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in PyInit__blake2()
|
D | blake2b_impl.c | 189 if (key->len > BLAKE2B_KEYBYTES) { in py_blake2b_new_impl() 192 BLAKE2B_KEYBYTES); in py_blake2b_new_impl()
|