/openjdk10/jdk/src/java.base/share/classes/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 | RC5ParameterSpec.java | 49 private byte[] iv = null; field in class:RC5ParameterSpec 74 * {@code iv[0]} and {@code iv[2*(wordSize/8)-1]} inclusive. 79 * @param iv the buffer with the IV. The first {@code 2*(wordSize/8)} 82 * @exception IllegalArgumentException if {@code iv} is 83 * {@code null} 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}, starting at 98 * {@code iv[offse 112 RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) argument [all...] |
H A D | RC2ParameterSpec.java | 47 private byte[] iv = null; field in class:RC2ParameterSpec 65 * {@code iv[0]} and {@code iv[7]} inclusive. 68 * @param iv the buffer with the 8-byte IV. The first 8 bytes of 70 * @exception IllegalArgumentException if {@code iv} is null. 72 public RC2ParameterSpec(int effectiveKeyBits, byte[] iv) { argument 73 this(effectiveKeyBits, iv, 0); 80 * <p> The IV is taken from {@code iv}, starting at 83 * {@code iv[offset]} and {@code iv[offse 93 RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset) 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();
|
/openjdk10/jdk/test/javax/crypto/spec/IvParameterSpec/ |
H A D | InvalidArgs.java | 38 IvParameterSpec iv = new IvParameterSpec(in, 0, -2); 42 IvParameterSpec iv = new IvParameterSpec(in, -2, in.length);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.loop/src/org/graalvm/compiler/loop/ |
H A D | CountedLoopInfo.java | 51 private InductionVariable iv; field in class:CountedLoopInfo 57 CountedLoopInfo(LoopEx loop, InductionVariable iv, IfNode ifNode, ValueNode end, boolean oneOff, AbstractBeginNode body) { argument 59 this.iv = iv; 71 StructuredGraph graph = iv.valueNode().graph(); 72 Stamp stamp = iv.valueNode().stamp(); 73 ValueNode range = sub(graph, end, iv.initNode()); 76 if (iv.direction() == Direction.Up) { 79 assert iv.direction() == Direction.Down; 86 ValueNode denominator = add(graph, sub(graph, range, oneDirection), iv [all...] |
H A D | LoopEx.java | 233 InductionVariable iv = null; 236 iv = getInductionVariables().get(lessThan.getY()); 237 if (iv != null) { 242 iv = getInductionVariables().get(lessThan.getX()); 243 if (iv != null) { 259 if (!iv.isConstantStride() || Math.abs(iv.constantStride()) != 1) { 262 IntegerStamp initStamp = (IntegerStamp) iv.initNode().stamp(); 264 if (iv.direction() == Direction.Up) { 268 } else if (iv [all...] |
/openjdk10/jdk/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | GCMParameters.java | 42 * aes-iv OCTET STRING, -- recommended size is 12 octets 54 // the iv 55 private byte[] iv; field in class:GCMParameters 71 this.iv = gps.getIV(); 78 byte[] iv = val.data.getOctetString(); 94 this.iv = iv.clone(); 111 return paramSpec.cast(new GCMParameterSpec(tLen * 8, iv)); 122 bytes.putOctetString(iv); 140 = new StringBuilder(LINE_SEP + " iv [all...] |
H A D | DESedeWrapCipher.java | 62 * iv for (re-)initializing the internal cipher object. 64 private byte[] iv = null; field in class:DESedeWrapCipher 156 return (iv == null) ? null : iv.clone(); 219 iv = new byte[IV_LEN]; 223 random.nextBytes(iv); 226 iv = ((IvParameterSpec) params).getIV(); 231 currIv = iv; 237 iv = null; 389 if (iv ! [all...] |
H A D | PCBC.java | 71 * and iv. 76 * @param iv the iv 81 void init(boolean decrypting, String algorithm, byte[] key, byte[] iv) argument 83 if ((key == null) || (iv == null) || (iv.length != blockSize)) { 86 this.iv = iv; 92 * Resets the iv to its original value. 94 * cipher can be reused (with its original iv) [all...] |
H A D | BlockCipherParamsCore.java | 49 private byte[] iv = null; field in class:BlockCipherParamsCore 66 iv = tmpIv.clone(); 80 iv = tmpIv; 96 return paramSpec.cast(new IvParameterSpec(this.iv)); 105 out.putOctetString(this.iv); 120 String ivString = LINE_SEP + " iv:" + LINE_SEP + "["; 122 ivString += encoder.encodeBuffer(this.iv);
|
H A D | CounterMode.java | 77 * Resets the iv to its original value. 79 * cipher can be reused (with its original iv). 82 System.arraycopy(iv, 0, counter, 0, blockSize); 112 * and iv. 117 * @param iv the iv 122 void init(boolean decrypting, String algorithm, byte[] key, byte[] iv) argument 124 if ((key == null) || (iv == null) || (iv.length != blockSize)) { 127 this.iv [all...] |
H A D | OutputFeedback.java | 84 * and iv. 89 * @param iv the iv 94 void init(boolean decrypting, String algorithm, byte[] key, byte[] iv) argument 96 if ((key == null) || (iv == null) || (iv.length != blockSize)) { 99 this.iv = iv; 106 * Resets the iv to its original value. 108 * cipher can be reused (with its original iv) [all...] |
H A D | FeedbackCipher.java | 52 byte[] iv; field in class:FeedbackCipher 91 * and iv. 96 * @param iv the iv (either null or blockSize bytes long) 102 byte[] iv) throws InvalidKeyException; 110 return iv; 114 * Resets the iv to its original value. 116 * cipher can be reused (with its original iv). 101 init(boolean decrypting, String algorithm, byte[] key, byte[] iv) argument
|
H A D | RC2Parameters.java | 42 * iv IV, 45 * iv IV 97 // the iv 98 private byte[] iv; field in class:RC2Parameters 130 this.iv = rps.getIV(); 156 iv = val.data.getOctetString(); 159 iv = val.getOctetString(); 164 if (iv.length != 8) { 165 throw new IOException("RC2 parameter parsing error: iv length " + 166 "must be 8 bits, actual: " + iv [all...] |
H A D | CipherBlockChaining.java | 50 * random bytes that are initialized with iv 79 * and iv. 84 * @param iv the iv 89 void init(boolean decrypting, String algorithm, byte[] key, byte[] iv) argument 91 if ((key == null) || (iv == null) || (iv.length != blockSize)) { 94 this.iv = iv; 100 * Resets the iv t [all...] |
H A D | CipherFeedback.java | 51 * register value, initialized with iv 85 * and iv. 90 * @param iv the iv 95 void init(boolean decrypting, String algorithm, byte[] key, byte[] iv) argument 97 if ((key == null) || (iv == null) || (iv.length != blockSize)) { 100 this.iv = iv; 107 * Resets the iv t [all...] |
/openjdk10/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/ |
H A D | GCMParameters.java | 55 private byte[] iv; // i.e. aes-nonce field in class:GCMParameters 60 private void setValues(byte[] iv, int tLen) throws IOException { argument 61 if (iv == null) { 67 this.iv = iv; 75 bytes.putOctetString(iv); 90 return paramSpec.cast(new GCMParameterSpec(tLen*8, iv.clone())); 131 return ("IV=" + Arrays.toString(iv) + ", tLen=" + tLen * 8);
|
/openjdk10/langtools/test/tools/javac/lambda/ |
H A D | NestedCapture04.java | 54 public int iv; 55 Inclass3() { iv = 0; } 67 public int iv; 68 Inclass7() { iv = 0; }
|
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/DES/ |
H A D | FlushBug.java | 48 IvParameterSpec iv = new IvParameterSpec(iv_bytes); 52 decrypter.init(Cipher.DECRYPT_MODE, key, iv); 58 encrypter.init(Cipher.ENCRYPT_MODE, key, iv);
|
/openjdk10/jdk/test/com/sun/crypto/provider/CICO/PBEFunc/ |
H A D | PBKDF2Wrapper.java | 66 private final byte[] iv; field in class:PBKDF2Wrapper 80 iv = TestUtilities.generateBytes(IV_LENGTH); 106 new IvParameterSpec(iv));
|
/openjdk10/jdk/test/javax/swing/plaf/synth/ |
H A D | Test6933784.java | 64 ImageView iv = new ImageView(elem); 66 if (iv.getLoadingImageIcon() == null) { 70 if (iv.getNoImageIcon() == null) {
|
/openjdk10/jdk/src/jdk.crypto.ucrypto/solaris/native/libj2ucrypto/ |
H A D | nativeFunc.h | 71 void *iv, size_t iv_len); 80 size_t key_len, void *iv, size_t iv_len, uchar_t *in, 86 void *iv, size_t iv_len); 95 size_t key_len, void *iv, size_t iv_len, uchar_t *in, 101 void *iv, size_t iv_len); 110 void *iv, size_t iv_len);
|
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/PBE/ |
H A D | PBES2Test.java | 98 byte[] iv; 100 iv = ivBytes; 108 iv = ivSpec.getIV(); 114 System.out.println(" iv[" + iv.length + "]: " + 115 String.format("0x%0" + (iv.length * 2) + "x", 116 new java.math.BigInteger(1, iv)));
|
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/PBE/PBESameBuffer/ |
H A D | PBKDF2Wrapper.java | 42 private static volatile byte[] iv; field in class:PBKDF2Wrapper 86 iv = ci.getParameters().getParameterSpec(IvParameterSpec.class). 91 new IvParameterSpec(iv));
|