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