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

1 2

  /external/boringssl/src/crypto/perlasm/
cbc.pl 15 #&cbc("des_ncbc_encrypt","des_encrypt",0);
16 #&cbc("BF_cbc_encrypt","BF_encrypt","BF_encrypt",
18 #&cbc("des_ncbc_encrypt","des_encrypt","des_encrypt",
20 #&cbc("des_ede3_cbc_encrypt","des_encrypt3","des_decrypt3",
26 sub cbc subroutine
  /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...]
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);
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)
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")))
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)
    [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/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...]
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...]
crypto_internal-cipher.c 26 u8 cbc[32]; member in struct:crypto_cipher::__anon28311::__anon28313
32 u8 cbc[8]; member in struct:crypto_cipher::__anon28311::__anon28314
37 u8 cbc[8]; member in struct:crypto_cipher::__anon28311::__anon28315
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...]
  /prebuilts/go/darwin-x86/src/crypto/cipher/
cbc.go 5 // Cipher block chaining (CBC) mode.
7 // CBC provides confidentiality by xoring (chaining) each plaintext block
14 type cbc struct { type
21 func newCBC(b Block, iv []byte) *cbc {
22 return &cbc{
30 type cbcEncrypter cbc
76 type cbcDecrypter cbc
  /prebuilts/go/linux-x86/src/crypto/cipher/
cbc.go 5 // Cipher block chaining (CBC) mode.
7 // CBC provides confidentiality by xoring (chaining) each plaintext block
14 type cbc struct { type
21 func newCBC(b Block, iv []byte) *cbc {
22 return &cbc{
30 type cbcEncrypter cbc
76 type cbcDecrypter cbc
  /external/strace/tests/
aio.c 110 struct iocb cbc = { local
167 assert(syscall(__NR_io_cancel, ctx, &cbc, ev) == -1 && EINVAL == errno);
170 ctx, (unsigned long long) cbc.aio_data, ev);
  /external/libmicrohttpd/src/testcurl/
test_callback.c 66 struct callback_closure *cbc = calloc(1, sizeof(struct callback_closure)); local
70 &called_twice, cbc,
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_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...]
test_long_header.c 54 struct CBC
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
    [all...]
test_parse_cookies.c 42 struct CBC
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
    [all...]
test_process_arguments.c 41 struct CBC
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
    [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...]
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_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_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...]
  /external/libmicrohttpd/src/testzzuf/
test_long_header.c 56 struct CBC
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
    [all...]

Completed in 147 milliseconds

1 2