Re: [Scheme-reports] Reformulated numeric-tower ballot
Perry E. Metzger 29 Apr 2014 22:44 UTC
On Tue, 29 Apr 2014 13:03:33 -0700 (PDT) Takashi Kato
<ktakashi@ymail.com> wrote:
> 1) Should R7RS-large require arbitrarily large (up to implementation
> restrictions like memory) exact integers?
> Definitely yes. A lot of standard protocols (RSA, Diffie-Hellman
> etc.) require big integer calculation, so I think it's better to
> support it as standard.
FYI, because of side channel attacks, real world implementations of
public key cryptographic protocols need to implement arithmetic
operations so that they take constant time and sometimes constant
energy regardless of operands, which is very much *not* what normal
high efficiency bignum libraries do.
Bignums are great for showing students how RSA works, but are not a
safe way to implement the algorithm for real use.
--
Perry E. Metzger perry@piermont.com
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports