[Cryptech Tech] SHA-3 and Ed25519

Joachim Strömbergson joachim at secworks.se
Fri Mar 6 16:38:59 UTC 2015


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

Bernd Paysan wrote:
> Am Freitag, 6. März 2015, 02:17:39 schrieb Bernd Paysan:
>> The synthesis report gives me 5161 LUTs and 1610 registers.  1600
>> of those LUTs are just to implement the input^state thing, which
>> seems a bit obsessive to me.  If I wouldn't do input^state to
>> facilitate hashing, but just state <= input, I would use only ~3500
>> LUTs.  Maybe using a direct bus input could remove that overhead;
>> I'll try tomorrow (so you would have two register addresses writing
>> to each 32 bit word of the state, one would give you a direct
>> write, the other an xor).
> 
> Ok, second version with the bus interface integrated.  That's now
> 4784 LUTs+1610 regs (with a 16 bit bus), and two mappings: The first
> one is direct write, the second one xor to the state.  Write the
> number of rounds into the last address to get going.
> 
> The bus is configurable for 16, 32 or 64 bits.

Cool! Thanks.

Do you have a testbench done yet?

- -- 
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
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJU+dgjAAoJEF3cfFQkIuyNDXcQANpRcORcNzr//wJGi3jygIBj
GSfDdVpNwIbMUkZyISFihYIeNYSVF8eg+iZKI8C4cKwIadQuS2fNWdO/LZJCZz9R
ciCzR83w6wBwnfFKw+/fObsnIzIY6LMnnaR8cIEFvJY+hteC5r4FsHw9CEW4H1Xw
H3ojfuKka3+54NKOeh3q3zbM4g2VoLHKy5/8rOrOuYFfgPwjUrdWHnJI/rmJRQ4H
C+z4XorDVFJuPjlMEqZbroo/vhXEu63Epk9iP/Qdd60GbT6apPpGS1GBswSDUWro
kS2kdvro0ZxJgEiEPe9SLpVKgxawN2HMxOrm7R/pUzIXm0ojYuds2hHdJwAwbyWt
zZtixNAoNzb9eKb/npp3d0KFlcGBf5CBvbCNBPnwmT5P4cg1MvRKBnQBE7C9GbkR
3lyZ4FZpySoHsTBCeotcQTv4cYYp4Wu0CEC0SGIMHVijIeuOsFRJCDWpCs15uKje
iBglskXSRv7f+O49bev4ODxfqc+Aun/4x/EIGmtqnNq/jE362XzueyOEWfgiUdd0
Lc3BnqX08Z54IquTnMWraDP/JUS0Y4kOIwHASaFFJz6iu9gssWhAQDFX+DzCN8Xo
16+npJlhvVPM2YHj5jzaJ3dnr3afNHpEUKZjqr+NDie2+nIaU4D+aMy9wu2IK7vf
7t68Zk6YhjCVWZsuPcfN
=NFxI
-----END PGP SIGNATURE-----


More information about the Tech mailing list