Lines Matching refs:fns
17 ossl_prov_get_keymgmt_new(const OSSL_DISPATCH *fns) in ossl_prov_get_keymgmt_new() argument
20 for (; fns->function_id != 0; fns++) in ossl_prov_get_keymgmt_new()
21 if (fns->function_id == OSSL_FUNC_KEYMGMT_NEW) in ossl_prov_get_keymgmt_new()
22 return OSSL_FUNC_keymgmt_new(fns); in ossl_prov_get_keymgmt_new()
28 ossl_prov_get_keymgmt_free(const OSSL_DISPATCH *fns) in ossl_prov_get_keymgmt_free() argument
31 for (; fns->function_id != 0; fns++) in ossl_prov_get_keymgmt_free()
32 if (fns->function_id == OSSL_FUNC_KEYMGMT_FREE) in ossl_prov_get_keymgmt_free()
33 return OSSL_FUNC_keymgmt_free(fns); in ossl_prov_get_keymgmt_free()
39 ossl_prov_get_keymgmt_import(const OSSL_DISPATCH *fns) in ossl_prov_get_keymgmt_import() argument
42 for (; fns->function_id != 0; fns++) in ossl_prov_get_keymgmt_import()
43 if (fns->function_id == OSSL_FUNC_KEYMGMT_IMPORT) in ossl_prov_get_keymgmt_import()
44 return OSSL_FUNC_keymgmt_import(fns); in ossl_prov_get_keymgmt_import()
50 ossl_prov_get_keymgmt_export(const OSSL_DISPATCH *fns) in ossl_prov_get_keymgmt_export() argument
53 for (; fns->function_id != 0; fns++) in ossl_prov_get_keymgmt_export()
54 if (fns->function_id == OSSL_FUNC_KEYMGMT_EXPORT) in ossl_prov_get_keymgmt_export()
55 return OSSL_FUNC_keymgmt_export(fns); in ossl_prov_get_keymgmt_export()
60 void *ossl_prov_import_key(const OSSL_DISPATCH *fns, void *provctx, in ossl_prov_import_key() argument
63 OSSL_FUNC_keymgmt_new_fn *kmgmt_new = ossl_prov_get_keymgmt_new(fns); in ossl_prov_import_key()
64 OSSL_FUNC_keymgmt_free_fn *kmgmt_free = ossl_prov_get_keymgmt_free(fns); in ossl_prov_import_key()
66 ossl_prov_get_keymgmt_import(fns); in ossl_prov_import_key()
79 void ossl_prov_free_key(const OSSL_DISPATCH *fns, void *key) in ossl_prov_free_key() argument
81 OSSL_FUNC_keymgmt_free_fn *kmgmt_free = ossl_prov_get_keymgmt_free(fns); in ossl_prov_free_key()