linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SHA1-MB algorithm broken on latest kernel
@ 2016-05-12 23:31 Megha Dey
  2016-05-13  3:10 ` Herbert Xu
  0 siblings, 1 reply; 11+ messages in thread
From: Megha Dey @ 2016-05-12 23:31 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-crypto, linux-kernel

Hi,
 
When booting latest kernel with the CONFIG_CRYPTO_SHA1_MB enabled, I
observe a panic.
 
After having a quick look, on reverting the following patches, I am able
to complete the booting process.
aec4d0e301f17bb143341c82cc44685b8af0b945
8691ccd764f9ecc69a6812dfe76214c86ac9ba06
68874ac3304ade7ed5ebb12af00d6b9bbbca0a16
 
Of the 3 patches, aec4d0e301f17bb143341c82cc44685b8af0b945 seems wrong.
The r10 to r15 registers are used in sha1_x8_avx2.S, which is called
from sha1_mb_mgr_flush_avx2.S.
 
I do not think the functionality of the SHA1-MB crypto algorithm has
been tested after applying these changes. (I am not sure if any of the
other crypto algorithms have been affected by these changes).
 
Thanks,
Megha

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-05-17  6:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12 23:31 SHA1-MB algorithm broken on latest kernel Megha Dey
2016-05-13  3:10 ` Herbert Xu
2016-05-13  5:51   ` Ingo Molnar
2016-05-13 17:32     ` Megha Dey
2016-05-16 14:44       ` Josh Poimboeuf
2016-05-16 18:31         ` Megha Dey
2016-05-16 20:16           ` [PATCH] crypto/sha1-mb: make sha1_x8_avx2() conform to C function ABI Josh Poimboeuf
2016-05-16 21:39             ` Megha Dey
2016-05-16 21:46               ` Josh Poimboeuf
2016-05-16 23:07                 ` Megha Dey
2016-05-17  6:31                   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).