OTX2_CPT_AES_CBC
if (ctx->cipher_type == OTX2_CPT_AES_CBC ||
if ((ctx->cipher_type == OTX2_CPT_AES_CBC ||
if (cipher_type == OTX2_CPT_AES_CBC || cipher_type == OTX2_CPT_AES_ECB)
return cpt_aes_setkey(tfm, key, keylen, OTX2_CPT_AES_CBC);
case OTX2_CPT_AES_CBC:
return cpt_aead_init(tfm, OTX2_CPT_AES_CBC, OTX2_CPT_SHA1);
return cpt_aead_init(tfm, OTX2_CPT_AES_CBC, OTX2_CPT_SHA256);
return cpt_aead_init(tfm, OTX2_CPT_AES_CBC, OTX2_CPT_SHA384);
return cpt_aead_init(tfm, OTX2_CPT_AES_CBC, OTX2_CPT_SHA512);
case OTX2_CPT_AES_CBC: