Home
last modified time | relevance | path

Searched refs:blake2s_state (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/_blake2/impl/
Dblake2-dispatch.c204 int blake2s_init_ref( blake2s_state *S, size_t outlen );
205 int blake2s_init_key_ref( blake2s_state *S, size_t outlen, const void *key, size_t keylen );
206 int blake2s_init_param_ref( blake2s_state *S, const blake2s_param *P );
207 int blake2s_update_ref( blake2s_state *S, const uint8_t *in, size_t inlen );
208 int blake2s_final_ref( blake2s_state *S, uint8_t *out, size_t outlen );
213 int blake2s_init_sse2( blake2s_state *S, size_t outlen );
214 int blake2s_init_key_sse2( blake2s_state *S, size_t outlen, const void *key, size_t keylen );
215 int blake2s_init_param_sse2( blake2s_state *S, const blake2s_param *P );
216 int blake2s_update_sse2( blake2s_state *S, const uint8_t *in, size_t inlen );
217 int blake2s_final_sse2( blake2s_state *S, uint8_t *out, size_t outlen );
[all …]
Dblake2s.c76 static inline int blake2s_set_lastnode( blake2s_state *S ) in blake2s_set_lastnode()
82 static inline int blake2s_clear_lastnode( blake2s_state *S ) in blake2s_clear_lastnode()
88 static inline int blake2s_set_lastblock( blake2s_state *S ) in blake2s_set_lastblock()
96 static inline int blake2s_clear_lastblock( blake2s_state *S ) in blake2s_clear_lastblock()
104 static inline int blake2s_increment_counter( blake2s_state *S, const uint32_t inc ) in blake2s_increment_counter()
169 static inline int blake2s_init0( blake2s_state *S ) in blake2s_init0()
171 memset( S, 0, sizeof( blake2s_state ) ); in blake2s_init0()
181 int blake2s_init( blake2s_state *S, size_t outlen );
182 int blake2s_init_param( blake2s_state *S, const blake2s_param *P );
183 int blake2s_init_key( blake2s_state *S, size_t outlen, const void *key, size_t keylen );
[all …]
Dblake2s-ref.c41 static inline int blake2s_set_lastnode( blake2s_state *S ) in blake2s_set_lastnode()
47 static inline int blake2s_clear_lastnode( blake2s_state *S ) in blake2s_clear_lastnode()
54 static inline int blake2s_set_lastblock( blake2s_state *S ) in blake2s_set_lastblock()
62 static inline int blake2s_clear_lastblock( blake2s_state *S ) in blake2s_clear_lastblock()
70 static inline int blake2s_increment_counter( blake2s_state *S, const uint32_t inc ) in blake2s_increment_counter()
132 static inline int blake2s_init0( blake2s_state *S ) in blake2s_init0()
134 memset( S, 0, sizeof( blake2s_state ) ); in blake2s_init0()
144 int blake2s_init( blake2s_state *S, size_t outlen );
145 int blake2s_init_param( blake2s_state *S, const blake2s_param *P );
146 int blake2s_init_key( blake2s_state *S, size_t outlen, const void *key, size_t keylen );
[all …]
Dblake2.h95 } blake2s_state; typedef
125 blake2s_state S[8][1];
126 blake2s_state R[1];
143 BLAKE2_API int blake2s_init( blake2s_state *S, size_t outlen );
144 …BLAKE2_API int blake2s_init_key( blake2s_state *S, size_t outlen, const void *key, size_t keylen );
145 BLAKE2_API int blake2s_init_param( blake2s_state *S, const blake2s_param *P );
146 BLAKE2_API int blake2s_update( blake2s_state *S, const uint8_t *in, size_t inlen );
147 BLAKE2_API int blake2s_final( blake2s_state *S, uint8_t *out, size_t outlen );
Dblake2sp.c27 static int blake2sp_init_leaf( blake2s_state *S, uint8_t outlen, uint8_t keylen, uint64_t offset ) in blake2sp_init_leaf()
45 static int blake2sp_init_root( blake2s_state *S, uint8_t outlen, uint8_t keylen ) in blake2sp_init_root()
197 blake2s_state S[PARALLELISM_DEGREE][1]; in blake2sp()
198 blake2s_state FS[1]; in blake2sp()
/external/python/cpython3/Modules/_blake2/
Dblake2s_impl.c42 blake2s_state state;
307 blake2s_state state_cpy; in _blake2_blake2s_digest_impl()
328 blake2s_state state_cpy; in _blake2_blake2s_hexdigest_impl()