Home
last modified time | relevance | path

Searched refs:OCS_MODE_CBC (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/crypto/intel/keembay/
Docs-aes.h20 OCS_MODE_CBC = 1, enumerator
Dkeembay-ocs-aes-core.c266 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()
Docs-aes.c612 if (mode != OCS_MODE_ECB && mode != OCS_MODE_CBC && in ocs_aes_validate_inputs()
653 case OCS_MODE_CBC: in ocs_aes_validate_inputs()