Home
last modified time | relevance | path

Searched refs:getP (Results 1 – 25 of 92) sorted by relevance

1234

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java57 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in BCDHPrivateKey()
77 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in BCDHPrivateKey()
81 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPrivateKey()
88 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPrivateKey()
100 …this.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), pa… in BCDHPrivateKey()
133 …hmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), d… in getEncoded()
165 && this.getParams().getP().equals(other.getParams().getP()) in equals()
172 ^ this.getParams().getP().hashCode() ^ this.getParams().getL(); in hashCode()
210 out.writeObject(dhSpec.getP()); in writeObject()
DBCDHPublicKey.java39 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in BCDHPublicKey()
53 …this.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), pa… in BCDHPublicKey()
91 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in BCDHPublicKey()
95 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPublicKey()
102 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPublicKey()
127 …hmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), d… in getEncoded()
166 ^ this.getParams().getP().hashCode() ^ this.getParams().getL(); in hashCode()
181 && this.getParams().getP().equals(other.getParams().getP()) in equals()
201 out.writeObject(dhSpec.getP()); in writeObject()
DKeyAgreementSpi.java99 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase()
179 this.p = p.getP(); in engineInit()
184 this.p = privKey.getParams().getP(); in engineInit()
195 this.p = privKey.getParams().getP(); in engineInit()
214 this.p = privKey.getParams().getP(); in engineInit()
DAlgorithmParametersSpi.java49 … DHParameter dhP = new DHParameter(currentSpec.getP(), currentSpec.getG(), currentSpec.getL()); in engineGetEncoded()
106 … currentSpec = new DHParameterSpec(dhP.getP(), dhP.getG(), dhP.getL().intValue()); in engineInit()
110 currentSpec = new DHParameterSpec(dhP.getP(), dhP.getG()); in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPrivateKey.java50 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in JDKDSAPrivateKey()
61 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in JDKDSAPrivateKey()
68 …this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), … in JDKDSAPrivateKey()
96 … AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), … in getEncoded()
128 && this.getParams().getP().equals(other.getParams().getP()) in equals()
135 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
172 out.writeObject(dsaSpec.getP()); in writeObject()
DJDKDSAPublicKey.java35 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in JDKDSAPublicKey()
49 …this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), … in JDKDSAPublicKey()
81 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in JDKDSAPublicKey()
109 … AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), … in getEncoded()
141 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
156 && this.getParams().getP().equals(other.getParams().getP()) in equals()
173 out.writeObject(dsaSpec.getP()); in writeObject()
DJCEDHPublicKey.java37 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in JCEDHPublicKey()
51 …this.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), pa… in JCEDHPublicKey()
89 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in JCEDHPublicKey()
93 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in JCEDHPublicKey()
100 this.dhSpec = new DHParameterSpec(params.getP().getValue(), params.getG().getValue()); in JCEDHPublicKey()
125 …hmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), d… in getEncoded()
174 out.writeObject(dhSpec.getP()); in writeObject()
DJCEDHPrivateKey.java55 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in JCEDHPrivateKey()
75 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in JCEDHPrivateKey()
79 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in JCEDHPrivateKey()
86 this.dhSpec = new DHParameterSpec(params.getP().getValue(), params.getG().getValue()); in JCEDHPrivateKey()
98 …this.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), pa… in JCEDHPrivateKey()
131 …hmIdentifier(PKCSObjectIdentifiers.dhKeyAgreement, new DHParameter(dhSpec.getP(), dhSpec.getG(), d… in getEncoded()
165 out.writeObject(dhSpec.getP()); in writeObject()
DDHUtil.java30 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter()
45 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePrivateKeyParameter()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPrivateKey.java50 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPrivateKey()
61 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPrivateKey()
68 …this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), … in BCDSAPrivateKey()
94 … AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), … in getEncoded()
119 && this.getParams().getP().equals(other.getParams().getP()) in equals()
126 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
163 out.writeObject(dsaSpec.getP()); in writeObject()
DBCDSAPublicKey.java35 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPublicKey()
49 …this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), … in BCDSAPublicKey()
81 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPublicKey()
107 … AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), … in getEncoded()
134 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
149 && this.getParams().getP().equals(other.getParams().getP()) in equals()
168 out.writeObject(dsaSpec.getP()); in writeObject()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DEncodedKeySpec2Test.java68 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) in isEqual()
77 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) in isEqual()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDSAParameters.java37 public BigInteger getP() in getP() method in DSAParameters
67 return (pm.getP().equals(p) && pm.getQ().equals(q) && pm.getG().equals(g)); in equals()
72 return getP().hashCode() ^ getQ().hashCode() ^ getG().hashCode(); in hashCode()
DDHParameters.java106 public BigInteger getP() in getP() method in DHParameters
181 return pm.getP().equals(p) && pm.getG().equals(g); in equals()
186 return getP().hashCode() ^ getG().hashCode() ^ (getQ() != null ? getQ().hashCode() : 0); in hashCode()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRCharStreamState.h41 @property (getter=getP,setter=setP:) NSInteger p;
49 - (NSInteger) getP;
DANTLRFastQueue.h44 @property (assign, getter=getP, setter=setP) NSInteger p;
65 - (NSInteger) getP;
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/
Dget_non_const.pass.cpp28 constexpr std::pair<int, int> getP () { return { 3, 4 }; } in getP() function
47 static_assert(std::get<1>(getP()) == 4, ""); in main()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRCharStreamState.h41 @property (getter=getP,setter=setP:) NSInteger p;
49 - (NSInteger) getP;
DANTLRFastQueue.h44 @property (assign, getter=getP, setter=setP) NSInteger p;
65 - (NSInteger) getP;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRCharStreamState.h41 @property (getter=getP,setter=setP:) NSInteger p;
49 - (NSInteger) getP;
DANTLRFastQueue.h44 @property (assign, getter=getP, setter=setP) NSInteger p;
65 - (NSInteger) getP;
/external/libunwind_llvm/src/
DAddressSpace.hpp144 uintptr_t getP(pint_t addr);
158 inline uintptr_t LocalAddressSpace::getP(pint_t addr) { in getP() function in libunwind::LocalAddressSpace
222 result = getP(addr); in getEncodedP()
299 result = getP(result); in getEncodedP()
492 pint_t getP(pint_t addr);
524 typename P::uint_t OtherAddressSpace<P>::getP(pint_t addr) { in getP() function in libunwind::OtherAddressSpace
525 return P::getP(*(uint64_t *)localCopy(addr)); in getP()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DDHBasicAgreement.java52 return (key.getParameters().getP().bitLength() + 7) / 8; in getFieldSize()
69 return pub.getY().modPow(key.getX(), dhParams.getP()); in calculateAgreement()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DDHUtil.java30 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter()
45 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePrivateKeyParameter()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDHParameterSpecTest.java53 dhps.getP(), ps[i]); in testDHParameterSpec()
62 dhps.getP(), ps[i]); in testDHParameterSpec()

1234