Searched refs:BLAKE2B_SALTBYTES (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Modules/_blake2/ |
D | blake2module.c | 71 ADD_INT(d, "SALT_SIZE", BLAKE2B_SALTBYTES); in PyInit__blake2() 76 PyModule_AddIntConstant(m, "BLAKE2B_SALT_SIZE", BLAKE2B_SALTBYTES); in PyInit__blake2()
|
D | blake2b_impl.c | 118 if (salt->len > BLAKE2B_SALTBYTES) { in py_blake2b_new_impl() 121 BLAKE2B_SALTBYTES); in py_blake2b_new_impl()
|
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2.h | 66 BLAKE2B_SALTBYTES = 16, enumerator 108 uint8_t salt[BLAKE2B_SALTBYTES]; // 48
|
D | blake2b.c | 169 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()
|
D | blake2b-ref.c | 127 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()
|