Searched refs:sha3_ctx_t (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Modules/_sha3/ |
H A D | sha3.h | 25 } sha3_ctx_t; typedef 31 static int sha3_init(sha3_ctx_t *c, int mdlen); // mdlen = hash output in bytes 32 static int sha3_update(sha3_ctx_t *c, const void *data, size_t len); 33 static int sha3_final(void *md, sha3_ctx_t *c); // digest goes to md 45 static void shake_xof(sha3_ctx_t *c); 46 static void shake_out(sha3_ctx_t *c, void *out, size_t len);
|
H A D | sha3.c | 103 static int sha3_init(sha3_ctx_t *c, int mdlen) in sha3_init() 118 static int sha3_update(sha3_ctx_t *c, const void *data, size_t len) in sha3_update() 138 static int sha3_final(void *md, sha3_ctx_t *c) in sha3_final() 158 sha3_ctx_t sha3; 170 static void shake_xof(sha3_ctx_t *c) in shake_xof() 178 static void shake_out(sha3_ctx_t *c, void *out, size_t len) in shake_out()
|
H A D | sha3module.c | 30 #define SHA3_state sha3_ctx_t
|
Completed in 2 milliseconds