Searched refs:OCS_MODE_CTR (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/crypto/keembay/ |
D | ocs-aes.h | 21 OCS_MODE_CTR = 2, enumerator
|
D | keembay-ocs-aes-core.c | 284 case OCS_MODE_CTR: in kmb_ocs_sk_validate_input() 1035 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CTR); in kmb_ocs_aes_ctr_encrypt() 1040 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CTR); in kmb_ocs_aes_ctr_decrypt() 1111 return kmb_ocs_sk_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CTR); in kmb_ocs_sm4_ctr_encrypt() 1116 return kmb_ocs_sk_common(req, OCS_SM4, OCS_DECRYPT, OCS_MODE_CTR); in kmb_ocs_sm4_ctr_decrypt()
|
D | ocs-aes.c | 613 mode != OCS_MODE_CTR && mode != OCS_MODE_CCM && in ocs_aes_validate_inputs() 669 case OCS_MODE_CTR: in ocs_aes_validate_inputs() 863 if (mode == OCS_MODE_CTR) { in ocs_aes_op()
|