Home
last modified time | relevance | path

Searched refs:kParam (Results 1 – 5 of 5) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DDHBasicAgreement.java31 AsymmetricKeyParameter kParam; in init() local
36 kParam = (AsymmetricKeyParameter)rParam.getParameters(); in init()
40 kParam = (AsymmetricKeyParameter)param; in init()
43 if (!(kParam instanceof DHPrivateKeyParameters)) in init()
48 this.key = (DHPrivateKeyParameters)kParam; in init()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java263 … KeyParameter kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in makePBEParameters() local
265 DESParameters.setOddParity(kParam.getKey()); in makePBEParameters()
269 KeyParameter kParam = (KeyParameter)param; in makePBEParameters() local
271 DESParameters.setOddParity(kParam.getKey()); in makePBEParameters()
332 … KeyParameter kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in makePBEParameters() local
334 DESParameters.setOddParity(kParam.getKey()); in makePBEParameters()
338 KeyParameter kParam = (KeyParameter)param; in makePBEParameters() local
340 DESParameters.setOddParity(kParam.getKey()); in makePBEParameters()
DBCPBEKey.java62 KeyParameter kParam; in getEncoded() local
66 kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in getEncoded()
70 kParam = (KeyParameter)param; in getEncoded()
73 return kParam.getKey(); in getEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java130 AsymmetricKeyParameter kParam; in init() local
137 kParam = (AsymmetricKeyParameter)rParam.getParameters(); in init()
141 kParam = (AsymmetricKeyParameter)param; in init()
142 if (!kParam.isPrivate() && forEncryption) in init()
150 this.forPrivateKey = kParam.isPrivate(); in init()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DDES.java342 KeyParameter kParam; in engineGenerateSecret() local
345 kParam = (KeyParameter)((ParametersWithIV)param).getParameters(); in engineGenerateSecret()
349 kParam = (KeyParameter)param; in engineGenerateSecret()
352 DESParameters.setOddParity(kParam.getKey()); in engineGenerateSecret()