From: Stephan Mueller <smueller@chronox.de>
To: Tapas Sarangi <TSarangi@trustwave.com>
Cc: "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>
Subject: Re: RSA key size not allowed in FIPS
Date: Tue, 09 Aug 2016 16:29:37 +0200 [thread overview]
Message-ID: <2825660.AnRQGUh0XD@tauon.atsec.com> (raw)
In-Reply-To: <D3CF4E8C.2883%tsarangi@trustwave.com>
Am Dienstag, 9. August 2016, 14:10:33 CEST schrieb Tapas Sarangi:
Hi Tapas,
> Hello,
>
> I am using vanilla kernel-4.7 source. It crashes with the following when
> booted with ³fips=1 boot=/dev/sda1² option at the kernel command line
> argument.
The kernel only allows 2k and 3k RSA keys in FIPS mode. Please check your RSA
key used for signatures.
/* In FIPS mode only allow key size 2K & 3K */
if (n_sz != 256 && n_sz != 384) {
pr_err("RSA: key size not allowed in FIPS mode\n");
return -EINVAL;
}
Ciao
Stephan
next prev parent reply other threads:[~2016-08-09 14:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-09 14:10 RSA key size not allowed in FIPS Tapas Sarangi
2016-08-09 14:29 ` Stephan Mueller [this message]
2016-08-09 14:39 ` Tapas Sarangi
2016-08-09 14:54 ` Tapas Sarangi
2016-08-09 14:55 ` Stephan Mueller
2016-08-09 15:00 ` Tapas Sarangi
2016-08-09 16:07 ` Tapas Sarangi
2016-08-09 16:08 ` Stephan Mueller
2016-08-16 9:33 ` Stephan Mueller
2016-08-09 14:36 ` Gary R Hook
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=2825660.AnRQGUh0XD@tauon.atsec.com \
--to=smueller@chronox.de \
--cc=TSarangi@trustwave.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox