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>
This commit is contained in:
Herbert Xu 2024-11-07 13:37:35 +08:00
parent 3574a5168f
commit 0594ad6184

View File

@ -95,6 +95,7 @@ int mpi_set_bit(MPI a, unsigned int n)
a->d[limbno] |= (A_LIMB_1<<bitno); a->d[limbno] |= (A_LIMB_1<<bitno);
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(mpi_set_bit);
/* /*
* Shift A by N bits to the right. * Shift A by N bits to the right.