Home
last modified time | relevance | path

Searched refs:BLAKE2B_PERSONALBYTES (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Modules/_blake2/
Dblake2module.c75 ADD_INT(d, "PERSON_SIZE", BLAKE2B_PERSONALBYTES); in PyInit__blake2()
80 PyModule_AddIntConstant(m, "BLAKE2B_PERSON_SIZE", BLAKE2B_PERSONALBYTES); in PyInit__blake2()
Dblake2b_impl.c132 if (person->len > BLAKE2B_PERSONALBYTES) { in py_blake2b_new_impl()
135 BLAKE2B_PERSONALBYTES); in py_blake2b_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h49 BLAKE2B_PERSONALBYTES = 16 enumerator
117 uint8_t personal[BLAKE2B_PERSONALBYTES]; /* 64 */
Dblake2b-ref.c140 …(int) blake2b_param_set_personal( blake2b_param *P, const uint8_t personal[BLAKE2B_PERSONALBYTES] ) in blake2b_param_set_personal() argument
142 memcpy( P->personal, personal, BLAKE2B_PERSONALBYTES ); in blake2b_param_set_personal()
Dblake2b.c169 …(int) blake2b_param_set_personal( blake2b_param *P, const uint8_t personal[BLAKE2B_PERSONALBYTES] ) in blake2b_param_set_personal() argument
171 memcpy( P->personal, personal, BLAKE2B_PERSONALBYTES ); in blake2b_param_set_personal()