projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3574a51
)
crypto: lib/mpi - Export mpi_set_bit
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 7 Nov 2024 05:37:35 +0000
(13:37 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 15 Nov 2024 11:52:51 +0000
(19:52 +0800)
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>
lib/crypto/mpi/mpi-bit.c
patch
|
blob
|
history
diff --git
a/lib/crypto/mpi/mpi-bit.c
b/lib/crypto/mpi/mpi-bit.c
index
835a2f0
..
934d813
100644
(file)
--- 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.