Skip to content

KEYS: Use pkcs1pad for padding in software_pkey

Tadeusz Struk linux-crypto lkml 1 version In review

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

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: Add hash param to pkcs1padcrypto/rsa-pkcs1pad.c+156 -260 replies
2/2crypto: remove padding logic from rsa.ccrypto/asymmetric_keys/software_pkey.c crypto/rsa.c crypto/testmgr.c +1 more+56 -1944 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] KEYS: Use pkcs1pad for padding in software_pkey

Hi David,
I have converted the software_pkey to make use of the pkcs1pad template. The rsa.c is reverted back to what it was i.e. just math primitives and all padding is done in rsa-pkcs1padd.c software_pkey.c just allocates pksc1padd(alg,hash)

This is incremental series on top of the current
http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-rsa

---

Tadeusz Struk (2):
crypto: Add hash param to pkcs1pad
crypto: remove paddings logic from rsa.c

 crypto/asymmetric_keys/software_pkey.c |   28 ++++
 crypto/rsa-pkcs1pad.c                  |  182 ++++++++++++++++++++++++----
 crypto/rsa.c                           |  210 +++++---------------------------
 crypto/testmgr.c                       |    5 -
 include/crypto/akcipher.h              |    7 -
 5 files changed, 212 insertions(+), 220 deletions(-)