Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/
Dblake2module.c74 ADD_INT(d, "SALT_SIZE", BLAKE2B_SALTBYTES); in PyInit__blake2()
79 PyModule_AddIntConstant(m, "BLAKE2B_SALT_SIZE", BLAKE2B_SALTBYTES); in PyInit__blake2()
Dblake2b_impl.c121 if (salt->len > BLAKE2B_SALTBYTES) { in py_blake2b_new_impl()
124 BLAKE2B_SALTBYTES); in py_blake2b_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h48 BLAKE2B_SALTBYTES = 16, enumerator
116 uint8_t salt[BLAKE2B_SALTBYTES]; /* 48 */
Dblake2b.c163 …LOCAL_INLINE(int) blake2b_param_set_salt( blake2b_param *P, const uint8_t salt[BLAKE2B_SALTBYTES] ) in blake2b_param_set_salt() argument
165 memcpy( P->salt, salt, BLAKE2B_SALTBYTES ); in blake2b_param_set_salt()
Dblake2b-ref.c134 …LOCAL_INLINE(int) blake2b_param_set_salt( blake2b_param *P, const uint8_t salt[BLAKE2B_SALTBYTES] ) in blake2b_param_set_salt() argument
136 memcpy( P->salt, salt, BLAKE2B_SALTBYTES ); in blake2b_param_set_salt()