We figured it out on IRC, the github font makes 1 (one) look like l (the
letter "el"). Made total sense after that.


On Sat, Oct 5, 2013 at 2:00 PM, Christopher Swenson <
notifications@github.com> wrote:

> In ed25519.py:
>
> > @@ -101,6 +101,27 @@ def scalarmult(P, e):
> >      return Q
> >
> >
> > +Bpow = []  # Bpow[i] == scalarmult(B, 2**i)
> > +
> > +def make_Bpow():
> > +    P = B
> > +    for i in xrange(253):
> > +        Bpow.append(P)
> > +        P = edwards(P, P)
> > +make_Bpow()
> > +
> > +def scalarmult_B(e):
> > +    """== scalarmult(B, e)"""
> > +    e = e % l  # scalarmult(B, l) is the identity, i.e. (0, 1)
>
> scalarmult is a homomorphism, so if scalarmult(B, l) is the identity,
> then scalarmult(B, e + l) == scalarmult(B, e), so you can mod by e by l.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/ed25519/pull/3/files#r6784947>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084