Lines Matching refs:fns

129 xor_prov_get_keymgmt_new(const OSSL_DISPATCH *fns)  in xor_prov_get_keymgmt_new()  argument
132 for (; fns->function_id != 0; fns++) in xor_prov_get_keymgmt_new()
133 if (fns->function_id == OSSL_FUNC_KEYMGMT_NEW) in xor_prov_get_keymgmt_new()
134 return OSSL_FUNC_keymgmt_new(fns); in xor_prov_get_keymgmt_new()
140 xor_prov_get_keymgmt_free(const OSSL_DISPATCH *fns) in xor_prov_get_keymgmt_free() argument
143 for (; fns->function_id != 0; fns++) in xor_prov_get_keymgmt_free()
144 if (fns->function_id == OSSL_FUNC_KEYMGMT_FREE) in xor_prov_get_keymgmt_free()
145 return OSSL_FUNC_keymgmt_free(fns); in xor_prov_get_keymgmt_free()
151 xor_prov_get_keymgmt_import(const OSSL_DISPATCH *fns) in xor_prov_get_keymgmt_import() argument
154 for (; fns->function_id != 0; fns++) in xor_prov_get_keymgmt_import()
155 if (fns->function_id == OSSL_FUNC_KEYMGMT_IMPORT) in xor_prov_get_keymgmt_import()
156 return OSSL_FUNC_keymgmt_import(fns); in xor_prov_get_keymgmt_import()
162 xor_prov_get_keymgmt_export(const OSSL_DISPATCH *fns) in xor_prov_get_keymgmt_export() argument
165 for (; fns->function_id != 0; fns++) in xor_prov_get_keymgmt_export()
166 if (fns->function_id == OSSL_FUNC_KEYMGMT_EXPORT) in xor_prov_get_keymgmt_export()
167 return OSSL_FUNC_keymgmt_export(fns); in xor_prov_get_keymgmt_export()
172 static void *xor_prov_import_key(const OSSL_DISPATCH *fns, void *provctx, in xor_prov_import_key() argument
175 OSSL_FUNC_keymgmt_new_fn *kmgmt_new = xor_prov_get_keymgmt_new(fns); in xor_prov_import_key()
176 OSSL_FUNC_keymgmt_free_fn *kmgmt_free = xor_prov_get_keymgmt_free(fns); in xor_prov_import_key()
178 xor_prov_get_keymgmt_import(fns); in xor_prov_import_key()
191 static void xor_prov_free_key(const OSSL_DISPATCH *fns, void *key) in xor_prov_free_key() argument
193 OSSL_FUNC_keymgmt_free_fn *kmgmt_free = xor_prov_get_keymgmt_free(fns); in xor_prov_free_key()
2119 const OSSL_DISPATCH *fns; /* Keymgmt (to pilfer functions from) */ member
2452 xor_prov_get_keymgmt_export(ctx->desc->fns); in der2key_export_object()