- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for Qinv (0.04 sec)
-
src/crypto/rsa/boring.go
} b = new(boringPriv) b.orig = copyPrivateKey(priv) var N, E, D, P, Q, Dp, Dq, Qinv *big.Int N = b.orig.N E = big.NewInt(int64(b.orig.E)) D = b.orig.D if len(b.orig.Primes) == 2 { P = b.orig.Primes[0] Q = b.orig.Primes[1] Dp = b.orig.Precomputed.Dp Dq = b.orig.Precomputed.Dq Qinv = b.orig.Precomputed.Qinv }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 3.3K bytes - Viewed (0) -
src/crypto/internal/boring/rsa.go
return bad(fail("RSA_generate_key_fips")) } var n, e, d, p, q, dp, dq, qinv *C.GO_BIGNUM C._goboringcrypto_RSA_get0_key(key, &n, &e, &d) C._goboringcrypto_RSA_get0_factors(key, &p, &q) C._goboringcrypto_RSA_get0_crt_params(key, &dp, &dq, &qinv) return bnToBig(n), bnToBig(e), bnToBig(d), bnToBig(p), bnToBig(q), bnToBig(dp), bnToBig(dq), bnToBig(qinv), nil } type PublicKeyRSA struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 23:38:03 UTC 2024 - 12K bytes - Viewed (0) -
src/crypto/x509/pkcs1.go
N: key.N, E: key.PublicKey.E, D: key.D, P: key.Primes[0], Q: key.Primes[1], Dp: key.Precomputed.Dp, Dq: key.Precomputed.Dq, Qinv: key.Precomputed.Qinv, } priv.AdditionalPrimes = make([]pkcs1AdditionalRSAPrime, len(key.Precomputed.CRTValues)) for i, values := range key.Precomputed.CRTValues { priv.AdditionalPrimes[i].Prime = key.Primes[2+i]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.7K bytes - Viewed (0) -
src/crypto/rsa/rsa.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
src/crypto/internal/boring/notboring.go
} func EncryptRSANoPadding(pub *PublicKeyRSA, msg []byte) ([]byte, error) { panic("boringcrypto: not available") } func GenerateKeyRSA(bits int) (N, E, D, P, Q, Dp, Dq, Qinv BigInt, err error) { panic("boringcrypto: not available") } func NewPrivateKeyRSA(N, E, D, P, Q, Dp, Dq, Qinv BigInt) (*PrivateKeyRSA, error) { panic("boringcrypto: not available") } func NewPublicKeyRSA(N, E BigInt) (*PublicKeyRSA, error) { panic("boringcrypto: not available") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 4.9K bytes - Viewed (0) -
src/crypto/rsa/pss_test.go
case newKeyMarker: key = new(PublicKey) nHex, ok := <-values if !ok { continue } key.N = bigFromHex(nHex) key.E = intFromHex(<-values) // We don't care for d, p, q, dP, dQ or qInv. for i := 0; i < 6; i++ { <-values } case newSignatureMarker: msg := fromHex(<-values) <-values // skip salt sig := fromHex(<-values) h.Reset() h.Write(msg)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/crypto/rsa/testdata/pss-vect.txt.bz2
a0 27 86 19 79 # q's CRT exponent dQ: 1a 8b 38 f3 98 fa 71 20 49 89 8d 7f b7 9e e0 a7 76 68 79 12 99 cd fa 09 ef c0 e5 07 ac b2 1e d7 43 01 ef 5b fd 48 be 45 5e ae b6 e1 67 82 55 82 75 80 a8 e4 e8 e1 41 51 d1 51 0a 82 a3 f2 e7 29 # CRT coefficient qInv: 27 15 6a ba 41 26 d2 4a 81 f3 a5 28 cb fb 27 f5 68 86 f8 40 a9 f6 e8 6e 17 a4 4b 94 fe 93 19 58 4b 8e 22 fd de 1e 5a 2e 3b d8 aa 5b a8 d8 58 41 94 eb 21 90 ac f8 32 b8 47 f1 3a 3d 24 a7 9f 4d # ---------- # RSASSA-PSS Signature Example 1.1 # ----------...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 27.9K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm_table_test.go
p := NewP256Point() zInv := new(p256Element) zInvSq := new(p256Element) for j := 0; j < 32; j++ { p.Add(p, base) // Convert p to affine coordinates. p256Inverse(zInv, &p.z) p256Sqr(zInvSq, zInv, 1) p256Mul(zInv, zInv, zInvSq) p256Mul(&p.x, &p.x, zInvSq) p256Mul(&p.y, &p.y, zInv) p.z = p256One
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 1.1K bytes - Viewed (0) -
src/math/rand/zipf.go
z.s = 1 - z.hinv(z.h(1.5)-math.Exp(-z.q*math.Log(z.v+1.0))) return z } // Uint64 returns a value drawn from the [Zipf] distribution described // by the [Zipf] object. func (z *Zipf) Uint64() uint64 { if z == nil { panic("rand: nil Zipf") } k := 0.0 for { r := z.r.Float64() // r on [0,1] ur := z.hxm + r*z.hx0minusHxm x := z.hinv(ur) k = math.Floor(x + 0.5)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 1.8K bytes - Viewed (0) -
src/internal/trace/mud_test.go
for j := 0.0; j < mass; j += mass * 0.099 { mud.setTrackMass(j) l, u, ok := mud.approxInvCumulativeSum() inv, ok2 := mud.invCumulativeSum(j) if !ok || !ok2 { t.Fatalf("inverse cumulative sum failed: approx %v, exact %v", ok, ok2) } if !(l <= inv && inv < u) { t.Fatalf("inverse(%g) = %g, not ∈ [%g, %g)", j, inv, l, u) } } } } func TestMUDTracking(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0)