Home | History | Annotate | Download | only in dh

Lines Matching refs:indent

316 static int do_dh_print(BIO *bp, const DH *x, int indent,
363 BIO_indent(bp, indent, 128);
366 indent += 4;
368 if (!ASN1_bn_print(bp,"private-key:",priv_key,m,indent)) goto err;
369 if (!ASN1_bn_print(bp,"public-key:",pub_key,m,indent)) goto err;
371 if (!ASN1_bn_print(bp,"prime:",x->p,m,indent)) goto err;
372 if (!ASN1_bn_print(bp,"generator:",x->g,m,indent)) goto err;
375 BIO_indent(bp, indent, 128);
446 static int dh_param_print(BIO *bp, const EVP_PKEY *pkey, int indent,
449 return do_dh_print(bp, pkey->pkey.dh, indent, ctx, 0);
452 static int dh_public_print(BIO *bp, const EVP_PKEY *pkey, int indent,
455 return do_dh_print(bp, pkey->pkey.dh, indent, ctx, 1);
458 static int dh_private_print(BIO *bp, const EVP_PKEY *pkey, int indent,
461 return do_dh_print(bp, pkey->pkey.dh, indent, ctx, 2);