Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/
Dblake2module.c71 ADD_INT(d, "SALT_SIZE", BLAKE2B_SALTBYTES); in PyInit__blake2()
76 PyModule_AddIntConstant(m, "BLAKE2B_SALT_SIZE", BLAKE2B_SALTBYTES); in PyInit__blake2()
Dblake2b_impl.c118 if (salt->len > BLAKE2B_SALTBYTES) { in py_blake2b_new_impl()
121 BLAKE2B_SALTBYTES); in py_blake2b_new_impl()
/external/python/cpython3/Modules/_blake2/impl/
Dblake2.h66 BLAKE2B_SALTBYTES = 16, enumerator
108 uint8_t salt[BLAKE2B_SALTBYTES]; // 48
Dblake2b-ref.c127 static inline int blake2b_param_set_salt( blake2b_param *P, const uint8_t salt[BLAKE2B_SALTBYTES] ) in blake2b_param_set_salt() argument
129 memcpy( P->salt, salt, BLAKE2B_SALTBYTES ); in blake2b_param_set_salt()
Dblake2b.c169 static inline int blake2b_param_set_salt( blake2b_param *P, const uint8_t salt[BLAKE2B_SALTBYTES] ) in blake2b_param_set_salt() argument
171 memcpy( P->salt, salt, BLAKE2B_SALTBYTES ); in blake2b_param_set_salt()