HomeSort by: relevance | last modified time | path
    Searched defs:test_ctx (Results 1 - 9 of 9) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/test/
ssl_test.c 34 static int check_result(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
36 if (!TEST_int_eq(result->result, test_ctx->expected_result)) {
38 ssl_test_result_name(test_ctx->expected_result),
45 static int check_alerts(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
75 if (test_ctx->expected_client_alert
81 && (result->client_alert_sent & 0xff) != test_ctx->expected_client_alert) {
83 print_alert(test_ctx->expected_client_alert),
88 if (test_ctx->expected_server_alert
89 && (result->server_alert_sent & 0xff) != test_ctx->expected_server_alert) {
91 print_alert(test_ctx->expected_server_alert)
399 SSL_TEST_CTX *test_ctx = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
ssl_test.c 34 static int check_result(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
36 if (!TEST_int_eq(result->result, test_ctx->expected_result)) {
38 ssl_test_result_name(test_ctx->expected_result),
45 static int check_alerts(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
75 if (test_ctx->expected_client_alert
81 && (result->client_alert_sent & 0xff) != test_ctx->expected_client_alert) {
83 print_alert(test_ctx->expected_client_alert),
88 if (test_ctx->expected_server_alert
89 && (result->server_alert_sent & 0xff) != test_ctx->expected_server_alert) {
91 print_alert(test_ctx->expected_server_alert)
399 SSL_TEST_CTX *test_ctx = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/
ssl_test.c 31 static int check_result(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
33 if (!TEST_int_eq(result->result, test_ctx->expected_result)) {
35 ssl_test_result_name(test_ctx->expected_result),
42 static int check_alerts(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
72 if (test_ctx->expected_client_alert
78 && (result->client_alert_sent & 0xff) != test_ctx->expected_client_alert) {
80 print_alert(test_ctx->expected_client_alert),
85 if (test_ctx->expected_server_alert
86 && (result->server_alert_sent & 0xff) != test_ctx->expected_server_alert) {
88 print_alert(test_ctx->expected_server_alert)
396 SSL_TEST_CTX *test_ctx = NULL; local
    [all...]
  /src/external/mit/libuv/dist/test/
test-ipc-send-recv.c 43 struct test_ctx { struct
65 static struct test_ctx ctx;
  /src/crypto/external/apache2/openssl/dist/test/helpers/
pkcs12.c 29 static OSSL_LIB_CTX *test_ctx = NULL; variable
63 test_ctx = libctx;
156 p12 = PKCS12_add_safes_ex(pb->safes, 0, test_ctx, test_propq);
167 md = EVP_MD_fetch(test_ctx, OBJ_nid2sn(mac->nid), test_propq);
208 p12 = PKCS12_init_ex(NID_pkcs7_data, test_ctx, test_propq);
288 enc->iter, enc->pass, test_ctx,
425 test_ctx, test_propq);
610 p8 = PKCS12_decrypt_skey_ex(bag, enc->pass, strlen(enc->pass), test_ctx, test_propq);
  /src/crypto/external/bsd/openssl/dist/test/helpers/
pkcs12.c 29 static OSSL_LIB_CTX *test_ctx = NULL; variable
64 test_ctx = libctx;
162 p12 = PKCS12_add_safes_ex(pb->safes, 0, test_ctx, test_propq);
173 md = EVP_MD_fetch(test_ctx, OBJ_nid2sn(mac->nid), test_propq);
215 p12 = PKCS12_init_ex(NID_pkcs7_data, test_ctx, test_propq);
299 enc->iter, enc->pass, test_ctx,
430 test_ctx, test_propq);
612 p8 = PKCS12_decrypt_skey_ex(bag, enc->pass, strlen(enc->pass), test_ctx, test_propq);
  /src/crypto/external/bsd/openssl/dist/apps/
speed.c 2830 EVP_PKEY_CTX *test_ctx = NULL; local
2858 if ((test_ctx = EVP_PKEY_CTX_new(key_B, NULL)) == NULL /* test ctx from skeyB */
2859 || EVP_PKEY_derive_init(test_ctx) <= 0 /* init derivation test_ctx */
2860 || EVP_PKEY_derive_set_peer(test_ctx, key_A) <= 0 /* set peer pubkey in test_ctx */
2861 || EVP_PKEY_derive(test_ctx, NULL, &test_outlen) <= 0 /* determine max length */
2863 || EVP_PKEY_derive(test_ctx, loopargs[i].secret_b, &test_outlen) <= 0 /* compute b*A */
2887 EVP_PKEY_CTX_free(test_ctx);
2888 test_ctx = NULL
3173 EVP_PKEY_CTX *test_ctx = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/apps/
speed.c 2942 EVP_PKEY_CTX *test_ctx = NULL; local
3038 if (!(test_ctx = EVP_PKEY_CTX_new(key_B, NULL)) || /* test ctx from skeyB */
3039 !EVP_PKEY_derive_init(test_ctx) || /* init derivation test_ctx */
3040 !EVP_PKEY_derive_set_peer(test_ctx, key_A) || /* set peer pubkey in test_ctx */
3041 !EVP_PKEY_derive(test_ctx, NULL, &test_outlen) || /* determine max length */
3043 !EVP_PKEY_derive(test_ctx, loopargs[i].secret_b, &test_outlen) || /* compute b*A */
3069 EVP_PKEY_CTX_free(test_ctx);
3070 test_ctx = NULL
    [all...]
  /src/crypto/external/apache2/openssl/dist/apps/
speed.c 3609 EVP_PKEY_CTX *test_ctx = NULL; local
3637 if ((test_ctx = EVP_PKEY_CTX_new(key_B, NULL)) == NULL /* test ctx from skeyB */
3638 || EVP_PKEY_derive_init(test_ctx) <= 0 /* init derivation test_ctx */
3639 || EVP_PKEY_derive_set_peer(test_ctx, key_A) <= 0 /* set peer pubkey in test_ctx */
3640 || EVP_PKEY_derive(test_ctx, NULL, &test_outlen) <= 0 /* determine max length */
3642 || EVP_PKEY_derive(test_ctx, loopargs[i].secret_b, &test_outlen) <= 0 /* compute b*A */
3666 EVP_PKEY_CTX_free(test_ctx);
3667 test_ctx = NULL
3947 EVP_PKEY_CTX *test_ctx = NULL; local
    [all...]

Completed in 37 milliseconds