public interface ScalarOps
Modifier and Type | Method and Description |
---|---|
byte[] |
multiplyAndAdd(byte[] a,
byte[] b,
byte[] c)
r = (a * b + c) mod l
|
byte[] |
reduce(byte[] s)
Reduce the given scalar mod l.
|
byte[] reduce(byte[] s)
s
- byte[] multiplyAndAdd(byte[] a, byte[] b, byte[] c)
a
- b
- c
-