SSSE3 problems on Nehalem?

Werner Koch wk at gnupg.org
Wed Jan 4 16:45:57 CET 2017


On Wed,  4 Jan 2017 11:01, jussi.kivilinna at iki.fi said:

> 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).

Hmmm, we have exactly the same compiler version on both machines:

  gcc (Debian 6.2.1-5) 6.2.1 20161124

but I just noticed that for whatever reason on the the Jenkins we use
-fPIC.

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

Thanks.  I can confirm that it works.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170104/e2f70897/attachment.sig>


More information about the Gcrypt-devel mailing list