Lines Matching refs:selection
60 int selection; member
82 static int msblob2key_does_selection(void *provctx, int selection) in msblob2key_does_selection() argument
84 if (selection == 0) in msblob2key_does_selection()
87 if ((selection & (OSSL_KEYMGMT_SELECT_PRIVATE_KEY in msblob2key_does_selection()
94 static int msblob2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in msblob2key_decode() argument
122 ctx->selection = selection; in msblob2key_decode()
145 if ((selection == 0 in msblob2key_decode()
146 || (selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in msblob2key_decode()
156 if (selection != 0 && key == NULL) in msblob2key_decode()
159 if (key == NULL && (selection == 0 in msblob2key_decode()
160 || (selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in msblob2key_decode()
165 if (selection != 0 && key == NULL) in msblob2key_decode()
226 int selection = ctx->selection; in msblob2key_export_object() local
228 if (selection == 0) in msblob2key_export_object()
229 selection = OSSL_KEYMGMT_SELECT_ALL; in msblob2key_export_object()
233 return export(keydata, selection, export_cb, export_cbarg); in msblob2key_export_object()