/openssl/test/ |
H A D | exdatatest.c | 74 MYOBJ_EX_DATA *ex_data = OPENSSL_zalloc(sizeof(*ex_data)); in exnew2() local 85 ex_data->new = 1; in exnew2() 107 ex_data->dup = 1; in exdup2() 124 OPENSSL_free(ex_data); in exfree2() 159 MYOBJ_EX_DATA* ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx2); in MYOBJ_sethello2() local 161 if (TEST_ptr(ex_data)) in MYOBJ_sethello2() 169 MYOBJ_EX_DATA* ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx2); in MYOBJ_gethello2() local 182 if (TEST_ptr_null(ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx3)) in MYOBJ_allochello3() 185 && TEST_ptr(ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx3))) in MYOBJ_allochello3() 193 MYOBJ_EX_DATA* ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx3); in MYOBJ_gethello3() local [all …]
|
/openssl/crypto/x509/ |
H A D | x_x509.c | 44 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data); in x509_cb() 80 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data)) in x509_cb() 85 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data); in x509_cb() 175 return CRYPTO_set_ex_data(&r->ex_data, idx, arg); in X509_set_ex_data() 180 return CRYPTO_get_ex_data(&r->ex_data, idx); in X509_get_ex_data()
|
H A D | x509_lu.c | 202 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_X509_STORE, ret, &ret->ex_data)) { in X509_STORE_new() 249 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509_STORE, xs, &xs->ex_data); in X509_STORE_free() 945 return CRYPTO_set_ex_data(&xs->ex_data, idx, data); in X509_STORE_set_ex_data() 950 return CRYPTO_get_ex_data(&xs->ex_data, idx); in X509_STORE_get_ex_data()
|
H A D | x509_local.h | 146 CRYPTO_EX_DATA ex_data; member
|
/openssl/crypto/engine/ |
H A D | eng_lib.c | 43 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_ENGINE, ret, &ret->ex_data)) { in ENGINE_new() 98 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ENGINE, e, &e->ex_data); in engine_free_util() 190 return CRYPTO_set_ex_data(&e->ex_data, idx, arg); in ENGINE_set_ex_data() 195 return CRYPTO_get_ex_data(&e->ex_data, idx); in ENGINE_get_ex_data()
|
H A D | eng_local.h | 147 CRYPTO_EX_DATA ex_data; member
|
/openssl/crypto/ui/ |
H A D | ui_local.h | 58 CRYPTO_EX_DATA ex_data; member 100 CRYPTO_EX_DATA ex_data; member
|
H A D | ui_lib.c | 43 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_UI, ret, &ret->ex_data)) { in UI_new_method() 79 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_UI, ui, &ui->ex_data); in UI_free() 559 return CRYPTO_set_ex_data(&r->ex_data, idx, arg); in UI_set_ex_data() 564 return CRYPTO_get_ex_data(&r->ex_data, idx); in UI_get_ex_data() 585 &ui_method->ex_data)) { in UI_create_method() 612 &ui_method->ex_data); in UI_destroy_method() 691 return CRYPTO_set_ex_data(&method->ex_data, idx, data); in UI_method_set_ex_data() 753 return CRYPTO_get_ex_data(&method->ex_data, idx); in UI_method_get_ex_data()
|
/openssl/test/helpers/ |
H A D | handshake.c | 83 HANDSHAKE_EX_DATA *ex_data = in info_cb() local 86 ex_data->alert_sent = ret; in info_cb() 89 ex_data->num_fatal_alerts_sent++; in info_cb() 91 ex_data->alert_received = ret; in info_cb() 105 HANDSHAKE_EX_DATA *ex_data = in select_server_ctx() local 109 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in select_server_ctx() 124 ex_data->servername = SSL_TEST_SERVERNAME_SERVER2; in select_server_ctx() 127 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in select_server_ctx() 143 HANDSHAKE_EX_DATA *ex_data = in client_hello_select_server_ctx() local 338 HANDSHAKE_EX_DATA *ex_data = in do_not_call_session_ticket_cb() local [all …]
|
/openssl/crypto/dh/ |
H A D | dh_lib.c | 118 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_DH, ret, &ret->ex_data)) in dh_new_intern() 155 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DH, r, &r->ex_data); in DH_free() 187 return CRYPTO_set_ex_data(&d->ex_data, idx, arg); in DH_set_ex_data() 192 return CRYPTO_get_ex_data(&d->ex_data, idx); in DH_get_ex_data()
|
H A D | dh_backend.c | 169 &dupkey->ex_data, &dh->ex_data)) in ossl_dh_dup()
|
H A D | dh_local.h | 32 CRYPTO_EX_DATA ex_data; member
|
/openssl/crypto/dsa/ |
H A D | dsa_lib.c | 32 return CRYPTO_set_ex_data(&d->ex_data, idx, arg); in DSA_set_ex_data() 37 return CRYPTO_get_ex_data(&d->ex_data, idx); in DSA_get_ex_data() 178 &ret->ex_data)) in dsa_new_intern() 233 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DSA, r, &r->ex_data); in DSA_free()
|
H A D | dsa_backend.c | 111 &dupkey->ex_data, &dsa->ex_data)) in ossl_dsa_dup()
|
H A D | dsa_local.h | 29 CRYPTO_EX_DATA ex_data; member
|
/openssl/crypto/bio/ |
H A D | bio_lib.c | 95 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_BIO, bio, &bio->ex_data)) in BIO_new_ex() 100 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_BIO, bio, &bio->ex_data); in BIO_new_ex() 143 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_BIO, a, &a->ex_data); in BIO_free() 890 if (!CRYPTO_dup_ex_data(CRYPTO_EX_INDEX_BIO, &new_bio->ex_data, in BIO_dup_chain() 891 &bio->ex_data)) { in BIO_dup_chain() 919 return CRYPTO_set_ex_data(&(bio->ex_data), idx, data); in BIO_set_ex_data() 924 return CRYPTO_get_ex_data(&(bio->ex_data), idx); in BIO_get_ex_data() 943 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_BIO, bio, &bio->ex_data); in bio_free_ex_data()
|
H A D | bio_local.h | 118 CRYPTO_EX_DATA ex_data; member
|
/openssl/ssl/ |
H A D | ssl_sess.c | 93 return CRYPTO_set_ex_data(&s->ex_data, idx, arg); in SSL_SESSION_set_ex_data() 98 return CRYPTO_get_ex_data(&s->ex_data, idx); in SSL_SESSION_get_ex_data() 123 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_SSL_SESSION, ss, &ss->ex_data)) { in SSL_SESSION_new() 167 memset(&dest->ex_data, 0, sizeof(dest->ex_data)); in ssl_session_dup_intern() 179 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_SSL_SESSION, dest, &dest->ex_data)) { in ssl_session_dup_intern() 220 &dest->ex_data, &src->ex_data)) { in ssl_session_dup_intern() 852 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_SESSION, ss, &ss->ex_data); in SSL_SESSION_free()
|
/openssl/crypto/dso/ |
H A D | dso_local.h | 34 CRYPTO_EX_DATA ex_data; member
|
/openssl/include/crypto/ |
H A D | x509.h | 180 CRYPTO_EX_DATA ex_data; member 277 CRYPTO_EX_DATA ex_data; member
|
/openssl/include/internal/ |
H A D | cryptlib.h | 86 EX_CALLBACKS ex_data[CRYPTO_EX_INDEX__COUNT]; member
|
/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 119 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_RSA, ret, &ret->ex_data)) { in rsa_new_intern() 156 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_RSA, r, &r->ex_data); in RSA_free() 214 return CRYPTO_set_ex_data(&r->ex_data, idx, arg); in RSA_set_ex_data() 219 return CRYPTO_get_ex_data(&r->ex_data, idx); in RSA_get_ex_data()
|
/openssl/crypto/ |
H A D | ex_data.c | 57 ip = &global->ex_data[class_index]; in get_and_lock() 81 EX_CALLBACKS *ip = &global->ex_data[i]; in ossl_crypto_cleanup_all_ex_data_int()
|
/openssl/doc/man7/ |
H A D | proxy-certificates.pod | 164 an ex_data index function that creates an index into the generic 165 ex_data store that is attached to an X509 validation context. 187 * The following procedure will create an index for the ex_data
|
/openssl/doc/man3/ |
H A D | X509_STORE_CTX_set_verify_cb.pod | 75 be passed to the callback via the B<ex_data> mechanism. 163 B<ex_data>.
|