Lines Matching refs:state
202 if (dev->state == CHCR_DETACH)
322 memcpy(result_hash, sha1_st.state, SHA1_DIGEST_SIZE);
327 memcpy(result_hash, sha256_st.state, SHA256_DIGEST_SIZE);
333 memcpy(result_hash, sha256_st.state, SHA256_DIGEST_SIZE);
339 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE);
345 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE);
1695 /* Detach state for CHCR means lldi or padap is freed. Increasing
2173 struct chcr_ahash_req_ctx *state = out;
2175 state->reqlen = req_ctx->reqlen;
2176 state->data_len = req_ctx->data_len;
2177 memcpy(state->bfr1, req_ctx->reqbfr, req_ctx->reqlen);
2178 memcpy(state->partial_hash, req_ctx->partial_hash,
2180 chcr_init_hctx_per_wr(state);
2187 struct chcr_ahash_req_ctx *state = (struct chcr_ahash_req_ctx *)in;
2189 req_ctx->reqlen = state->reqlen;
2190 req_ctx->data_len = state->data_len;
2193 memcpy(req_ctx->bfr1, state->bfr1, CHCR_HASH_MAX_BLOCK_SIZE_128);
2194 memcpy(req_ctx->partial_hash, state->partial_hash,
3757 /* Detach state for CHCR means lldi or padap is freed.