|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScalarOps
Method Summary | |
---|---|
byte[] |
multiplyAndAdd(byte[] a,
byte[] b,
byte[] c)
r = (a * b + c) mod l |
byte[] |
reduce(byte[] s)
Reduce the given scalar mod l. |
Method Detail |
---|
byte[] reduce(byte[] s)
From the Ed25519 paper:
Here we interpret 2b-bit strings in little-endian form as integers in
{0, 1,..., 2^(2b)-1}.
s
-
byte[] multiplyAndAdd(byte[] a, byte[] b, byte[] c)
a
- b
- c
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |