| /src/external/mit/libuv/dist/test/ |
| test-ipc-send-recv.c | 66 static struct echo_ctx ctx2; variable in typeref:struct:echo_ctx 294 uv_close(&ctx2.recv.handle, NULL); 295 uv_close(&ctx2.recv2.handle, NULL); 296 uv_close((uv_handle_t*)&ctx2.channel, NULL); 297 uv_close((uv_handle_t*)&ctx2.listen, NULL); 320 ASSERT_PTR_EQ(pipe, &ctx2.channel); 324 recv = &ctx2.recv; 325 write_req = &ctx2.write_req; 327 recv = &ctx2.recv2; 328 write_req = &ctx2.write_req2 [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| ssl_test_ctx_test.c | 74 static int testctx_eq(SSL_TEST_CTX *ctx, SSL_TEST_CTX *ctx2) 76 if (!TEST_int_eq(ctx->method, ctx2->method) 77 || !TEST_int_eq(ctx->handshake_mode, ctx2->handshake_mode) 78 || !TEST_int_eq(ctx->app_data_size, ctx2->app_data_size) 79 || !TEST_int_eq(ctx->max_fragment_size, ctx2->max_fragment_size) 80 || !extraconf_eq(&ctx->extra, &ctx2->extra) 81 || !extraconf_eq(&ctx->resume_extra, &ctx2->resume_extra) 82 || !TEST_int_eq(ctx->expected_result, ctx2->expected_result) 84 ctx2->expected_client_alert) 86 ctx2->expected_server_alert [all...] |
| sm3_internal_test.c | 59 SM3_CTX ctx1, ctx2; local 68 if (!TEST_true(ossl_sm3_init(&ctx2)) 69 || !TEST_true(ossl_sm3_update(&ctx2, input2, sizeof(input2))) 70 || !TEST_true(ossl_sm3_final(md2, &ctx2))
|
| keymgmt_internal_test.c | 33 OSSL_LIB_CTX *ctx2; member in struct:__anon714 46 OSSL_LIB_CTX_free(fixture->ctx2); 59 || !TEST_ptr(fixture->ctx2 = OSSL_LIB_CTX_new()) 60 || !TEST_ptr(fixture->prov2 = OSSL_PROVIDER_load(fixture->ctx2, 224 || !TEST_ptr(km2 = EVP_KEYMGMT_fetch(fixture->ctx2, "RSA", NULL))
|
| cmactest.c | 275 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 281 ctx2 = CMAC_CTX_new(); 282 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 288 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 289 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 298 CMAC_CTX_free(ctx2);
|
| hmactest.c | 247 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 253 ctx2 = HMAC_CTX_new(); 254 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 259 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 260 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 269 HMAC_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| ssl_test_ctx_test.c | 75 static int testctx_eq(SSL_TEST_CTX *ctx, SSL_TEST_CTX *ctx2) 77 if (!TEST_int_eq(ctx->method, ctx2->method) 78 || !TEST_int_eq(ctx->handshake_mode, ctx2->handshake_mode) 79 || !TEST_int_eq(ctx->app_data_size, ctx2->app_data_size) 80 || !TEST_int_eq(ctx->max_fragment_size, ctx2->max_fragment_size) 81 || !extraconf_eq(&ctx->extra, &ctx2->extra) 82 || !extraconf_eq(&ctx->resume_extra, &ctx2->resume_extra) 83 || !TEST_int_eq(ctx->expected_result, ctx2->expected_result) 85 ctx2->expected_client_alert) 87 ctx2->expected_server_alert [all...] |
| sm3_internal_test.c | 59 SM3_CTX ctx1, ctx2; local 68 if (!TEST_true(ossl_sm3_init(&ctx2)) 69 || !TEST_true(ossl_sm3_update(&ctx2, input2, sizeof(input2))) 70 || !TEST_true(ossl_sm3_final(md2, &ctx2))
|
| cmactest.c | 171 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 177 ctx2 = CMAC_CTX_new(); 178 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 184 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 185 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 194 CMAC_CTX_free(ctx2);
|
| hmactest.c | 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 229 ctx2 = HMAC_CTX_new(); 230 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 235 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 236 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 245 HMAC_CTX_free(ctx2);
|
| keymgmt_internal_test.c | 33 OSSL_LIB_CTX *ctx2; member in struct:__anon1742 46 OSSL_LIB_CTX_free(fixture->ctx2); 59 || !TEST_ptr(fixture->ctx2 = OSSL_LIB_CTX_new()) 60 || !TEST_ptr(fixture->prov2 = OSSL_PROVIDER_load(fixture->ctx2, 222 || !TEST_ptr(km2 = EVP_KEYMGMT_fetch(fixture->ctx2, "RSA", NULL))
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| ssl_test_ctx_test.c | 75 static int testctx_eq(SSL_TEST_CTX *ctx, SSL_TEST_CTX *ctx2) 77 if (!TEST_int_eq(ctx->method, ctx2->method) 78 || !TEST_int_eq(ctx->handshake_mode, ctx2->handshake_mode) 79 || !TEST_int_eq(ctx->app_data_size, ctx2->app_data_size) 80 || !TEST_int_eq(ctx->max_fragment_size, ctx2->max_fragment_size) 81 || !extraconf_eq(&ctx->extra, &ctx2->extra) 82 || !extraconf_eq(&ctx->resume_extra, &ctx2->resume_extra) 83 || !TEST_int_eq(ctx->expected_result, ctx2->expected_result) 85 ctx2->expected_client_alert) 87 ctx2->expected_server_alert [all...] |
| cmactest.c | 165 CMAC_CTX *ctx = NULL, *ctx2 = NULL; local 171 ctx2 = CMAC_CTX_new(); 172 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 178 || !TEST_true(CMAC_CTX_copy(ctx2, ctx)) 179 || !TEST_true(CMAC_Final(ctx2, buf, &len))) 188 CMAC_CTX_free(ctx2);
|
| hmactest.c | 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local 229 ctx2 = HMAC_CTX_new(); 230 if (!TEST_ptr(ctx) || !TEST_ptr(ctx2)) 235 || !TEST_true(HMAC_CTX_copy(ctx2, ctx)) 236 || !TEST_true(HMAC_Final(ctx2, buf, &len))) 245 HMAC_CTX_free(ctx2);
|
| /src/crypto/external/apache2/openssl/dist/demos/pkey/ |
| EVP_PKEY_DSA_paramvalidate.c | 110 EVP_PKEY_CTX *ctx2 = NULL; local 182 ctx2 = create_merged_key(dsaparamskey, params, libctx, propq); 183 if (ctx2 == NULL) 185 if (EVP_PKEY_param_check(ctx2) <= 0) { 190 if (!dsa_print_key(EVP_PKEY_CTX_get0_pkey(ctx2), 0, libctx, propq)) 196 EVP_PKEY_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl/dist/demos/pkey/ |
| EVP_PKEY_DSA_paramvalidate.c | 111 EVP_PKEY_CTX *ctx2 = NULL; local 183 ctx2 = create_merged_key(dsaparamskey, params, libctx, propq); 184 if (ctx2 == NULL) 186 if (EVP_PKEY_param_check(ctx2) <= 0) { 191 if (!dsa_print_key(EVP_PKEY_CTX_get0_pkey(ctx2), 0, libctx, propq)) 197 EVP_PKEY_CTX_free(ctx2);
|
| /src/external/bsd/ipf/dist/lib/ |
| save_file.c | 64 file_match(ctx1, ctx2) 65 void *ctx1, *ctx2; 67 file_opts_t *f1 = ctx1, *f2 = ctx2;
|
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_x931g.c | 31 BN_CTX *ctx = NULL, *ctx2 = NULL; local 113 ctx2 = BN_CTX_new(); 114 if (ctx2 == NULL) 117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 145 BN_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_x931g.c | 31 BN_CTX *ctx = NULL, *ctx2 = NULL; local 113 ctx2 = BN_CTX_new(); 114 if (ctx2 == NULL) 117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 145 BN_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_x931g.c | 25 BN_CTX *ctx = NULL, *ctx2 = NULL; local 107 ctx2 = BN_CTX_new(); 108 if (ctx2 == NULL) 111 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ 130 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); 138 BN_CTX_free(ctx2);
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| s_server.c | 89 static SSL_CTX *ctx2 = NULL; variable 489 if (ctx2 != NULL) { 491 SSL_set_SSL_CTX(s, ctx2); 1067 ctx = ctx2 = NULL; 1907 ctx2 = SSL_CTX_new(meth); 1908 if (ctx2 == NULL) { 1914 if (ctx2 != NULL) { 1918 ssl_ctx_security_debug(ctx2, sdebug); 1924 if (!SSL_CTX_set_generate_session_id(ctx2, generate_session_id)) { 1931 SSL_CTX_set_quiet_shutdown(ctx2, 1) [all...] |
| /src/crypto/external/bsd/openssl/dist/apps/ |
| s_server.c | 82 static SSL_CTX *ctx2 = NULL; variable 438 if (ctx2 != NULL) { 440 SSL_set_SSL_CTX(s, ctx2); 1062 ctx = ctx2 = NULL; 1965 ctx2 = SSL_CTX_new_ex(app_get0_libctx(), app_get0_propq(), meth); 1966 if (ctx2 == NULL) { 1972 if (ctx2 != NULL) { 1976 ssl_ctx_security_debug(ctx2, sdebug); 1982 if (!SSL_CTX_set_generate_session_id(ctx2, generate_session_id)) { 1990 ssl_ctx_set_excert(ctx2, exc) [all...] |
| fipsinstall.c | 303 EVP_MAC_CTX *ctx = NULL, *ctx2 = NULL; local 464 ctx2 = EVP_MAC_CTX_dup(ctx); 465 if (ctx2 == NULL) { 480 if (!do_mac(ctx2, read_buffer, mem_bio, install_mac, &install_mac_len)) 535 EVP_MAC_CTX_free(ctx2);
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| s_server.c | 84 static SSL_CTX *ctx2 = NULL; variable 447 if (ctx2 != NULL) { 449 SSL_set_SSL_CTX(s, ctx2); 1201 ctx = ctx2 = NULL; 2154 ctx2 = SSL_CTX_new_ex(app_get0_libctx(), app_get0_propq(), meth); 2155 if (ctx2 == NULL) { 2161 if (ctx2 != NULL) { 2165 ssl_ctx_security_debug(ctx2, sdebug); 2171 if (!SSL_CTX_set_generate_session_id(ctx2, generate_session_id)) { 2179 ssl_ctx_set_excert(ctx2, exc) [all...] |
| /src/external/bsd/wpa/dist/src/ap/ |
| wpa_auth.h | 614 void (*cb)(void *ctx1, void *ctx2), 615 void *ctx1, void *ctx2); 617 void (*cb)(void *ctx1, void *ctx2), 618 void *ctx1, void *ctx2); 620 void (*cb)(void *ctx1, void *ctx2), 621 void *ctx1, void *ctx2);
|