Searched refs:buf1 (Results 1 – 5 of 5) sorted by relevance
/openssl/test/ |
H A D | packettest.c | 243 char buf1[10], buf2[10]; in test_PACKET_strndup() local 248 memset(buf1, 'x', 10); in test_PACKET_strndup() 270 char buf1[10], buf2[10]; in test_PACKET_contains_zero_byte() local 273 memset(buf1, 'x', 10); in test_PACKET_contains_zero_byte() 350 unsigned char buf1[BUF_LEN]; in test_PACKET_get_length_prefixed_1() local 356 buf1[0] = (unsigned char)len; in test_PACKET_get_length_prefixed_1() 358 buf1[i] = (i * 2) & 0xff; in test_PACKET_get_length_prefixed_1() 375 unsigned char buf1[1024]; in test_PACKET_get_length_prefixed_2() local 399 unsigned char buf1[1024]; in test_PACKET_get_length_prefixed_3() local 406 buf1[i] = (i * 2) & 0xff; in test_PACKET_get_length_prefixed_3() [all …]
|
H A D | drbgtest.c | 805 unsigned char buf1[51], buf2[sizeof(buf1)]; in test_rand_prediction_resistance() local 852 if (!TEST_true(EVP_RAND_generate(z, buf1, sizeof(buf1), 0, 0, NULL, 0)) in test_rand_prediction_resistance() 867 || !TEST_mem_ne(buf1, sizeof(buf1), buf2, sizeof(buf2))) in test_rand_prediction_resistance()
|
H A D | quicapitest.c | 444 char buf1[512], buf2[512]; in compare_with_file() local 474 while (BIO_gets(file, buf1, sizeof(buf1)) > 0) { in compare_with_file() 479 strip_line_ends(buf1); in compare_with_file() 481 if (strlen(buf1) != strlen(buf2)) { in compare_with_file() 483 TEST_info("%s", buf1); in compare_with_file() 487 for (i = 0; i < strlen(buf1); i++) { in compare_with_file() 489 if (buf1[i] == '?') in compare_with_file() 492 if (!TEST_str_eq(buf1, buf2)) in compare_with_file()
|
H A D | ectest.c | 2816 unsigned char *buf1 = NULL, *buf2 = NULL; in custom_params_test() local 2871 || !TEST_ptr(buf1 = OPENSSL_malloc(bsize)) in custom_params_test() 2874 buf1, bsize, ctx), bsize) in custom_params_test() 2895 || !TEST_true(EC_POINT_oct2point(altgroup, G2, buf1, bsize, ctx)) in custom_params_test() 2918 buf1, bsize, ctx), bsize) in custom_params_test() 2932 || !TEST_mem_eq(buf1, bsize, buf2, bsize)) in custom_params_test() 2991 || !TEST_int_eq(EVP_PKEY_derive(pctx1, buf1, &sslen), 1)) in custom_params_test() 3003 if (!TEST_mem_eq(buf1, sslen, buf2, t)) in custom_params_test() 3049 || !TEST_int_eq(EVP_PKEY_derive(pctx1, buf1, &t), 1) in custom_params_test() 3051 || !TEST_mem_eq(buf1, t, buf2, sslen)) in custom_params_test() [all …]
|
/openssl/apps/ |
H A D | fipsinstall.c | 518 unsigned char *buf1 = NULL, *buf2 = NULL; in verify_config() local 537 buf1 = OPENSSL_hexstr2buf(s, &len); in verify_config() 538 if (buf1 == NULL in verify_config() 540 || memcmp(module_mac, buf1, module_mac_len) != 0) { in verify_config() 565 OPENSSL_free(buf1); in verify_config()
|
Completed in 24 milliseconds