Home
last modified time | relevance | path

Searched refs:ivLength (Results 1 – 5 of 5) sorted by relevance

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java122 private int ivLength = 0; field in BaseBlockCipher
144 int ivLength) in BaseBlockCipher() argument
151 this.ivLength = ivLength; in BaseBlockCipher()
169 this.ivLength = baseEngine.getBlockSize(); in BaseBlockCipher()
176 int ivLength) in BaseBlockCipher() argument
180 this.ivLength = ivLength; in BaseBlockCipher()
186 int ivLength) in BaseBlockCipher() argument
188 this(engine, true, ivLength); in BaseBlockCipher()
194 int ivLength) in BaseBlockCipher() argument
200 this.ivLength = ivLength / 8; in BaseBlockCipher()
[all …]
DBaseStreamCipher.java56 private int ivLength = 0; field in BaseStreamCipher
63 int ivLength) in BaseStreamCipher() argument
65 this(engine, ivLength, -1, -1); in BaseStreamCipher()
70 int ivLength, in BaseStreamCipher() argument
75 this.ivLength = ivLength; in BaseStreamCipher()
214 …E.Util.makePBEParameters(k.getEncoded(), PKCS12, digest, keySizeInBits, ivLength * 8, pbeSpec, cip… in engineInit()
267 if ((ivLength != 0) && !(param instanceof ParametersWithIV)) in engineInit()
278 byte[] iv = new byte[ivLength]; in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java118 private int ivLength = 0; field in BaseBlockCipher
140 int ivLength) in BaseBlockCipher() argument
147 this.ivLength = ivLength; in BaseBlockCipher()
165 this.ivLength = baseEngine.getBlockSize(); in BaseBlockCipher()
172 int ivLength) in BaseBlockCipher() argument
176 this.ivLength = ivLength; in BaseBlockCipher()
182 int ivLength) in BaseBlockCipher() argument
184 this(engine, true, ivLength); in BaseBlockCipher()
190 int ivLength) in BaseBlockCipher() argument
196 this.ivLength = ivLength / 8; in BaseBlockCipher()
[all …]
DBaseStreamCipher.java52 private int ivLength = 0; field in BaseStreamCipher
59 int ivLength) in BaseStreamCipher() argument
61 this(engine, ivLength, -1, -1); in BaseStreamCipher()
66 int ivLength, in BaseStreamCipher() argument
71 this.ivLength = ivLength; in BaseStreamCipher()
210 …E.Util.makePBEParameters(k.getEncoded(), PKCS12, digest, keySizeInBits, ivLength * 8, pbeSpec, cip… in engineInit()
263 if ((ivLength != 0) && !(param instanceof ParametersWithIV)) in engineInit()
274 byte[] iv = new byte[ivLength]; in engineInit()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3335 jint ivLength = static_cast<jint>(EVP_CIPHER_iv_length(evpCipher)); in NativeCrypto_EVP_CIPHER_iv_length() local
3336 JNI_TRACE("EVP_CIPHER_iv_length(%p) => %d", evpCipher, ivLength); in NativeCrypto_EVP_CIPHER_iv_length()
3337 return ivLength; in NativeCrypto_EVP_CIPHER_iv_length()