Home
last modified time | relevance | path

Searched refs:sha3_init (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Modules/_sha3/
H A Dsha3.h31 static int sha3_init(sha3_ctx_t *c, int mdlen); // mdlen = hash output in bytes
41 #define shake128_init(c) sha3_init(c, 16)
42 #define shake256_init(c) sha3_init(c, 32)
H A Dsha3module.c31 #define SHA3_init sha3_init
118 res = sha3_init(&self->hash_state, 28); in py_sha3_new_impl()
120 res = sha3_init(&self->hash_state, 32); in py_sha3_new_impl()
122 res = sha3_init(&self->hash_state, 48); in py_sha3_new_impl()
124 res = sha3_init(&self->hash_state, 64); in py_sha3_new_impl()
126 res = sha3_init(&self->hash_state, 16); in py_sha3_new_impl()
128 res = sha3_init(&self->hash_state, 32); in py_sha3_new_impl()
H A Dsha3.c103 static int sha3_init(sha3_ctx_t *c, int mdlen) in sha3_init() function
160 sha3_init(&sha3, mdlen);

Completed in 3 milliseconds