[Cryptech Tech] trng ready for play

Joachim Strömbergson joachim at secworks.se
Sat Oct 18 06:18:33 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aloha!

Joachim Strömbergson wrote:
> My core does 1.25 cycles/byte. The clock frequency is way lower than
> a modern, desktop/server CPU and can be beaten core for core. But
> that is not the point.

And that value was off by four. The correct value is 20 cycles for 64
bytes, or 0.3 cycles/byte. With a 50 MHz clock we can generate random
numbers at about 1.6 Gbps speed with one ChaCha core.

The best benchmark result for ChaCha20 as given by the extensive
measurements by DJB et al is 1.07 cycles/byte on x86:

http://bench.cr.yp.to/results-stream.html

Looking further down the list, ARM gets something between 8 and 16
cycles/byte. This means that we are between 27 and 50+ times faster
cycle for cycle than an ARM core.

- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
 Joachim Strömbergson          Secworks AB          joachim at secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJUQgY5AAoJEF3cfFQkIuyNVXcP/RwiwqWCGLer+xsO3G745JoN
UIro6kR0RUtFT7VLToTEVGJ62Zld6ElbOeXN0nJWw2ODwfSAwdo9CBGJGdLQFQXg
Wr1yBm6ZODcXobdzANSOerX0FSuYjqRfQUHIUfe3r/Z2wbPzRvyBV+S8sDKMaMR2
MrRSfJzLryZP3ZlnNKBJgrymvgPQ+FlTPp1BII4DHPBDw2iHxdm1Xf36VeQT283R
AnO4VStsrZ1rzkwD+ICqqgqqycOSV97rgaxqmEmJ6ghLlFJtYh2A9ONX2GPbB0Ez
gEwH+0b268GwZRmABBJge7IWanL5zPvXiIWuiLnpQ76Zvuriz8o2BWFUG0ncdETk
Sa5mN8GAsek13Zxz0b2oMcEK/qon18mxTHUlnnaZdfipURSi0AIg4kE4+3yiCW22
ExLSXGP/bTYI0RXfthPVUy3CVE5G81LE6FQjrCxLzC61iCTmPea0LesvcB2zcLC6
I7Xv0SCbDcZuMM8Pdz9Tzvj1+7WpTH2RSw13T5R+jrC5AypW0bXu2MT7kSTev6/m
xIJ6YRSvWhu2sCoZUTnTWvFj3SO8gZW5wXJRMnE6Do3Ng/QDoPxlzukHRpmuZZWF
I9o16D57Hb9ySRp1HHKHxH+voWvQMsb00Ysxz+t172tGhixrzI9+uy5P4rEVgZMX
xKUU4cfrrjSPyG4Pb3pw
=ZfJ5
-----END PGP SIGNATURE-----


More information about the Tech mailing list