/test/helpers/ |
A D | ssl_test_ctx.c | 66 int value; member 76 *value = enums[i].value; in parse_enum() 88 if (enums[i].value == value) { in enum_name() 473 value)) { in parse_certstatus() 533 if (value == NULL) in parse_expected_key_type() 540 nid = OBJ_sn2nid(value); in parse_expected_key_type() 558 nid = OBJ_ln2nid(value); in parse_expected_key_type() 562 nid = OBJ_sn2nid(value); in parse_expected_key_type() 625 if (value == NULL) in parse_expected_sign_hash() 627 nid = OBJ_sn2nid(value); in parse_expected_sign_hash() [all …]
|
A D | pkcs12.c | 353 TEST_info("Adding attribute %s = %s", p_attr->oid, p_attr->value); in add_attributes() 357 if (!TEST_true(PKCS12_add_friendlyname(bag, p_attr->value, -1))) in add_attributes() 477 char *value = NULL; in check_asn1_string() local 484 value = OPENSSL_uni2asc(av->value.bmpstring->data, in check_asn1_string() 485 av->value.bmpstring->length); in check_asn1_string() 486 if (!TEST_str_eq(txt, (char *)value)) in check_asn1_string() 492 av->value.utf8string->length)) in check_asn1_string() 498 (char *)av->value.octet_string->data, in check_asn1_string() 499 av->value.octet_string->length)) in check_asn1_string() 509 OPENSSL_free(value); in check_asn1_string() [all …]
|
/test/ |
A D | params_api_test.c | 57 unsigned char value[MAX_LEN]; member 217 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int() 247 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_long() 276 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint() 306 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_ulong() 336 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int32() 366 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint32() 396 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int64() 426 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint64() 456 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_size_t() [all …]
|
A D | evp_test.c | 475 int ncopy = atoi(value); in evp_test_buffer_ncopy() 597 if (*value == '\0') { in parse_bin() 612 if (value[0] == '"') { in parse_bin() 642 const char *value_str = value[0] == '"' ? value + offset + 1 : value + offset; in parse_bin_chunk() 647 if (*value == '\0' || strcmp(value, "\"\"") == 0) { in parse_bin_chunk() 660 if (value[0] == '"') { in parse_bin_chunk() 772 sz = atoi(value); in digest_test_parse() 1059 i = atoi(value); in cipher_test_parse() 1074 i = atoi(value); in cipher_test_parse() 5207 char *p = pp->value; in take_value() [all …]
|
A D | lms_parse.py | 21 def print_label(label, value): argument 22 print(label + " = " + value) 24 def print_hexlabel(label, tag, value): argument 25 print(label + " = hex" + tag + ":" + value)
|
A D | d2i_test.c | 47 ASN1_VALUE *value = NULL; in test_bad_asn1() local 74 value = ASN1_item_d2i(NULL, &buf_ptr, len, item_type); in test_bad_asn1() 75 if (value == NULL) { in test_bad_asn1() 81 derlen = ASN1_item_i2d(value, &der, item_type); in test_bad_asn1() 105 ASN1_item_free(value, item_type); in test_bad_asn1()
|
A D | params_conversion_test.c | 66 pc->param = OSSL_PARAM_locate(params, type = pp->value); in param_conversion_load_stanza() 76 if (OPENSSL_strcasecmp(pp->value, "invalid") != 0) { in param_conversion_load_stanza() 78 pc->i32 = (int32_t)strtoimax(pp->value, &p, 10); in param_conversion_load_stanza() 85 if (OPENSSL_strcasecmp(pp->value, "invalid") != 0) { in param_conversion_load_stanza() 87 pc->i64 = (int64_t)strtoimax(pp->value, &p, 10); in param_conversion_load_stanza() 94 if (OPENSSL_strcasecmp(pp->value, "invalid") != 0) { in param_conversion_load_stanza() 96 pc->u32 = (uint32_t)strtoumax(pp->value, &p, 10); in param_conversion_load_stanza() 103 if (OPENSSL_strcasecmp(pp->value, "invalid") != 0) { in param_conversion_load_stanza() 105 pc->u64 = (uint64_t)strtoumax(pp->value, &p, 10); in param_conversion_load_stanza() 112 if (OPENSSL_strcasecmp(pp->value, "invalid") != 0) { in param_conversion_load_stanza() [all …]
|
A D | mlkem_parse.py | 28 def print_label(label, value): argument 29 print(label + " = " + value) 31 def print_hexlabel(label, tag, value): argument 32 print(label + " = hex" + tag + ":" + value)
|
A D | sparse_array_test.c | 111 static void leaf_check_all(ossl_uintmax_t n, char *value, void *arg) in leaf_check_all() argument 120 && n == cases[i].n && strcmp(value, cases[i].v) == 0) { in leaf_check_all() 124 TEST_error("Index %ju with value %s not found", n, value); in leaf_check_all() 127 static void leaf_delete(ossl_uintmax_t n, char *value, void *arg) in leaf_delete() argument 135 if (n == cases[i].n && strcmp(value, cases[i].v) == 0) { in leaf_delete() 140 TEST_error("Index %ju with value %s not found", n, value); in leaf_delete()
|
A D | cc_dummy.c | 46 size_t value; in dummy_set_input_params() local 50 if (!OSSL_PARAM_get_size_t(p, &value)) in dummy_set_input_params() 52 if (value < QUIC_MIN_INITIAL_DGRAM_LEN) in dummy_set_input_params() 55 d->max_dgram_len = value; in dummy_set_input_params()
|
A D | mldsa_parse.py | 26 def print_label(label, value): argument 27 print(label + " = " + value) 29 def print_hexlabel(label, tag, value): argument 30 print(label + " = hex" + tag + ":" + value)
|
A D | mldsa_wycheproof_parse.py | 28 def print_label(label, value): argument 29 print(label + " = " + value) 31 def print_hexlabel(label, tag, value): argument 32 print(label + " = hex" + tag + ":" + value)
|
A D | slhdsa_parse.py | 32 def print_label(label, value): argument 33 print(label + " = " + value) 35 def print_hexlabel(label, tag, value): argument 36 print(label + " = hex" + tag + ":" + value)
|
A D | bioprinttest.c | 117 size_t value; member 142 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value); in test_zu() 149 uint64_t value; member 170 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value); in test_j()
|
A D | stack_test.c | 59 int value; in test_int_stack() member 72 int value; in test_int_stack() member 144 if (!TEST_int_eq(sk_sint_find(s, &finds[i].value), finds[i].sorted)) { in test_int_stack() 151 if (!TEST_int_eq(sk_sint_find_ex(s, &finds[i].value), finds[i].ex)) { in test_int_stack() 156 if (!TEST_int_eq(sk_sint_find_ex(s, &exfinds[i].value), exfinds[i].ex)) { in test_int_stack()
|
A D | v3ext.c | 325 const char *value; member 378 BIO *extbio = BIO_new_mem_buf(extvalues[i].value, in test_ext_syntax() 379 (int)strlen(extvalues[i].value)); in test_ext_syntax() 400 TEST_info("Value: %s", extvalues[i].value); in test_ext_syntax() 408 TEST_info("Value: %s", extvalues[i].value); in test_ext_syntax()
|
A D | fips-alt.cnf | 12 # returns the expected value
|
A D | cmp_msg_test.c | 396 if ((cresp->certifiedKeyPair->certOrEncCert->value.certificate = in execute_certrep_create() 444 if (!TEST_ptr(ossl_cmp_revrepcontent_get_CertId(rpmsg->body->value.rp, 0))) in execute_rp_create() 447 if (!TEST_ptr(ossl_cmp_revrepcontent_get_pkisi(rpmsg->body->value.rp, 0))) in execute_rp_create() 476 value.pollRep, 77))) in execute_pollrep_create() 479 value.pollRep, 88))) in execute_pollrep_create()
|
/test/testutil/ |
A D | stanza.c | 90 const char *value; in test_readstanza() local 119 if ((value = strip_spaces(equals)) == NULL) in test_readstanza() 120 value = ""; in test_readstanza() 123 TEST_info("Starting \"%s\" tests at line %d", value, s->curr); in test_readstanza() 139 || !TEST_ptr(pp->value = OPENSSL_strdup(value))) in test_readstanza() 155 OPENSSL_free(pp->value); in test_clearstanza()
|
A D | driver.c | 190 int value; in process_shared_options() local 220 if (!opt_int(opt_arg(), &value)) in process_shared_options() 222 level = 4 * value; in process_shared_options() 226 if (!opt_int(opt_arg(), &value)) in process_shared_options() 228 set_seed(value); in process_shared_options()
|
/test/recipes/ |
A D | 90-test_sslapi.t | 99 my ($infile, $key, $value, $outfile) = @_; 102 if ($value eq "") { 105 $rep = "$key = $value\n";
|
A D | 03-test_fipsinstall.t | 98 my ($key, $value, $outfile) = @_; 102 if ($value eq "") { 105 $rep = "$key = $value\n"; 116 my ($value, $outfile) = @_; 118 my $rep = "$value";
|
/test/quic-openssl-docker/hq-interop/ |
A D | quic-hq-interop.c | 541 SSL_free(poll_list[poll_idx].desc.value.ssl); in build_request_set() 652 while (!SSL_write_ex2(poll_list[poll_idx].desc.value.ssl, in build_request_set() 655 if (handle_io_failure(poll_list[poll_idx].desc.value.ssl, 0) == 1) in build_request_set() 668 SSL_free(poll_list[poll_idx].desc.value.ssl); in build_request_set() 974 if (!SSL_read_ex(poll_list[poll_idx].desc.value.ssl, buf, in main() 976 switch (handle_io_failure(poll_list[poll_idx].desc.value.ssl, in main() 1048 SSL_free(poll_list[poll_idx].desc.value.ssl); in main()
|
/test/recipes/25-test_configutl_data/ |
A D | order.cnf.expected | 2 aaatest = value
|
A D | order.cnf | 21 aaatest = value
|