Lines Matching +full:aes +full:- +full:cmac

1 /* SPDX-License-Identifier: GPL-2.0-only
2 * SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
92 /* AES Configuration */
155 /* AES Crypto Configuration */
362 SE_ALG_CMAC, /* Cipher-based MAC (CMAC) mode */
368 SE_ALG_SHA1, /* Secure Hash Algorithm-1 (SHA1) mode */
369 SE_ALG_SHA224, /* Secure Hash Algorithm-224 (SHA224) mode */
370 SE_ALG_SHA256, /* Secure Hash Algorithm-256 (SHA256) mode */
371 SE_ALG_SHA384, /* Secure Hash Algorithm-384 (SHA384) mode */
372 SE_ALG_SHA512, /* Secure Hash Algorithm-512 (SHA512) mode */
373 SE_ALG_SHA3_224, /* Secure Hash Algorithm3-224 (SHA3-224) mode */
374 SE_ALG_SHA3_256, /* Secure Hash Algorithm3-256 (SHA3-256) mode */
375 SE_ALG_SHA3_384, /* Secure Hash Algorithm3-384 (SHA3-384) mode */
376 SE_ALG_SHA3_512, /* Secure Hash Algorithm3-512 (SHA3-512) mode */
379 SE_ALG_HMAC_SHA224, /* Hash based MAC (HMAC) - 224 */
380 SE_ALG_HMAC_SHA256, /* Hash based MAC (HMAC) - 256 */
381 SE_ALG_HMAC_SHA384, /* Hash based MAC (HMAC) - 384 */
382 SE_ALG_HMAC_SHA512, /* Hash based MAC (HMAC) - 512 */
456 if (!strcmp(name, "cbc(aes)")) in se_algname_to_algid()
458 else if (!strcmp(name, "ecb(aes)")) in se_algname_to_algid()
460 else if (!strcmp(name, "ctr(aes)")) in se_algname_to_algid()
462 else if (!strcmp(name, "xts(aes)")) in se_algname_to_algid()
464 else if (!strcmp(name, "cmac(aes)")) in se_algname_to_algid()
466 else if (!strcmp(name, "gcm(aes)")) in se_algname_to_algid()
468 else if (!strcmp(name, "ccm(aes)")) in se_algname_to_algid()
481 else if (!strcmp(name, "sha3-224")) in se_algname_to_algid()
483 else if (!strcmp(name, "sha3-256")) in se_algname_to_algid()
485 else if (!strcmp(name, "sha3-384")) in se_algname_to_algid()
487 else if (!strcmp(name, "sha3-512")) in se_algname_to_algid()
498 return -EINVAL; in se_algname_to_algid()
544 /* 22-bit offset supported */ in host1x_opcode_incr_w()
550 /* 22-bit offset supported */ in host1x_opcode_nonincr_w()