Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/keembay/
H A Docs-aes.h23 OCS_MODE_GCM = 7, enumerator
H A Docs-aes.c614 mode != OCS_MODE_GCM && mode != OCS_MODE_CTS) in ocs_aes_validate_inputs()
701 case OCS_MODE_GCM: in ocs_aes_validate_inputs()
818 if (mode == OCS_MODE_GCM || mode == OCS_MODE_CCM) in ocs_aes_op()
944 OCS_MODE_GCM, instruction, in ocs_aes_gcm_op()
949 ocs_aes_init(aes_dev, OCS_MODE_GCM, cipher, instruction); in ocs_aes_gcm_op()
H A Dkeembay-ocs-aes-core.c611 case OCS_MODE_GCM: in kmb_ocs_aead_validate_input()
1054 return kmb_ocs_aead_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_GCM); in kmb_ocs_aes_gcm_encrypt()
1059 return kmb_ocs_aead_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_GCM); in kmb_ocs_aes_gcm_decrypt()
1130 return kmb_ocs_aead_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_GCM); in kmb_ocs_sm4_gcm_encrypt()
1135 return kmb_ocs_aead_common(req, OCS_SM4, OCS_DECRYPT, OCS_MODE_GCM); in kmb_ocs_sm4_gcm_decrypt()