Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342239

[PATCH 0/2] KEYS: Use pkcs1pad for padding in software_pkey

From Tadeusz Struk <tadeusz.struk@intel.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] KEYS: Use pkcs1pad for padding in software_pkey
Date 2016-02-24 18:20 +0100
Message-ID <r5Lgu-7GJ-5@gated-at.bofh.it> (permalink)
References <r5iRe-45N-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

--

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 4/8] akcipher: Move the RSA DER encoding to the crypto  layer Tadeusz Struk <tadeusz.struk@intel.com> - 2016-02-23 00:40 +0100
  Re: [PATCH 4/8] akcipher: Move the RSA DER encoding to the crypto layer David Howells <dhowells@redhat.com> - 2016-02-23 12:00 +0100
    [PATCH 0/2] KEYS: Use pkcs1pad for padding in software_pkey Tadeusz Struk <tadeusz.struk@intel.com> - 2016-02-24 18:20 +0100
      Re: [PATCH 0/2] KEYS: Use pkcs1pad for padding in software_pkey David Howells <dhowells@redhat.com> - 2016-02-24 18:30 +0100

csiph-web