[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55707CB9.7090307@intel.com>
Date: Thu, 04 Jun 2015 09:28:41 -0700
From: Tadeusz Struk <tadeusz.struk@...el.com>
To: Stephan Mueller <smueller@...onox.de>
CC: herbert@...dor.apana.org.au, linux-kernel@...r.kernel.org,
keescook@...omium.org, jwboyer@...hat.com, richard@....at,
steved@...hat.com, qat-linux@...el.com, dhowells@...hat.com,
linux-crypto@...r.kernel.org, james.l.morris@...cle.com,
jkosina@...e.cz, zohar@...ux.vnet.ibm.com, davem@...emloft.net,
vgoyal@...hat.com
Subject: Re: [PATCH RFC v3 3/3] crypto: add tests vectors for RSA
Hi Stephan
On 06/03/2015 05:15 PM, Stephan Mueller wrote:
> May I ask that the outbuf_enc is memcmp()ed with an expected value? This check
> is required for FIPS 140-2 compliance. Without that memcmp, FIPS 140-2
> validations will not be successful.
Sure, I will do that. I wasn't aware that this was required.
>
> Sorry for bringing that one up just now: 512 and 1024 bit test vectors will
> not be helpful for several use cases, including FIPS. I can offer to give you
> 2k or 3k vectors.
I have one 2K vector from openSSL fips so I'll use it instead of the 512 one.
> Besides, wouldn't one vector be sufficient?
I think there is no harm to have these 3 vectors to make sure an implementation
is well tested.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists