All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk@intel.com>
To: Andrew Zaborowski <andrew.zaborowski@intel.com>,
	linux-crypto@vger.kernel.org
Subject: Re: [PATCH 4/4] crypto: RSA padding algorithm
Date: Wed, 11 Nov 2015 13:58:27 -0800	[thread overview]
Message-ID: <5643BA03.20606@intel.com> (raw)
In-Reply-To: <1447203525-16796-4-git-send-email-andrew.zaborowski@intel.com>

On 11/10/2015 04:58 PM, Andrew Zaborowski wrote:
> This patch adds PKCS#1 v1.5 standard RSA padding as a separate template.
> This way an RSA cipher with padding can be obtained by instantiating
> "pkcs1pad(rsa)".  The reason for adding this is that RSA is almost
> never used without this padding (or OAEP) so it will be needed for
> either certificate work in the kernel or the userspace, and also I hear
> that it is likely implemented by hardware RSA in which case an
> implementation of the whole "pkcs1pad(rsa)" can be provided.
> 
> Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
> ---
>  crypto/Makefile               |   1 +
>  crypto/rsa-padding.c          | 586 ++++++++++++++++++++++++++++++++++++++++++
>  crypto/rsa.c                  |  16 +-
>  include/crypto/internal/rsa.h |   2 +
>  4 files changed, 604 insertions(+), 1 deletion(-)
>  create mode 100644 crypto/rsa-padding.c

Can we call this new file rsa-pkcs1pad.c instead?
Thanks

  parent reply	other threads:[~2015-11-11 22:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11  0:58 [PATCH 1/4] lib/mpi: only require buffers as big as needed for the integer Andrew Zaborowski
2015-11-11  0:58 ` [PATCH 2/4] crypto: rsa: only require output buffers as big as needed Andrew Zaborowski
2015-11-11  0:58 ` [PATCH 3/4] crypto: akcipher: add crypto_akcipher_type methods needed by templates Andrew Zaborowski
2015-11-11  0:58 ` [PATCH 4/4] crypto: RSA padding algorithm Andrew Zaborowski
2015-11-11 13:19   ` Stephan Mueller
2015-11-11 13:25     ` Marcel Holtmann
2015-11-13  9:52     ` Andrzej Zaborowski
2015-11-11 21:58   ` Tadeusz Struk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-13 11:01 [PATCH 1/4] lib/mpi: only require buffers as big as needed for the integer Andrew Zaborowski
2015-11-13 11:01 ` [PATCH 4/4] crypto: RSA padding algorithm Andrew Zaborowski
2015-11-20  3:13 [PATCH v3 1/4] lib/mpi: only require buffers as big as needed for the integer Andrew Zaborowski
2015-11-20  3:13 ` [PATCH 4/4] crypto: RSA padding algorithm Andrew Zaborowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5643BA03.20606@intel.com \
    --to=tadeusz.struk@intel.com \
    --cc=andrew.zaborowski@intel.com \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.