Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/
Dblake2module.c89 ADD_INT(d, "PERSON_SIZE", BLAKE2S_PERSONALBYTES); in PyInit__blake2()
94 PyModule_AddIntConstant(m, "BLAKE2S_PERSON_SIZE", BLAKE2S_PERSONALBYTES); in PyInit__blake2()
Dblake2s_impl.c129 if (person->len > BLAKE2S_PERSONALBYTES) { in py_blake2s_new_impl()
132 BLAKE2S_PERSONALBYTES); in py_blake2s_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h58 BLAKE2S_PERSONALBYTES = 8 enumerator
83 uint8_t personal[BLAKE2S_PERSONALBYTES]; // 32
Dblake2s.c163 …e int blake2s_param_set_personal( blake2s_param *P, const uint8_t personal[BLAKE2S_PERSONALBYTES] ) in blake2s_param_set_personal() argument
165 memcpy( P->personal, personal, BLAKE2S_PERSONALBYTES ); in blake2s_param_set_personal()
Dblake2s-ref.c126 …e int blake2s_param_set_personal( blake2s_param *P, const uint8_t personal[BLAKE2S_PERSONALBYTES] ) in blake2s_param_set_personal() argument
128 memcpy( P->personal, personal, BLAKE2S_PERSONALBYTES ); in blake2s_param_set_personal()