Skip to content

crytpo: rsa - use mpi sgl helpers

Tadeusz Struk linux-crypto 1 version New

Get series with b4
b4 am 20150923224853.23780.95440.stgit@tstruk-mobl1

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/mpi: Add mpi sgl helpersinclude/linux/mpi.h lib/mpi/mpicoder.c+193 -00 replies
2/2crytpo: rsa - use mpi slg helpers to import and export datacrypto/rsa.c+12 -1150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] crytpo: rsa - use mpi sgl helpers

This series introduces new mpi helpers to read from and write to an sgl without a need of using an intermediate flat buffer.

First patch adds helpers to mpi library. Second patch changes rsa implementation to use the new functions.

This is an incremental patch series on top of these two:
https://patchwork.kernel.org/patch/7241041/
https://patchwork.kernel.org/patch/7241051/

A simple test for the new helpers can be found here:
https://github.com/tstruk/mpi_sgl_test/blob/master/test.c

---

Tadeusz Struk (2):
lib/mpi: Add mpi sgl helpers
crytpo: rsa - use mpi slg helpers to import and export data

 crypto/rsa.c        |  110 ++----------------------------
 include/linux/mpi.h |    4 +
 lib/mpi/mpicoder.c  |  186 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 198 insertions(+), 102 deletions(-)

--