Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/
Dblake2module.c88 ADD_INT(d, "SALT_SIZE", BLAKE2S_SALTBYTES); in PyInit__blake2()
93 PyModule_AddIntConstant(m, "BLAKE2S_SALT_SIZE", BLAKE2S_SALTBYTES); in PyInit__blake2()
Dblake2s_impl.c118 if (salt->len > BLAKE2S_SALTBYTES) { in py_blake2s_new_impl()
121 BLAKE2S_SALTBYTES); in py_blake2s_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h57 BLAKE2S_SALTBYTES = 8, enumerator
82 uint8_t salt[BLAKE2S_SALTBYTES]; // 24
Dblake2s.c157 static inline int blake2s_param_set_salt( blake2s_param *P, const uint8_t salt[BLAKE2S_SALTBYTES] ) in blake2s_param_set_salt() argument
159 memcpy( P->salt, salt, BLAKE2S_SALTBYTES ); in blake2s_param_set_salt()
Dblake2s-ref.c120 static inline int blake2s_param_set_salt( blake2s_param *P, const uint8_t salt[BLAKE2S_SALTBYTES] ) in blake2s_param_set_salt() argument
122 memcpy( P->salt, salt, BLAKE2S_SALTBYTES ); in blake2s_param_set_salt()