mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
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:
parent
3574a5168f
commit
0594ad6184
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user