Lines Matching refs:state
79 u32 state[SHA1_DIGEST_SIZE / 4]; member
85 u32 state[SHA256_DIGEST_SIZE / 4]; member
91 u64 state[SHA512_DIGEST_SIZE / 8]; member
128 sctx->state[0] = SHA256_H0; in sha256_init()
129 sctx->state[1] = SHA256_H1; in sha256_init()
130 sctx->state[2] = SHA256_H2; in sha256_init()
131 sctx->state[3] = SHA256_H3; in sha256_init()
132 sctx->state[4] = SHA256_H4; in sha256_init()
133 sctx->state[5] = SHA256_H5; in sha256_init()
134 sctx->state[6] = SHA256_H6; in sha256_init()
135 sctx->state[7] = SHA256_H7; in sha256_init()
146 sctx->state[0] = SHA224_H0; in sha224_init()
147 sctx->state[1] = SHA224_H1; in sha224_init()
148 sctx->state[2] = SHA224_H2; in sha224_init()
149 sctx->state[3] = SHA224_H3; in sha224_init()
150 sctx->state[4] = SHA224_H4; in sha224_init()
151 sctx->state[5] = SHA224_H5; in sha224_init()
152 sctx->state[6] = SHA224_H6; in sha224_init()
153 sctx->state[7] = SHA224_H7; in sha224_init()