Home
last modified time | relevance | path

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

/openssl-master/test/
A Dssl_old_test.c1973 char cbuf[1024 * 8]; in doit_localhost() local
1977 memset(cbuf, 0, sizeof(cbuf)); in doit_localhost()
1988 i = sizeof(cbuf); in doit_localhost()
2017 r = BIO_read(c_ssl_bio, cbuf, sizeof(cbuf)); in doit_localhost()
2235 char cbuf[1024 * 8]; in doit_biopair() local
2239 memset(cbuf, 0, sizeof(cbuf)); in doit_biopair()
2250 i = sizeof(cbuf); in doit_biopair()
2279 r = BIO_read(c_ssl_bio, cbuf, sizeof(cbuf)); in doit_biopair()
2537 char *cbuf = NULL, *sbuf = NULL; in doit() local
2646 i = BIO_write(c_bio, cbuf, j); in doit()
[all …]
A Ddhtest.c53 unsigned char *cbuf = NULL; in dh_test() local
197 if (!TEST_ptr(cbuf = OPENSSL_malloc(clen)) in dh_test()
198 || !TEST_true((cout = DH_compute_key(cbuf, apub_key, c)) != -1)) in dh_test()
203 || !TEST_mem_eq(abuf, aout, cbuf, cout)) in dh_test()
221 OPENSSL_free(cbuf); in dh_test()
A Dsslapitest.c1061 cbuf[0] = count++; in ping_pong_query()
1067 if (!TEST_true(SSL_write(clientssl, cbuf, sizeof(cbuf)) == sizeof(cbuf))) in ping_pong_query()
1079 while ((err = SSL_read(clientssl, &cbuf, sizeof(cbuf))) != sizeof(cbuf)) { in ping_pong_query()
1091 if (!TEST_mem_eq(cbuf, sizeof(cbuf), sbuf, sizeof(sbuf))) in ping_pong_query()
1553 cbuf[i] = i & 0xff; in execute_cleanse_plaintext()
1556 if (!TEST_int_eq(SSL_write(clientssl, cbuf, sizeof(cbuf)), sizeof(cbuf))) in execute_cleanse_plaintext()
1562 if (!TEST_mem_eq(cbuf, sizeof(cbuf), sbuf, sizeof(sbuf))) in execute_cleanse_plaintext()
1579 if (!TEST_mem_eq(cbuf, sizeof(cbuf), zbuf, sizeof(cbuf))) in execute_cleanse_plaintext()
1586 if (!TEST_mem_eq(cbuf, sizeof(cbuf), sbuf, sizeof(cbuf))) in execute_cleanse_plaintext()
1590 memset(cbuf, 0, sizeof(cbuf)); in execute_cleanse_plaintext()
[all …]
/openssl-master/apps/
A Ds_client.c805 char *cbuf = NULL, *sbuf = NULL, *mbuf = NULL; in s_client_main() local
921 cbuf = app_malloc(BUFSIZZ, "cbuf"); in s_client_main()
2955 i = raw_read_stdin(cbuf, BUFSIZZ / 2); in s_client_main()
2959 if (cbuf[j] == '\n') in s_client_main()
2962 cbuf[j + lf_num] = cbuf[j]; in s_client_main()
2963 if (cbuf[j] == '\n') { in s_client_main()
2966 cbuf[j + lf_num] = '\r'; in s_client_main()
2971 i = raw_read_stdin(cbuf, BUFSIZZ); in s_client_main()
2987 } else if (!c_ign_eof && (cbuf[0] == 'K' || cbuf[0] == 'k') in s_client_main()
2998 ebcdic2ascii(cbuf, cbuf, i); in s_client_main()
[all …]
/openssl-master/engines/
A De_afalg.c474 char cbuf[CMSG_SPACE(ALG_IV_LEN(ALG_AES_IV_LEN)) + CMSG_SPACE(ALG_OP_LEN)]; in afalg_start_cipher_sk() local
477 memset(cbuf, 0, sizeof(cbuf)); in afalg_start_cipher_sk()
478 msg.msg_control = cbuf; in afalg_start_cipher_sk()
479 msg.msg_controllen = sizeof(cbuf); in afalg_start_cipher_sk()

Completed in 31 milliseconds