Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c413 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 Docs-aes.h29 OCS_DECRYPT = 1, enumerator
H A Docs-aes.c617 if (instruction != OCS_ENCRYPT && instruction != OCS_DECRYPT && in ocs_aes_validate_inputs()
746 if (instruction == OCS_DECRYPT) { in ocs_aes_validate_inputs()