Lines Matching refs:selection

58     int selection;  member
136 static int mac_has(const void *keydata, int selection) in mac_has() argument
149 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in mac_has()
155 static int mac_match(const void *keydata1, const void *keydata2, int selection) in mac_match() argument
164 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in mac_match()
225 static int mac_import(void *keydata, int selection, const OSSL_PARAM params[]) in mac_import() argument
232 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_import()
267 static int mac_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in mac_export() argument
278 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) == 0) in mac_export()
285 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0 in mac_export()
305 static const OSSL_PARAM *mac_imexport_types(int selection) in mac_imexport_types() argument
307 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in mac_imexport_types()
319 static const OSSL_PARAM *cmac_imexport_types(int selection) in cmac_imexport_types() argument
321 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in cmac_imexport_types()
375 static void *mac_gen_init_common(void *provctx, int selection) in mac_gen_init_common() argument
385 gctx->selection = selection; in mac_gen_init_common()
390 static void *mac_gen_init(void *provctx, int selection, in mac_gen_init() argument
393 struct mac_gen_ctx *gctx = mac_gen_init_common(provctx, selection); in mac_gen_init()
402 static void *cmac_gen_init(void *provctx, int selection, in cmac_gen_init() argument
405 struct mac_gen_ctx *gctx = mac_gen_init_common(provctx, selection); in cmac_gen_init()
489 if ((gctx->selection & OSSL_KEYMGMT_SELECT_KEYPAIR) == 0) in mac_gen()