Home | History | Annotate | Download | only in crypto

Lines Matching refs:ex_data

1 /* crypto/ex_data.c */
8 * all per-class stacks and index-counters for ex_data are stored in the same
16 * new/dup/free ex_data functions will lock the hash table, copy the method
23 * obtained per-class method index and a particular "ex_data" variable. These
27 * per-RSA-structure ex_data variable if required).
144 /* What an "implementation of ex_data functionality" looks like */
177 /* Predeclare the "default" ex_data implementation */
212 /* API functions to get/set the "ex_data" implementation */
232 /* Interal (default) implementation of "ex_data" support. API functions are
249 static LHASH_OF(EX_CLASS_ITEM) *ex_data = NULL;
251 /* The callbacks required in the "ex_data" hash table */
271 if(!ex_data
272 && (ex_data = lh_EX_CLASS_ITEM_new()) == NULL)
278 * ex_data_check() function checks ex_data again inside a lock. */
279 #define EX_DATA_CHECK(iffail) if(!ex_data && !ex_data_check()) {iffail}
288 * "ex_data" prior to the ex_data hash table being itself destroyed. Doesn't do
297 /* Return the EX_CLASS_ITEM from the "ex_data" hash table that corresponds to a
305 p = lh_EX_CLASS_ITEM_retrieve(ex_data, &d);
318 /* Because we're inside the ex_data lock, the
320 (void)lh_EX_CLASS_ITEM_insert(ex_data, gen);
382 lh_EX_CLASS_ITEM_doall(ex_data, def_cleanup_cb);
383 lh_EX_CLASS_ITEM_free(ex_data);
384 ex_data = NULL;
400 * the global "ex_data" state (ie. class definitions), not thread-safe on 'ad'
536 /* API functions that defer all "state" operations to the "ex_data"
547 /* Release all "ex_data" state to prevent memory leaks. This can't be made