^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright 2021 Google LLC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * This file is automatically included by all files built into fips140.ko, via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * the "-include" compiler flag. It redirects all calls to algorithm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * registration functions to the wrapper functions defined within the module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define aead_register_instance fips140_aead_register_instance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define ahash_register_instance fips140_ahash_register_instance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define crypto_register_aead fips140_crypto_register_aead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define crypto_register_aeads fips140_crypto_register_aeads
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define crypto_register_ahash fips140_crypto_register_ahash
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define crypto_register_ahashes fips140_crypto_register_ahashes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define crypto_register_alg fips140_crypto_register_alg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define crypto_register_algs fips140_crypto_register_algs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define crypto_register_rng fips140_crypto_register_rng
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define crypto_register_rngs fips140_crypto_register_rngs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define crypto_register_shash fips140_crypto_register_shash
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define crypto_register_shashes fips140_crypto_register_shashes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define crypto_register_skcipher fips140_crypto_register_skcipher
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define crypto_register_skciphers fips140_crypto_register_skciphers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define shash_register_instance fips140_shash_register_instance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define skcipher_register_instance fips140_skcipher_register_instance