Re: crypto: drbg - Add select on sha256

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Donnerstag, 11. Juni 2015, 09:40:04 schrieb Herbert Xu:

Hi Herbert,

> On Thu, Jun 11, 2015 at 03:37:38AM +0200, Stephan Mueller wrote:
> > Am Donnerstag, 11. Juni 2015, 08:55:10 schrieb Herbert Xu:
> > 
> > Hi Herbert,
> > 
> > > The hash-based DRBG variants all use sha256 so we need to add a
> > > select on it.
> > 
> > Would that be sufficient? We can have SHA1, SHA384 and SHA512 with the
> > current drbg_cores[] too.
> 
> Yes but only sha256 is used by default, no?

Yes, per default, that is true. Thus, if we care only about the default, then 
the patch is fine.

-- 
Ciao
Stephan
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux