Lines Matching defs:state
19 __be64 state[SHA512_DIGEST_SIZE / 8];
48 sctx->state[0] = __cpu_to_be64(SHA512_H0);
49 sctx->state[1] = __cpu_to_be64(SHA512_H1);
50 sctx->state[2] = __cpu_to_be64(SHA512_H2);
51 sctx->state[3] = __cpu_to_be64(SHA512_H3);
52 sctx->state[4] = __cpu_to_be64(SHA512_H4);
53 sctx->state[5] = __cpu_to_be64(SHA512_H5);
54 sctx->state[6] = __cpu_to_be64(SHA512_H6);
55 sctx->state[7] = __cpu_to_be64(SHA512_H7);
78 * 1: < SHA512_BLOCK_SIZE: copy into state, return 0
88 memcpy(csbcpb->cpb.sha512.message_digest, sctx->state, SHA512_DIGEST_SIZE);
98 out_sg = nx_build_sg_list(nx_ctx->out_sg, (u8 *)sctx->state,
174 /* copy the leftover back into the state struct */
178 memcpy(sctx->state, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE);
208 memcpy(csbcpb->cpb.sha512.input_partial_digest, sctx->state,