Lines Matching full:selection

216 static int dh_to_text(BIO *out, const void *key, int selection)  in dh_to_text()  argument
230 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dh_to_text()
232 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dh_to_text()
234 else if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in dh_to_text()
237 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dh_to_text()
244 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in dh_to_text()
251 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) { in dh_to_text()
292 static int dsa_to_text(BIO *out, const void *key, int selection) in dsa_to_text() argument
305 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in dsa_to_text()
307 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in dsa_to_text()
309 else if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in dsa_to_text()
312 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in dsa_to_text()
319 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in dsa_to_text()
326 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) { in dsa_to_text()
491 static int ec_to_text(BIO *out, const void *key, int selection) in ec_to_text() argument
510 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) in ec_to_text()
512 else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) in ec_to_text()
514 else if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in ec_to_text()
517 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ec_to_text()
528 if ((selection & OSSL_KEYMGMT_SELECT_KEYPAIR) != 0) { in ec_to_text()
550 if ((selection & OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS) != 0) in ec_to_text()
568 static int ecx_to_text(BIO *out, const void *key, int selection) in ecx_to_text() argument
593 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in ecx_to_text()
603 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in ecx_to_text()
628 static int rsa_to_text(BIO *out, const void *key, int selection) in rsa_to_text() argument
656 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
660 } else if ((selection & OSSL_KEYMGMT_SELECT_PUBLIC_KEY) != 0) { in rsa_to_text()
670 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
684 if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0) { in rsa_to_text()
723 if ((selection & OSSL_KEYMGMT_SELECT_OTHER_PARAMETERS) != 0) { in rsa_to_text()
794 static int key2text_encode(void *vctx, const void *key, int selection, in key2text_encode() argument
797 int selection), in key2text_encode() argument
806 ret = key2text(out, key, selection); in key2text_encode()
819 static void *impl##2text_import_object(void *ctx, int selection, \
823 ctx, selection, params); \
832 int selection, \
841 return key2text_encode(vctx, key, selection, cout, \