Lines Matching refs:priv_key
223 const BIGNUM *priv_key, *pub_key; in do_dsa_print() local
225 priv_key = NULL; in do_dsa_print()
227 priv_key = x->priv_key; in do_dsa_print()
245 update_buflen(priv_key, &buf_len); in do_dsa_print()
254 if (priv_key) { in do_dsa_print()
261 if (!bn_print(bp, "priv:", priv_key, m, off) || in do_dsa_print()
302 const BIGNUM *priv_key; in do_EC_KEY_print() local
343 priv_key = EC_KEY_get0_private_key(x); in do_EC_KEY_print()
344 if (priv_key && (i = (size_t)BN_num_bytes(priv_key)) > buf_len) { in do_EC_KEY_print()
348 priv_key = NULL; in do_EC_KEY_print()
375 if ((priv_key != NULL) && in do_EC_KEY_print()
376 !bn_print(bp, "priv:", priv_key, buffer, off)) { in do_EC_KEY_print()