github.com/cloudflare/circl@v1.5.0/math/fp448/fp_noasm.go (about)

     1  //go:build !amd64 || purego
     2  // +build !amd64 purego
     3  
     4  package fp448
     5  
     6  func cmov(x, y *Elt, n uint)  { cmovGeneric(x, y, n) }
     7  func cswap(x, y *Elt, n uint) { cswapGeneric(x, y, n) }
     8  func add(z, x, y *Elt)        { addGeneric(z, x, y) }
     9  func sub(z, x, y *Elt)        { subGeneric(z, x, y) }
    10  func addsub(x, y *Elt)        { addsubGeneric(x, y) }
    11  func mul(z, x, y *Elt)        { mulGeneric(z, x, y) }
    12  func sqr(z, x *Elt)           { sqrGeneric(z, x) }