Lines Matching refs:bp

272 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype)  in do_dsa_print()  argument
300 if (!BIO_indent(bp, off, 128)) in do_dsa_print()
302 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, mod_len) <= 0) in do_dsa_print()
305 if (BIO_printf(bp, "Public-Key: (%d bit)\n", mod_len) <= 0) in do_dsa_print()
309 if (!ASN1_bn_print(bp, "priv:", priv_key, NULL, off)) in do_dsa_print()
311 if (!ASN1_bn_print(bp, "pub: ", pub_key, NULL, off)) in do_dsa_print()
313 if (!ossl_ffc_params_print(bp, &x->params, off)) in do_dsa_print()
338 static int dsa_param_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_param_print() argument
341 return do_dsa_print(bp, pkey->pkey.dsa, indent, 0); in dsa_param_print()
344 static int dsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_pub_print() argument
347 return do_dsa_print(bp, pkey->pkey.dsa, indent, 1); in dsa_pub_print()
350 static int dsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, in dsa_priv_print() argument
353 return do_dsa_print(bp, pkey->pkey.dsa, indent, 2); in dsa_priv_print()
375 static int dsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, in dsa_sig_print() argument
382 if (BIO_puts(bp, "\n") <= 0) in dsa_sig_print()
395 if (BIO_write(bp, "\n", 1) != 1) in dsa_sig_print()
398 if (!ASN1_bn_print(bp, "r: ", r, NULL, indent)) in dsa_sig_print()
400 if (!ASN1_bn_print(bp, "s: ", s, NULL, indent)) in dsa_sig_print()
407 if (BIO_puts(bp, "\n") <= 0) in dsa_sig_print()
409 return X509_signature_dump(bp, sig, indent); in dsa_sig_print()