Lines Matching refs:pkey
204 static int rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_pub_print() argument
206 return do_rsa_print(bp, pkey->pkey.rsa, indent, 0); in rsa_pub_print()
209 static int rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in rsa_priv_print() argument
211 return do_rsa_print(bp, pkey->pkey.rsa, indent, 1); in rsa_priv_print()
275 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_param_print() argument
277 return do_dsa_print(bp, pkey->pkey.dsa, indent, 0); in dsa_param_print()
280 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_pub_print() argument
282 return do_dsa_print(bp, pkey->pkey.dsa, indent, 1); in dsa_pub_print()
285 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_priv_print() argument
287 return do_dsa_print(bp, pkey->pkey.dsa, indent, 2); in dsa_priv_print()
399 static int eckey_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_param_print() argument
401 return do_EC_KEY_print(bp, pkey->pkey.ec, indent, 0); in eckey_param_print()
404 static int eckey_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_pub_print() argument
406 return do_EC_KEY_print(bp, pkey->pkey.ec, indent, 1); in eckey_pub_print()
410 static int eckey_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in eckey_priv_print() argument
412 return do_EC_KEY_print(bp, pkey->pkey.ec, indent, 2); in eckey_priv_print()
418 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx);
419 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent,
421 int (*param_print)(BIO *out, const EVP_PKEY *pkey, int indent,
457 static int print_unsupported(BIO *out, const EVP_PKEY *pkey, int indent, in print_unsupported() argument
464 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_public() argument
466 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_public()
468 return method->pub_print(out, pkey, indent, pctx); in EVP_PKEY_print_public()
470 return print_unsupported(out, pkey, indent, "Public Key"); in EVP_PKEY_print_public()
473 int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_private() argument
475 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_private()
477 return method->priv_print(out, pkey, indent, pctx); in EVP_PKEY_print_private()
479 return print_unsupported(out, pkey, indent, "Private Key"); in EVP_PKEY_print_private()
482 int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_print_params() argument
484 EVP_PKEY_PRINT_METHOD *method = find_method(pkey->type); in EVP_PKEY_print_params()
486 return method->param_print(out, pkey, indent, pctx); in EVP_PKEY_print_params()
488 return print_unsupported(out, pkey, indent, "Parameters"); in EVP_PKEY_print_params()