Home
last modified time | relevance | path

Searched refs:saltSize (Results 1 – 11 of 11) 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/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRsa.c584 INT16 saltSize; in CryptRsaPssSaltSize() local
588 saltSize = (outSize - hashSize - 1) - 1; in CryptRsaPssSaltSize()
590 if(saltSize > hashSize) in CryptRsaPssSaltSize()
591 saltSize = hashSize; in CryptRsaPssSaltSize()
592 else if(saltSize < 0) in CryptRsaPssSaltSize()
593 saltSize = 0; in CryptRsaPssSaltSize()
594 return saltSize; in CryptRsaPssSaltSize()
612 UINT16 saltSize; in PssEncode() local
625 saltSize = CryptRsaPssSaltSize((INT16)hLen, (INT16)out->size); in PssEncode()
633 DRBG_Generate(rand, salt, saltSize); in PssEncode()
[all …]
/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/ms-tpm-20-ref/TPMCmd/tpm/src/X509/
DX509_RSA.c119 INT16 saltSize = in X509AddSigningAlgorithmRSA() local
122 ASN1PushUINT(ctx, saltSize); in X509AddSigningAlgorithmRSA()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java434 private static RSASSAPSSparams createPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in createPSSParams() argument
439 new ASN1Integer(saltSize), in createPSSParams()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Util.java142 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
147 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/
DX509Util.java143 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
148 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DX509Util.java143 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
148 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java211 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
216 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/
DPKCS10CertificationRequest.java213 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
218 new ASN1Integer(saltSize), in creatPSSParams()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/
DPKCS10CertificationRequest.java213 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument
218 new ASN1Integer(saltSize), in creatPSSParams()