Re: [PATCH] crypto: padlock-aes - Fix Nano workaround data corruption

2018-07-13 Thread Jamie Heilman
Herbert Xu wrote: > This was detected by the self-test thanks to Ard's chunking patch. > > I finally got around to testing this out on my ancient Via box. It > turns out that the workaround got the assembly wrong and we end up > doing count + initial cycles of the loop instead of just count. >

[PATCH] crypto: padlock-aes - Fix Nano workaround data corruption

2018-07-13 Thread Herbert Xu
This was detected by the self-test thanks to Ard's chunking patch. I finally got around to testing this out on my ancient Via box. It turns out that the workaround got the assembly wrong and we end up doing count + initial cycles of the loop instead of just count. This obviously causes