/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | AES256SHA256Decoder.java | 48 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/ |
D | CryptRsa.c | 584 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/ |
D | 7zAes.cpp | 233 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/ |
D | X509_RSA.c | 119 INT16 saltSize = in X509AddSigningAlgorithmRSA() local 122 ASN1PushUINT(ctx, saltSize); in X509AddSigningAlgorithmRSA()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
D | DefaultSignatureAlgorithmIdentifierFinder.java | 434 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/ |
D | X509Util.java | 142 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/ |
D | X509Util.java | 143 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/ |
D | X509Util.java | 143 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/ |
D | PKCS10CertificationRequest.java | 211 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/ |
D | PKCS10CertificationRequest.java | 213 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/ |
D | PKCS10CertificationRequest.java | 213 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams() argument 218 new ASN1Integer(saltSize), in creatPSSParams()
|