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

1 2 3 4

  /external/openssh/regress/
conch-ciphers.sh 13 for c in aes256-ctr aes256-cbc aes192-ctr aes192-cbc aes128-ctr aes128-cbc \
14 cast128-cbc blowfish 3des-cbc ; do
  /external/wpa_supplicant_8/src/crypto/
aes-cbc.c 2 * AES-128 CBC
17 * aes_128_cbc_encrypt - AES-128 CBC encryption
19 * @iv: Encryption IV for CBC mode (16 bytes)
27 u8 cbc[AES_BLOCK_SIZE]; local
37 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
42 cbc[j] ^= pos[j];
43 aes_encrypt(ctx, cbc, cbc);
44 os_memcpy(pos, cbc, AES_BLOCK_SIZE);
53 * aes_128_cbc_decrypt - AES-128 CBC decryptio
63 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE]; local
    [all...]
crypto_internal-cipher.c 26 u8 cbc[32]; member in struct:crypto_cipher::__anon39415::__anon39417
32 u8 cbc[8]; member in struct:crypto_cipher::__anon39415::__anon39418
37 u8 cbc[8]; member in struct:crypto_cipher::__anon39415::__anon39419
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE);
84 os_memcpy(ctx->u.des3.cbc, iv, 8);
92 os_memcpy(ctx->u.des.cbc, iv, 8);
122 ctx->u.aes.cbc[j] ^= plain[j];
123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc,
124 ctx->u.aes.cbc);
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE)
    [all...]
aes-omac1.c 2 * One-key CBC MAC (OMAC1) hash with AES
30 * omac1_aes_vector - One-Key CBC MAC (OMAC1) hash with AES
47 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; local
57 os_memset(cbc, 0, AES_BLOCK_SIZE);
70 cbc[i] ^= *pos++;
85 aes_encrypt(ctx, cbc, cbc);
95 cbc[i] ^= *pos++;
108 cbc[left] ^= 0x80;
113 pad[i] ^= cbc[i]
    [all...]
  /external/libmicrohttpd/src/testcurl/https/
test_tls_options.c 47 struct CBC cbc; local
48 if (NULL == (cbc.buf = malloc (sizeof (char) * 256)))
54 cbc.size = 256;
55 cbc.pos = 0;
60 free (cbc.buf);
67 send_curl_req (url, &cbc, cipher_suite, curl_req_ssl_version))
69 free (cbc.buf);
74 free (cbc.buf);
131 MHD_OPTION_HTTPS_PRIORITIES, "NONE:+VERS-TLS1.0:+AES-128-CBC:+SHA1:+RSA:+COMP-NULL"
    [all...]
tls_test_common.c 72 struct CBC cbc; local
78 if (NULL == (cbc.buf = malloc (sizeof (char) * len)))
83 cbc.size = len;
84 cbc.pos = 0;
98 curl_easy_setopt (c, CURLOPT_FILE, &cbc);
120 free (cbc.buf);
126 if (memcmp (cbc.buf, test_data, len) != 0)
129 free (cbc.buf);
133 free (cbc.buf)
152 struct CBC *cbc = ctx; local
320 struct CBC cbc; local
    [all...]
  /external/libmicrohttpd/src/testcurl/
test_get_chunked.c 50 struct CBC
60 struct CBC *cbc = ctx; local
62 if (cbc->pos + size * nmemb > cbc->size)
64 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
65 cbc->pos += size * nmemb;
133 validate (struct CBC cbc, int ebase
161 struct CBC cbc; local
203 struct CBC cbc; local
245 struct CBC cbc; local
288 struct CBC cbc; local
    [all...]
test_get_sendfile.c 56 struct CBC
66 struct CBC *cbc = ctx; local
68 if (cbc->pos + size * nmemb > cbc->size)
70 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
71 cbc->pos += size * nmemb;
122 struct CBC cbc; local
171 struct CBC cbc; local
220 struct CBC cbc; local
270 struct CBC cbc; local
393 struct CBC cbc; local
    [all...]
test_large_put.c 61 struct CBC
85 struct CBC *cbc = ctx; local
87 if (cbc->pos + size * nmemb > cbc->size)
89 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
90 cbc->pos += size * nmemb;
146 struct CBC cbc; local
204 struct CBC cbc; local
265 struct CBC cbc; local
327 struct CBC cbc; local
    [all...]
test_digestauth.c 51 struct CBC
61 struct CBC *cbc = ctx; local
63 if (cbc->pos + size * nmemb > cbc->size)
65 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
66 cbc->pos += size * nmemb;
134 struct CBC cbc; local
    [all...]
test_digestauth_with_arguments.c 50 struct CBC
60 struct CBC *cbc = ctx; local
62 if (cbc->pos + size * nmemb > cbc->size)
64 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
65 cbc->pos += size * nmemb;
133 struct CBC cbc; local
    [all...]
test_urlparse.c 51 struct CBC
61 struct CBC *cbc = ctx; local
63 if (cbc->pos + size * nmemb > cbc->size)
65 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
66 cbc->pos += size * nmemb;
131 struct CBC cbc; local
    [all...]
test_iplimit.c 56 struct CBC
66 struct CBC *cbc = ctx; local
68 if (cbc->pos + size * nmemb > cbc->size)
70 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
71 cbc->pos += size * nmemb;
130 struct CBC cbc[3] local
221 struct CBC cbc[3]; local
    [all...]
perf_get.c 130 struct CBC
143 struct CBC *cbc = ctx; local
145 if (cbc->pos + size * nmemb > cbc->size)
147 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
148 cbc->pos += size * nmemb;
186 struct CBC cbc; local
246 struct CBC cbc; local
305 struct CBC cbc; local
365 struct CBC cbc; local
    [all...]
test_postform.c 51 struct CBC
76 struct CBC *cbc = ctx; local
78 if (cbc->pos + size * nmemb > cbc->size)
80 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
81 cbc->pos += size * nmemb;
179 struct CBC cbc; local
235 struct CBC cbc; local
291 struct CBC cbc; local
348 struct CBC cbc; local
    [all...]
test_process_headers.c 49 struct CBC
59 struct CBC *cbc = ctx; local
61 if (cbc->pos + size * nmemb > cbc->size)
63 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
64 cbc->pos += size * nmemb;
154 struct CBC cbc; local
203 struct CBC cbc; local
252 struct CBC cbc; local
302 struct CBC cbc; local
    [all...]
test_put.c 48 struct CBC
72 struct CBC *cbc = ctx; local
74 if (cbc->pos + size * nmemb > cbc->size)
76 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
77 cbc->pos += size * nmemb;
126 struct CBC cbc; local
182 struct CBC cbc; local
239 struct CBC cbc; local
298 struct CBC cbc; local
    [all...]
test_put_chunked.c 47 struct CBC
73 struct CBC *cbc = ctx; local
75 if (cbc->pos + size * nmemb > cbc->size)
77 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
78 cbc->pos += size * nmemb;
136 struct CBC cbc; local
192 struct CBC cbc; local
249 struct CBC cbc; local
308 struct CBC cbc; local
    [all...]
test_get.c 58 struct CBC
68 struct CBC *cbc = ctx; local
70 if (cbc->pos + size * nmemb > cbc->size)
72 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
73 cbc->pos += size * nmemb;
116 struct CBC cbc; local
166 struct CBC cbc; local
216 struct CBC cbc; local
267 struct CBC cbc; local
391 struct CBC cbc; local
556 struct CBC cbc; local
    [all...]
test_timeout.c 45 struct CBC
111 struct CBC *cbc = ctx; local
113 if (cbc->pos + size * nmemb > cbc->size)
115 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
116 cbc->pos += size * nmemb;
167 struct CBC cbc; local
223 struct CBC cbc; local
    [all...]
  /external/libmicrohttpd/src/testzzuf/
test_get.c 43 struct CBC
53 struct CBC *cbc = ctx; local
55 if (cbc->pos + size * nmemb > cbc->size)
57 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
58 cbc->pos += size * nmemb;
101 struct CBC cbc; local
145 struct CBC cbc; local
190 struct CBC cbc; local
    [all...]
test_get_chunked.c 41 struct CBC
51 struct CBC *cbc = ctx; local
53 if (cbc->pos + size * nmemb > cbc->size)
55 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
56 cbc->pos += size * nmemb;
127 struct CBC cbc; local
168 struct CBC cbc; local
210 struct CBC cbc; local
    [all...]
test_put_chunked.c 42 struct CBC
68 struct CBC *cbc = ctx; local
70 if (cbc->pos + size * nmemb > cbc->size)
72 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
73 cbc->pos += size * nmemb;
129 struct CBC cbc; local
180 struct CBC cbc; local
238 struct CBC cbc; local
    [all...]
test_post.c 46 struct CBC
71 struct CBC *cbc = ctx; local
73 if (cbc->pos + size * nmemb > cbc->size)
75 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
76 cbc->pos += size * nmemb;
154 struct CBC cbc; local
205 struct CBC cbc; local
258 struct CBC cbc; local
    [all...]
test_post_form.c 44 struct CBC
69 struct CBC *cbc = ctx; local
71 if (cbc->pos + size * nmemb > cbc->size)
73 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb);
74 cbc->pos += size * nmemb;
172 struct CBC cbc; local
223 struct CBC cbc; local
274 struct CBC cbc; local
    [all...]

Completed in 257 milliseconds

1 2 3 4