[Cryptech Core] modexp optimization plans

Joachim Strömbergson joachim at secworks.se
Mon Jun 22 08:32:39 UTC 2015


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

Aloha!

Randy Bush wrote:
> i view needing an extra word for the result as the same as a double 
> entry bookkeeping error of one cent.  we know there is something
> wrong but we do not know the magnitude of the problem or the cause.
> it could be two complementary errors, one of $1,000.01 and one of
> ($1,000.00). it scares me and should, imiho, scare you.

It is MSB overflow in the last word only.


> i can pretend to understand.  but does verilog not give you nanguage 
> constucts so you do not have to rearrange everything manually?

To some degree. And when doing the change from 32->64 moving to
compile/build time generic word with is the way to do it. Places where
one needs to be careful is the API memory implementations and counters.
Moving from 64->128 or 64->256 should be fast.

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

iQIcBAEBCAAGBQJVh8gnAAoJEF3cfFQkIuyNcU0P/jncpK+SuDwW7XqGRrnRX+1Q
NBxucUAfsQM6iT8L/C4KlmpdlfkorVV6aLxISkBGFmApFko6h4D6OaV0Dgmxa2E2
i3ZPsUnzJ2R8DFQCnV5tIbR/Qi+tLUDETyaH3oWB150Ks2XBp70alDiQrc8r0/WC
UVdfbbKuItGl/QCLuavGg9ULd98s94e9U8sN1xU+BxGBnUCfkqpCp7nLzjSQfN0W
a4jh+lEbLnIX5qxl8FH1h8/8+3whvJQMHsQ+xgbCzGVNIdyTs2M3aygjt4aMD2tE
zPqXjZLniXA66P88WBTAQikLSD+LmE6oF+ncl06lIMr2lJXeMAbPILshqpNIf9Jf
Mi7I1JwDgXWy3W3L1yXcxuAt0iDacFTZSa7fTXZnog2ueHslwfW8EBAfq7zV7g6e
NVFGGGhYesdfi8kJF/rtQLiHEaV3FLjc6FjUeF82ytum21Hr4t52zxJEHBBR+fnQ
imUFHdAvFCVxzLSQrWOmHFBI2fRjambz8RpbJ9wXMMpsrgxaMHUS9DCCpTyWodtU
JIyM/9gbGjUdYji1xqGnOSG6yFcFfKZmVc3cUtjiPhDFOfNxBXboMPkAlt7v8jZA
/Fsm2alWeVKCY1KIDLbKkFAwz2l9B0uYxh1lVEtPUr9wTsilp8MPaH2u36UThUBB
a0OYzEgLHI8vKY0HKDMe
=k7nP
-----END PGP SIGNATURE-----



More information about the Core mailing list