Home
last modified time | relevance | path

Searched refs:cbuf (Results 1 – 5 of 5) sorted by relevance

/openssl/test/
H A Dssl_old_test.c2030 char cbuf[1024 * 8]; in doit_localhost() local
2034 memset(cbuf, 0, sizeof(cbuf)); in doit_localhost()
2045 i = sizeof(cbuf); in doit_localhost()
2074 r = BIO_read(c_ssl_bio, cbuf, sizeof(cbuf)); in doit_localhost()
2309 char cbuf[1024 * 8]; in doit_biopair() local
2313 memset(cbuf, 0, sizeof(cbuf)); in doit_biopair()
2324 i = sizeof(cbuf); in doit_biopair()
2353 r = BIO_read(c_ssl_bio, cbuf, sizeof(cbuf)); in doit_biopair()
2611 char *cbuf = NULL, *sbuf = NULL; in doit() local
2720 i = BIO_write(c_bio, cbuf, j); in doit()
[all …]
H A Ddhtest.c53 unsigned char *cbuf = NULL; in dh_test() local
220 if (!TEST_ptr(cbuf = OPENSSL_malloc(clen)) in dh_test()
221 || !TEST_true((cout = DH_compute_key(cbuf, apub_key, c)) != -1)) in dh_test()
226 || !TEST_mem_eq(abuf, aout, cbuf, cout)) in dh_test()
244 OPENSSL_free(cbuf); in dh_test()
H A Dsslapitest.c1048 cbuf[0] = count++; in ping_pong_query()
1054 if (!TEST_true(SSL_write(clientssl, cbuf, sizeof(cbuf)) == sizeof(cbuf))) in ping_pong_query()
1066 while ((err = SSL_read(clientssl, &cbuf, sizeof(cbuf))) != sizeof(cbuf)) { in ping_pong_query()
1078 if (!TEST_mem_eq(cbuf, sizeof(cbuf), sbuf, sizeof(sbuf))) in ping_pong_query()
1758 cbuf[i] = i & 0xff; in execute_cleanse_plaintext()
1761 if (!TEST_int_eq(SSL_write(clientssl, cbuf, sizeof(cbuf)), sizeof(cbuf))) in execute_cleanse_plaintext()
1767 if (!TEST_mem_eq(cbuf, sizeof(cbuf), sbuf, sizeof(sbuf))) in execute_cleanse_plaintext()
1787 if (!TEST_mem_eq(cbuf, sizeof(cbuf), zbuf, sizeof(cbuf))) in execute_cleanse_plaintext()
1794 if (!TEST_mem_eq(cbuf, sizeof(cbuf), sbuf, sizeof(cbuf))) in execute_cleanse_plaintext()
1798 memset(cbuf, 0, sizeof(cbuf)); in execute_cleanse_plaintext()
[all …]
/openssl/engines/
H A De_afalg.c496 char cbuf[CMSG_SPACE(ALG_IV_LEN(ALG_AES_IV_LEN)) + CMSG_SPACE(ALG_OP_LEN)]; in afalg_start_cipher_sk() local
499 memset(cbuf, 0, sizeof(cbuf)); in afalg_start_cipher_sk()
500 msg.msg_control = cbuf; in afalg_start_cipher_sk()
501 msg.msg_controllen = sizeof(cbuf); in afalg_start_cipher_sk()
/openssl/apps/
H A Ds_client.c862 char *cbuf = NULL, *sbuf = NULL, *mbuf = NULL; in s_client_main() local
986 cbuf = app_malloc(BUFSIZZ, "cbuf"); in s_client_main()
2883 if (!BIO_read_ex(edfile, cbuf, BUFSIZZ, &readbytes)) in s_client_main()
2905 user_data_init(&user_data, con, cbuf, BUFSIZZ, cmdmode); in s_client_main()
3249 i = raw_read_stdin(cbuf, BUFSIZZ / 2); in s_client_main()
3253 if (cbuf[j] == '\n') in s_client_main()
3256 cbuf[j + lf_num] = cbuf[j]; in s_client_main()
3257 if (cbuf[j] == '\n') { in s_client_main()
3260 cbuf[j + lf_num] = '\r'; in s_client_main()
3265 i = raw_read_stdin(cbuf, BUFSIZZ); in s_client_main()
[all …]

Completed in 63 milliseconds