Home
last modified time | relevance | path

Searched refs:hash_state (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Modules/_sha3/
Dsha3module.c141 SHA3_state hash_state; member
194 res = Keccak_HashInitialize_SHA3_224(&self->hash_state); in py_sha3_new()
196 res = Keccak_HashInitialize_SHA3_256(&self->hash_state); in py_sha3_new()
198 res = Keccak_HashInitialize_SHA3_384(&self->hash_state); in py_sha3_new()
200 res = Keccak_HashInitialize_SHA3_512(&self->hash_state); in py_sha3_new()
203 res = Keccak_HashInitialize(&self->hash_state, 1152, 448, 224, 0x01); in py_sha3_new()
205 res = Keccak_HashInitialize(&self->hash_state, 1088, 512, 256, 0x01); in py_sha3_new()
207 res = Keccak_HashInitialize(&self->hash_state, 832, 768, 384, 0x01); in py_sha3_new()
209 res = Keccak_HashInitialize(&self->hash_state, 576, 1024, 512, 0x01); in py_sha3_new()
212 res = Keccak_HashInitialize_SHAKE128(&self->hash_state); in py_sha3_new()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dsha256.c81 struct hash_state { struct
85 static void sha256_compress(struct hash_state * md, const unsigned char *buf) in sha256_compress() argument
119 static void sha256_init(struct hash_state * md) in sha256_init()
135 static void sha256_process(struct hash_state * md, const unsigned char *in, unsigned long inlen) in sha256_process()
161 static void sha256_done(struct hash_state * md, unsigned char *out) in sha256_done()
201 struct hash_state md; in ext2fs_sha256()
Dsha512.c111 struct hash_state { struct
115 static void sha512_compress(struct hash_state * md, const unsigned char *buf) in sha512_compress() argument
153 static void sha512_init(struct hash_state * md) in sha512_init()
167 static void sha512_done(struct hash_state * md, unsigned char *out) in sha512_done()
206 static void sha512_process(struct hash_state * md, in sha512_process()
237 struct hash_state md; in ext2fs_sha512()
/external/f2fs-tools/tools/
Dsha512.c131 struct hash_state { struct
135 static void sha512_compress(struct hash_state * md, const unsigned char *buf) in sha512_compress() argument
173 static void sha512_init(struct hash_state * md) in sha512_init()
187 static void sha512_done(struct hash_state * md, unsigned char *out) in sha512_done()
226 static void sha512_process(struct hash_state * md, in sha512_process()
257 struct hash_state md; in f2fs_sha512()
306 struct hash_state md; in main()
/external/python/cpython3/Modules/
Dsha1module.c54 struct sha1_state hash_state; member
334 newobj->hash_state = self->hash_state; in SHA1Type_copy_impl()
351 temp = self->hash_state; in SHA1Type_digest_impl()
370 temp = self->hash_state; in SHA1Type_hexdigest_impl()
393 sha1_process(&self->hash_state, buf.buf, buf.len); in SHA1Type_update()
503 sha1_init(&new->hash_state); in _sha1_sha1_impl()
512 sha1_process(&new->hash_state, buf.buf, buf.len); in _sha1_sha1_impl()
Dmd5module.c54 struct md5_state hash_state; member
357 newobj->hash_state = self->hash_state; in MD5Type_copy_impl()
374 temp = self->hash_state; in MD5Type_digest_impl()
393 temp = self->hash_state; in MD5Type_hexdigest_impl()
416 md5_process(&self->hash_state, buf.buf, buf.len); in MD5Type_update()
526 md5_init(&new->hash_state); in _md5_md5_impl()
535 md5_process(&new->hash_state, buf.buf, buf.len); in _md5_md5_impl()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DHashing.h260 struct hash_state { struct
266 static hash_state create(const char *s, uint64_t seed) { in create() argument
267 hash_state state = { in create()
415 hash_state state = state.create(buffer, seed);
457 hash_state state = state.create(s_begin, seed);
498 hash_state state;
/external/llvm/include/llvm/ADT/
DHashing.h260 struct hash_state { struct
266 static hash_state create(const char *s, uint64_t seed) { in create() argument
267 hash_state state = { in create()
415 hash_state state = state.create(buffer, seed);
457 hash_state state = state.create(s_begin, seed);
498 hash_state state;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DHashing.h260 struct hash_state { struct
266 static hash_state create(const char *s, uint64_t seed) { in create() argument
267 hash_state state = { in create()
415 hash_state state = state.create(buffer, seed);
457 hash_state state = state.create(s_begin, seed);
498 hash_state state;
/external/wpa_supplicant_8/src/crypto/
Dcrypto_libtomcrypt.c27 hash_state md; in md4_vector()
62 hash_state md; in md5_vector()
75 hash_state md; in sha1_vector()
148 hash_state md;
/external/llvm/test/CodeGen/PowerPC/
Dpr15031.ll262 …sh_combine_recursive_helper" = type { [64 x i8], %"struct.llvm::hashing::detail::hash_state", i64 }
263 %"struct.llvm::hashing::detail::hash_state" = type { i64, i64, i64, i64, i64, i64, i64, i64 }
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dpr15031.ll262 …sh_combine_recursive_helper" = type { [64 x i8], %"struct.llvm::hashing::detail::hash_state", i64 }
263 %"struct.llvm::hashing::detail::hash_state" = type { i64, i64, i64, i64, i64, i64, i64, i64 }