public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [CRYPTO] padlock: Fix alignment after aes_ctx rearrange
@ 2006-07-14  2:08 Michal Ludvig
  2006-07-14  2:14 ` Michal Ludvig
  2006-07-15  1:25 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Ludvig @ 2006-07-14  2:08 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Linux Crypto Mailing List, Linux Kernel Mailing List

Hi Herbert,

I just recently discovered that your patch that rearranges struct
aes_ctx in padlock-aes.c breaks the alignment rules for xcrypt leading
to GPF Oopses.

Note that *all* addresses passed to xcrypt must be 16-Bytes aligned for
VIA C3 (including IV and Key - the latter one was not aligned and
triggered this Oops).

As the rearrange patch made it to 2.6.18-rc1 it must be fixed before
2.6.18 is out. Attached is a patch.

Michal



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

end of thread, other threads:[~2006-07-15  1:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14  2:08 [CRYPTO] padlock: Fix alignment after aes_ctx rearrange Michal Ludvig
2006-07-14  2:14 ` Michal Ludvig
2006-07-15  1:25 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox