Home
last modified time | relevance | path

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

/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPBEParameterSpecTest.java57 salt[0] == pbeps.getSalt()[0]); in testPBEParameterSpec()
69 byte[] result = pbeps.getSalt(); in testGetSalt()
77 result[0] == pbeps.getSalt()[0]); in testGetSalt()
DPBEKeySpecTest.java135 salt[0] == pbeks.getSalt()[0]); in testPBEKeySpec2()
198 salt[0] == pbeks.getSalt()[0]); in testPBEKeySpec3()
248 byte[] result = pbeks.getSalt(); in testGetSalt()
256 result[0] == pbeks.getSalt()[0]); in testGetSalt()
259 + "is not specified.", pbeks.getSalt()); in testGetSalt()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBE.java163 generator.init(key, pbeParam.getSalt(), pbeParam.getIterationCount()); in makePBEParameters()
222 generator.init(key, pbeParam.getSalt(), pbeParam.getIterationCount()); in makePBEMacParameters()
258 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); in makePBEParameters()
301 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); in makePBEMacParameters()
DBaseAlgorithmParameters.java254 return new PBEParameterSpec(params.getSalt(), in localEngineGetParameterSpec()
272 this.params = new PBKDF2Params(pbeSpec.getSalt(), in engineInit()
355 this.params = new PKCS12PBEParams(pbeSpec.getSalt(), in engineInit()
DBCPBEKey.java124 public byte[] getSalt() in getSalt() method in BCPBEKey
126 return pbeKeySpec.getSalt(); in getSalt()
DPBESecretKeyFactory.java49 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
DBaseSecretKeyFactory.java142 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
DBaseStreamCipher.java180 pbeSpec = new PBEParameterSpec(k.getSalt(), k.getIterationCount()); in engineInit()
DBaseBlockCipher.java416 pbeSpec = new PBEParameterSpec(k.getSalt(), k.getIterationCount()); in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKAlgorithmParameters.java81 return new PBEParameterSpec(params.getSalt(), in localEngineGetParameterSpec()
99 this.params = new PBKDF2Params(pbeSpec.getSalt(), in engineInit()
182 this.params = new PKCS12PBEParams(pbeSpec.getSalt(), in engineInit()
DJCESecretKeyFactory.java143 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
200 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
577 if (pbeSpec.getSalt() == null) in engineGenerateSecret()
DJCEStreamCipher.java207 pbeSpec = new PBEParameterSpec(k.getSalt(), k.getIterationCount()); in engineInit()
DJCEBlockCipher.java433 pbeSpec = new PBEParameterSpec(k.getSalt(), k.getIterationCount()); in engineInit()
DJDKPKCS12KeyStore.java699 byte[] salt = mData.getSalt(); in engineLoad()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/
DPBEKeyTest.java75 public byte[] getSalt() { in getSalt() method in PBEKeyTest.checkPBEKey
/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/asn1/pkcs/
DPBEParameter.java59 public byte[] getSalt() in getSalt() method in PBEParameter
DMacData.java71 public byte[] getSalt() in getSalt() method in MacData
DPBKDF2Params.java74 public byte[] getSalt() in getSalt() method in PBKDF2Params
/external/smack/src/org/xbill/DNS/
DNSEC3PARAMRecord.java148 getSalt() in getSalt() method in NSEC3PARAMRecord
DNSEC3Record.java202 getSalt() in getSalt() method in NSEC3Record
/external/bouncycastle/patches/
Dbcprov.patch8124 + if (pbeSpec.getSalt() == null)