Lines Matching refs:sha2_32t
240 const sha2_32t k256[64] = {
261 const sha2_32t i256[8] = { n_u32(6a09e667), n_u32(bb67ae85), n_u32(3c6ef372),
269 memcpy(ctx->hash, i256, 8 * sizeof(sha2_32t)); in sha256_begin()
281 sha2_32t v[8], j; in sha256_compile()
283 memcpy(v, ctx->hash, 8 * sizeof(sha2_32t)); in sha256_compile()
320 sha2_32t pos = (sha2_32t)(ctx->count[0] & SHA256_MASK), in sha256_hash()
342 static sha2_32t m1[4] = { n_u32(00000000), n_u32(ff000000), n_u32(ffff0000),
346 static sha2_32t b1[4] = { n_u32(80000000), n_u32(00800000), n_u32(00008000),
352 sha2_32t i = (sha2_32t)(ctx->count[0] & SHA256_MASK); in sha256_end()
413 (((sha2_64t)(bswap_32((sha2_32t)(x)))) << 32 | \
414 bswap_32((sha2_32t)((x) >> 32)))
489 sha2_32t j; in sha512_compile()
532 sha2_32t pos = (sha2_32t)(ctx->count[0] & SHA512_MASK), in sha512_hash()
569 sha2_32t i = (sha2_32t)(ctx->count[0] & SHA512_MASK); in sha_end()