Home | History | Annotate | Download | only in x509

Lines Matching refs:bp

298 int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent,
306 if (BIO_puts(bp, " (INVALID PSS PARAMETERS)\n") <= 0) {
313 if (BIO_puts(bp, "\n") <= 0 ||
314 !BIO_indent(bp, indent, 128) ||
315 BIO_puts(bp, "Hash Algorithm: ") <= 0) {
320 if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0) {
323 } else if (BIO_puts(bp, "sha1 (default)") <= 0) {
327 if (BIO_puts(bp, "\n") <= 0 ||
328 !BIO_indent(bp, indent, 128) ||
329 BIO_puts(bp, "Mask Algorithm: ") <= 0) {
334 if (i2a_ASN1_OBJECT(bp, pss->maskGenAlgorithm->algorithm) <= 0 ||
335 BIO_puts(bp, " with ") <= 0) {
340 if (i2a_ASN1_OBJECT(bp, maskHash->algorithm) <= 0) {
343 } else if (BIO_puts(bp, "INVALID") <= 0) {
346 } else if (BIO_puts(bp, "mgf1 with sha1 (default)") <= 0) {
349 BIO_puts(bp, "\n");
351 if (!BIO_indent(bp, indent, 128) ||
352 BIO_puts(bp, "Salt Length: 0x") <= 0) {
357 if (i2a_ASN1_INTEGER(bp, pss->saltLength) <= 0) {
360 } else if (BIO_puts(bp, "14 (default)") <= 0) {
363 BIO_puts(bp, "\n");
365 if (!BIO_indent(bp, indent, 128) ||
366 BIO_puts(bp, "Trailer Field: 0x") <= 0) {
371 if (i2a_ASN1_INTEGER(bp, pss->trailerField) <= 0) {
374 } else if (BIO_puts(bp, "BC (default)") <= 0) {
377 BIO_puts(bp, "\n");