/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
D | SHA1.java | 114 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; in engineGenerateSecret() local 116 if (pbeSpec.getSalt() == null) in engineGenerateSecret() 121 if (pbeSpec.getIterationCount() <= 0) in engineGenerateSecret() 124 + pbeSpec.getIterationCount()); in engineGenerateSecret() 127 if (pbeSpec.getKeyLength() <= 0) in engineGenerateSecret() 130 + pbeSpec.getKeyLength()); in engineGenerateSecret() 133 if (pbeSpec.getPassword().length == 0) in engineGenerateSecret() 139 int keySize = pbeSpec.getKeyLength(); in engineGenerateSecret() 141 … CipherParameters param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 143 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/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 | BaseMac.java | 71 PBEParameterSpec pbeSpec; in engineInit() local 84 pbeSpec = (PBEParameterSpec)params; in engineInit() 91 if (k instanceof PBEKey && pbeSpec == null) in engineInit() 93 … pbeSpec = new PBEParameterSpec(((PBEKey)k).getSalt(), ((PBEKey)k).getIterationCount()); in engineInit() 113 param = PBE.Util.makePBEMacParameters(k, PKCS12, digest, keySize, pbeSpec); in engineInit()
|
D | BaseBlockCipher.java | 121 private PBEParameterSpec pbeSpec = null; field in BaseBlockCipher 244 if (pbeSpec != null) in engineGetParameters() 249 engineParams.init(pbeSpec); in engineGetParameters() 505 this.pbeSpec = null; in engineInit() 548 pbeSpec = (PBEParameterSpec)params; in engineInit() 551 if (k instanceof PBEKey && pbeSpec == null) in engineInit() 559 … pbeSpec = new PBEParameterSpec(((PBEKey)k).getSalt(), ((PBEKey)k).getIterationCount()); in engineInit() 562 if (pbeSpec == null && !(k instanceof PBEKey)) in engineInit() 593 …EParameters(k.getEncoded(), PKCS12, digest, keySizeInBits, ivLength * 8, pbeSpec, cipher.getAlgori… in engineInit() 640 pbeSpec = (PBEParameterSpec)params; in engineInit() [all …]
|
D | PBE.java | 409 PBEParameterSpec pbeSpec) in makePBEMacParameters() argument 416 generator.init(key.getEncoded(), pbeSpec.getSalt(), pbeSpec.getIterationCount()); in makePBEMacParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
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()
|
/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 | 654 PBEKeySpec pbeSpec = new PBEKeySpec(password); in wrapKey() local 666 cipher.init(Cipher.WRAP_MODE, keyFact.generateSecret(pbeSpec), defParams); in wrapKey() 692 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 ... |