| Constructor and Description |
|---|
BigIntegerScalarOps(Field f,
java.math.BigInteger l) |
| 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.
|
public BigIntegerScalarOps(Field f, java.math.BigInteger l)
public byte[] reduce(byte[] s)
ScalarOpspublic byte[] multiplyAndAdd(byte[] a,
byte[] b,
byte[] c)
ScalarOpsmultiplyAndAdd in interface ScalarOps