/test/ |
A D | ciphername_test.c | 26 int id; member 370 static const char *get_std_name_by_id(int id) in get_std_name_by_id() argument 375 if (cipher_names[i].id == id) in get_std_name_by_id() 388 int i, id = 0, ret = 0; in test_cipher_name() local 435 id = SSL_CIPHER_get_id(c) & 0xFFFF; in test_cipher_name() 436 if ((id == 0xC102) || (id == 0xFF85) ||(id == 0xFF87)) in test_cipher_name() 440 q = get_std_name_by_id(id); in test_cipher_name() 443 q, id); in test_cipher_name() 449 q, p, id); in test_cipher_name() 457 q, r, id); in test_cipher_name()
|
A D | x509_internal_test.c | 184 int id, idx, *p; in tests_X509_PURPOSE() local 192 #define ARGS(id, sn) id, X509_TRUST_MAX, 0, ck_purp, LN, sn, NULL in tests_X509_PURPOSE() argument 194 && TEST_int_eq(X509_PURPOSE_get_count() + 1, id) in tests_X509_PURPOSE() 195 && TEST_int_eq(X509_PURPOSE_get_by_id(id), -1) in tests_X509_PURPOSE() 199 && TEST_int_eq(X509_PURPOSE_add(ARGS(id, SN)), 1) in tests_X509_PURPOSE() 201 && TEST_int_eq(X509_PURPOSE_get_by_id(id), idx) in tests_X509_PURPOSE() 204 && TEST_int_eq(X509_PURPOSE_add(ARGS(id, SN)), 1) in tests_X509_PURPOSE() 206 && TEST_int_eq(X509_PURPOSE_get_by_id(id), idx) in tests_X509_PURPOSE() 211 && TEST_int_eq(X509_PURPOSE_add(ARGS(id, SN"_different")), 0) in tests_X509_PURPOSE() 214 && TEST_int_eq(X509_PURPOSE_get_id(xp), id) in tests_X509_PURPOSE() [all …]
|
A D | evp_pkey_dparams_test.c | 245 static int params_bio_test(int id) in params_bio_test() argument 251 int type = pkey_params[id].type; in params_bio_test() 253 ret = TEST_ptr(in = BIO_new_mem_buf(pkey_params[id].param_bin, in params_bio_test() 254 (int)pkey_params[id].param_bin_len)) in params_bio_test() 262 && TEST_mem_eq(pkey_params[id].param_bin, in params_bio_test() 263 (int)pkey_params[id].param_bin_len, in params_bio_test() 273 static int set_enc_pubkey_test(int id) in set_enc_pubkey_test() argument 278 int type = pkey_params[id].type; in set_enc_pubkey_test() 279 const struct pubkey *keys = pkey_params[id].keys; in set_enc_pubkey_test() 284 ret = TEST_ptr(in = BIO_new_mem_buf(pkey_params[id].param_bin, in set_enc_pubkey_test() [all …]
|
A D | namemap_internal_test.c | 79 int id; in test_digestbyname() local 85 id = ossl_namemap_add_name(nm, 0, "SHA256"); in test_digestbyname() 86 if (!TEST_int_ne(id, 0)) in test_digestbyname() 88 if (!TEST_int_eq(ossl_namemap_add_name(nm, id, "foo"), id)) in test_digestbyname() 107 int id; in test_cipherbyname() local 113 id = ossl_namemap_add_name(nm, 0, "AES-128-CBC"); in test_cipherbyname() 114 if (!TEST_int_ne(id, 0)) in test_cipherbyname() 116 if (!TEST_int_eq(ossl_namemap_add_name(nm, id, "bar"), id)) in test_cipherbyname()
|
A D | evp_fetch_prov_test.c | 190 static int test_explicit_EVP_MD_fetch(const char *id) in test_explicit_EVP_MD_fetch() argument 200 md = EVP_MD_fetch(ctx, id, fetch_property); in test_explicit_EVP_MD_fetch() 236 char id[OSSL_MAX_NAME_SIZE] = { 0 }; in test_explicit_EVP_MD_fetch_by_X509_ALGOR() local 244 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 0), 0)) in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 248 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 1), 0)) in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 253 ret = test_explicit_EVP_MD_fetch(id); in test_explicit_EVP_MD_fetch_by_X509_ALGOR() 318 cipher = EVP_CIPHER_fetch(ctx, id, fetch_property); in test_explicit_EVP_CIPHER_fetch() 352 char id[OSSL_MAX_NAME_SIZE] = { 0 }; in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() local 360 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 0), 0)) in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() 364 if (!TEST_int_gt(OBJ_obj2txt(id, sizeof(id), obj, 1), 0)) in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() [all …]
|
A D | bio_meth_test.c | 15 int i, ret = 0, id; in test_bio_meth() local 19 id = BIO_get_new_index(); in test_bio_meth() 20 if (!TEST_int_eq(id, BIO_TYPE_START + 1)) in test_bio_meth() 23 if (!TEST_ptr(meth1 = BIO_meth_new(id, "Method1")) in test_bio_meth() 37 for (i = id + 1; i <= BIO_TYPE_MASK; ++i) { in test_bio_meth() 46 || !TEST_ptr_eq(BIO_find_type(bio3, id), bio1)) in test_bio_meth()
|
A D | data2.bin | 13 vitae justo eget. Enim tortor at auctor urna nunc id. Laoreet non 20 vitae. Tellus id interdum velit laoreet id donec ultrices. 32 leo vel fringilla. Vel facilisis volutpat est velit egestas dui id ornare 33 arcu. Arcu dictum varius duis at. Pretium lectus quam id leo in vitae. 44 quisque id diam. Urna nec tincidunt praesent semper feugiat nibh sed. Sed 49 condimentum id. Et odio pellentesque diam volutpat commodo sed egestas 50 egestas. Tempor id eu nisl nunc mi ipsum. Egestas erat imperdiet sed 56 Aliquet enim tortor at auctor urna nunc id cursus metus. Sit amet luctus 59 viverra ipsum nunc aliquet bibendum enim. Iaculis urna id volutpat lacus
|
A D | quic_wire_test.c | 784 if (!TEST_mem_eq(f.conn_id.id, f.conn_id.id_len, in encode_case_16_dec() 1062 uint64_t id = 0; in encode_case_22_dec() local 1072 && !TEST_uint64_t_eq(id, 0x1234)) in encode_case_22_dec() 1075 id = 0; in encode_case_22_dec() 1087 && !TEST_uint64_t_eq(id, 0x1234)) in encode_case_22_dec() 1100 && !TEST_uint64_t_eq(id, 0x9781)) in encode_case_22_dec() 1103 id = 0; in encode_case_22_dec() 1115 && !TEST_uint64_t_eq(id, 0x9781)) in encode_case_22_dec() 1149 uint64_t id = 0, value = 0; in encode_case_23_dec() local 1157 && !TEST_uint64_t_eq(id, 0x1234)) in encode_case_23_dec() [all …]
|
A D | acvp_test.c | 143 static int ecdsa_keygen_test(int id) in ecdsa_keygen_test() argument 275 static int ecdsa_siggen_test(int id) in ecdsa_siggen_test() argument 302 static int ecdsa_sigver_test(int id) in ecdsa_sigver_test() argument 553 static int dsa_keygen_test(int id) in dsa_keygen_test() argument 714 static int dsa_pqver_test(int id) in dsa_pqver_test() argument 783 static int dsa_siggen_test(int id) in dsa_siggen_test() argument 813 static int dsa_sigver_test(int id) in dsa_sigver_test() argument 1295 static int rsa_keygen_test(int id) in rsa_keygen_test() argument 1402 static int rsa_siggen_test(int id) in rsa_siggen_test() argument 1447 static int rsa_sigver_test(int id) in rsa_sigver_test() argument [all …]
|
A D | bn_internal_test.c | 48 static int test_is_composite_enhanced(int id) in test_is_composite_enhanced() argument 56 && TEST_true(BN_set_word(bn, composites[id])) in test_is_composite_enhanced()
|
A D | proxy.cnf | 28 proxyCertInfo = critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB 58 language = id-ppl-anyLanguage
|
A D | quic_txp_test.c | 316 #define OP_STREAM_NEW(id) \ argument 317 { OPK_STREAM_NEW, (id) }, 318 #define OP_STREAM_SEND(id, buf) \ argument 320 #define OP_STREAM_FIN(id) \ argument 321 { OPK_STREAM_FIN, (id) }, 322 #define OP_STOP_SENDING(id, aec) \ argument 323 { OPK_STOP_SENDING, (id), (aec) }, 324 #define OP_RESET_STREAM(id, aec) \ argument 325 { OPK_RESET_STREAM, (id), (aec) }, 328 #define OP_STREAM_TXFC_BUMP(id, cwm) \ argument [all …]
|
A D | quic_qlog_test.c | 89 qti.odcid.id[0] = 0x55; in test_qlog() 223 qti.odcid.id[0] = 0x55; in test_qlog_filter()
|
A D | quicapitest.c | 1311 *id = (const unsigned char *)pskid; in use_session_cb() 1867 uint64_t id; member 2096 uint64_t id, unsigned char *data, in tparam_handle() argument 2104 if (!TEST_ptr(ossl_quic_wire_encode_transport_param_bytes(wpkt, id, in tparam_handle() 2111 if (id == t->id in tparam_handle() 2121 if (id != t->id in tparam_handle() 2132 if (!TEST_ptr(ossl_quic_wire_encode_transport_param_bytes(wpkt, id, in tparam_handle() 2139 if (id == t->id) { in tparam_handle() 2150 if (id == t->id) in tparam_handle() 2171 uint64_t id; in tparam_on_enc_ext() local [all …]
|
A D | quic_rcidm_test.c | 35 ncid_frame_1.conn_id.id[0] = 3; in test_rcidm() 39 ncid_frame_2.conn_id.id[0] = 4; in test_rcidm()
|
A D | threadstest.c | 120 static void rwwriter_fn(int id, int *iterations) in rwwriter_fn() argument 315 static void writer_fn(int id, int *iterations) in writer_fn() argument 1179 int id = get_new_uid(); in test_obj_create_one() local 1181 BIO_snprintf(tids, sizeof(tids), "%d", id); in test_obj_create_one() 1185 if (!TEST_int_ne(id, 0) in test_obj_create_one() 1186 || !TEST_true(id = OBJ_create(oid, sn, ln)) in test_obj_create_one() 1187 || !TEST_true(OBJ_add_sigid(id, NID_sha3_256, NID_rsa))) in test_obj_create_one()
|
/test/recipes/04-test_asn1_stable_parse_data/ |
A D | asn1_stable_parse.cnf | 8 id-tc26 = min 9 id-tc27 = :::::: 10 id-tc28 = ,,,,,, 11 id-tc29 = :,:,:, 12 id-tc30 = n1:min 13 id-tc31 = n2:max 14 id-tc32 = n3: 15 id-tc33 = :0
|
/test/recipes/30-test_evp_data/ |
A D | evpkdf_x942.txt | 19 Ctrl.cekalg = cekalg:id-aes128-wrap 25 Ctrl.cekalg = cekalg:id-aes256-wrap 34 Ctrl.cekalg = cekalg:id-aes256-wrap 41 Ctrl.cekalg = cekalg:id-aes256-wrap 49 Ctrl.cekalg = cekalg:id-aes256-wrap 57 Ctrl.cekalg = cekalg:id-aes256-wrap 64 Ctrl.cekalg = cekalg:id-aes256-wrap 71 Ctrl.cekalg = cekalg:id-aes256-wrap 85 Ctrl.cekalg = cekalg:id-aes128-wrap 97 Ctrl.cekalg = cekalg:id-aes128-wrap [all …]
|
A D | evppbe_pkcs12.txt | 17 id = 1 25 id = 2 33 id = 3 41 id = 1 49 id = 2 57 id = 3
|
A D | evpkdf_scrypt.txt | 14 Title = Scrypt tests (from draft-josefsson-id-scrypt-kdf-03 and others) 16 KDF = id-scrypt 24 KDF = id-scrypt 32 KDF = id-scrypt 40 KDF = id-scrypt 48 KDF = id-scrypt 57 KDF = id-scrypt
|
A D | evpciph_aes_wrap.txt | 9 # Cipher names id-aesXXX-wrap are to test aliases. 12 Cipher = id-aes128-wrap 17 Cipher = id-aes192-wrap 22 Cipher = id-aes256-wrap 27 Cipher = id-aes192-wrap 32 Cipher = id-aes256-wrap 51 Cipher = id-aes256-wrap 59 Cipher = id-aes192-wrap-pad 64 Cipher = id-aes192-wrap-pad
|
A D | evpkdf_x942_des.txt | 14 Ctrl.cekalg = cekalg:id-smime-alg-CMS3DESwrap 24 Ctrl.cekalg = cekalg:id-smime-alg-CMS3DESwrap
|
A D | evppkey_kdf_scrypt.txt | 14 Title = id-scrypt tests (from draft-josefsson-id-scrypt-kdf-03 and others)
|
/test/recipes/75-test_quicapi_data/ |
A D | ssltraceref-zlib.txt | 78 Source Conn Id: <zero length id> 90 Source Conn Id: <zero length id> 109 Source Conn Id: <zero length id> 121 Source Conn Id: <zero length id> 134 Destination Conn Id: <zero length id> 153 Source Conn Id: <zero length id> 168 Destination Conn Id: <zero length id> 176 Destination Conn Id: <zero length id> 222 Destination Conn Id: <zero length id> 385 Source Conn Id: <zero length id> [all …]
|
A D | ssltraceref.txt | 76 Source Conn Id: <zero length id> 88 Source Conn Id: <zero length id> 107 Source Conn Id: <zero length id> 119 Source Conn Id: <zero length id> 132 Destination Conn Id: <zero length id> 151 Source Conn Id: <zero length id> 166 Destination Conn Id: <zero length id> 174 Destination Conn Id: <zero length id> 220 Destination Conn Id: <zero length id> 383 Source Conn Id: <zero length id> [all …]
|