Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/
Dblake2module.c94 ADD_INT(d, "SALT_SIZE", BLAKE2S_SALTBYTES); in PyInit__blake2()
99 PyModule_AddIntConstant(m, "BLAKE2S_SALT_SIZE", BLAKE2S_SALTBYTES); in PyInit__blake2()
Dblake2s_impl.c121 if (salt->len > BLAKE2S_SALTBYTES) { in py_blake2s_new_impl()
124 BLAKE2S_SALTBYTES); in py_blake2s_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h39 BLAKE2S_SALTBYTES = 8, enumerator
101 uint8_t salt[BLAKE2S_SALTBYTES]; /* 24 */
Dblake2s.c150 …LOCAL_INLINE(int) blake2s_param_set_salt( blake2s_param *P, const uint8_t salt[BLAKE2S_SALTBYTES] ) in blake2s_param_set_salt() argument
152 memcpy( P->salt, salt, BLAKE2S_SALTBYTES ); in blake2s_param_set_salt()
Dblake2s-ref.c127 …LOCAL_INLINE(int) blake2s_param_set_salt( blake2s_param *P, const uint8_t salt[BLAKE2S_SALTBYTES] ) in blake2s_param_set_salt() argument
129 memcpy( P->salt, salt, BLAKE2S_SALTBYTES ); in blake2s_param_set_salt()