/libcore/ojluni/src/main/java/javax/crypto/spec/ |
H A D | IvParameterSpec.java | 42 private byte[] iv; field in class:IvParameterSpec 45 * Creates an IvParameterSpec object using the bytes in <code>iv</code> 48 * @param iv the buffer with the IV. The contents of the 50 * @throws NullPointerException if <code>iv</code> is <code>null</code> 52 public IvParameterSpec(byte[] iv) { argument 53 this(iv, 0, iv.length); 58 * bytes in <code>iv</code>, beginning at <code>offset</code> 62 * <code>iv[offset]</code> and <code>iv[offse 75 IvParameterSpec(byte[] iv, int offset, int len) argument [all...] |
H A D | GCMParameterSpec.java | 67 private byte[] iv; field in class:GCMParameterSpec 127 iv = new byte[len]; 128 System.arraycopy(src, offset, iv, 0, len); 147 return iv.clone();
|
H A D | RC2ParameterSpec.java | 47 private byte[] iv = null; field in class:RC2ParameterSpec 65 * <code>iv[0]</code> and <code>iv[7]</code> inclusive. 68 * @param iv the buffer with the 8-byte IV. The first 8 bytes of 70 * @exception IllegalArgumentException if <code>iv</code> is null. 72 public RC2ParameterSpec(int effectiveKeyBits, byte[] iv) { argument 73 this(effectiveKeyBits, iv, 0); 80 * <p> The IV is taken from <code>iv</code>, starting at 83 * <code>iv[offset]</code> and <code>iv[offse 93 RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset) argument [all...] |
H A D | RC5ParameterSpec.java | 49 private byte[] iv = null; field in class:RC5ParameterSpec 74 * <code>iv[0]</code> and <code>iv[2*(wordSize/8)-1]</code> inclusive. 79 * @param iv the buffer with the IV. The first <code>2*(wordSize/8) 82 * @exception IllegalArgumentException if <code>iv</code> is 83 * <code>null</code> or {@code (iv.length < 2 * (wordSize / 8))} 85 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { argument 86 this(version, rounds, wordSize, iv, 0); 93 * <p> The IV is taken from <code>iv</code>, starting at 98 * <code>iv[offse 112 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) argument [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | FDBigInt.java | 196 mult( int iv ) { 197 long v = iv; 223 multaddMe( int iv, int addend ) { argument 224 long v = iv;
|
H A D | FDBigInteger.java | 1224 * @param iv The factor by which to multiply this <code>FDBigInteger</code>. 1226 * <code>FDBigInteger</code> and <code>iv</code>. 1229 @ requires this.value()*UNSIGNED(iv) + UNSIGNED(addend) < ((\bigint)1) << ((this.data.length + this.offset)*32); 1231 @ ensures this.value() == \old(this.value()*UNSIGNED(iv) + UNSIGNED(addend)); 1233 private /*@ helper @*/ void multAddMe(int iv, int addend) { argument 1234 long v = iv & LONG_MASK;
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | CipherInputStreamTest.java | 73 private AlgorithmParameterSpec iv; field in class:CipherInputStreamTest 78 iv = new IvParameterSpec(aesIvBytes); 111 cipher.init(Cipher.DECRYPT_MODE, key, iv); 120 cipher.init(Cipher.DECRYPT_MODE, key, iv); 133 cipher.init(Cipher.ENCRYPT_MODE, key, iv); 157 cipher.init(Cipher.DECRYPT_MODE, key, iv); 173 cipher.init(Cipher.DECRYPT_MODE, key, iv); 190 cipher.init(Cipher.DECRYPT_MODE, key, iv); 198 cipher.init(Cipher.DECRYPT_MODE, key, iv); 223 cipher.init(Cipher.DECRYPT_MODE, key, iv); [all...] |