- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 701 for isSquare (0.28 sec)
-
src/math/big/int_test.go
mod.SetInt64(int64(n)) if !mod.ProbablyPrime(10) { continue } isSquare := make([]bool, n) // test all the squares for x := 1; x < n; x++ { elt.SetInt64(int64(x)) if !testModSqrt(t, &elt, &mod, &sq, &sqrt) { t.Errorf("#%d: failed (sqrt(%d,%d) = %s)", x, &elt, &mod, &sqrt) } isSquare[sq.Uint64()] = true } // test all non-squares for x := 1; x < n; x++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/crypto/internal/nistec/p384.go
} t1.Mul(z, t1) z.Square(t1) z.Mul(x, z) t2.Square(z) for s := 1; s < 31; s++ { t2.Square(t2) } t1.Mul(t1, t2) t2.Square(t1) for s := 1; s < 63; s++ { t2.Square(t2) } t1.Mul(t1, t2) t2.Square(t1) for s := 1; s < 126; s++ { t2.Square(t2) } t1.Mul(t1, t2) for s := 0; s < 3; s++ { t1.Square(t1) } t0.Mul(t0, t1) for s := 0; s < 33; s++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 18K bytes - Viewed (0) -
src/crypto/internal/nistec/p256.go
// var t0 = new(fiat.P256Element) z.Square(x) z.Mul(x, z) t0.Square(z) for s := 1; s < 2; s++ { t0.Square(t0) } z.Mul(z, t0) t0.Square(z) for s := 1; s < 4; s++ { t0.Square(t0) } z.Mul(z, t0) t0.Square(z) for s := 1; s < 8; s++ { t0.Square(t0) } z.Mul(z, t0) t0.Square(z) for s := 1; s < 16; s++ { t0.Square(t0) } z.Mul(z, t0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 17.2K bytes - Viewed (0) -
src/crypto/internal/nistec/p521.go
} return p, nil } // p521Sqrt sets e to a square root of x. If x is not a square, p521Sqrt returns // false and e is unchanged. e and x can overlap. func p521Sqrt(e, x *fiat.P521Element) (isSquare bool) { candidate := new(fiat.P521Element) p521SqrtCandidate(candidate, x) square := new(fiat.P521Element).Square(candidate) if square.Equal(x) != 1 { return false } e.Set(candidate) return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 17K bytes - Viewed (0) -
src/crypto/internal/nistec/p224.go
} return p, nil } // p224Sqrt sets e to a square root of x. If x is not a square, p224Sqrt returns // false and e is unchanged. e and x can overlap. func p224Sqrt(e, x *fiat.P224Element) (isSquare bool) { candidate := new(fiat.P224Element) p224SqrtCandidate(candidate, x) square := new(fiat.P224Element).Square(candidate) if square.Equal(x) != 1 { return false } e.Set(candidate) return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 15.9K bytes - Viewed (0) -
src/crypto/internal/nistec/generate.go
} return p, nil } // {{.p}}Sqrt sets e to a square root of x. If x is not a square, {{.p}}Sqrt returns // false and e is unchanged. e and x can overlap. func {{.p}}Sqrt(e, x *{{ .Element }}) (isSquare bool) { candidate := new({{ .Element }}) {{.p}}SqrtCandidate(candidate, x) square := new({{ .Element }}).Square(candidate) if square.Equal(x) != 1 { return false } e.Set(candidate) return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 19.7K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm.go
res[3] = (t1[3] & ^t2Mask) | (t2[3] & t2Mask) } // p256Sqrt sets e to a square root of x. If x is not a square, p256Sqrt returns // false and e is unchanged. e and x can overlap. func p256Sqrt(e, x *p256Element) (isSquare bool) { t0, t1 := new(p256Element), new(p256Element) // Since p = 3 mod 4, exponentiation by (p + 1) / 4 yields a square root candidate. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 21.4K bytes - Viewed (0) -
docs/assets/images/icon-square.png
icon-square.png...
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 1.4K bytes - Viewed (0) -
docs/assets/images/logo-square.png
logo-square.png...
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.7K bytes - Viewed (0) -
samples/guide/docs/images/logo-square.png
logo-square.png...
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jun 24 12:59:42 UTC 2019 - 3.7K bytes - Viewed (0)