Home
last modified time | relevance | path

Searched refs:ex_data (Results 1 – 25 of 42) sorted by relevance

12

/external/openssl/crypto/ec/
Dec_lib.c549 int EC_EX_DATA_set_data(EC_EXTRA_DATA **ex_data, void *data, in EC_EX_DATA_set_data() argument
554 if (ex_data == NULL) in EC_EX_DATA_set_data()
557 for (d = *ex_data; d != NULL; d = d->next) in EC_EX_DATA_set_data()
579 d->next = *ex_data; in EC_EX_DATA_set_data()
580 *ex_data = d; in EC_EX_DATA_set_data()
586 void *EC_EX_DATA_get_data(const EC_EXTRA_DATA *ex_data, in EC_EX_DATA_get_data() argument
591 for (d = ex_data; d != NULL; d = d->next) in EC_EX_DATA_get_data()
601 void EC_EX_DATA_free_data(EC_EXTRA_DATA **ex_data, in EC_EX_DATA_free_data() argument
606 if (ex_data == NULL) in EC_EX_DATA_free_data()
609 for (p = ex_data; *p != NULL; p = &((*p)->next)) in EC_EX_DATA_free_data()
[all …]
Dec_key.c529 EC_EXTRA_DATA *ex_data; in EC_KEY_insert_key_method_data() local
531 ex_data = EC_EX_DATA_get_data(key->method_data, dup_func, free_func, clear_free_func); in EC_KEY_insert_key_method_data()
532 if (ex_data == NULL) in EC_KEY_insert_key_method_data()
/external/openssl/crypto/ecdh/
Dech_lib.c170 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_ECDH, ret, &ret->ex_data); in ECDH_DATA_new_method()
174 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ECDH, ret, &ret->ex_data); in ECDH_DATA_new_method()
207 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ECDH, r, &r->ex_data); in ecdh_data_free()
256 return(CRYPTO_set_ex_data(&ecdh->ex_data,idx,arg)); in ECDH_set_ex_data()
265 return(CRYPTO_get_ex_data(&ecdh->ex_data,idx)); in ECDH_get_ex_data()
Dech_locl.h93 CRYPTO_EX_DATA ex_data; member
/external/openssl/crypto/
Dex_data.c249 static LHASH_OF(EX_CLASS_ITEM) *ex_data = NULL;
271 if(!ex_data in IMPLEMENT_LHASH_COMP_FN()
272 && (ex_data = lh_EX_CLASS_ITEM_new()) == NULL) in IMPLEMENT_LHASH_COMP_FN()
279 #define EX_DATA_CHECK(iffail) if(!ex_data && !ex_data_check()) {iffail}
305 p = lh_EX_CLASS_ITEM_retrieve(ex_data, &d); in def_get_class()
320 (void)lh_EX_CLASS_ITEM_insert(ex_data, gen); in def_get_class()
382 lh_EX_CLASS_ITEM_doall(ex_data, def_cleanup_cb); in int_cleanup()
383 lh_EX_CLASS_ITEM_free(ex_data); in int_cleanup()
384 ex_data = NULL; in int_cleanup()
/external/openssl/crypto/ecdsa/
Decs_lib.c149 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_ECDSA, ret, &ret->ex_data); in ECDSA_DATA_new_method()
153 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ECDSA, ret, &ret->ex_data); in ECDSA_DATA_new_method()
185 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ECDSA, r, &r->ex_data); in ecdsa_data_free()
268 return(CRYPTO_set_ex_data(&ecdsa->ex_data,idx,arg)); in ECDSA_set_ex_data()
277 return(CRYPTO_get_ex_data(&ecdsa->ex_data,idx)); in ECDSA_get_ex_data()
Decs_locl.h100 CRYPTO_EX_DATA ex_data; member
/external/openssl/crypto/dh/
Ddh_lib.c173 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_DH, ret, &ret->ex_data); in DH_new_method()
180 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DH, ret, &ret->ex_data); in DH_new_method()
211 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DH, r, &r->ex_data); in DH_free()
249 return(CRYPTO_set_ex_data(&d->ex_data,idx,arg)); in DH_set_ex_data()
254 return(CRYPTO_get_ex_data(&d->ex_data,idx)); in DH_get_ex_data()
Ddh.h152 CRYPTO_EX_DATA ex_data; member
/external/openssl/crypto/asn1/
Dx_x509.c104 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data); in x509_cb()
113 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data); in x509_cb()
153 return(CRYPTO_set_ex_data(&r->ex_data,idx,arg)); in X509_set_ex_data()
158 return(CRYPTO_get_ex_data(&r->ex_data,idx)); in X509_get_ex_data()
/external/openssl/crypto/dsa/
Ddsa_lib.c180 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_DSA, ret, &ret->ex_data); in DSA_new_method()
187 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DSA, ret, &ret->ex_data); in DSA_new_method()
221 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DSA, r, &r->ex_data); in DSA_free()
280 return(CRYPTO_set_ex_data(&d->ex_data,idx,arg)); in DSA_set_ex_data()
285 return(CRYPTO_get_ex_data(&d->ex_data,idx)); in DSA_get_ex_data()
/external/openssl/crypto/rsa/
Drsa_lib.c192 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_RSA, ret, &ret->ex_data)) in RSA_new_method()
208 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_RSA, ret, &ret->ex_data); in RSA_new_method()
241 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_RSA, r, &r->ex_data); in RSA_free()
282 return(CRYPTO_set_ex_data(&r->ex_data,idx,arg)); in RSA_set_ex_data()
287 return(CRYPTO_get_ex_data(&r->ex_data,idx)); in RSA_get_ex_data()
/external/openssl/crypto/engine/
Deng_lib.c77 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_ENGINE, ret, &ret->ex_data); in ENGINE_new()
135 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ENGINE, e, &e->ex_data); in engine_free_util()
213 return(CRYPTO_set_ex_data(&e->ex_data, idx, arg)); in ENGINE_set_ex_data()
218 return(CRYPTO_get_ex_data(&e->ex_data, idx)); in ENGINE_get_ex_data()
Deng_int.h196 CRYPTO_EX_DATA ex_data; member
/external/openssl/crypto/bio/
Dbio_lib.c100 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_BIO, bio, &bio->ex_data); in BIO_set()
105 &bio->ex_data); in BIO_set()
133 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_BIO, a, &a->ex_data); in BIO_free()
545 if (!CRYPTO_dup_ex_data(CRYPTO_EX_INDEX_BIO, &new_bio->ex_data, in BIO_dup_chain()
546 &bio->ex_data)) in BIO_dup_chain()
582 return(CRYPTO_set_ex_data(&(bio->ex_data),idx,data)); in BIO_set_ex_data()
587 return(CRYPTO_get_ex_data(&(bio->ex_data),idx)); in BIO_get_ex_data()
/external/openssl/crypto/comp/
Dc_zlib.c172 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_COMP,ctx,&ctx->ex_data); in zlib_stateful_init()
173 CRYPTO_set_ex_data(&ctx->ex_data,zlib_stateful_ex_idx,state); in zlib_stateful_init()
183 (struct zlib_state *)CRYPTO_get_ex_data(&ctx->ex_data, in zlib_stateful_finish()
188 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_COMP,ctx,&ctx->ex_data); in zlib_stateful_finish()
196 (struct zlib_state *)CRYPTO_get_ex_data(&ctx->ex_data, in zlib_stateful_compress_block()
224 (struct zlib_state *)CRYPTO_get_ex_data(&ctx->ex_data, in zlib_stateful_expand_block()
Dcomp.h38 CRYPTO_EX_DATA ex_data; member
/external/openssl/crypto/store/
Dstr_locl.h117 CRYPTO_EX_DATA ex_data; member
/external/openssl/crypto/ui/
Dui_locl.h146 CRYPTO_EX_DATA ex_data; member
Dui_lib.c94 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_UI, ret, &ret->ex_data); in UI_new_method()
122 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_UI, ui, &ui->ex_data); in UI_free()
585 return(CRYPTO_set_ex_data(&r->ex_data,idx,arg)); in UI_set_ex_data()
590 return(CRYPTO_get_ex_data(&r->ex_data,idx)); in UI_get_ex_data()
/external/openssl/include/openssl/
Dcomp.h38 CRYPTO_EX_DATA ex_data; member
Ddso.h196 CRYPTO_EX_DATA ex_data; member
/external/openssl/ssl/
Dssl_sess.c180 return(CRYPTO_set_ex_data(&s->ex_data,idx,arg)); in SSL_SESSION_set_ex_data()
185 return(CRYPTO_get_ex_data(&s->ex_data,idx)); in SSL_SESSION_get_ex_data()
216 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_SSL_SESSION, ss, &ss->ex_data); in SSL_SESSION_new()
760 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_SESSION, ss, &ss->ex_data); in SSL_SESSION_free()
Dssl_lib.c377 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_SSL, s, &s->ex_data); in SSL_new()
529 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL, s, &s->ex_data); in SSL_free()
1822 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_SSL_CTX, ret, &ret->ex_data); in IMPLEMENT_LHASH_HASH_FN()
1958 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data); in SSL_CTX_free()
2732 if (!CRYPTO_dup_ex_data(CRYPTO_EX_INDEX_SSL, &ret->ex_data, &s->ex_data)) in SSL_dup()
3045 return(CRYPTO_set_ex_data(&s->ex_data,idx,arg)); in SSL_set_ex_data()
3050 return(CRYPTO_get_ex_data(&s->ex_data,idx)); in SSL_get_ex_data()
3062 return(CRYPTO_set_ex_data(&s->ex_data,idx,arg)); in SSL_CTX_set_ex_data()
3067 return(CRYPTO_get_ex_data(&s->ex_data,idx)); in SSL_CTX_get_ex_data()
/external/openssl/crypto/dso/
Ddso.h196 CRYPTO_EX_DATA ex_data; member

12