BN_print_fp

Write the hexadecimal encoding of a BIGNUM to a FILE stream.

Synopsis

Declared in <openssl/bn.h>

int
BN_print_fp(
    FILE* fp,
    BIGNUM const* a);

Return Value

1 on success, or 0 on write error.

Parameters

NameDescription
fpOutput FILE (for example stdout).
aValue to print; a leading '-' is written for negative numbers.