HomeSort by relevance Sort by last modified time
    Searched refs:getIV (Results 1 - 25 of 58) sorted by null

1 2 3

  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
IvParameterSpecTest.java 56 + "the change of internal array", iv[0] == ivps.getIV()[0]);
115 + "the change of internal array", iv[0] == ivps.getIV()[0]);
129 iv = ivps.getIV();
132 + "the change of internal array", iv[0] == ivps.getIV()[0]);
RC2ParameterSpecTest.java 66 iv[0] == ps.getIV()[0]);
98 iv[offset] == ps.getIV()[0]);
116 * getIV() method testing. Tests that returned array is equal to the
119 * that getIV() method returns null if iv is not specified.
126 byte[] result = ps.getIV();
132 assertFalse("The change of returned by getIV() method iv "
134 result[0] == ps.getIV()[0]);
136 assertNull("The getIV() method should return null if the parameter "
137 + "set does not contain iv.", ps.getIV());
RC5ParameterSpecTest.java 75 iv[0] == ps.getIV()[0]);
125 iv[offset] == ps.getIV()[0]);
182 * getIV() method testing. Tests that returned array is equal to the
185 * that getIV() method returns null if iv is not specified.
195 byte[] result = ps.getIV();
201 assertFalse("The change of returned by getIV() method iv "
203 result[0] == ps.getIV()[0]);
205 assertNull("The getIV() method should return null if the parameter "
206 + "set does not contain IV.", ps.getIV());
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
IvParameterSpecTest.java 56 + "the change of internal array", iv[0] == ivps.getIV()[0]);
115 + "the change of internal array", iv[0] == ivps.getIV()[0]);
129 iv = ivps.getIV();
132 + "the change of internal array", iv[0] == ivps.getIV()[0]);
GCMParameterSpecTest.java 79 byte[] actual = spec.getIV();
88 Arrays.equals(spec.getIV(), actual));
89 assertEquals(Arrays.toString(TEST_IV), Arrays.toString(spec.getIV()));
95 Arrays.toString(spec.getIV()));
RC2ParameterSpecTest.java 66 iv[0] == ps.getIV()[0]);
98 iv[offset] == ps.getIV()[0]);
116 * getIV() method testing. Tests that returned array is equal to the
119 * that getIV() method returns null if iv is not specified.
126 byte[] result = ps.getIV();
132 assertFalse("The change of returned by getIV() method iv "
134 result[0] == ps.getIV()[0]);
136 assertNull("The getIV() method should return null if the parameter "
137 + "set does not contain iv.", ps.getIV());
RC5ParameterSpecTest.java 75 iv[0] == ps.getIV()[0]);
125 iv[offset] == ps.getIV()[0]);
182 * getIV() method testing. Tests that returned array is equal to the
185 * that getIV() method returns null if iv is not specified.
195 byte[] result = ps.getIV();
201 assertFalse("The change of returned by getIV() method iv "
203 result[0] == ps.getIV()[0]);
205 assertNull("The getIV() method should return null if the parameter "
206 + "set does not contain IV.", ps.getIV());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
ParametersWithIV.java 30 public byte[] getIV()
  /libcore/luni/src/main/java/javax/crypto/spec/
GCMParameterSpec.java 94 public byte[] getIV() {
IvParameterSpec.java 77 public byte[] getIV() {
RC2ParameterSpec.java 114 public byte[] getIV() {
RC5ParameterSpec.java 161 public byte[] getIV() {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PKCS12PBEParams.java 55 public byte[] getIV()
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
SICBlockCipher.java 57 byte[] iv = ivParam.getIV();
CBCBlockCipher.java 71 byte[] iv = ivParam.getIV();
OFBBlockCipher.java 69 byte[] iv = ivParam.getIV();
  /frameworks/base/core/java/android/content/pm/
ContainerEncryptionParams.java 229 if (!Arrays.equals(mEncryptionSpec.getIV(), other.mEncryptionSpec.getIV())
267 hash += 7 * Arrays.hashCode(mEncryptionSpec.getIV());
314 dest.writeByteArray(mEncryptionSpec.getIV());
  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
Cipher_Impl1Test.java 46 * @tests javax.crypto.Cipher#getIV()
67 byte[] cipherIV = cipher.getIV();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
PBEPKCS12.java 57 return new PBEParameterSpec(params.getIV(),
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
IvAlgorithmParameters.java 63 this.iv = ((IvParameterSpec)paramSpec).getIV();
BaseMac.java 82 param = new ParametersWithIV(new KeyParameter(key.getEncoded()), ((IvParameterSpec)params).getIV());
BaseStreamCipher.java 80 return (ivParam != null) ? ivParam.getIV() : null;
204 param = new ParametersWithIV(new KeyParameter(key.getEncoded()), ((IvParameterSpec)params).getIV());
BaseBlockCipher.java 186 return (ivParam != null) ? ivParam.getIV() : null;
229 engineParams.init(ivParam.getIV());
498 param = new ParametersWithIV(param, iv.getIV());
508 // if (gost28147Param.getIV() != null && ivLength != 0)
510 // param = new ParametersWithIV(param, gost28147Param.getIV());
540 if (p.getIV().length != ivLength && !isAEADModeName(modeName))
548 // param = new ParametersWithIV(null, p.getIV());
554 param = new ParametersWithIV(new KeyParameter(key.getEncoded()), p.getIV());
576 // if (gost28147Param.getIV() != null && ivLength != 0)
578 // param = new ParametersWithIV(param, gost28147Param.getIV());
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherSymmetricKeyThread.java 59 iv = cip.getIV();
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
NullCipherTest.java 58 assertTrue("Incorrect IV", Arrays.equals(c.getIV(), new byte[8]));

Completed in 1693 milliseconds

1 2 3