1 =pod 2 3 =head1 NAME 4 5 ossl_bio_print_hex 6 - Print a hexdump of a binary input 7 8 =head1 SYNOPSIS 9 10 #include <crypto/x509.h> 11 12 int ossl_bio_print_hex(BIO *out, unsigned char *buf, int len); 13 14 =head1 DESCRIPTION 15 16 This function prints a hexdump-like hexadecimal output to I<out> from a binary 17 input I<buf> that is I<len> bytes in length. 18 19 =head1 RETURN VALUES 20 21 Returns 1 if it succeeds in printing, and 0 if it failed. 22 23 =head1 COPYRIGHT 24 25 Copyright 2024 The OpenSSL Project Authors. All Rights Reserved. 26 27 Licensed under the Apache License 2.0 (the "License"). You may not use 28 this file except in compliance with the License. You can obtain a copy 29 in the file LICENSE in the source distribution or at 30 L<https://www.openssl.org/source/license.html>. 31 32 =cut 33