lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 01 Apr 2014 21:21:48 +0000
From: "Poul-Henning Kamp" <>
To:, CodesInChaos <>
Subject: Re: [PHC] Doubts about AntCrypt floating-point use

In message <>
, CodesInChaos writes:

>I expect the floating point use to be very non-portable.

Were it just floating point, but it is actually trignometic functions,
sin(), cos() and tan().

Never mind that they are hard to implement in hardware, they
are almost as hard to implement i software.

Almost all trig functions uses approximations and therfore it is
very common, amost expected, to see differences in the last bit of
the mantissa between different implementations or even the same
implementation on different platforms, compilers etc.

Using trig functions is almost guaranteed to be a total killer
for password portability, including across operating and hardware
upgrades to the intended computer.


(Disclosure:  PHC panel member.)

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@...eBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

Powered by blists - more mailing lists