Searched defs:iv (Results 1 - 5 of 5) sorted by relevance
/libcore/luni/src/main/java/javax/crypto/spec/ |
H A D | IvParameterSpec.java | 32 private final byte[] iv; field in class:IvParameterSpec 36 * the specified buffer <i>iv</i> used as <i>initialization vector</i>. 38 * @param iv 43 public IvParameterSpec(byte[] iv) { argument 44 if (iv == null) { 45 throw new NullPointerException("iv == null"); 47 this.iv = new byte[iv.length]; 48 System.arraycopy(iv, 0, this.iv, 63 IvParameterSpec(byte[] iv, int offset, int byteCount) argument [all...] |
H A D | RC2ParameterSpec.java | 30 private final byte[] iv; field in class:RC2ParameterSpec 41 iv = null; 53 * @param iv 58 public RC2ParameterSpec(int effectiveKeyBits, byte[] iv) { argument 59 if (iv == null) { 60 throw new IllegalArgumentException("iv == null"); 62 if (iv.length < 8) { 63 throw new IllegalArgumentException("iv.length < 8"); 66 this.iv = new byte[8]; 67 System.arraycopy(iv, 88 RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset) argument [all...] |
H A D | RC5ParameterSpec.java | 32 private final byte[] iv; field in class:RC5ParameterSpec 49 this.iv = null; 67 * @param iv 73 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { argument 74 if (iv == null) { 75 throw new IllegalArgumentException("iv == null"); 77 if (iv.length < 2 * (wordSize / 8)) { 78 throw new IllegalArgumentException("iv.length < 2 * (wordSize / 8)"); 83 this.iv = new byte[2*(wordSize/8)]; 84 System.arraycopy(iv, 112 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) argument [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | CipherTest.java | 1904 * echo -n 'I only regret that I have but one test to write.' | openssl enc -aes-256-cbc -K ec53c6d51d2c4973585fb0b8e51cd2e39915ff07a1837872715d6121bf861935 -iv ceaa31952dfd3d0f5af4b2042ba06094 | openssl enc -aes-256-cbc -K ec53c6d51d2c4973585fb0b8e51cd2e39915ff07a1837872715d6121bf861935 -iv ceaa31952dfd3d0f5af4b2042ba06094 -d -nopad | recode ../x1 | sed 's/0x/(byte) 0x/g' 1922 * echo -n 'I only regret that I have but one test to write.' | openssl enc -aes-256-cbc -K ec53c6d51d2c4973585fb0b8e51cd2e39915ff07a1837872715d6121bf861935 -iv ceaa31952dfd3d0f5af4b2042ba06094 | recode ../x1 | sed 's/0x/(byte) 0x/g' 1943 public final byte[] iv; field in class:CipherTest.CipherTestParam 1951 public CipherTestParam(String mode, byte[] key, byte[] iv, byte[] plaintext, argument 1955 this.iv = iv; 2006 if (p.iv != null) { 2007 spec = new IvParameterSpec(p.iv);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | NativeCrypto.java | 177 public static native int EVP_CipherInit_ex(int cipherNid, byte[] key, byte[] iv, argument
|
Completed in 181 milliseconds