Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for nprimes (0.18 sec)

  1. src/crypto/rsa/rsa.go

    	priv.Precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne)
    	priv.Precomputed.Dq.Mod(priv.D, priv.Precomputed.Dq)
    
    	priv.Precomputed.Qinv = new(big.Int).ModInverse(priv.Primes[1], priv.Primes[0])
    
    	r := new(big.Int).Mul(priv.Primes[0], priv.Primes[1])
    	priv.Precomputed.CRTValues = make([]CRTValue, len(priv.Primes)-2)
    	for i := 2; i < len(priv.Primes); i++ {
    		prime := priv.Primes[i]
    		values := &priv.Precomputed.CRTValues[i-2]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/math/big/prime.go

    	var rA, rB uint32
    	switch _W {
    	case 32:
    		rA = uint32(x.abs.modW(primesA))
    		rB = uint32(x.abs.modW(primesB))
    	case 64:
    		r := x.abs.modW((primesA * primesB) & _M)
    		rA = uint32(r % primesA)
    		rB = uint32(r % primesB)
    	default:
    		panic("math/big: invalid word size")
    	}
    
    	if rA%3 == 0 || rA%5 == 0 || rA%7 == 0 || rA%11 == 0 || rA%13 == 0 || rA%17 == 0 || rA%19 == 0 || rA%23 == 0 || rA%37 == 0 ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  3. src/crypto/rsa/boring.go

    }
    
    func copyPrivateKey(k *PrivateKey) PrivateKey {
    	dst := PrivateKey{
    		PublicKey: copyPublicKey(&k.PublicKey),
    		D:         new(big.Int).Set(k.D),
    	}
    	dst.Primes = make([]*big.Int, len(k.Primes))
    	for i, p := range k.Primes {
    		dst.Primes[i] = new(big.Int).Set(p)
    	}
    	if x := k.Precomputed.Dp; x != nil {
    		dst.Precomputed.Dp = new(big.Int).Set(x)
    	}
    	if x := k.Precomputed.Dq; x != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. src/crypto/x509/pkcs1.go

    		E: priv.E,
    		N: priv.N,
    	}
    
    	key.D = priv.D
    	key.Primes = make([]*big.Int, 2+len(priv.AdditionalPrimes))
    	key.Primes[0] = priv.P
    	key.Primes[1] = priv.Q
    	for i, a := range priv.AdditionalPrimes {
    		if a.Prime.Sign() <= 0 {
    			return nil, errors.New("x509: private key contains zero or negative prime")
    		}
    		key.Primes[i+2] = a.Prime
    		// We ignore the other two values because rsa will calculate
    		// them as needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-annotations.test

    	pc=4815228 func=38 file=31 line=27
    Stack id=12 nframes=1
    	pc=4815680 func=34 file=31 line=37
    Stack id=6 nframes=1
    	pc=4544768 func=43 file=42 line=868
    Stack id=2 nframes=3
    	pc=4538523 func=45 file=42 line=238
    	pc=4814277 func=37 file=36 line=125
    	pc=4815228 func=38 file=31 line=27
    Stack id=13 nframes=1
    	pc=4815492 func=38 file=31 line=37
    Stack id=4 nframes=1
    	pc=4547456 func=56 file=50 line=42
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/tests/go122-annotations-stress.test

    Stack id=65 nframes=2
    	pc=4803943 func=112 file=113 line=64
    	pc=4803629 func=114 file=113 line=47
    Stack id=28 nframes=1
    	pc=4804691 func=124 file=113 line=70
    Stack id=48 nframes=2
    	pc=4803943 func=112 file=113 line=64
    	pc=4803589 func=114 file=113 line=45
    Stack id=61 nframes=3
    	pc=4599892 func=130 file=131 line=195
    	pc=4804036 func=112 file=113 line=83
    	pc=4803609 func=114 file=113 line=46
    Stack id=13 nframes=2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  7. docs/es/docs/python-types.md

    #### Diccionarios (Dicts)
    
    Para definir un `dict` le pasas 2 sub-tipos separados por comas.
    
    El primer sub-tipo es para los keys del `dict`.
    
    El segundo sub-tipo es para los valores del `dict`:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    Esto significa:
    
    * La variable `prices` es un `dict`:
        * Los keys de este `dict` son de tipo `str` (Digamos que son el nombre de cada ítem).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/configdump.go

    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    	includeConfigType = p
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	w := &configdump.Wrapper{}
    	err := w.UnmarshalJSON(b)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from Envoy: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/math/big/int_test.go

    	if len(v.abs) == 0 {
    		return true
    	}
    
    	r := new(Int)
    	q, r := new(Int).QuoRem(u, v, r)
    
    	if r.Cmp(v) >= 0 {
    		return false
    	}
    
    	uprime := new(Int).Set(q)
    	uprime.Mul(uprime, v)
    	uprime.Add(uprime, r)
    
    	return uprime.Cmp(u) == 0
    }
    
    var quoTests = []struct {
    	x, y string
    	q, r string
    }{
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/ecds.go

    )
    
    const typeURLPrefix = "type.googleapis.com/"
    
    func (c *ConfigWriter) PrintEcds(outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    	dump, err := c.configDump.GetEcdsConfigDump()
    	if err != nil {
    		return err
    	}
    
    	out, err := protomarshal.MarshalIndentWithGlobalTypesResolver(dump, "    ")
    	if err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top