Lines Matching refs:cipher_type
139 if (ctx->cipher_type == OTX2_CPT_AES_CBC ||
140 ctx->cipher_type == OTX2_CPT_DES3_CBC) {
242 if ((ctx->cipher_type == OTX2_CPT_AES_CBC ||
243 ctx->cipher_type == OTX2_CPT_DES3_CBC) &&
258 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type;
262 if (ctx->cipher_type == OTX2_CPT_AES_XTS)
426 ctx->cipher_type = OTX2_CPT_AES_XTS;
444 u32 keylen, u8 cipher_type)
452 ctx->cipher_type = cipher_type;
461 u32 keylen, u8 cipher_type)
478 if (cipher_type == OTX2_CPT_AES_CBC || cipher_type == OTX2_CPT_AES_ECB)
484 ctx->cipher_type = cipher_type;
590 static int cpt_aead_init(struct crypto_aead *atfm, u8 cipher_type, u8 mac_type)
598 ctx->cipher_type = cipher_type;
606 if (ctx->cipher_type != OTX2_CPT_CIPHER_NULL) {
637 switch (ctx->cipher_type) {
1054 switch (ctx->cipher_type) {
1109 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type;