diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-11-07 06:37:35 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-11-15 12:52:51 +0100 |
commit | 0594ad6184598b5b9a6eb5619785f37f825e6ffd (patch) | |
tree | 6b34e04bc6195c3faaee675b72d48f59119ad3be /lib/crypto | |
parent | crypto: aes-gcm-p10 - Use the correct bit to test for P10 (diff) | |
download | linux-0594ad6184598b5b9a6eb5619785f37f825e6ffd.tar.xz linux-0594ad6184598b5b9a6eb5619785f37f825e6ffd.zip |
crypto: lib/mpi - Export mpi_set_bit
This function is part of the exposed API and should be exported.
Otherwise a modular user would fail to build, e.g., crypto/rsa.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/mpi/mpi-bit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/mpi/mpi-bit.c b/lib/crypto/mpi/mpi-bit.c index 835a2f0622a0..934d81311360 100644 --- a/lib/crypto/mpi/mpi-bit.c +++ b/lib/crypto/mpi/mpi-bit.c @@ -95,6 +95,7 @@ int mpi_set_bit(MPI a, unsigned int n) a->d[limbno] |= (A_LIMB_1<<bitno); return 0; } +EXPORT_SYMBOL_GPL(mpi_set_bit); /* * Shift A by N bits to the right. |