Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/
Dblake2module.c95 ADD_INT(d, "PERSON_SIZE", BLAKE2S_PERSONALBYTES); in PyInit__blake2()
100 PyModule_AddIntConstant(m, "BLAKE2S_PERSON_SIZE", BLAKE2S_PERSONALBYTES); in PyInit__blake2()
Dblake2s_impl.c132 if (person->len > BLAKE2S_PERSONALBYTES) { in py_blake2s_new_impl()
135 BLAKE2S_PERSONALBYTES); in py_blake2s_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h40 BLAKE2S_PERSONALBYTES = 8 enumerator
102 uint8_t personal[BLAKE2S_PERSONALBYTES]; /* 32 */
Dblake2s.c156 …(int) blake2s_param_set_personal( blake2s_param *P, const uint8_t personal[BLAKE2S_PERSONALBYTES] ) in blake2s_param_set_personal() argument
158 memcpy( P->personal, personal, BLAKE2S_PERSONALBYTES ); in blake2s_param_set_personal()
Dblake2s-ref.c133 …(int) blake2s_param_set_personal( blake2s_param *P, const uint8_t personal[BLAKE2S_PERSONALBYTES] ) in blake2s_param_set_personal() argument
135 memcpy( P->personal, personal, BLAKE2S_PERSONALBYTES ); in blake2s_param_set_personal()