Lines Matching refs:OCS_ENCRYPT

328 		if (instruction == OCS_ENCRYPT)  in kmb_ocs_sk_common()
559 if (rctx->cts_swap && rctx->instruction == OCS_ENCRYPT) { in kmb_ocs_sk_run()
569 if (rctx->instruction == OCS_ENCRYPT) { in kmb_ocs_sk_run()
659 return (instruction == OCS_ENCRYPT) ? in kmb_ocs_aead_common()
817 rctx->instruction == OCS_ENCRYPT)) { in kmb_ocs_aead_dma_prepare()
1011 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_ECB); in kmb_ocs_aes_ecb_encrypt()
1022 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_encrypt()
1032 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CTR); in kmb_ocs_aes_ctr_encrypt()
1043 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CTS); in kmb_ocs_aes_cts_encrypt()
1054 return kmb_ocs_aead_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_GCM); in kmb_ocs_aes_gcm_encrypt()
1064 return kmb_ocs_aead_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CCM); in kmb_ocs_aes_ccm_encrypt()
1087 return kmb_ocs_sk_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_ECB); in kmb_ocs_sm4_ecb_encrypt()
1098 return kmb_ocs_sk_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CBC); in kmb_ocs_sm4_cbc_encrypt()
1108 return kmb_ocs_sk_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CTR); in kmb_ocs_sm4_ctr_encrypt()
1119 return kmb_ocs_sk_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CTS); in kmb_ocs_sm4_cts_encrypt()
1130 return kmb_ocs_aead_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_GCM); in kmb_ocs_sm4_gcm_encrypt()
1140 return kmb_ocs_aead_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CCM); in kmb_ocs_sm4_ccm_encrypt()