code: func ScMinimal(scalar *[32]byte) bool {
  	for i := 3; ; i-- {
  		v := binary.LittleEndian.Uint64(scalar[i*8:])
  		if v > order[i] {
  			return false
  		} else if v < order[i] {
  			break
  		} else if i == 0 {
  			return false
  		}
  	}
  
  	return true
  }
docs: // ScMinimal returns true if the given scalar is less than the order of the
  // curve.