Lines Matching defs:state
20 * @state: algorithm state OP_ALG_AS_{INIT, FINALIZE, INITFINALIZE, UPDATE}
28 void cnstr_shdsc_ahash(u32 * const desc, struct alginfo *adata, u32 state,
36 if (state != OP_ALG_AS_UPDATE && adata->keylen) {
62 append_operation(desc, op | state | OP_ALG_ENCRYPT);
65 * Load from buf and/or src and write to req->result or state->context
83 * @state: algorithm state OP_ALG_AS_{INIT, FINALIZE, INITFINALIZE, UPDATE}
87 void cnstr_shdsc_sk_hash(u32 * const desc, struct alginfo *adata, u32 state,
97 if (state == OP_ALG_AS_INIT || state == OP_ALG_AS_INITFINAL) {
117 append_operation(desc, adata->algtype | state | OP_ALG_ENCRYPT);
120 * Load from buf and/or src and write to req->result or state->context
136 if (is_xcbc_aes(adata->algtype) && state == OP_ALG_AS_INIT)