ecmult_gen_generic.go raw

   1  //go:build !amd64 || purego
   2  
   3  package p256k1
   4  
   5  // EcmultGenGLV is the public interface for fast generator multiplication
   6  // r = k * G
   7  func EcmultGenGLV(r *GroupElementJacobian, k *Scalar) {
   8  	ecmultGenGLV(r, k)
   9  }
  10  
  11  // EcmultGen computes r = k * G using the fastest available method
  12  // This is the main entry point for generator multiplication throughout the codebase
  13  func EcmultGen(r *GroupElementJacobian, k *Scalar) {
  14  	ecmultGenGLV(r, k)
  15  }
  16