SSSE3 problems on Nehalem?

Andreas Metzler ametzler at bebt.de
Wed Jan 11 18:59:37 CET 2017


[repost, gmane -> list swallowed first try]
Jussi Kivilinna <jussi.kivilinna at iki.fi> wrote:
> On 03.01.2017 21:57, Werner Koch wrote:
[...]
>> Thus _gcry_aes_ssse3_ctr_enc fails after one block (128 bits).

> Bug is in _gcry_aes_ssse3_ctr_enc. 'ctrlow' is passed to assembly block
> as read-only register when it should be read/write as assembly block does
> 64-bit increment on it. Whatever this ends up breaking depends on compiler
> register allocation (thus version & flags).

> So, on that machine, compiler passes 'ctrlow' to temporary register
> before assembly and assembly part increments that register and
> calculation is lost.

> I'll push fix for this soon. Diff for rinjdael-ssse3 attached below.

Hello,

should I cherrypick this patch for Debian's 1.7 packages?

Is there anything else that should go into soon-to-be-frozen next Debian
release?

Thanks, cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Gcrypt-devel mailing list