Searched refs:OCS_MODE_CBC (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/crypto/intel/keembay/ |
D | ocs-aes.h | 20 OCS_MODE_CBC = 1, enumerator
|
D | keembay-ocs-aes-core.c | 266 case OCS_MODE_CBC: in kmb_ocs_sk_validate_input() 413 if (rctx->mode == OCS_MODE_CBC && rctx->instruction == OCS_DECRYPT) in kmb_ocs_sk_prepare_inplace() 567 if (rctx->mode == OCS_MODE_CBC) { in kmb_ocs_sk_run() 1022 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_encrypt() 1027 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_decrypt() 1098 return kmb_ocs_sk_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CBC); in kmb_ocs_sm4_cbc_encrypt() 1103 return kmb_ocs_sk_common(req, OCS_SM4, OCS_DECRYPT, OCS_MODE_CBC); in kmb_ocs_sm4_cbc_decrypt()
|
D | ocs-aes.c | 612 if (mode != OCS_MODE_ECB && mode != OCS_MODE_CBC && in ocs_aes_validate_inputs() 653 case OCS_MODE_CBC: in ocs_aes_validate_inputs()
|