/libcore/luni/src/main/java/javax/crypto/spec/ |
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) { 44 if (iv == null) { 45 throw new NullPointerException("iv == null"); 47 this.iv = new byte[iv.length]; 48 System.arraycopy(iv, 0, this.iv, 0, iv.length) [all...] |
RC2ParameterSpec.java | 30 private final byte[] iv; field in class:RC2ParameterSpec 41 iv = null; 53 * @param iv 58 public RC2ParameterSpec(int effectiveKeyBits, byte[] iv) { 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, 0, this.iv, 0, 8) [all...] |
GCMParameterSpec.java | 35 private final byte[] iv; field in class:GCMParameterSpec 39 * Initial Vector (IV) from buffer {@code iv} and a tag length of 42 * @throws IllegalArgumentException if the specified {@code iv} is null or 46 public GCMParameterSpec(int tagLen, byte[] iv) { 50 if (iv == null) { 51 throw new IllegalArgumentException("iv == null"); 54 this.iv = iv.clone(); 59 * (IV) of {@code byteCount} bytes from the specified buffer {@code iv [all...] |
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) { 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, 0, this.iv, 0, 2*(wordSize/8)) [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;
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
AesCbcParams.cpp | 38 Uint8Array* AesCbcParams::iv() function in class:WebCore::AesCbcParams 41 const WebKit::WebVector<unsigned char>& iv = m_algorithm.aesCbcParams()->iv(); local 42 m_iv = Uint8Array::create(iv.data(), iv.size());
|
AesCbcParams.idl | 34 readonly attribute Uint8Array 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/chromium_org/third_party/openssl/openssl/crypto/bf/ |
bf_cfb64.c | 74 unsigned char *iv,c,cc; local 76 iv=(unsigned char *)ivec; 83 n2l(iv,v0); ti[0]=v0; 84 n2l(iv,v1); ti[1]=v1; 86 iv=(unsigned char *)ivec; 87 t=ti[0]; l2n(t,iv); 88 t=ti[1]; l2n(t,iv); 89 iv=(unsigned char *)ivec; 91 c= *(in++)^iv[n]; 93 iv[n]=c [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
cfb64enc.c | 74 unsigned char *iv,c,cc; local 76 iv = &(*ivec)[0]; 83 c2l(iv,v0); ti[0]=v0; 84 c2l(iv,v1); ti[1]=v1; 86 iv = &(*ivec)[0]; 87 v0=ti[0]; l2c(v0,iv); 88 v0=ti[1]; l2c(v0,iv); 89 iv = &(*ivec)[0]; 91 c= *(in++)^iv[n]; 93 iv[n]=c [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/rc2/ |
rc2cfb64.c | 75 unsigned char *iv,c,cc; local 77 iv=(unsigned char *)ivec; 84 c2l(iv,v0); ti[0]=v0; 85 c2l(iv,v1); ti[1]=v1; 87 iv=(unsigned char *)ivec; 88 t=ti[0]; l2c(t,iv); 89 t=ti[1]; l2c(t,iv); 90 iv=(unsigned char *)ivec; 92 c= *(in++)^iv[n]; 94 iv[n]=c [all...] |
/external/openssl/crypto/bf/ |
bf_cfb64.c | 74 unsigned char *iv,c,cc; local 76 iv=(unsigned char *)ivec; 83 n2l(iv,v0); ti[0]=v0; 84 n2l(iv,v1); ti[1]=v1; 86 iv=(unsigned char *)ivec; 87 t=ti[0]; l2n(t,iv); 88 t=ti[1]; l2n(t,iv); 89 iv=(unsigned char *)ivec; 91 c= *(in++)^iv[n]; 93 iv[n]=c [all...] |
/external/openssl/crypto/des/ |
cfb64enc.c | 74 unsigned char *iv,c,cc; local 76 iv = &(*ivec)[0]; 83 c2l(iv,v0); ti[0]=v0; 84 c2l(iv,v1); ti[1]=v1; 86 iv = &(*ivec)[0]; 87 v0=ti[0]; l2c(v0,iv); 88 v0=ti[1]; l2c(v0,iv); 89 iv = &(*ivec)[0]; 91 c= *(in++)^iv[n]; 93 iv[n]=c [all...] |
/external/openssl/crypto/rc2/ |
rc2cfb64.c | 75 unsigned char *iv,c,cc; local 77 iv=(unsigned char *)ivec; 84 c2l(iv,v0); ti[0]=v0; 85 c2l(iv,v1); ti[1]=v1; 87 iv=(unsigned char *)ivec; 88 t=ti[0]; l2c(t,iv); 89 t=ti[1]; l2c(t,iv); 90 iv=(unsigned char *)ivec; 92 c= *(in++)^iv[n]; 94 iv[n]=c [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
ctor_init_func.pass.cpp | 34 std::vector<double> iv = d.intervals(); local 35 assert(iv.size() == 2); 36 assert(iv[0] == 0); 37 assert(iv[1] == 1); 45 std::vector<double> iv = d.intervals(); local 46 assert(iv.size() == 2); 47 assert(iv[0] == 0); 48 assert(iv[1] == 1); 56 std::vector<double> iv = d.intervals(); local 57 assert(iv.size() == 2) 67 std::vector<double> iv = d.intervals(); local [all...] |
ctor_default.pass.cpp | 26 std::vector<double> iv = d.intervals(); local 27 assert(iv.size() == 2); 28 assert(iv[0] == 0); 29 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 | 32 std::vector<double> iv = pa.intervals(); local 33 assert(iv.size() == 2); 34 assert(iv[0] == 0); 35 assert(iv[1] == 1); 44 std::vector<double> iv = pa.intervals(); local 45 assert(iv.size() == 2); 46 assert(iv[0] == 0); 47 assert(iv[1] == 1); 56 std::vector<double> iv = pa.intervals(); local 57 assert(iv.size() == 2) 68 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...] |
/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...] |
/external/apache-harmony/crypto/src/test/api/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...] |
/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...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
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 | 34 std::vector<double> iv = d.intervals(); local 35 assert(iv.size() == 2); 36 assert(iv[0] == 0); 37 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); 58 std::vector<double> iv = d.intervals(); local 59 assert(iv.size() == 2) 70 std::vector<double> iv = d.intervals(); local [all...] |
param_ctor_init_func.pass.cpp | 32 std::vector<double> iv = pa.intervals(); local 33 assert(iv.size() == 2); 34 assert(iv[0] == 0); 35 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); 58 std::vector<double> iv = pa.intervals(); local 59 assert(iv.size() == 2) 71 std::vector<double> iv = pa.intervals(); local [all...] |