[openssl-dev] Assembler warns about constants in poly1306-x86_64.pl

Brian Smith brian at briansmith.org
Mon Jun 20 19:19:20 UTC 2016


Yasm 1.3.0 (Like nasm, but it embeds debug symbols into the asm code
on Windows) reports:

poly1305-x86_64.asm(456): warning : value does not fit in 32 bit field
poly1305-x86_64.asm(459): warning : value does not fit in 32 bit field
poly1305-x86_64.asm(1346): warning : value does not fit in 32 bit field
poly1305-x86_64.asm(1349): warning : value does not fit in 32 bit field


For these lines:
    and \$`-1<<31`,$d1
    and \$`-1<<31`,$d2
    and \$`-1<<31`,$d1
    and \$`-1<<31`,$d2

I'm not sure what approach is preferable to silence these warnings though.

Cheers,
Brian
-- 
https://briansmith.org/


More information about the openssl-dev mailing list