scalarmultBase_ static method

List<int> scalarmultBase_(
  1. List<int> a
)

Implementation

static List<int> scalarmultBase_(List<int> a) {
  final List<int> ag = List<int>.filled(32, 0);
  final GroupElementP3 point = GroupElementP3();
  CryptoOps.scReduce32Copy(ag, a);
  CryptoOps.geScalarMultBase(point, ag);
  CryptoOps.geP3Tobytes(ag, point);
  return ag;
}