Searched refs:OCS_DECRYPT (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-aes-core.c | 413 if (rctx->mode == OCS_MODE_CBC && rctx->instruction == OCS_DECRYPT) in kmb_ocs_sk_prepare_inplace() 418 if (rctx->cts_swap && rctx->instruction == OCS_DECRYPT) in kmb_ocs_sk_prepare_inplace() 489 if (!(rctx->cts_swap && rctx->instruction == OCS_DECRYPT)) in kmb_ocs_sk_prepare_notinplace() 603 if (instruction == OCS_DECRYPT && req->cryptlen < tag_size) in kmb_ocs_aead_validate_input() 735 if (rctx->instruction == OCS_DECRYPT) { in kmb_ocs_aead_dma_prepare() 921 if (rctx->instruction == OCS_DECRYPT) { in kmb_ocs_aead_run() 1016 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_ECB); in kmb_ocs_aes_ecb_decrypt() 1027 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_decrypt() 1037 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CTR); in kmb_ocs_aes_ctr_decrypt() 1048 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CTS); in kmb_ocs_aes_cts_decrypt() [all …]
|
H A D | ocs-aes.h | 29 OCS_DECRYPT = 1, enumerator
|
H A 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()
|