Lines Matching refs:selection
58 int selection;
138 static int mac_has(const void *keydata, int selection)
151 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
157 static int mac_match(const void *keydata1, const void *keydata2, int selection)
166 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) {
231 static int mac_import(void *keydata, int selection, const OSSL_PARAM params[])
238 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0)
273 static int mac_export(void *keydata, int selection, OSSL_CALLBACK *param_cb,
288 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0
308 static const OSSL_PARAM *mac_imexport_types(int selection)
310 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
322 static const OSSL_PARAM *cmac_imexport_types(int selection)
324 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
378 static void *mac_gen_init_common(void *provctx, int selection)
388 gctx->selection = selection;
393 static void *mac_gen_init(void *provctx, int selection,
396 struct mac_gen_ctx *gctx = mac_gen_init_common(provctx, selection);
405 static void *cmac_gen_init(void *provctx, int selection,
408 struct mac_gen_ctx *gctx = mac_gen_init_common(provctx, selection);
494 if ((gctx->selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0)