Home
last modified time | relevance | path

Searched refs:saltSize (Results 1 – 7 of 7) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DAES256SHA256Decoder.java48 final int saltSize = ((byte0 >> 7) & 1) + (byte1 >> 4); in decode() local
49 if (2 + saltSize + ivSize > coder.properties.length) { in decode()
52 final byte[] salt = new byte[saltSize]; in decode()
53 System.arraycopy(coder.properties, 2, salt, 0, saltSize); in decode()
55 System.arraycopy(coder.properties, 2 + saltSize, iv, 0, ivSize); in decode()
63 System.arraycopy(salt, 0, aesKeyBytes, 0, saltSize); in decode()
64 System.arraycopy(passwordBytes, 0, aesKeyBytes, saltSize, in decode()
65 Math.min(passwordBytes.length, aesKeyBytes.length - saltSize)); in decode()
/external/lzma/CPP/7zip/Crypto/
D7zAes.cpp233 unsigned saltSize = ((b0 >> 7) & 1) + (b1 >> 4); in SetDecoderProperties2() local
236 if (size != 2 + saltSize + ivSize) in SetDecoderProperties2()
238 _key.SaltSize = saltSize; in SetDecoderProperties2()
240 for (i = 0; i < saltSize; i++) in SetDecoderProperties2()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java402 private static RSASSAPSSparams createPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in createPSSParams() argument
407 new ASN1Integer(saltSize), in createPSSParams()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Util.java140 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
145 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DX509Util.java141 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
146 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java210 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
215 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/
DPKCS10CertificationRequest.java212 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
217 new ASN1Integer(saltSize), in creatPSSParams()