From: Daniel Borkmann <dborkman@redhat.com>
To: linux-sctp@vger.kernel.org
Subject: Re: MD5 HMAC in FIPS mode
Date: Wed, 22 Jan 2014 18:46:02 +0000 [thread overview]
Message-ID: <52E011EA.8010802@redhat.com> (raw)
In-Reply-To: <CAGugRbVVLAddsidEeBQ879UcMsiaxo3g2kTVqNJUj6VUAYhXkQ@mail.gmail.com>
On 01/22/2014 07:23 PM, Karl Heiss wrote:
> When fips=1 is set on the kernel command line, the hmac(md5) algorithm
> is not usable. This leads to errors when listen() is called with the
> default configuration. So this leads me to the following questions:
>
> Does it make sense to change the default value when fips mode is
> enabled? If so, does it make more sense to handle it in userspace via
> sysctl, or enforce directly in the SCTP stack? It seems easy enough
> to check for the fips_enabled variable and disallow setting md5
> through the kernel directly.
Indeed it seems easy enough, but I think we should not do any
special treatment in SCTP whereas the rest of the code is not
handling fips_enabled, imho.
You can choose default alg in Kconfig at compile time or select
a different algorithm through cookie_hmac_alg sysctl already.
If a kernel is specifically built for fips mode, then that would
be the better option in my opinion.
next prev parent reply other threads:[~2014-01-22 18:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 18:23 MD5 HMAC in FIPS mode Karl Heiss
2014-01-22 18:46 ` Daniel Borkmann [this message]
2014-01-22 19:45 ` Neil Horman
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=52E011EA.8010802@redhat.com \
--to=dborkman@redhat.com \
--cc=linux-sctp@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.