Home
last modified time | relevance | path

Searched refs:getSalt (Results 1 – 16 of 16) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java233 generator.init(key, pbeParam.getSalt(), pbeParam.getIterationCount()); in makePBEParameters()
302 generator.init(key, pbeParam.getSalt(), pbeParam.getIterationCount()); in makePBEParameters()
366 generator.init(key, pbeParam.getSalt(), pbeParam.getIterationCount()); in makePBEMacParameters()
390 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); in makePBEMacParameters()
419 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); in makePBEParameters()
455 generator.init(key.getEncoded(), pbeSpec.getSalt(), pbeSpec.getIterationCount()); in makePBEMacParameters()
DBCPBEKey.java128 public byte[] getSalt() in getSalt() method in BCPBEKey
130 return pbeKeySpec.getSalt(); in getSalt()
DPBESecretKeyFactory.java49 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
DBaseStreamCipher.java176 …pbeSpec = new PBEParameterSpec(((PKCS12KeyWithParameters)k).getSalt(), ((PKCS12KeyWithParameters)k… in engineInit()
197 pbeSpec = new PBEParameterSpec(k.getSalt(), k.getIterationCount()); in engineInit()
DBaseBlockCipher.java558 if (pbeKey.getSalt() == null) in engineInit()
562 pbeSpec = new PBEParameterSpec(pbeKey.getSalt(), pbeKey.getIterationCount()); in engineInit()
648 if ((pbeSpec.getSalt().length != 0) && (pbeSpec.getIterationCount() > 0)) { in engineInit()
652 k.getPassword(), pbeSpec.getSalt(), pbeSpec.getIterationCount(), in engineInit()
675 pbeSpec = new PBEParameterSpec(k.getSalt(), k.getIterationCount()); in engineInit()
DBaseMac.java101 … pbeSpec = new PBEParameterSpec(((PBEKey)k).getSalt(), ((PBEKey)k).getIterationCount()); in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKCS12KeyWithParameters.java55 public byte[] getSalt() in getSalt() method in PKCS12KeyWithParameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DPBEParametersGenerator.java54 public byte[] getSalt() in getSalt() method in PBEParametersGenerator
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DPBES2AlgorithmParameters.java102 return createPBEParameterSpec(pbeParamSpec.getSalt(), in localEngineGetParameterSpec()
137 pbeSpec.getSalt(), pbeSpec.getIterationCount(), keySize, kdf)), in engineInit()
DPBEPBKDF2.java170 if (pbeSpec.getSalt() == null in engineGenerateSecret()
183 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
DPBEPKCS12.java75 this.params = new PKCS12PBEParams(pbeSpec.getSalt(), in engineInit()
DDES.java328 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPBEParameter.java59 public byte[] getSalt() in getSalt() method in PBEParameter
DMacData.java72 public byte[] getSalt() in getSalt() method in MacData
DPBKDF2Params.java184 public byte[] getSalt() in getSalt() method in PBKDF2Params
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java745 …key = keyFact.generateSecret(new PBEKeySpec(password, func.getSalt(), func.getIterationCount().int… in createCipher()
749 …key = keyFact.generateSecret(new PBKDF2KeySpec(password, func.getSalt(), func.getIterationCount().… in createCipher()
814 byte[] salt = mData.getSalt(); in engineLoad()