| /src/crypto/external/apache2/openssl/dist/test/ |
| prov_config_test.c | 29 if (!TEST_ptr(ctx)) 39 if (!TEST_ptr(sha256)) 55 if (!TEST_ptr(ctx)) 81 if (!TEST_ptr(module_path)) 85 if (!TEST_ptr(full_path)) 96 if (!TEST_ptr(pathedconfig)) 100 if (!TEST_ptr(ctx)) 107 if (!TEST_ptr(prov = OSSL_PROVIDER_load(ctx, "test"))) 127 if (!TEST_ptr(configfile = test_get_argument(0))) 130 if (!TEST_ptr(recurseconfigfile = test_get_argument(1)) [all...] |
| evp_byname_test.c | 21 if (!TEST_ptr(md = EVP_get_digestbyname("SHA2-256"))) 30 if (!TEST_ptr(cipher = EVP_get_cipherbyname("AES-256-WRAP")))
|
| keymgmt_internal_test.c | 55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))) 56 || !TEST_ptr(fixture->ctx1 = OSSL_LIB_CTX_new()) 57 || !TEST_ptr(fixture->prov1 = OSSL_PROVIDER_load(fixture->ctx1, 59 || !TEST_ptr(fixture->ctx2 = OSSL_LIB_CTX_new()) 60 || !TEST_ptr(fixture->prov2 = OSSL_PROVIDER_load(fixture->ctx2, 109 if (!TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_N)) 111 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_E)) 113 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_D)) 117 if (!TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_FACTOR1)) 119 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_FACTOR2) [all...] |
| bio_meth_test.c | 23 if (!TEST_ptr(meth1 = BIO_meth_new(id, "Method1")) 24 || !TEST_ptr(meth2 = BIO_meth_new(BIO_TYPE_NONE, "Method2")) 25 || !TEST_ptr(meth3 = BIO_meth_new(BIO_TYPE_NONE | BIO_TYPE_FILTER, "Method3")) 26 || !TEST_ptr(bio1 = BIO_new(meth1)) 27 || !TEST_ptr(bio2 = BIO_new(meth2)) 28 || !TEST_ptr(bio3 = BIO_new(meth3)) 29 || !TEST_ptr(membio = BIO_new(BIO_s_mem())))
|
| pem_read_depr_test.c | 31 if (!TEST_ptr(paramsfile)) 47 if (!TEST_ptr(infile)) 51 if (!TEST_ptr(dh)) 68 if (!TEST_ptr(infile)) 72 if (!TEST_ptr(dh)) 91 if (!TEST_ptr(infile)) 95 if (!TEST_ptr(dsa)) 112 if (!TEST_ptr(infile)) 116 if (!TEST_ptr(dsa)) 133 if (!TEST_ptr(infile) [all...] |
| provider_default_search_path_test.c | 22 && TEST_ptr(retrieved_path = OSSL_PROVIDER_get0_default_search_path(ctx)) 41 && TEST_ptr(ctx = OSSL_LIB_CTX_new()) 43 && TEST_ptr(retrieved_defctx_path = OSSL_PROVIDER_get0_default_search_path(NULL)) 45 && TEST_ptr(retrieved_path = OSSL_PROVIDER_get0_default_search_path(ctx))
|
| provider_fallback_test.c | 22 && TEST_ptr(rsameth = EVP_KEYMGMT_fetch(ctx, "RSA", NULL)) 23 && TEST_ptr(prov = EVP_KEYMGMT_get0_provider(rsameth)) 41 ok = TEST_ptr(ctx = OSSL_LIB_CTX_new()) 42 && TEST_ptr(prov = OSSL_PROVIDER_load(ctx, "default"));
|
| nodefltctxtest.c | 24 if (!TEST_ptr(ctx)) 28 if (!TEST_ptr(md))
|
| x509_check_cert_pkey_test.c | 59 if (!TEST_ptr(bio = BIO_new_file(k, "r"))) 62 if (!TEST_ptr(pkey = PEM_read_bio_PrivateKey(bio, NULL, NULL, NULL))) 68 if (!TEST_ptr(bio = BIO_new_file(c, "r"))) 119 if (!TEST_ptr((in = BIO_new_file(file, "r")))) 163 if (!TEST_ptr(file = test_get_argument(0)) 164 || !TEST_ptr(num = test_get_argument(1))) 172 if (!TEST_ptr(c = test_get_argument(0)) 173 || !TEST_ptr(k = test_get_argument(1)) 174 || !TEST_ptr(t = test_get_argument(2)) 175 || !TEST_ptr(e = test_get_argument(3))) [all...] |
| ocspapitest.c | 31 if (!TEST_ptr(certbio = BIO_new_file(certstr, "r"))) 35 if (!TEST_ptr(keybio = BIO_new_file(privkeystr, "r"))) 39 if (!TEST_ptr(cert) || !TEST_ptr(key)) 55 if (!TEST_ptr(certbio = BIO_new_file(certstr, "r"))) 59 if (!TEST_ptr(cert)) 81 if (!TEST_ptr(name) 82 || !TEST_ptr(key) 83 || !TEST_ptr(serial) 91 if (!TEST_ptr(bs [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| context_internal_test.c | 56 return TEST_ptr(data = ossl_lib_ctx_get_data(ctx, 0, &foo_method)) 65 TEST_ptr(ctx = OSSL_LIB_CTX_new()) 85 if (!TEST_ptr(global) 86 || !TEST_ptr(local) 88 || !TEST_ptr(data = ossl_lib_ctx_get_data(local, 0, &foo_method))) 97 if (!TEST_ptr(data = ossl_lib_ctx_get_data(NULL, 0, &foo_method)) 102 if (!TEST_ptr(prev = OSSL_LIB_CTX_set0_default(local)) 104 || !TEST_ptr(data = ossl_lib_ctx_get_data(NULL, 0, &foo_method)) 110 || !TEST_ptr(data = ossl_lib_ctx_get_data(NULL, 0, &foo_method)) 119 if (!TEST_ptr(prev = OSSL_LIB_CTX_set0_default(global) [all...] |
| prov_config_test.c | 29 if (!TEST_ptr(ctx)) 39 if (!TEST_ptr(sha256)) 55 if (!TEST_ptr(ctx)) 81 if (!TEST_ptr(module_path)) 85 if (!TEST_ptr(full_path)) 96 if (!TEST_ptr(pathedconfig)) 100 if (!TEST_ptr(ctx)) 107 if (!TEST_ptr(prov = OSSL_PROVIDER_load(ctx, "test"))) 127 if (!TEST_ptr(configfile = test_get_argument(0))) 130 if (!TEST_ptr(recurseconfigfile = test_get_argument(1)) [all...] |
| evp_byname_test.c | 21 if (!TEST_ptr(md = EVP_get_digestbyname("SHA2-256"))) 30 if (!TEST_ptr(cipher = EVP_get_cipherbyname("AES-256-WRAP")))
|
| keymgmt_internal_test.c | 55 if (!TEST_ptr(fixture = OPENSSL_zalloc(sizeof(*fixture))) 56 || !TEST_ptr(fixture->ctx1 = OSSL_LIB_CTX_new()) 57 || !TEST_ptr(fixture->prov1 = OSSL_PROVIDER_load(fixture->ctx1, 59 || !TEST_ptr(fixture->ctx2 = OSSL_LIB_CTX_new()) 60 || !TEST_ptr(fixture->prov2 = OSSL_PROVIDER_load(fixture->ctx2, 109 if (!TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_N)) 111 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_E)) 113 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_D)) 117 if (!TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_FACTOR1)) 119 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_FACTOR2) [all...] |
| provider_pkey_test.c | 30 if (!TEST_ptr(sig)) 33 if (!TEST_ptr(prov = EVP_SIGNATURE_get0_provider(sig))) 58 if (!TEST_ptr(fake_rsa = fake_rsa_start(libctx))) 61 if (!TEST_ptr(deflt = OSSL_PROVIDER_load(libctx, "default"))) 70 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", 74 || !TEST_ptr(pkey)) 89 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, 128 if (!TEST_ptr(deflt = OSSL_PROVIDER_load(libctx, "default"))) 132 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", NULL))) 138 if (!TEST_ptr(provider = EVP_PKEY_CTX_get0_provider(ctx)) [all...] |
| pem_read_depr_test.c | 31 if (!TEST_ptr(paramsfile)) 47 if (!TEST_ptr(infile)) 51 if (!TEST_ptr(dh)) 68 if (!TEST_ptr(infile)) 72 if (!TEST_ptr(dh)) 91 if (!TEST_ptr(infile)) 95 if (!TEST_ptr(dsa)) 112 if (!TEST_ptr(infile)) 116 if (!TEST_ptr(dsa)) 133 if (!TEST_ptr(infile) [all...] |
| provider_fallback_test.c | 22 && TEST_ptr(rsameth = EVP_KEYMGMT_fetch(ctx, "RSA", NULL)) 23 && TEST_ptr(prov = EVP_KEYMGMT_get0_provider(rsameth)) 41 ok = TEST_ptr(ctx = OSSL_LIB_CTX_new()) 42 && TEST_ptr(prov = OSSL_PROVIDER_load(ctx, "default"));
|
| nodefltctxtest.c | 24 if (!TEST_ptr(ctx)) 28 if (!TEST_ptr(md))
|
| x509_check_cert_pkey_test.c | 59 if (!TEST_ptr(bio = BIO_new_file(k, "r"))) 62 if (!TEST_ptr(pkey = PEM_read_bio_PrivateKey(bio, NULL, NULL, NULL))) 68 if (!TEST_ptr(bio = BIO_new_file(c, "r"))) 120 if (!TEST_ptr((in = BIO_new_file(file, "r")))) 163 if (!TEST_ptr(file = test_get_argument(0)) 164 || !TEST_ptr(num = test_get_argument(1))) 170 if (!TEST_ptr(c = test_get_argument(0)) 171 || !TEST_ptr(k = test_get_argument(1)) 172 || !TEST_ptr(t = test_get_argument(2)) 173 || !TEST_ptr(e = test_get_argument(3))) [all...] |
| ocspapitest.c | 31 if (!TEST_ptr(certbio = BIO_new_file(certstr, "r"))) 35 if (!TEST_ptr(keybio = BIO_new_file(privkeystr, "r"))) 39 if (!TEST_ptr(cert) || !TEST_ptr(key)) 55 if (!TEST_ptr(certbio = BIO_new_file(certstr, "r"))) 59 if (!TEST_ptr(cert)) 81 if (!TEST_ptr(name) 82 || !TEST_ptr(key) 83 || !TEST_ptr(serial) 91 if (!TEST_ptr(bs [all...] |
| param_build_test.c | 26 if (!TEST_ptr(bld = OSSL_PARAM_BLD_new()) 27 || !TEST_ptr(zbn = BN_new()) 29 || !TEST_ptr(params_blt = OSSL_PARAM_BLD_to_param(bld))) 34 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "zeronumber")) 58 if (!TEST_ptr(bld = OSSL_PARAM_BLD_new()) 59 || !TEST_ptr(zbn = BN_secure_new()) 61 || !TEST_ptr(params_blt = OSSL_PARAM_BLD_to_param(bld))) 66 if (!TEST_ptr(p = OSSL_PARAM_locate(params, "zeronumber")) 101 if (!TEST_ptr(bld) 107 || !TEST_ptr(zbn = BN_new() [all...] |
| /src/crypto/external/apache2/openssl/dist/test/testutil/ |
| load.c | 23 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new(BIO_s_file()))) 26 && TEST_ptr(cert = X509_new_ex(libctx, NULL))) 27 (void)TEST_ptr(cert = PEM_read_bio_X509(bio, &cert, NULL, NULL)); 39 if (!TEST_ptr(file) || (bio = BIO_new_file(file, "r")) == NULL) 74 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new(BIO_s_file()))) 79 if (TEST_ptr(key = PEM_read_bio_PrivateKey_ex(bio, NULL, NULL, NULL, 97 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new_file(file, "rb")) [all...] |
| /src/crypto/external/bsd/openssl/dist/test/testutil/ |
| load.c | 23 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new(BIO_s_file()))) 26 && TEST_ptr(cert = X509_new_ex(libctx, NULL))) 27 (void)TEST_ptr(cert = PEM_read_bio_X509(bio, &cert, NULL, NULL)); 39 if (!TEST_ptr(file) || (bio = BIO_new_file(file, "r")) == NULL) 74 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new(BIO_s_file()))) 79 if (TEST_ptr(key = PEM_read_bio_PrivateKey_ex(bio, NULL, NULL, NULL, 97 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new_file(file, "rb")) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| cmsapitest.c | 23 if (!TEST_ptr(certstack) || !TEST_ptr(msgbio) || !TEST_ptr(outmsgbio)) 30 if (!TEST_ptr(content)) 57 if (!TEST_ptr(certin = test_get_argument(0)) 58 || !TEST_ptr(privkeyin = test_get_argument(1))) 62 if (!TEST_ptr(certbio)) 71 if (!TEST_ptr(privkeybio)) {
|
| x509_check_cert_pkey_test.c | 59 if (!TEST_ptr(bio = BIO_new_file(k, "r"))) 62 if (!TEST_ptr(pkey = PEM_read_bio_PrivateKey(bio, NULL, NULL, NULL))) 68 if (!TEST_ptr(bio = BIO_new_file(c, "r"))) 111 if (!TEST_ptr(c = test_get_argument(0)) 112 || !TEST_ptr(k = test_get_argument(1)) 113 || !TEST_ptr(t = test_get_argument(2)) 114 || !TEST_ptr(e = test_get_argument(3))) {
|