Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk@intel.com>
To: "Corentin Labbe" <clabbe.montjoie@gmail.com>,
	"Stephan Müller" <smueller@chronox.de>
Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: Problem with RSA test from testmgr
Date: Thu, 2 Mar 2017 08:30:10 -0800	[thread overview]
Message-ID: <4adef3de-a376-5827-37cc-af45cd683293@intel.com> (raw)
In-Reply-To: <20170302062158.GA9242@Red>

On 03/01/2017 10:21 PM, Corentin Labbe wrote:
> I am finishing a patch that made testmgr test both (padded and unpadded).

Even if you patch the test vectors there is no guarantee that a user
of the API will always have the plain text padded.
It can be anything between 1 and the key size.
This needs to be the driver who adds padding if needed.
See how other implementations handle it.
Thanks,
-- 
Tadeusz

  reply	other threads:[~2017-03-02 16:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 15:59 Problem with RSA test from testmgr Corentin Labbe
2017-02-28 16:08 ` Stephan Müller
2017-02-28 16:45   ` Corentin Labbe
2017-02-28 22:35     ` Stephan Müller
2017-03-01 12:04       ` Corentin Labbe
2017-03-01 15:07         ` Stephan Müller
2017-03-02  6:21           ` Corentin Labbe
2017-03-02 16:30             ` Tadeusz Struk [this message]
2017-03-02  2:15         ` Tadeusz Struk
2017-03-02  6:08           ` Stephan Müller
2017-03-02 16:26             ` Tadeusz Struk

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=4adef3de-a376-5827-37cc-af45cd683293@intel.com \
    --to=tadeusz.struk@intel.com \
    --cc=clabbe.montjoie@gmail.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=smueller@chronox.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox