Home
last modified time | relevance | path

Searched refs:BLAKE2B_KEYBYTES (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Modules/_blake2/impl/
Dblake2b-test.c19 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()
Dblake2bp-test.c20 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()
Dblake2bp.c90 if( !key || !keylen || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2bp_init_key()
211 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2bp()
Dblake2b-ref.c204 if ( !key || !keylen || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key()
364 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b()
Dblake2b.c250 if ( ( !keylen ) || keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b_init_key()
416 if( keylen > BLAKE2B_KEYBYTES ) return -1; in blake2b()
Dblake2.h65 BLAKE2B_KEYBYTES = 64, enumerator
/external/python/cpython3/Modules/_blake2/
Dblake2module.c73 ADD_INT(d, "MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in PyInit__blake2()
78 PyModule_AddIntConstant(m, "BLAKE2B_MAX_KEY_SIZE", BLAKE2B_KEYBYTES); in PyInit__blake2()
Dblake2b_impl.c189 if (key->len > BLAKE2B_KEYBYTES) { in py_blake2b_new_impl()
192 BLAKE2B_KEYBYTES); in py_blake2b_new_impl()