• Home
  • Raw
  • Download

Lines Matching refs:control_data

81 		cdesc->control_data.options |= EIP197_OPTION_4_TOKEN_IV_CMD;  in safexcel_skcipher_iv()
83 cdesc->control_data.token[0] = ctx->nonce; in safexcel_skcipher_iv()
85 memcpy(&cdesc->control_data.token[1], iv, 8); in safexcel_skcipher_iv()
87 cdesc->control_data.token[3] = in safexcel_skcipher_iv()
92 cdesc->control_data.options |= EIP197_OPTION_4_TOKEN_IV_CMD; in safexcel_skcipher_iv()
94 memcpy(&cdesc->control_data.token[0], &iv[4], 12); in safexcel_skcipher_iv()
96 cdesc->control_data.token[3] = *(u32 *)iv; in safexcel_skcipher_iv()
100 cdesc->control_data.options |= ctx->ivmask; in safexcel_skcipher_iv()
101 memcpy(cdesc->control_data.token, iv, ctx->blocksz); in safexcel_skcipher_iv()
120 token = (struct safexcel_token *)(cdesc->control_data.token + 2); in safexcel_skcipher_token()
140 cdesc->control_data.token[0] = ctx->nonce; in safexcel_aead_iv()
142 memcpy(&cdesc->control_data.token[1], iv, 8); in safexcel_aead_iv()
144 cdesc->control_data.token[3] = in safexcel_aead_iv()
150 memcpy(&cdesc->control_data.token[0], iv, 12); in safexcel_aead_iv()
152 cdesc->control_data.token[3] = in safexcel_aead_iv()
157 memcpy(cdesc->control_data.token, iv, ctx->blocksz); in safexcel_aead_iv()
171 cdesc->control_data.options |= EIP197_OPTION_4_TOKEN_IV_CMD; in safexcel_aead_token()
178 u8 *final_iv = (u8 *)cdesc->control_data.token; in safexcel_aead_token()
184 cdesc->control_data.token[0] = ctx->nonce; in safexcel_aead_token()
191 memcpy(&cdesc->control_data.token[1], iv, 8); in safexcel_aead_token()
194 cdesc->control_data.token[3] = 0; in safexcel_aead_token()
513 cdesc->control_data.control1 = ctx->mode; in safexcel_context_control()
519 cdesc->control_data.control0 = in safexcel_context_control()
526 cdesc->control_data.control0 = in safexcel_context_control()
537 cdesc->control_data.control0 = in safexcel_context_control()
547 cdesc->control_data.control0 |= in safexcel_context_control()
550 cdesc->control_data.control0 |= in safexcel_context_control()
553 cdesc->control_data.control0 |= in safexcel_context_control()
556 cdesc->control_data.control0 |= in safexcel_context_control()
560 cdesc->control_data.control0 = in safexcel_context_control()
565 cdesc->control_data.control0 = in safexcel_context_control()
572 cdesc->control_data.control0 |= in safexcel_context_control()
575 cdesc->control_data.control0 |= in safexcel_context_control()
580 cdesc->control_data.control0 |= in safexcel_context_control()
584 cdesc->control_data.control0 |= in safexcel_context_control()
588 cdesc->control_data.control0 |= in safexcel_context_control()
597 cdesc->control_data.control0 |= in safexcel_context_control()
600 cdesc->control_data.control0 |= in safexcel_context_control()