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

1 2 3 4 5

  /external/clang/test/CodeGen/
overloadable.c 15 int iv = 17; local
21 iv = f(iv);
  /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...]
bf_ofb64.c 75 unsigned char *iv; local
78 iv=(unsigned char *)ivec;
79 n2l(iv,v0);
80 n2l(iv,v1);
103 iv=(unsigned char *)ivec;
104 l2n(v0,iv);
105 l2n(v1,iv);
  /external/openssl/crypto/des/
cbc_cksm.c 69 const unsigned char *iv = &(*ivec)[0]; local
71 c2l(iv,tout0);
72 c2l(iv,tout1);
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...]
ncbc_enc.c 78 unsigned char *iv; local
80 iv = &(*ivec)[0];
84 c2l(iv,tout0);
85 c2l(iv,tout1);
106 iv = &(*ivec)[0];
107 l2c(tout0,iv);
108 l2c(tout1,iv);
113 c2l(iv,xor0);
114 c2l(iv,xor1);
141 iv = &(*ivec)[0]
    [all...]
cfb64ede.c 76 unsigned char *iv,c,cc; local
78 iv=&(*ivec)[0];
85 c2l(iv,v0);
86 c2l(iv,v1);
94 iv = &(*ivec)[0];
95 l2c(v0,iv);
96 l2c(v1,iv);
97 iv = &(*ivec)[0];
99 c= *(in++)^iv[n];
101 iv[n]=c
158 unsigned char *iv; local
    [all...]
cfb_enc.c 79 unsigned char *iv; local
93 iv = &(*ivec)[0];
94 c2l(iv,v0);
95 c2l(iv,v1);
119 iv=&ovec[0];
120 l2c(v0,iv);
121 l2c(v1,iv);
122 l2c(d0,iv);
123 l2c(d1,iv);
136 iv=&ovec[0]
    [all...]
ofb64ede.c 77 unsigned char *iv; local
80 iv = &(*ivec)[0];
81 c2l(iv,v0);
82 c2l(iv,v1);
110 iv = &(*ivec)[0];
111 l2c(v0,iv);
112 l2c(v1,iv);
ofb64enc.c 75 unsigned char *iv; local
78 iv = &(*ivec)[0];
79 c2l(iv,v0);
80 c2l(iv,v1);
103 iv = &(*ivec)[0];
104 l2c(v0,iv);
105 l2c(v1,iv);
ofb_enc.c 76 unsigned char *iv; local
96 iv = &(*ivec)[0];
97 c2l(iv,v0);
98 c2l(iv,v1);
130 iv = &(*ivec)[0];
131 l2c(v0,iv);
132 l2c(v1,iv);
pcbc_enc.c 68 unsigned char *out,*iv; local
72 iv = &(*ivec)[0];
76 c2l(iv,xor0);
77 c2l(iv,xor1);
100 c2l(iv,xor0); c2l(iv,xor1);
xcbc_enc.c 123 unsigned char *iv; local
132 iv = &(*ivec)[0];
136 c2l(iv,tout0);
137 c2l(iv,tout1);
157 iv = &(*ivec)[0];
158 l2c(tout0,iv);
159 l2c(tout1,iv);
163 c2l(iv,xor0);
164 c2l(iv,xor1);
189 iv = &(*ivec)[0]
    [all...]
  /external/openssl/crypto/modes/
cbc128.c 75 const unsigned char *iv = ivec; local
84 out[n] = in[n] ^ iv[n];
86 iv = out;
95 *(size_t*)(in+n) ^ *(size_t*)(iv+n);
97 iv = out;
106 out[n] = in[n] ^ iv[n];
108 out[n] = iv[n];
110 iv = out;
116 memcpy(ivec,iv,16);
130 const unsigned char *iv = ivec local
    [all...]
  /external/openssl/crypto/pkcs12/
p12_crpt.c 76 unsigned char key[EVP_MAX_KEY_LENGTH], iv[EVP_MAX_IV_LENGTH]; local
102 iter, EVP_CIPHER_iv_length(cipher), iv, md)) {
108 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de);
110 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH);
  /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...]
rc2ofb64.c 76 unsigned char *iv; local
79 iv=(unsigned char *)ivec;
80 c2l(iv,v0);
81 c2l(iv,v1);
104 iv=(unsigned char *)ivec;
105 l2c(v0,iv);
106 l2c(v1,iv);
  /frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
ActivityTestMain.java 52 ImageView iv = new ImageView(this); local
54 iv.setImageBitmap(bm);
56 iv.setBackgroundResource(android.R.drawable.gallery_thumb);
59 container.addView(iv, new LinearLayout.LayoutParams(w, h));
61 iv.setOnClickListener(new View.OnClickListener() {
79 iv.setOnLongClickListener(new View.OnLongClickListener() {
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/
PKCS12PBEParams.java 18 ASN1OctetString iv; field in class:PKCS12PBEParams
24 this.iv = new DEROctetString(salt);
31 iv = (ASN1OctetString)seq.getObjectAt(0);
57 return iv.getOctets();
64 v.add(iv);
  /external/bouncycastle/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/crypto/
encryptor_unittest.cc 21 // The IV must be exactly as long as the cipher block size.
22 std::string iv("the iv: 16 bytes");
23 EXPECT_EQ(16U, iv.size());
24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv));
95 // The IV must be exactly as long a the cipher block size.
96 std::string iv(reinterpret_cast<const char*>(raw_iv), sizeof(raw_iv));
97 EXPECT_EQ(16U, iv.size());
98 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv));
117 std::string iv = "Sweet Sixteen IV" local
145 std::string iv = "Sweet Sixteen IV"; local
173 std::string iv = "Sweet Sixteen IV"; local
187 std::string iv = "OnlyForteen :("; local
198 std::string iv = "Sweet Sixteen IV"; local
219 std::string iv = "Sweet Sixteen IV"; local
    [all...]
  /external/dropbear/libtomcrypt/testprof/
modes_test.c 6 unsigned char pt[64], ct[64], tmp[64], key[16], iv[16], iv2[16]; local
19 /* make a random pt, key and iv */
22 yarrow_read(iv, 16, &yarrow_prng);
42 DO(cbc_start(cipher_idx, iv, key, 16, 0, &cbc));
45 if (l != 16 || memcmp(iv2, iv, 16)) {
64 DO(cfb_start(cipher_idx, iv, key, 16, 0, &cfb));
67 /* note we don't memcmp iv2/iv since cfb_start processes the IV for the first block */
75 DO(cfb_setiv(iv, l, &cfb));
87 DO(ofb_start(cipher_idx, iv, key, 16, 0, &ofb))
    [all...]
  /external/openssl/crypto/evp/
p5_crpt.c 78 unsigned char key[EVP_MAX_KEY_LENGTH], iv[EVP_MAX_IV_LENGTH]; local
125 memcpy(iv, md_tmp + (16 - EVP_CIPHER_iv_length(cipher)),
127 EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de);
130 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH);
  /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...]

Completed in 2196 milliseconds

1 2 3 4 5