mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +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);
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user