Home
last modified time | relevance | path

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

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java42 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); in BCDHPublicKey()
43 this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(spec.getP(), spec.getG())); in BCDHPublicKey()
51 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
58 …this.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), pa… in BCDHPublicKey()
68 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
98 … this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); in BCDHPublicKey()
102 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPublicKey()
104 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
110 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); in BCDHPublicKey()
114 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), par… in BCDHPublicKey()
[all …]
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()
DKeyAgreementSpi.java104 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase()
192 this.p = p.getP(); in engineInit()
197 this.p = privKey.getParams().getP(); in engineInit()
208 this.p = privKey.getParams().getP(); in engineInit()
227 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.java38 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPublicKey()
56 …this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), … in BCDSAPublicKey()
85 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPublicKey()
122 … AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), … in getEncoded()
151 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
174 && this.getParams().getP().equals(other.getParams().getP()) in equals()
213 out.writeObject(dsaSpec.getP()); in writeObject()
/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()
DDSAPublicKeyParameters.java26 if (TWO.compareTo(y) <= 0 && params.getP().subtract(TWO).compareTo(y) >= 0 in validate()
27 && ONE.equals(y.modPow(params.getQ(), params.getP()))) in validate()
DDHPublicKeyParameters.java30 if (y.compareTo(TWO) < 0 || y.compareTo(dhParams.getP().subtract(TWO)) > 0) in validate()
37 if (ONE.equals(y.modPow(dhParams.getQ(), dhParams.getP()))) in validate()
/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/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/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/libcxx/test/std/utilities/utility/pairs/pair.astuple/
Dget_non_const.pass.cpp30 constexpr std::pair<int, int> getP () { return { 3, 4 }; } in getP() function
49 static_assert(std::get<1>(getP()) == 4, ""); in main()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DDHUtil.java35 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter()
50 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePrivateKeyParameter()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DDHBasicAgreement.java54 return (key.getParameters().getP().bitLength() + 7) / 8; in getFieldSize()
71 BigInteger result = pub.getY().modPow(key.getX(), dhParams.getP()); in calculateAgreement()
/external/libunwind_llvm/src/
DAddressSpace.hpp108 uintptr_t getP(pint_t addr);
122 inline uintptr_t LocalAddressSpace::getP(pint_t addr) { in getP() function in libunwind::LocalAddressSpace
186 result = getP(addr); in getEncodedP()
263 result = getP(result); in getEncodedP()
513 pint_t getP(pint_t addr);
545 typename P::uint_t RemoteAddressSpace<P>::getP(pint_t addr) { in getP() function in libunwind::RemoteAddressSpace
546 return P::getP(*(uint64_t *)localCopy(addr)); in getP()

123