• Home
  • Raw
  • Download

Lines Matching refs:hash_state

141     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()
214 res = Keccak_HashInitialize_SHAKE256(&self->hash_state); in py_sha3_new()
227 res = SHA3_process(&self->hash_state, buf.buf, buf.len * 8); in py_sha3_new()
231 res = SHA3_process(&self->hash_state, buf.buf, buf.len * 8); in py_sha3_new()
285 SHA3_copystate(newobj->hash_state, self->hash_state); in _sha3_sha3_224_copy_impl()
306 SHA3_copystate(temp, self->hash_state); in _sha3_sha3_224_digest_impl()
314 self->hash_state.fixedOutputLength / 8); in _sha3_sha3_224_digest_impl()
334 SHA3_copystate(temp, self->hash_state); in _sha3_sha3_224_hexdigest_impl()
342 self->hash_state.fixedOutputLength / 8); in _sha3_sha3_224_hexdigest_impl()
375 res = SHA3_process(&self->hash_state, buf.buf, buf.len * 8); in _sha3_sha3_224_update()
380 res = SHA3_process(&self->hash_state, buf.buf, buf.len * 8); in _sha3_sha3_224_update()
407 int rate = self->hash_state.sponge.rate; in SHA3_get_block_size()
448 return PyLong_FromLong(self->hash_state.fixedOutputLength / 8); in SHA3_get_digest_size()
455 int capacity = 1600 - self->hash_state.sponge.rate; in SHA3_get_capacity_bits()
463 unsigned int rate = self->hash_state.sponge.rate; in SHA3_get_rate_bits()
471 suffix[0] = self->hash_state.delimitedSuffix; in SHA3_get_suffix()
611 SHA3_copystate(temp, self->hash_state); in _SHAKE_digest()