Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_blake2/impl/
Dblake2-dispatch.c158 int blake2b_init_ref( blake2b_state *S, size_t outlen );
159 int blake2b_init_key_ref( blake2b_state *S, size_t outlen, const void *key, size_t keylen );
160 int blake2b_init_param_ref( blake2b_state *S, const blake2b_param *P );
161 int blake2b_update_ref( blake2b_state *S, const uint8_t *in, size_t inlen );
162 int blake2b_final_ref( blake2b_state *S, uint8_t *out, size_t outlen );
167 int blake2b_init_sse2( blake2b_state *S, size_t outlen );
168 int blake2b_init_key_sse2( blake2b_state *S, size_t outlen, const void *key, size_t keylen );
169 int blake2b_init_param_sse2( blake2b_state *S, const blake2b_param *P );
170 int blake2b_update_sse2( blake2b_state *S, const uint8_t *in, size_t inlen );
171 int blake2b_final_sse2( blake2b_state *S, uint8_t *out, size_t outlen );
[all …]
Dblake2b.c81 static inline int blake2b_set_lastnode( blake2b_state *S ) in blake2b_set_lastnode()
87 static inline int blake2b_clear_lastnode( blake2b_state *S ) in blake2b_clear_lastnode()
93 static inline int blake2b_set_lastblock( blake2b_state *S ) in blake2b_set_lastblock()
101 static inline int blake2b_clear_lastblock( blake2b_state *S ) in blake2b_clear_lastblock()
110 static inline int blake2b_increment_counter( blake2b_state *S, const uint64_t inc ) in blake2b_increment_counter()
181 static inline int blake2b_init0( blake2b_state *S ) in blake2b_init0()
183 memset( S, 0, sizeof( blake2b_state ) ); in blake2b_init0()
195 int blake2b_init( blake2b_state *S, size_t outlen );
196 int blake2b_init_param( blake2b_state *S, const blake2b_param *P );
197 int blake2b_init_key( blake2b_state *S, size_t outlen, const void *key, size_t keylen );
[all …]
Dblake2b-ref.c46 static inline int blake2b_set_lastnode( blake2b_state *S ) in blake2b_set_lastnode()
52 static inline int blake2b_clear_lastnode( blake2b_state *S ) in blake2b_clear_lastnode()
59 static inline int blake2b_set_lastblock( blake2b_state *S ) in blake2b_set_lastblock()
67 static inline int blake2b_clear_lastblock( blake2b_state *S ) in blake2b_clear_lastblock()
75 static inline int blake2b_increment_counter( blake2b_state *S, const uint64_t inc ) in blake2b_increment_counter()
139 static inline int blake2b_init0( blake2b_state *S ) in blake2b_init0()
141 memset( S, 0, sizeof( blake2b_state ) ); in blake2b_init0()
151 int blake2b_init( blake2b_state *S, size_t outlen );
152 int blake2b_init_param( blake2b_state *S, const blake2b_param *P );
153 int blake2b_init_key( blake2b_state *S, size_t outlen, const void *key, size_t keylen );
[all …]
Dblake2.h121 } blake2b_state; typedef
134 blake2b_state S[4][1];
135 blake2b_state R[1];
149 BLAKE2_API int blake2b_init( blake2b_state *S, size_t outlen );
150 …BLAKE2_API int blake2b_init_key( blake2b_state *S, size_t outlen, const void *key, size_t keylen );
151 BLAKE2_API int blake2b_init_param( blake2b_state *S, const blake2b_param *P );
152 BLAKE2_API int blake2b_update( blake2b_state *S, const uint8_t *in, size_t inlen );
153 BLAKE2_API int blake2b_final( blake2b_state *S, uint8_t *out, size_t outlen );
Dblake2bp.c28 static int blake2bp_init_leaf( blake2b_state *S, uint8_t outlen, uint8_t keylen, uint64_t offset ) in blake2bp_init_leaf()
47 static int blake2bp_init_root( blake2b_state *S, uint8_t outlen, uint8_t keylen ) in blake2bp_init_root()
199 blake2b_state S[PARALLELISM_DEGREE][1]; in blake2bp()
200 blake2b_state FS[1]; in blake2bp()
/external/python/cpython3/Modules/_blake2/
Dblake2b_impl.c42 blake2b_state state;
307 blake2b_state state_cpy; in _blake2_blake2b_digest_impl()
328 blake2b_state state_cpy; in _blake2_blake2b_hexdigest_impl()