• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/crypto/

Lines Matching refs:to

6  * This code is now *mostly* thread-safe. It is now easier to understand in what
13 * recreated after the cleanup). As classes can only be added to the hash table,
18 * actually applying those method pointers to the task of the new/dup/free
25 * one) so locking on read/write access to that variable can be locked locally
26 * if required (eg. using the "RSA" lock to synchronise access to a
36 * The implementation was written so as to conform with Netscapes SSL.
39 * the following conditions are aheared to. The following conditions
40 * apply to all code found in this distribution, be it the RC4, RSA,
46 * the code are not to be removed.
107 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
163 int (*cb_dup_ex_data)(int class_index, CRYPTO_EX_DATA *to,
173 /* To call "impl" functions, use this macro rather than referring to 'impl' directly, eg.
185 static int int_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
199 /* Internal function that checks whether "impl" is set and if not, sets it to
212 /* API functions to get/set the "ex_data" implementation */
235 /* The type that represents what each "class" used to implement locally. A STACK
237 * value representing the class that is used to distinguish these items. */
261 /* Internal functions used by the "impl_default" implementation to access the
283 /* This callback is used in lh_doall to destroy all EX_CLASS_ITEM values from
284 * "ex_data" prior to the ex_data hash table being itself destroyed. Doesn't do
293 /* Return the EX_CLASS_ITEM from the "ex_data" hash table that corresponds to a
327 /* Add a new method to the given EX_CLASS_ITEM and return the corresponding
395 * the lock, then using them outside the lock. NB: Thread-safety only applies to
441 static int int_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
449 /* 'to' should be "blank" which *is* just like 'from' */
477 storage[i]->dup_func(to,from,&ptr,i,
479 CRYPTO_set_ex_data(to,i,ptr);
532 /* API functions that defer all "state" operations to the "ex_data"
543 /* Release all "ex_data" state to prevent memory leaks. This can't be made
576 int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
580 return EX_IMPL(dup_ex_data)(class_index, to, from);
591 /* For a given CRYPTO_EX_DATA variable, set the value corresponding to a
620 /* For a given CRYPTO_EX_DATA_ variable, get the value corresponding to a