Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/
Dblake2module.c72 ADD_INT(d, "PERSON_SIZE", BLAKE2B_PERSONALBYTES); in PyInit__blake2()
77 PyModule_AddIntConstant(m, "BLAKE2B_PERSON_SIZE", BLAKE2B_PERSONALBYTES); in PyInit__blake2()
Dblake2b_impl.c129 if (person->len > BLAKE2B_PERSONALBYTES) { in py_blake2b_new_impl()
132 BLAKE2B_PERSONALBYTES); in py_blake2b_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h67 BLAKE2B_PERSONALBYTES = 16 enumerator
109 uint8_t personal[BLAKE2B_PERSONALBYTES]; // 64
Dblake2b-ref.c133 …e int blake2b_param_set_personal( blake2b_param *P, const uint8_t personal[BLAKE2B_PERSONALBYTES] ) in blake2b_param_set_personal() argument
135 memcpy( P->personal, personal, BLAKE2B_PERSONALBYTES ); in blake2b_param_set_personal()
Dblake2b.c175 …e int blake2b_param_set_personal( blake2b_param *P, const uint8_t personal[BLAKE2B_PERSONALBYTES] ) in blake2b_param_set_personal() argument
177 memcpy( P->personal, personal, BLAKE2B_PERSONALBYTES ); in blake2b_param_set_personal()