Lines Matching defs:nid
58 int nid;
109 static void ossl_method_cache_flush(OSSL_METHOD_STORE *store, int nid);
289 static ALGORITHM *ossl_method_store_retrieve(OSSL_METHOD_STORE *store, int nid)
291 return ossl_sa_ALGORITHM_get(store->algs, nid);
296 return ossl_sa_ALGORITHM_set(store->algs, alg->nid, alg);
300 int nid, const char *properties, void *method,
309 if (nid <= 0 || method == NULL || store == NULL)
335 ossl_method_cache_flush(store, nid);
347 alg = ossl_method_store_retrieve(store, nid);
353 alg->nid = nid;
381 int ossl_method_store_remove(OSSL_METHOD_STORE *store, int nid,
387 if (nid <= 0 || method == NULL || store == NULL)
392 ossl_method_cache_flush(store, nid);
393 alg = ossl_method_store_retrieve(store, nid);
471 fn(alg->nid, impl->method.method, fnarg);
516 int nid, const char *prop_query,
527 if (nid <= 0 || method == NULL || store == NULL)
539 alg = ossl_method_store_retrieve(store, nid);
605 static void ossl_method_cache_flush(OSSL_METHOD_STORE *store, int nid)
607 ALGORITHM *alg = ossl_method_store_retrieve(store, nid);
695 int nid, const char *prop_query, void **method)
701 if (nid <= 0 || store == NULL || prop_query == NULL)
706 alg = ossl_method_store_retrieve(store, nid);
725 int nid, const char *prop_query, void *method,
734 if (nid <= 0 || store == NULL || prop_query == NULL)
744 alg = ossl_method_store_retrieve(store, nid);