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

1 2 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/javax/crypto/spec/
IvParameterSpec.java 31 * This class specifies an <i>initialization vector</i> (IV).
42 private byte[] iv; field in class:IvParameterSpec
45 * Creates an IvParameterSpec object using the bytes in <code>iv</code>
46 * as the IV.
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) {
53 this(iv, 0, iv.length)
    [all...]
RC2ParameterSpec.java 36 * an 8-byte initialization vector (IV) (only in feedback mode).
47 private byte[] iv = null; field in class:RC2ParameterSpec
62 * (in bits) and an 8-byte IV.
64 * <p> The bytes that constitute the IV are those between
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) {
    [all...]
RC5ParameterSpec.java 36 * size, and optionally an initialization vector (IV) (only in feedback mode).
49 private byte[] iv = null; field in class:RC5ParameterSpec
70 * rounds, word size (in bits), and IV.
72 * <p> Note that the size of the IV (block size) must be twice the word
73 * size. The bytes that constitute the IV are those between
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> i
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
ParametersWithIV.java 8 private byte[] iv; field in class:ParametersWithIV
13 byte[] iv)
15 this(parameters, iv, 0, iv.length);
20 byte[] iv,
24 this.iv = new byte[ivLen];
27 System.arraycopy(iv, ivOff, this.iv, 0, ivLen);
32 return iv;
KDFParameters.java 11 byte[] iv; field in class:KDFParameters
16 byte[] iv)
19 this.iv = iv;
29 return iv;
  /cts/tools/dasm/src/java_cup/runtime/
int_token.java 16 public int_token(int term_num, int iv)
21 int_val = iv;
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
ctor_init_func.pass.cpp 35 std::vector<double> iv = d.intervals(); local
36 assert(iv.size() == 2);
37 assert(iv[0] == 0);
38 assert(iv[1] == 1);
46 std::vector<double> iv = d.intervals(); local
47 assert(iv.size() == 2);
48 assert(iv[0] == 0);
49 assert(iv[1] == 1);
57 std::vector<double> iv = d.intervals(); local
58 assert(iv.size() == 2)
68 std::vector<double> iv = d.intervals(); local
    [all...]
ctor_default.pass.cpp 27 std::vector<double> iv = d.intervals(); local
28 assert(iv.size() == 2);
29 assert(iv[0] == 0);
30 assert(iv[1] == 1);
ctor_param.pass.cpp 29 std::vector<double> iv = d.intervals(); local
30 assert(iv.size() == 4);
31 assert(iv[0] == 10);
32 assert(iv[1] == 14);
33 assert(iv[2] == 16);
34 assert(iv[3] == 17);
param_ctor_init_func.pass.cpp 33 std::vector<double> iv = pa.intervals(); local
34 assert(iv.size() == 2);
35 assert(iv[0] == 0);
36 assert(iv[1] == 1);
45 std::vector<double> iv = pa.intervals(); local
46 assert(iv.size() == 2);
47 assert(iv[0] == 0);
48 assert(iv[1] == 1);
57 std::vector<double> iv = pa.intervals(); local
58 assert(iv.size() == 2)
69 std::vector<double> iv = pa.intervals(); local
    [all...]
ctor_func.pass.cpp 32 std::vector<double> iv = d.intervals(); local
33 assert(iv.size() == 2);
34 assert(iv[0] == 0);
35 assert(iv[1] == 1);
43 std::vector<double> iv = d.intervals(); local
44 assert(iv.size() == 2);
45 assert(iv[0] == 10);
46 assert(iv[1] == 12);
54 std::vector<double> iv = d.intervals(); local
55 assert(iv.size() == 3)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
ctor_init_func.pass.cpp 35 std::vector<double> iv = d.intervals(); local
36 assert(iv.size() == 2);
37 assert(iv[0] == 0);
38 assert(iv[1] == 1);
46 std::vector<double> iv = d.intervals(); local
47 assert(iv.size() == 2);
48 assert(iv[0] == 0);
49 assert(iv[1] == 1);
57 std::vector<double> iv = d.intervals(); local
58 assert(iv.size() == 2)
68 std::vector<double> iv = d.intervals(); local
    [all...]
ctor_default.pass.cpp 27 std::vector<double> iv = d.intervals(); local
28 assert(iv.size() == 2);
29 assert(iv[0] == 0);
30 assert(iv[1] == 1);
ctor_param.pass.cpp 29 std::vector<double> iv = d.intervals(); local
30 assert(iv.size() == 4);
31 assert(iv[0] == 10);
32 assert(iv[1] == 14);
33 assert(iv[2] == 16);
34 assert(iv[3] == 17);
param_ctor_init_func.pass.cpp 33 std::vector<double> iv = pa.intervals(); local
34 assert(iv.size() == 2);
35 assert(iv[0] == 0);
36 assert(iv[1] == 1);
45 std::vector<double> iv = pa.intervals(); local
46 assert(iv.size() == 2);
47 assert(iv[0] == 0);
48 assert(iv[1] == 1);
57 std::vector<double> iv = pa.intervals(); local
58 assert(iv.size() == 2)
69 std::vector<double> iv = pa.intervals(); local
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
ctor_default.pass.cpp 27 std::vector<double> iv = d.intervals(); local
28 assert(iv.size() == 2);
29 assert(iv[0] == 0);
30 assert(iv[1] == 1);
ctor_param.pass.cpp 29 std::vector<double> iv = d.intervals(); local
30 assert(iv.size() == 4);
31 assert(iv[0] == 10);
32 assert(iv[1] == 14);
33 assert(iv[2] == 16);
34 assert(iv[3] == 17);
ctor_init_func.pass.cpp 35 std::vector<double> iv = d.intervals(); local
36 assert(iv.size() == 2);
37 assert(iv[0] == 0);
38 assert(iv[1] == 1);
47 std::vector<double> iv = d.intervals(); local
48 assert(iv.size() == 2);
49 assert(iv[0] == 0);
50 assert(iv[1] == 1);
59 std::vector<double> iv = d.intervals(); local
60 assert(iv.size() == 2)
71 std::vector<double> iv = d.intervals(); local
    [all...]
param_ctor_init_func.pass.cpp 33 std::vector<double> iv = pa.intervals(); local
34 assert(iv.size() == 2);
35 assert(iv[0] == 0);
36 assert(iv[1] == 1);
46 std::vector<double> iv = pa.intervals(); local
47 assert(iv.size() == 2);
48 assert(iv[0] == 0);
49 assert(iv[1] == 1);
59 std::vector<double> iv = pa.intervals(); local
60 assert(iv.size() == 2)
72 std::vector<double> iv = pa.intervals(); local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
ctor_default.pass.cpp 27 std::vector<double> iv = d.intervals(); local
28 assert(iv.size() == 2);
29 assert(iv[0] == 0);
30 assert(iv[1] == 1);
ctor_param.pass.cpp 29 std::vector<double> iv = d.intervals(); local
30 assert(iv.size() == 4);
31 assert(iv[0] == 10);
32 assert(iv[1] == 14);
33 assert(iv[2] == 16);
34 assert(iv[3] == 17);
ctor_init_func.pass.cpp 35 std::vector<double> iv = d.intervals(); local
36 assert(iv.size() == 2);
37 assert(iv[0] == 0);
38 assert(iv[1] == 1);
47 std::vector<double> iv = d.intervals(); local
48 assert(iv.size() == 2);
49 assert(iv[0] == 0);
50 assert(iv[1] == 1);
59 std::vector<double> iv = d.intervals(); local
60 assert(iv.size() == 2)
71 std::vector<double> iv = d.intervals(); local
    [all...]
param_ctor_init_func.pass.cpp 33 std::vector<double> iv = pa.intervals(); local
34 assert(iv.size() == 2);
35 assert(iv[0] == 0);
36 assert(iv[1] == 1);
46 std::vector<double> iv = pa.intervals(); local
47 assert(iv.size() == 2);
48 assert(iv[0] == 0);
49 assert(iv[1] == 1);
59 std::vector<double> iv = pa.intervals(); local
60 assert(iv.size() == 2)
72 std::vector<double> iv = pa.intervals(); local
    [all...]
  /external/ipsec-tools/src/racoon/missing/crypto/rijndael/
rijndael-api-fst.c 79 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) {
85 if (IV != NULL) {
86 bcopy(IV, cipher->IV, MAX_IV_SIZE);
88 bzero(cipher->IV, MAX_IV_SIZE);
96 word8 block[16], iv[4][4]; local
120 bcopy(cipher->IV, block, 16);
121 bcopy(input, iv, 16);
122 ((word32*)block)[0] ^= ((word32*)iv)[0];
123 ((word32*)block)[1] ^= ((word32*)iv)[1]
210 word8 block[16], *iv, *cp; local
273 word8 block[16], iv[4][4]; local
372 word32 iv[4]; local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
IvParameterSpecTest.java 40 * IvParameterSpec(byte[] iv) constructor testing. Checks that
52 byte[] iv = new byte[] {1, 2, 3, 4, 5};
53 IvParameterSpec ivps = new IvParameterSpec(iv);
54 iv[0] ++;
56 + "the change of internal array", iv[0] == ivps.getIV()[0]);
60 * IvParameterSpec(byte[] iv) constructor testing. Checks that
79 + "if (iv.length - offset < len).");
90 + "if offset index bytes outside the iv.");
102 + "if len index bytes outside the iv.");
111 byte[] iv = new byte[] {1, 2, 3, 4, 5}
    [all...]

Completed in 206 milliseconds

1 2 3 4 5 6 7 8 91011>>