/external/libmicrohttpd/src/testcurl/https/ |
H A D | 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);
|
H A D | test_https_session_info.c | 97 struct CBC cbc; local 101 if (NULL == (cbc.buf = malloc (sizeof (char) * 255))) 103 cbc.size = 255; 104 cbc.pos = 0; 135 curl_easy_setopt (c, CURLOPT_FILE, &cbc); 155 free (cbc.buf); 161 free (cbc.buf);
|
H A D | test_empty_response.c | 67 struct CBC cbc; local 80 cbc.buf = buf; 81 cbc.size = 2048; 82 cbc.pos = 0; 100 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 181 if (cbc.pos != 0)
|
H A D | test_https_get_select.c | 81 struct CBC cbc; local 95 cbc.buf = buf; 96 cbc.size = 2048; 97 cbc.pos = 0; 112 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 202 if (cbc.pos != strlen ("/hello_world")) 204 if (0 != strncmp ("/hello_world", cbc.buf, strlen ("/hello_world")))
|
H A D | test_https_sni.c | 184 struct CBC cbc; local 190 if (NULL == (cbc.buf = malloc (sizeof (char) * len))) 195 cbc.size = len; 196 cbc.pos = 0; 207 curl_easy_setopt (c, CURLOPT_FILE, &cbc); 227 free (cbc.buf); 234 if (memcmp (cbc.buf, test_data, len) != 0) 237 free (cbc.buf); 241 free (cbc.buf);
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes-cbc.c | 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); 63 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE]; local 73 os_memcpy(cbc, iv, AES_BLOCK_SIZE); 80 pos[j] ^= cbc[j]; 81 os_memcpy(cbc, tm [all...] |
H A D | aes-omac1.c | 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];
|
H A D | crypto_internal-cipher.c | 26 u8 cbc[32]; member in struct:crypto_cipher::__anon31293::__anon31295 32 u8 cbc[8]; member in struct:crypto_cipher::__anon31293::__anon31296 37 u8 cbc[8]; member in struct:crypto_cipher::__anon31293::__anon31297 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_SIZ [all...] |
/external/wpa_supplicant_8/src/crypto/ |
H A D | aes-cbc.c | 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); 63 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE]; local 73 os_memcpy(cbc, iv, AES_BLOCK_SIZE); 80 pos[j] ^= cbc[j]; 81 os_memcpy(cbc, tm [all...] |
H A D | aes-omac1.c | 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];
|
H A D | crypto_internal-cipher.c | 26 u8 cbc[32]; member in struct:crypto_cipher::__anon31562::__anon31564 32 u8 cbc[8]; member in struct:crypto_cipher::__anon31562::__anon31565 37 u8 cbc[8]; member in struct:crypto_cipher::__anon31562::__anon31566 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_SIZ [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | aes-cbc.c | 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); 63 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE]; local 73 os_memcpy(cbc, iv, AES_BLOCK_SIZE); 80 pos[j] ^= cbc[j]; 81 os_memcpy(cbc, tm [all...] |
H A D | aes-omac1.c | 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];
|
/external/libmicrohttpd/src/testcurl/ |
H A D | test_callback.c | 66 struct callback_closure *cbc = calloc(1, sizeof(struct callback_closure)); local 70 &called_twice, cbc,
|
H A D | test_digestauth.c | 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 140 cbc.buf = buf; 141 cbc.size = 2048; 142 cbc [all...] |
H A D | test_digestauth_with_arguments.c | 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 139 cbc.buf = buf; 140 cbc.size = 2048; 141 cbc [all...] |
H A D | test_iplimit.c | 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 142 cbc[i].buf = buf; 143 cbc[i].size = 2048; 144 cbc[ 221 struct CBC cbc[3]; local [all...] |
H A D | test_long_header.c | 97 struct CBC cbc; local 101 cbc.buf = buf; 102 cbc.size = 2048; 103 cbc.pos = 0; 126 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 167 struct CBC cbc; local 172 cbc.buf = buf; 173 cbc.size = 2048; 174 cbc.pos = 0; 201 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); [all...] |
H A D | test_parse_cookies.c | 52 struct CBC *cbc = ctx; local 54 if (cbc->pos + size * nmemb > cbc->size) 56 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); 57 cbc->pos += size * nmemb; 114 struct CBC cbc; local 127 cbc.buf = buf; 128 cbc.size = 2048; 129 cbc [all...] |
H A D | test_process_arguments.c | 52 struct CBC *cbc = ctx; local 54 if (cbc->pos + size * nmemb > cbc->size) 56 memcpy (&cbc->buf[cbc->pos], ptr, size * nmemb); 57 cbc->pos += size * nmemb; 117 struct CBC cbc; local 130 cbc.buf = buf; 131 cbc.size = 2048; 132 cbc [all...] |
H A D | test_urlparse.c | 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 134 cbc.buf = buf; 135 cbc.size = 2048; 136 cbc [all...] |
/external/libmicrohttpd/src/testzzuf/ |
H A D | test_long_header.c | 99 struct CBC cbc; local 103 cbc.buf = buf; 104 cbc.size = 2048; 105 cbc.pos = 0; 130 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 160 struct CBC cbc; local 165 cbc.buf = buf; 166 cbc.size = 2048; 167 cbc.pos = 0; 193 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); [all...] |
/external/strace/tests/ |
H A D | aio.c | 183 const struct iocb *cbc = tail_memdup(&proto_cbc, sizeof(proto_cbc)); local 298 rc = syscall(__NR_io_cancel, *ctx, cbc + 1, ev); 299 printf("io_cancel(%#lx, %p, %p) = %s\n", *ctx, cbc + 1, ev, 302 rc = syscall(__NR_io_cancel, *ctx, cbc, ev); 306 *ctx, cbc->aio_data, ev, sprintrc(rc));
|
/external/strace/tests-m32/ |
H A D | aio.c | 183 const struct iocb *cbc = tail_memdup(&proto_cbc, sizeof(proto_cbc)); local 298 rc = syscall(__NR_io_cancel, *ctx, cbc + 1, ev); 299 printf("io_cancel(%#lx, %p, %p) = %s\n", *ctx, cbc + 1, ev, 302 rc = syscall(__NR_io_cancel, *ctx, cbc, ev); 306 *ctx, cbc->aio_data, ev, sprintrc(rc));
|
/external/strace/tests-mx32/ |
H A D | aio.c | 183 const struct iocb *cbc = tail_memdup(&proto_cbc, sizeof(proto_cbc)); local 298 rc = syscall(__NR_io_cancel, *ctx, cbc + 1, ev); 299 printf("io_cancel(%#lx, %p, %p) = %s\n", *ctx, cbc + 1, ev, 302 rc = syscall(__NR_io_cancel, *ctx, cbc, ev); 306 *ctx, cbc->aio_data, ev, sprintrc(rc));
|