- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 370 for biglen (0.53 sec)
-
src/crypto/ecdsa/ecdsa_legacy.go
// signatures will come out different from other architectures, which will // break TLS recorded tests. for { N := c.Params().N b := make([]byte, (N.BitLen()+7)/8) if _, err = io.ReadFull(rand, b); err != nil { return } if excess := len(b)*8 - N.BitLen(); excess > 0 { b[0] >>= excess } k = new(big.Int).SetBytes(b) if k.Sign() != 0 && k.Cmp(N) < 0 { return } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 4.8K bytes - Viewed (0) -
src/runtime/race/testdata/map_test.go
ch <- true }() x := conns[1][0] _ = x <-ch } // BigKey and BigVal must be larger than 256 bytes, // so that compiler sets KindGCProg for them. type BigKey [1000]*int type BigVal struct { x int y [1000]*int } func TestRaceMapBigKeyAccess1(t *testing.T) { m := make(map[BigKey]int) var k BigKey ch := make(chan bool, 1) go func() { _ = m[k] ch <- true }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 03 22:09:38 UTC 2017 - 5.1K bytes - Viewed (0) -
src/crypto/internal/nistec/nistec_test.go
fatalIfErr(t, err) g1.Add(g1, p1) if !bytes.Equal(g1.Bytes(), newPoint().Bytes()) { t.Error("[N - k]G + [k]G != ∞") } } byteLen := len(c.Params().N.Bytes()) bitLen := c.Params().N.BitLen() t.Run("0", func(t *testing.T) { checkScalar(t, make([]byte, byteLen)) }) t.Run("1", func(t *testing.T) { checkScalar(t, big.NewInt(1).FillBytes(make([]byte, byteLen))) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 12 18:48:23 UTC 2023 - 8.4K bytes - Viewed (0) -
src/go/doc/comment/testdata/list5.txt
Text. 1. One 999999999999999999999. Big 1000000000000000000000. Bigger 1000000000000000000001. Biggest -- gofmt -- Text. 1. One 999999999999999999999. Big 1000000000000000000000. Bigger 1000000000000000000001. Biggest -- text -- Text. 1. One 999999999999999999999. Big 1000000000000000000000. Bigger 1000000000000000000001. Biggest -- markdown -- Text. 1. One
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:48 UTC 2022 - 590 bytes - Viewed (0) -
src/crypto/rand/util_test.go
// https://golang.org/issue/6849. func TestPrimeSmall(t *testing.T) { for n := 2; n < 10; n++ { p, err := rand.Prime(rand.Reader, n) if err != nil { t.Fatalf("Can't generate %d-bit prime: %v", n, err) } if p.BitLen() != n { t.Fatalf("%v is not %d-bit", p, n) } if !p.ProbablyPrime(32) { t.Fatalf("%v is not prime", p) } } } // Test that passing bits < 2 causes Prime to return nil, error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 01:35:39 UTC 2022 - 3.5K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
## Dependencies for groups of *path operations*
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 1.4K bytes - Viewed (0) -
src/crypto/x509/boring.go
return true } // The key must be RSA 2048, RSA 3072, RSA 4096, // or ECDSA P-256, P-384, P-521. switch k := c.PublicKey.(type) { default: return false case *rsa.PublicKey: if size := k.N.BitLen(); size != 2048 && size != 3072 && size != 4096 { return false } case *ecdsa.PublicKey: if k.Curve != elliptic.P256() && k.Curve != elliptic.P384() && k.Curve != elliptic.P521() { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 993 bytes - Viewed (0) -
src/crypto/x509/sec1.go
if !key.Curve.IsOnCurve(key.X, key.Y) { return nil, errors.New("invalid elliptic key public key") } privateKey := make([]byte, (key.Curve.Params().N.BitLen()+7)/8) return asn1.Marshal(ecPrivateKey{ Version: 1, PrivateKey: key.D.FillBytes(privateKey), NamedCurveOID: oid, PublicKey: asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.Y)}, })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.6K bytes - Viewed (0) -
src/go/importer/importer_test.go
imp := ForCompiler(fset, compiler, lookup) pkg, err := imp.Import("math/bigger") if err != nil { t.Fatal(err) } // Even though we open math/big.a, the import request was for math/bigger // and that should be recorded in pkg.Path(), at least for the gc toolchain. if pkg.Path() != "math/bigger" { t.Fatalf("Path() = %q, want %q", pkg.Path(), "math/bigger") } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 21:16:32 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/lang/sv.js
",groupCheckedEnd:" val",badCreditCard:"Du har angett ett felaktigt kreditkortsnummer",badCVV:"Du har angett ett felaktigt CVV-nummer",wrongFileDim:"Otillåten bildstorlek,",imageTooTall:"bilden får inte vara högre än",imageTooWide:"bilden får inte vara bredare än",imageTooSmall:"bilden är för liten",genericBadInputValue:"The input value can be accepted",min:"minst",max:"max",imageRatioNotAccepted:"Bildens dimensioner (förhållandet mellan höjd och längd) kan inte accepteras"}})}(a,window)});...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.5K bytes - Viewed (0)