projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ae4577
)
crypto: lib - Move mpi into lib/crypto
author
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 4 Aug 2023 09:24:34 +0000
(17:24 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 11 Aug 2023 11:19:27 +0000
(19:19 +0800)
As lib/mpi is mostly used by crypto code, move it under lib/crypto
so that patches touching it get directed to the right mailing list.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
28 files changed:
lib/Makefile
patch
|
blob
|
history
lib/crypto/Makefile
patch
|
blob
|
history
lib/crypto/mpi/Makefile
[moved from
lib/mpi/Makefile
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/ec.c
[moved from
lib/mpi/ec.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/generic_mpih-add1.c
[moved from
lib/mpi/generic_mpih-add1.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/generic_mpih-lshift.c
[moved from
lib/mpi/generic_mpih-lshift.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/generic_mpih-mul1.c
[moved from
lib/mpi/generic_mpih-mul1.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/generic_mpih-mul2.c
[moved from
lib/mpi/generic_mpih-mul2.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/generic_mpih-mul3.c
[moved from
lib/mpi/generic_mpih-mul3.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/generic_mpih-rshift.c
[moved from
lib/mpi/generic_mpih-rshift.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/generic_mpih-sub1.c
[moved from
lib/mpi/generic_mpih-sub1.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/longlong.h
[moved from
lib/mpi/longlong.h
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-add.c
[moved from
lib/mpi/mpi-add.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-bit.c
[moved from
lib/mpi/mpi-bit.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-cmp.c
[moved from
lib/mpi/mpi-cmp.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-div.c
[moved from
lib/mpi/mpi-div.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-inline.h
[moved from
lib/mpi/mpi-inline.h
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-internal.h
[moved from
lib/mpi/mpi-internal.h
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-inv.c
[moved from
lib/mpi/mpi-inv.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-mod.c
[moved from
lib/mpi/mpi-mod.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-mul.c
[moved from
lib/mpi/mpi-mul.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-pow.c
[moved from
lib/mpi/mpi-pow.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpi-sub-ui.c
[moved from
lib/mpi/mpi-sub-ui.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpicoder.c
[moved from
lib/mpi/mpicoder.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpih-cmp.c
[moved from
lib/mpi/mpih-cmp.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpih-div.c
[moved from
lib/mpi/mpih-div.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpih-mul.c
[moved from
lib/mpi/mpih-mul.c
with 100% similarity]
patch
|
blob
|
history
lib/crypto/mpi/mpiutil.c
[moved from
lib/mpi/mpiutil.c
with 100% similarity]
patch
|
blob
|
history
diff --git
a/lib/Makefile
b/lib/Makefile
index
42d307a
..
1f52354
100644
(file)
--- a/
lib/Makefile
+++ b/
lib/Makefile
@@
-253,7
+253,6
@@
obj-$(CONFIG_DQL) += dynamic_queue_limits.o
obj-$(CONFIG_GLOB) += glob.o
obj-$(CONFIG_GLOB_SELFTEST) += globtest.o
-obj-$(CONFIG_MPILIB) += mpi/
obj-$(CONFIG_DIMLIB) += dim/
obj-$(CONFIG_SIGNATURE) += digsig.o
diff --git
a/lib/crypto/Makefile
b/lib/crypto/Makefile
index
6ec2d45
..
8d1446c
100644
(file)
--- a/
lib/crypto/Makefile
+++ b/
lib/crypto/Makefile
@@
-53,3
+53,5
@@
libblake2s-y += blake2s-selftest.o
libchacha20poly1305-y += chacha20poly1305-selftest.o
libcurve25519-y += curve25519-selftest.o
endif
+
+obj-$(CONFIG_MPILIB) += mpi/
diff --git
a/lib/mpi/Makefile
b/lib/crypto/mpi/Makefile
similarity index 100%
rename from
lib/mpi/Makefile
rename to
lib/crypto/mpi/Makefile
diff --git
a/lib/mpi/ec.c
b/lib/crypto/mpi/ec.c
similarity index 100%
rename from
lib/mpi/ec.c
rename to
lib/crypto/mpi/ec.c
diff --git
a/lib/mpi/generic_mpih-add1.c
b/lib/crypto/mpi/generic_mpih-add1.c
similarity index 100%
rename from
lib/mpi/generic_mpih-add1.c
rename to
lib/crypto/mpi/generic_mpih-add1.c
diff --git
a/lib/mpi/generic_mpih-lshift.c
b/lib/crypto/mpi/generic_mpih-lshift.c
similarity index 100%
rename from
lib/mpi/generic_mpih-lshift.c
rename to
lib/crypto/mpi/generic_mpih-lshift.c
diff --git
a/lib/mpi/generic_mpih-mul1.c
b/lib/crypto/mpi/generic_mpih-mul1.c
similarity index 100%
rename from
lib/mpi/generic_mpih-mul1.c
rename to
lib/crypto/mpi/generic_mpih-mul1.c
diff --git
a/lib/mpi/generic_mpih-mul2.c
b/lib/crypto/mpi/generic_mpih-mul2.c
similarity index 100%
rename from
lib/mpi/generic_mpih-mul2.c
rename to
lib/crypto/mpi/generic_mpih-mul2.c
diff --git
a/lib/mpi/generic_mpih-mul3.c
b/lib/crypto/mpi/generic_mpih-mul3.c
similarity index 100%
rename from
lib/mpi/generic_mpih-mul3.c
rename to
lib/crypto/mpi/generic_mpih-mul3.c
diff --git
a/lib/mpi/generic_mpih-rshift.c
b/lib/crypto/mpi/generic_mpih-rshift.c
similarity index 100%
rename from
lib/mpi/generic_mpih-rshift.c
rename to
lib/crypto/mpi/generic_mpih-rshift.c
diff --git
a/lib/mpi/generic_mpih-sub1.c
b/lib/crypto/mpi/generic_mpih-sub1.c
similarity index 100%
rename from
lib/mpi/generic_mpih-sub1.c
rename to
lib/crypto/mpi/generic_mpih-sub1.c
diff --git
a/lib/mpi/longlong.h
b/lib/crypto/mpi/longlong.h
similarity index 100%
rename from
lib/mpi/longlong.h
rename to
lib/crypto/mpi/longlong.h
diff --git
a/lib/mpi/mpi-add.c
b/lib/crypto/mpi/mpi-add.c
similarity index 100%
rename from
lib/mpi/mpi-add.c
rename to
lib/crypto/mpi/mpi-add.c
diff --git
a/lib/mpi/mpi-bit.c
b/lib/crypto/mpi/mpi-bit.c
similarity index 100%
rename from
lib/mpi/mpi-bit.c
rename to
lib/crypto/mpi/mpi-bit.c
diff --git
a/lib/mpi/mpi-cmp.c
b/lib/crypto/mpi/mpi-cmp.c
similarity index 100%
rename from
lib/mpi/mpi-cmp.c
rename to
lib/crypto/mpi/mpi-cmp.c
diff --git
a/lib/mpi/mpi-div.c
b/lib/crypto/mpi/mpi-div.c
similarity index 100%
rename from
lib/mpi/mpi-div.c
rename to
lib/crypto/mpi/mpi-div.c
diff --git
a/lib/mpi/mpi-inline.h
b/lib/crypto/mpi/mpi-inline.h
similarity index 100%
rename from
lib/mpi/mpi-inline.h
rename to
lib/crypto/mpi/mpi-inline.h
diff --git
a/lib/mpi/mpi-internal.h
b/lib/crypto/mpi/mpi-internal.h
similarity index 100%
rename from
lib/mpi/mpi-internal.h
rename to
lib/crypto/mpi/mpi-internal.h
diff --git
a/lib/mpi/mpi-inv.c
b/lib/crypto/mpi/mpi-inv.c
similarity index 100%
rename from
lib/mpi/mpi-inv.c
rename to
lib/crypto/mpi/mpi-inv.c
diff --git
a/lib/mpi/mpi-mod.c
b/lib/crypto/mpi/mpi-mod.c
similarity index 100%
rename from
lib/mpi/mpi-mod.c
rename to
lib/crypto/mpi/mpi-mod.c
diff --git
a/lib/mpi/mpi-mul.c
b/lib/crypto/mpi/mpi-mul.c
similarity index 100%
rename from
lib/mpi/mpi-mul.c
rename to
lib/crypto/mpi/mpi-mul.c
diff --git
a/lib/mpi/mpi-pow.c
b/lib/crypto/mpi/mpi-pow.c
similarity index 100%
rename from
lib/mpi/mpi-pow.c
rename to
lib/crypto/mpi/mpi-pow.c
diff --git
a/lib/mpi/mpi-sub-ui.c
b/lib/crypto/mpi/mpi-sub-ui.c
similarity index 100%
rename from
lib/mpi/mpi-sub-ui.c
rename to
lib/crypto/mpi/mpi-sub-ui.c
diff --git
a/lib/mpi/mpicoder.c
b/lib/crypto/mpi/mpicoder.c
similarity index 100%
rename from
lib/mpi/mpicoder.c
rename to
lib/crypto/mpi/mpicoder.c
diff --git
a/lib/mpi/mpih-cmp.c
b/lib/crypto/mpi/mpih-cmp.c
similarity index 100%
rename from
lib/mpi/mpih-cmp.c
rename to
lib/crypto/mpi/mpih-cmp.c
diff --git
a/lib/mpi/mpih-div.c
b/lib/crypto/mpi/mpih-div.c
similarity index 100%
rename from
lib/mpi/mpih-div.c
rename to
lib/crypto/mpi/mpih-div.c
diff --git
a/lib/mpi/mpih-mul.c
b/lib/crypto/mpi/mpih-mul.c
similarity index 100%
rename from
lib/mpi/mpih-mul.c
rename to
lib/crypto/mpi/mpih-mul.c
diff --git
a/lib/mpi/mpiutil.c
b/lib/crypto/mpi/mpiutil.c
similarity index 100%
rename from
lib/mpi/mpiutil.c
rename to
lib/crypto/mpi/mpiutil.c