Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c152 if (cipher == OCS_AES && (key_len == OCS_AES_KEYSIZE_128 || in check_key()
188 tctx->use_fallback = (cipher == OCS_AES && in kmb_ocs_sk_set_key()
210 tctx->use_fallback = (cipher == OCS_AES && in kmb_ocs_aead_set_key()
999 return kmb_ocs_sk_set_key(tfm, in_key, key_len, OCS_AES); in kmb_ocs_aes_set_key()
1005 return kmb_ocs_aead_set_key(tfm, in_key, key_len, OCS_AES); in kmb_ocs_aes_aead_set_key()
1011 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_ECB); in kmb_ocs_aes_ecb_encrypt()
1016 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_ECB); in kmb_ocs_aes_ecb_decrypt()
1022 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_encrypt()
1027 return kmb_ocs_sk_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CBC); in kmb_ocs_aes_cbc_decrypt()
1032 return kmb_ocs_sk_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CTR); in kmb_ocs_aes_ctr_encrypt()
[all …]
H A Docs-aes.h14 OCS_AES = 0, enumerator
92 return ocs_aes_op(aes_dev, OCS_MODE_ECB, OCS_AES, OCS_BYPASS, in ocs_aes_bypass_op()
H A Docs-aes.c485 if (cipher == OCS_AES && !(key_size == 32 || key_size == 16)) { in ocs_aes_set_key()
609 if (!(cipher == OCS_AES || cipher == OCS_SM4)) in ocs_aes_validate_inputs()