Searched refs:iv (Results 26 - 34 of 34) sorted by relevance

12

/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DJDKAlgorithmParameters.java58 private byte[] iv; field in class:JDKAlgorithmParameters.IVAlgorithmParameters
77 byte[] tmp = new byte[iv.length];
79 System.arraycopy(iv, 0, tmp, 0, iv.length);
96 return new IvParameterSpec(iv);
111 this.iv = ((IvParameterSpec)paramSpec).getIV();
130 this.iv = new byte[params.length];
132 System.arraycopy(params, 0, iv, 0, iv.length);
176 // private byte[] iv;
[all...]
H A DJCEStreamCipher.java227 byte[] iv = new byte[ivLength];
229 ivRandom.nextBytes(iv);
230 param = new ParametersWithIV(param, iv);
H A DBrokenJCEBlockCipher.java232 // a note on iv's - if ivLength is zero the IV gets ignored (we don't use it).
301 byte[] iv = new byte[ivLength];
303 random.nextBytes(iv);
304 param = new ParametersWithIV(param, iv);
H A DBrokenPBE.java214 * @param ivSize the size of the iv we want (in bits)
226 byte[] iv = generateDerivedKey(IV_MATERIAL, ivSize);
228 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), iv, 0, ivSize);
357 * construct a key and iv (if neccessary) suitable for use with a
H A DWrapCipherSpi.java154 IvParameterSpec iv = (IvParameterSpec) params;
155 CipherParameters paramPlusIV = new ParametersWithIV(param, iv.getIV());
H A DJCEBlockCipher.java349 // a note on iv's - if ivLength is zero the IV gets ignored (we don't use it).
487 byte[] iv = new byte[ivLength];
489 ivRandom.nextBytes(iv);
490 param = new ParametersWithIV(param, iv);
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
H A DPKCS12ParametersGenerator.java188 * @param ivSize the size of the iv we want (in bits)
200 byte[] iv = generateDerivedKey(IV_MATERIAL, ivSize);
202 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), iv, 0, ivSize);
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DKeyGeneratorTest.java665 byte[] iv = null;
666 iv = new byte[8];
667 sr.nextBytes(iv);
668 aps = new IvParameterSpec(iv);
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 133 milliseconds

12