Searched refs:OCS_MODE_CBC (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/crypto/keembay/ |
D | keembay-ocs-aes-core.c | 269 case OCS_MODE_CBC: in kmb_ocs_sk_validate_input() 416 if (rctx->mode == OCS_MODE_CBC && rctx->instruction == OCS_DECRYPT) in kmb_ocs_sk_prepare_inplace() 570 if (rctx->mode == OCS_MODE_CBC) { in kmb_ocs_sk_run() 1025 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_encrypt() 1030 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_decrypt() 1101 return kmb_ocs_sk_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CBC); in kmb_ocs_sm4_cbc_encrypt() 1106 return kmb_ocs_sk_common(req, OCS_SM4, OCS_DECRYPT, OCS_MODE_CBC); in kmb_ocs_sm4_cbc_decrypt()
|
D | ocs-aes.h | 20 OCS_MODE_CBC = 1, enumerator
|
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()
|