Home
last modified time | relevance | path

Searched refs:privateExponent (Results 1 – 25 of 28) sorted by relevance

12

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLRSAPrivateKey.java46 BigInteger privateExponent; field in OpenSSLRSAPrivateKey
69 final BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
73 } else if (privateExponent == null) { in init()
81 privateExponent.toByteArray(), in init()
141 final BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
145 } else if (privateExponent == null) { in getInstance()
153 privateExponent.toByteArray(), in getInstance()
183 privateExponent = new BigInteger(params[2]); in readParams()
193 return privateExponent; in getPrivateExponent()
239 && privateExponent.equals(other.getPrivateExponent()); in equals()
[all …]
DOpenSSLRSAPrivateCrtKey.java64 BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
68 } else if (privateExponent == null) { in init()
89 privateExponent.toByteArray(), in init()
110 BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
114 } else if (privateExponent == null) { in getInstance()
135 privateExponent.toByteArray(), in getInstance()
282 privateExponent.toByteArray(), in readObject()
DOpenSSLRSAKeyFactory.java207 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
216 privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, in engineTranslateKey()
224 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
227 return engineGeneratePrivate(new RSAPrivateKeySpec(modulus, privateExponent)); in engineTranslateKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAPrivateKey.java45 BigInteger privateExponent; field in OpenSSLRSAPrivateKey
68 final BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
72 } else if (privateExponent == null) { in init()
80 privateExponent.toByteArray(), in init()
140 final BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
144 } else if (privateExponent == null) { in getInstance()
152 privateExponent.toByteArray(), in getInstance()
182 privateExponent = new BigInteger(params[2]); in readParams()
192 return privateExponent; in getPrivateExponent()
238 && privateExponent.equals(other.getPrivateExponent()); in equals()
[all …]
DOpenSSLRSAPrivateCrtKey.java63 BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
67 } else if (privateExponent == null) { in init()
88 privateExponent.toByteArray(), in init()
109 BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
113 } else if (privateExponent == null) { in getInstance()
134 privateExponent.toByteArray(), in getInstance()
281 privateExponent.toByteArray(), in readObject()
DOpenSSLRSAKeyFactory.java204 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
213 privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, in engineTranslateKey()
221 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
224 return engineGeneratePrivate(new RSAPrivateKeySpec(modulus, privateExponent)); in engineTranslateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPrivateKey.java29 protected BigInteger privateExponent; field in BCRSAPrivateKey
40 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
52 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
60 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateKey()
61 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
68 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
69 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
78 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
79 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
89 return privateExponent; in getPrivateExponent()
[all …]
DBCRSAPrivateCrtKey.java80 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateCrtKey()
102 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
139 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPrivateKey.java33 protected BigInteger privateExponent; field in BCRSAPrivateKey
44 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
56 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
64 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateKey()
65 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
72 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
73 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
82 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
83 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
93 return privateExponent; in getPrivateExponent()
[all …]
DBCRSAPrivateCrtKey.java82 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateCrtKey()
104 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
141 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPrivateKey.java33 protected BigInteger privateExponent; field in BCRSAPrivateKey
44 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
56 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
64 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateKey()
65 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
72 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
73 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
82 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
83 this.rsaPrivateKey = new RSAKeyParameters(true, modulus, privateExponent); in BCRSAPrivateKey()
93 return privateExponent; in getPrivateExponent()
[all …]
DBCRSAPrivateCrtKey.java82 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateCrtKey()
104 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
141 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptRsa.h55 typedef struct privateExponent struct
63 } privateExponent; argument
66 privateExponent _##X; \
67 privateExponent *X = RsaInitializeExponent(&(_##X))
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAPrivateKeyStructure.java23 private BigInteger privateExponent; field in RSAPrivateKeyStructure
56 BigInteger privateExponent, in RSAPrivateKeyStructure() argument
66 this.privateExponent = privateExponent; in RSAPrivateKeyStructure()
89 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
119 return privateExponent; in getPrivateExponent()
DRSAPrivateKey.java20 private BigInteger privateExponent; field in RSAPrivateKey
54 BigInteger privateExponent, in RSAPrivateKey() argument
64 this.privateExponent = privateExponent; in RSAPrivateKey()
87 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
117 return privateExponent; in getPrivateExponent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DRSAPrivateKeyStructure.java25 private BigInteger privateExponent; field in RSAPrivateKeyStructure
58 BigInteger privateExponent, in RSAPrivateKeyStructure() argument
68 this.privateExponent = privateExponent; in RSAPrivateKeyStructure()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
121 return privateExponent; in getPrivateExponent()
DRSAPrivateKey.java24 private BigInteger privateExponent; field in RSAPrivateKey
58 BigInteger privateExponent, in RSAPrivateKey() argument
68 this.privateExponent = privateExponent; in RSAPrivateKey()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
121 return privateExponent; in getPrivateExponent()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/
DRSAPrivateKey.java24 private BigInteger privateExponent; field in RSAPrivateKey
58 BigInteger privateExponent, in RSAPrivateKey() argument
68 this.privateExponent = privateExponent; in RSAPrivateKey()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
121 return privateExponent; in getPrivateExponent()
DRSAPrivateKeyStructure.java25 private BigInteger privateExponent; field in RSAPrivateKeyStructure
58 BigInteger privateExponent, in RSAPrivateKeyStructure() argument
68 this.privateExponent = privateExponent; in RSAPrivateKeyStructure()
91 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
121 return privateExponent; in getPrivateExponent()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DRsaKeyCache.c80 TPM2B_PRIVATE_KEY_RSA privateExponent; member
147 s_rsaKeyCache[index].privateExponent = sensitive->sensitive.rsa; in InitializeKeyCache()
247 sensitive->sensitive.rsa = s_rsaKeyCache[index].privateExponent; in GetCachedRsaKey()
DCryptRsa.c76 static privateExponent *
78 privateExponent *Z in RsaInitializeExponent()
96 privateExponent *Z in MakePgreaterThanQ()
122 privateExponent *Z in PackExponent()
148 privateExponent *Z in UnpackExponent()
176 privateExponent *Z // IN/OUT: on input, has primes P and Q. On in ComputePrivateExponent()
213 privateExponent *Z in RsaPrivateKeyOp()
/external/python/pyasn1/docs/source/
Dexample-use-case.rst29 privateExponent INTEGER,
77 NamedType('privateExponent', Integer()),
118 privateExponent=1704567874679144879123080924...
138 >>> pk['exponent1'] == pk['privateExponent'] % (pk['prime1'] - 1)
140 >>> pk['exponent2'] == pk['privateExponent'] % (pk['prime2'] - 1)
160 … 'privateExponent': 1704567874679144879123080924, 'prime1': 1780178536719561265324798296279384073,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DRSAPrivateCrtKeyParameters.java21 BigInteger privateExponent, in RSAPrivateCrtKeyParameters() argument
28 super(true, modulus, privateExponent); in RSAPrivateCrtKeyParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DRSAPrivateCrtKeyParameters.java25 BigInteger privateExponent, in RSAPrivateCrtKeyParameters() argument
32 super(true, modulus, privateExponent); in RSAPrivateCrtKeyParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DRSAPrivateCrtKeyParameters.java25 BigInteger privateExponent, in RSAPrivateCrtKeyParameters() argument
32 super(true, modulus, privateExponent); in RSAPrivateCrtKeyParameters()

12