Searched refs:OCS_DECRYPT (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/crypto/keembay/ |
D | keembay-ocs-aes-core.c | 416 if (rctx->mode == OCS_MODE_CBC && rctx->instruction == OCS_DECRYPT) in kmb_ocs_sk_prepare_inplace() 421 if (rctx->cts_swap && rctx->instruction == OCS_DECRYPT) in kmb_ocs_sk_prepare_inplace() 492 if (!(rctx->cts_swap && rctx->instruction == OCS_DECRYPT)) in kmb_ocs_sk_prepare_notinplace() 606 if (instruction == OCS_DECRYPT && req->cryptlen < tag_size) in kmb_ocs_aead_validate_input() 738 if (rctx->instruction == OCS_DECRYPT) { in kmb_ocs_aead_dma_prepare() 924 if (rctx->instruction == OCS_DECRYPT) { in kmb_ocs_aead_run() 1019 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_ECB); in kmb_ocs_aes_ecb_decrypt() 1030 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_decrypt() 1040 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CTR); in kmb_ocs_aes_ctr_decrypt() 1051 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CTS); in kmb_ocs_aes_cts_decrypt() [all …]
|
D | ocs-aes.h | 29 OCS_DECRYPT = 1, enumerator
|
D | ocs-aes.c | 617 if (instruction != OCS_ENCRYPT && instruction != OCS_DECRYPT && in ocs_aes_validate_inputs() 746 if (instruction == OCS_DECRYPT) { in ocs_aes_validate_inputs()
|