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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

--
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux