Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for biglen (0.1 sec)

  1. src/crypto/dsa/dsa.go

    				return err
    			}
    
    			pBytes[len(pBytes)-1] |= 1
    			pBytes[0] |= 0x80
    
    			p.SetBytes(pBytes)
    			rem.Mod(p, q)
    			rem.Sub(rem, one)
    			p.Sub(p, rem)
    			if p.BitLen() < L {
    				continue
    			}
    
    			if !p.ProbablyPrime(numMRTests) {
    				continue
    			}
    
    			params.P = p
    			params.Q = q
    			break GeneratePrimes
    		}
    	}
    
    	h := new(big.Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. src/crypto/rand/util.go

    	}
    	n = new(big.Int)
    	n.Sub(max, n.SetUint64(1))
    	// bitLen is the maximum bit length needed to encode a value < max.
    	bitLen := n.BitLen()
    	if bitLen == 0 {
    		// the only valid result is 0
    		return
    	}
    	// k is the maximum byte length needed to encode a value < max.
    	k := (bitLen + 7) / 8
    	// b is the number of bits in the most significant byte of max-1.
    	b := uint(bitLen % 8)
    	if b == 0 {
    		b = 8
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/net/netip/inlining_test.go

    		got[strings.TrimPrefix(string(match), " can inline ")] = true
    		return nil
    	})
    	wantInlinable := []string{
    		"(*uint128).halves",
    		"Addr.BitLen",
    		"Addr.hasZone",
    		"Addr.Is4",
    		"Addr.Is4In6",
    		"Addr.Is6",
    		"Addr.IsInterfaceLocalMulticast",
    		"Addr.IsValid",
    		"Addr.IsUnspecified",
    		"Addr.Less",
    		"Addr.Unmap",
    		"Addr.Zone",
    		"Addr.v4",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/registry/syscall.go

    //sys	regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, valtype *uint32, buf *byte, buflen *uint32) (regerrno error) = advapi32.RegEnumValueW
    //sys	regDeleteValue(key syscall.Handle, name *uint16) (regerrno error) = advapi32.RegDeleteValueW
    //sys   regLoadMUIString(key syscall.Handle, name *uint16, buf *uint16, buflen uint32, buflenCopied *uint32, flags uint32, dir *uint16) (regerrno error) = advapi32.RegLoadMUIStringW
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/BUILD

    flatbuffer_cc_library(
        name = "schema_fbs_with_mutable",
        srcs = ["schema.fbs"],
        compatible_with = get_compatible_with_portable(),
        flatc_args = [
            "--gen-mutable",
            "--gen-object-api",
        ],
        out_prefix = "mutable/",
    )
    
    # Generic schema for inference on device (but with reflections makes bigger).
    flatbuffer_cc_library(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jun 02 08:36:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/global-dependencies.md

    ## Abhängigkeiten für Gruppen von *Pfadoperationen*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top