Home
last modified time | relevance | path

Searched refs:cbc (Results 1 - 25 of 168) sorted by relevance

1234567

/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_get.c68 struct CBC *cbc = ctx; in copyBuffer() local
70 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
72 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
73 cbc->pos += size * nmemb; in copyBuffer()
116 struct CBC cbc; in testInternalGet() local
119 cbc.buf = buf; in testInternalGet()
120 cbc.size = 2048; in testInternalGet()
121 cbc in testInternalGet()
166 struct CBC cbc; testMultithreadedGet() local
216 struct CBC cbc; testMultithreadedPoolGet() local
267 struct CBC cbc; testExternalGet() local
391 struct CBC cbc; testUnknownPortGet() local
556 struct CBC cbc; testEmptyGet() local
[all...]
H A Dtest_get_chunked.c60 struct CBC *cbc = ctx; in copyBuffer() local
62 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
64 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
65 cbc->pos += size * nmemb; in copyBuffer()
133 validate (struct CBC cbc, int ebase) in validate() argument
138 if (cbc.pos != 128 * 10) in validate()
144 if (0 != memcmp (buf, &cbc.buf[i * 128], 128)) in validate()
148 128, buf, 128, &cbc in validate()
161 struct CBC cbc; testInternalGet() local
203 struct CBC cbc; testMultithreadedGet() local
245 struct CBC cbc; testMultithreadedPoolGet() local
288 struct CBC cbc; testExternalGet() local
[all...]
H A Dtest_get_sendfile.c66 struct CBC *cbc = ctx; in copyBuffer() local
68 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
70 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
71 cbc->pos += size * nmemb; in copyBuffer()
122 struct CBC cbc; in testInternalGet() local
125 cbc.buf = buf; in testInternalGet()
126 cbc.size = 2048; in testInternalGet()
127 cbc in testInternalGet()
171 struct CBC cbc; testMultithreadedGet() local
220 struct CBC cbc; testMultithreadedPoolGet() local
270 struct CBC cbc; testExternalGet() local
393 struct CBC cbc; testUnknownPortGet() local
[all...]
H A Dtest_large_put.c85 struct CBC *cbc = ctx; in copyBuffer() local
87 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
89 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
90 cbc->pos += size * nmemb; in copyBuffer()
146 struct CBC cbc; in testInternalPut() local
152 cbc.buf = buf; in testInternalPut()
153 cbc.size = 2048; in testInternalPut()
154 cbc in testInternalPut()
204 struct CBC cbc; testMultithreadedPut() local
265 struct CBC cbc; testMultithreadedPoolPut() local
327 struct CBC cbc; testExternalPut() local
[all...]
H A Dtest_iplimit.c66 struct CBC *cbc = ctx; in copyBuffer() local
68 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
70 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
71 cbc->pos += size * nmemb; in copyBuffer()
130 struct CBC cbc[3]; in testMultithreadedGet() local
142 cbc[i].buf = buf; in testMultithreadedGet()
143 cbc[i].size = 2048; in testMultithreadedGet()
144 cbc[ in testMultithreadedGet()
221 struct CBC cbc[3]; testMultithreadedPoolGet() local
[all...]
H A Dperf_get.c143 struct CBC *cbc = ctx; in copyBuffer() local
145 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
147 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
148 cbc->pos += size * nmemb; in copyBuffer()
186 struct CBC cbc; in testInternalGet() local
193 cbc.buf = buf; in testInternalGet()
194 cbc.size = 2048; in testInternalGet()
202 cbc in testInternalGet()
246 struct CBC cbc; testMultithreadedGet() local
305 struct CBC cbc; testMultithreadedPoolGet() local
365 struct CBC cbc; testExternalGet() local
[all...]
H A Dtest_postform.c76 struct CBC *cbc = ctx; in copyBuffer() local
78 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
80 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
81 cbc->pos += size * nmemb; in copyBuffer()
179 struct CBC cbc; in testInternalPost() local
183 cbc.buf = buf; in testInternalPost()
184 cbc.size = 2048; in testInternalPost()
185 cbc in testInternalPost()
235 struct CBC cbc; testMultithreadedPost() local
291 struct CBC cbc; testMultithreadedPoolPost() local
348 struct CBC cbc; testExternalPost() local
[all...]
H A Dtest_process_headers.c59 struct CBC *cbc = ctx; in copyBuffer() local
61 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
63 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
64 cbc->pos += size * nmemb; in copyBuffer()
154 struct CBC cbc; in testInternalGet() local
157 cbc.buf = buf; in testInternalGet()
158 cbc.size = 2048; in testInternalGet()
159 cbc in testInternalGet()
203 struct CBC cbc; testMultithreadedGet() local
252 struct CBC cbc; testMultithreadedPoolGet() local
302 struct CBC cbc; testExternalGet() local
[all...]
H A Dtest_put.c72 struct CBC *cbc = ctx; in copyBuffer() local
74 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
76 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
77 cbc->pos += size * nmemb; in copyBuffer()
126 struct CBC cbc; in testInternalPut() local
131 cbc.buf = buf; in testInternalPut()
132 cbc.size = 2048; in testInternalPut()
133 cbc in testInternalPut()
182 struct CBC cbc; testMultithreadedPut() local
239 struct CBC cbc; testMultithreadedPoolPut() local
298 struct CBC cbc; testExternalPut() local
[all...]
H A Dtest_put_chunked.c73 struct CBC *cbc = ctx; in copyBuffer() local
75 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
77 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
78 cbc->pos += size * nmemb; in copyBuffer()
136 struct CBC cbc; in testInternalPut() local
141 cbc.buf = buf; in testInternalPut()
142 cbc.size = 2048; in testInternalPut()
143 cbc in testInternalPut()
192 struct CBC cbc; testMultithreadedPut() local
249 struct CBC cbc; testMultithreadedPoolPut() local
308 struct CBC cbc; testExternalPut() local
[all...]
H A Dtest_post.c82 struct CBC *cbc = ctx; in copyBuffer() local
84 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
86 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
87 cbc->pos += size * nmemb; in copyBuffer()
167 struct CBC cbc; in testInternalPost() local
170 cbc.buf = buf; in testInternalPost()
171 cbc.size = 2048; in testInternalPost()
172 cbc in testInternalPost()
221 struct CBC cbc; testMultithreadedPost() local
275 struct CBC cbc; testMultithreadedPoolPost() local
330 struct CBC cbc; testExternalPost() local
537 struct CBC cbc; testMultithreadedPostCancelPart() local
[all...]
H A Dtest_timeout.c111 struct CBC *cbc = ctx; in copyBuffer() local
113 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
115 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
116 cbc->pos += size * nmemb; in copyBuffer()
167 struct CBC cbc; in testWithoutTimeout() local
172 cbc.buf = buf; in testWithoutTimeout()
173 cbc.size = 2048; in testWithoutTimeout()
174 cbc in testWithoutTimeout()
223 struct CBC cbc; testWithTimeout() local
[all...]
H A Dtest_urlparse.c61 struct CBC *cbc = ctx; in copyBuffer() local
63 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
65 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
66 cbc->pos += size * nmemb; in copyBuffer()
131 struct CBC cbc; in testInternalGet() local
134 cbc.buf = buf; in testInternalGet()
135 cbc.size = 2048; in testInternalGet()
136 cbc in testInternalGet()
[all...]
H A Dtest_quiesce.c61 struct CBC *cbc = ctx; in copyBuffer() local
63 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
65 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
66 cbc->pos += size * nmemb; in copyBuffer()
160 setupCURL (void *cbc) in setupCURL() argument
167 curl_easy_setopt (c, CURLOPT_WRITEDATA, cbc); in setupCURL()
187 struct CBC cbc; in testGet() local
193 cbc in testGet()
308 struct CBC cbc; testExternalGet() local
[all...]
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/
H A Dtls_test_common.c72 struct CBC cbc; in test_daemon_get() local
78 if (NULL == (cbc.buf = malloc (sizeof (char) * len))) in test_daemon_get()
83 cbc.size = len; in test_daemon_get()
84 cbc.pos = 0; in test_daemon_get()
98 curl_easy_setopt (c, CURLOPT_FILE, &cbc); in test_daemon_get()
120 free (cbc.buf); in test_daemon_get()
126 if (memcmp (cbc.buf, test_data, len) != 0) in test_daemon_get()
129 free (cbc.buf); in test_daemon_get()
133 free (cbc.buf); in test_daemon_get()
152 struct CBC *cbc in copyBuffer() local
210 send_curl_req(char *url, struct CBC * cbc, const char *cipher_suite, int proto_version) send_curl_req() argument
320 struct CBC cbc; test_https_transfer() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_internal-cipher.c26 u8 cbc[32]; member
32 u8 cbc[8]; member
37 u8 cbc[8]; member
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init()
84 os_memcpy(ctx->u.des3.cbc, iv, 8); in crypto_cipher_init()
92 os_memcpy(ctx->u.des.cbc, iv, 8); in crypto_cipher_init()
122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt()
124 ctx->u.aes.cbc); in crypto_cipher_encrypt()
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZ in crypto_cipher_encrypt()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_internal-cipher.c26 u8 cbc[32]; member
32 u8 cbc[8]; member
37 u8 cbc[8]; member
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init()
84 os_memcpy(ctx->u.des3.cbc, iv, 8); in crypto_cipher_init()
92 os_memcpy(ctx->u.des.cbc, iv, 8); in crypto_cipher_init()
122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt()
124 ctx->u.aes.cbc); in crypto_cipher_encrypt()
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZ in crypto_cipher_encrypt()
[all...]
H A Daes-cbc.c27 u8 cbc[AES_BLOCK_SIZE]; in aes_128_cbc_encrypt() local
37 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_encrypt()
42 cbc[j] ^= pos[j]; in aes_128_cbc_encrypt()
43 aes_encrypt(ctx, cbc, cbc); in aes_128_cbc_encrypt()
44 os_memcpy(pos, cbc, AES_BLOCK_SIZE); in aes_128_cbc_encrypt()
63 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE]; in aes_128_cbc_decrypt() local
73 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_decrypt()
80 pos[j] ^= cbc[j]; in aes_128_cbc_decrypt()
81 os_memcpy(cbc, tm in aes_128_cbc_decrypt()
[all...]
/third_party/skia/third_party/externals/microhttpd/src/testzzuf/
H A Dtest_put_chunked.c68 struct CBC *cbc = ctx; in copyBuffer() local
70 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
72 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
73 cbc->pos += size * nmemb; in copyBuffer()
129 struct CBC cbc; in testInternalPut() local
134 cbc.buf = buf; in testInternalPut()
135 cbc.size = 2048; in testInternalPut()
136 cbc in testInternalPut()
180 struct CBC cbc; testMultithreadedPut() local
238 struct CBC cbc; testExternalPut() local
[all...]
H A Dtest_get.c53 struct CBC *cbc = ctx; in copyBuffer() local
55 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
57 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
58 cbc->pos += size * nmemb; in copyBuffer()
101 struct CBC cbc; in testInternalGet() local
104 cbc.buf = buf; in testInternalGet()
105 cbc.size = 2048; in testInternalGet()
106 cbc in testInternalGet()
145 struct CBC cbc; testMultithreadedGet() local
190 struct CBC cbc; testExternalGet() local
[all...]
H A Dtest_get_chunked.c51 struct CBC *cbc = ctx; in copyBuffer() local
53 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
55 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
56 cbc->pos += size * nmemb; in copyBuffer()
127 struct CBC cbc; in testInternalGet() local
130 cbc.buf = buf; in testInternalGet()
131 cbc.size = 2048; in testInternalGet()
132 cbc in testInternalGet()
168 struct CBC cbc; testMultithreadedGet() local
210 struct CBC cbc; testExternalGet() local
[all...]
H A Dtest_post.c71 struct CBC *cbc = ctx; in copyBuffer() local
73 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
75 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
76 cbc->pos += size * nmemb; in copyBuffer()
154 struct CBC cbc; in testInternalPost() local
157 cbc.buf = buf; in testInternalPost()
158 cbc.size = 2048; in testInternalPost()
159 cbc in testInternalPost()
205 struct CBC cbc; testMultithreadedPost() local
258 struct CBC cbc; testExternalPost() local
[all...]
H A Dtest_post_form.c69 struct CBC *cbc = ctx; in copyBuffer() local
71 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
73 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
74 cbc->pos += size * nmemb; in copyBuffer()
172 struct CBC cbc; in testInternalPost() local
176 cbc.buf = buf; in testInternalPost()
177 cbc.size = 2048; in testInternalPost()
178 cbc in testInternalPost()
223 struct CBC cbc; testMultithreadedPost() local
274 struct CBC cbc; testExternalPost() local
[all...]
H A Dtest_put.c68 struct CBC *cbc = ctx; in copyBuffer() local
70 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
72 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
73 cbc->pos += size * nmemb; in copyBuffer()
123 struct CBC cbc; in testInternalPut() local
128 cbc.buf = buf; in testInternalPut()
129 cbc.size = 2048; in testInternalPut()
130 cbc in testInternalPut()
174 struct CBC cbc; testMultithreadedPut() local
226 struct CBC cbc; testExternalPut() local
[all...]
H A Dtest_put_large.c76 struct CBC *cbc = ctx; in copyBuffer() local
78 if (cbc->pos + size * nmemb > cbc->size) in copyBuffer()
80 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); in copyBuffer()
81 cbc->pos += size * nmemb; in copyBuffer()
136 struct CBC cbc; in testInternalPut() local
142 cbc.buf = buf; in testInternalPut()
143 cbc.size = 2048; in testInternalPut()
144 cbc in testInternalPut()
188 struct CBC cbc; testMultithreadedPut() local
241 struct CBC cbc; testExternalPut() local
[all...]

Completed in 10 milliseconds

1234567