Lines Matching defs:state
20 __be32 state[SHA256_DIGEST_SIZE / 4];
48 sctx->state[0] = __cpu_to_be32(SHA256_H0);
49 sctx->state[1] = __cpu_to_be32(SHA256_H1);
50 sctx->state[2] = __cpu_to_be32(SHA256_H2);
51 sctx->state[3] = __cpu_to_be32(SHA256_H3);
52 sctx->state[4] = __cpu_to_be32(SHA256_H4);
53 sctx->state[5] = __cpu_to_be32(SHA256_H5);
54 sctx->state[6] = __cpu_to_be32(SHA256_H6);
55 sctx->state[7] = __cpu_to_be32(SHA256_H7);
78 * 1: < SHA256_BLOCK_SIZE: copy into state, return 0
88 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE);
98 out_sg = nx_build_sg_list(nx_ctx->out_sg, (u8 *)sctx->state,
170 /* copy the leftover back into the state struct */
175 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE);
204 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE);