github.com/cloudflare/circl@v1.5.0/dh/x25519/curve_noasm.go (about)

     1  //go:build !amd64 || purego
     2  // +build !amd64 purego
     3  
     4  package x25519
     5  
     6  import fp "github.com/cloudflare/circl/math/fp25519"
     7  
     8  func double(x, z *fp.Elt)             { doubleGeneric(x, z) }
     9  func diffAdd(w *[5]fp.Elt, b uint)    { diffAddGeneric(w, b) }
    10  func ladderStep(w *[5]fp.Elt, b uint) { ladderStepGeneric(w, b) }
    11  func mulA24(z, x *fp.Elt)             { mulA24Generic(z, x) }