/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBEPBKDF2.java | 165 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; in engineGenerateSecret() local 170 if (pbeSpec.getSalt() == null in engineGenerateSecret() 171 && pbeSpec.getIterationCount() == 0 in engineGenerateSecret() 172 && pbeSpec.getKeyLength() == 0 in engineGenerateSecret() 173 && pbeSpec.getPassword().length > 0 in engineGenerateSecret() 177 ivSizeInBits, pbeSpec, in engineGenerateSecret() 183 if (pbeSpec.getSalt() == null) in engineGenerateSecret() 188 if (pbeSpec.getIterationCount() <= 0) in engineGenerateSecret() 191 + pbeSpec.getIterationCount()); in engineGenerateSecret() 194 if (pbeSpec.getKeyLength() <= 0) in engineGenerateSecret() [all …]
|
D | DES.java | 325 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; in engineGenerateSecret() local 328 if (pbeSpec.getSalt() == null) in engineGenerateSecret() 330 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 335 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 339 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 354 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
D | PBEPKCS12.java | 73 PBEParameterSpec pbeSpec = (PBEParameterSpec)paramSpec; in engineInit() local 75 this.params = new PKCS12PBEParams(pbeSpec.getSalt(), in engineInit() 76 pbeSpec.getIterationCount()); in engineInit()
|
D | PBES2AlgorithmParameters.java | 121 PBEParameterSpec pbeSpec = (PBEParameterSpec)paramSpec; in engineInit() local 126 PBE.Util.getParameterSpecFromPBEParameterSpec(pbeSpec); in engineInit() 137 pbeSpec.getSalt(), pbeSpec.getIterationCount(), keySize, kdf)), in engineInit()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | PBESecretKeyFactory.java | 46 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; in engineGenerateSecret() local 49 if (pbeSpec.getSalt() == null) in engineGenerateSecret() 51 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 63 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
D | BaseStreamCipher.java | 54 private PBEParameterSpec pbeSpec = null; field in BaseStreamCipher 102 if (pbeSpec != null) in engineGetParameters() 107 engineParams.init(pbeSpec); in engineGetParameters() 155 this.pbeSpec = null; in engineInit() 171 pbeSpec = (PBEParameterSpec)params; in engineInit() 172 if (k instanceof PKCS12KeyWithParameters && pbeSpec == null) in engineInit() 174 …pbeSpec = new PBEParameterSpec(((PKCS12KeyWithParameters)k).getSalt(), ((PKCS12KeyWithParameters)k… in engineInit() 177 …EParameters(k.getEncoded(), PKCS12, digest, keySizeInBits, ivLength * 8, pbeSpec, cipher.getAlgori… in engineInit() 195 pbeSpec = new PBEParameterSpec(k.getSalt(), k.getIterationCount()); in engineInit() 200 pbeSpec = (PBEParameterSpec)params; in engineInit()
|
D | BaseBlockCipher.java | 125 private PBEParameterSpec pbeSpec = null; field in BaseBlockCipher 248 if (pbeSpec != null) in engineGetParameters() 253 engineParams.init(pbeSpec); in engineGetParameters() 509 this.pbeSpec = null; in engineInit() 552 pbeSpec = (PBEParameterSpec)params; in engineInit() 555 if (k instanceof PBEKey && pbeSpec == null) in engineInit() 562 pbeSpec = new PBEParameterSpec(pbeKey.getSalt(), pbeKey.getIterationCount()); in engineInit() 565 if (pbeSpec == null && !(k instanceof PBEKey)) in engineInit() 596 …EParameters(k.getEncoded(), PKCS12, digest, keySizeInBits, ivLength * 8, pbeSpec, cipher.getAlgori… in engineInit() 643 pbeSpec = (PBEParameterSpec)params; in engineInit() [all …]
|
D | BaseMac.java | 78 PBEParameterSpec pbeSpec; in engineInit() local 91 pbeSpec = (PBEParameterSpec)params; in engineInit() 98 if (k instanceof PBEKey && pbeSpec == null) in engineInit() 100 … pbeSpec = new PBEParameterSpec(((PBEKey)k).getSalt(), ((PBEKey)k).getIterationCount()); in engineInit() 120 param = PBE.Util.makePBEMacParameters(k, PKCS12, digest, keySize, pbeSpec); in engineInit()
|
D | PBE.java | 448 PBEParameterSpec pbeSpec) in makePBEMacParameters() argument 455 generator.init(key.getEncoded(), pbeSpec.getSalt(), pbeSpec.getIterationCount()); in makePBEMacParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/ |
D | BcKeyStoreSpi.java | 470 PBEKeySpec pbeSpec = new PBEKeySpec(password); in makePBECipher() local 476 cipher.init(mode, keyFact.generateSecret(pbeSpec), defParams); in makePBECipher()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 657 PBEKeySpec pbeSpec = new PBEKeySpec(password); in wrapKey() local 669 cipher.init(Cipher.WRAP_MODE, keyFact.generateSecret(pbeSpec), defParams); in wrapKey() 695 PBEKeySpec pbeSpec = new PBEKeySpec(password); in cryptData() local
|
/external/google-tv-pairing-protocol/java/jar/ |
D | bcprov-jdk15-143.jar | META-INF/MANIFEST.MF
META-INF/BCKEY.SF
META-INF/BCKEY ... |