Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
BN_bn2bin, BN_bn2binpad, BN_bin2bn, BN_bn2lebinpad, BN_lebin2bn, BN_bn2hex, BN_bn2dec, BN_hex2bn, BN_dec2bn, BN_asc2bn, BN_print, BN_print_fp, BN_bn2mpi, BN_mpi2bn — format conversionsSYNOPSIS
#include <openssl/bn.h>BN_bn2bin(const BIGNUM *a, unsigned char *to);
BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
BN_bn2hex(const BIGNUM *a);
BN_bn2dec(const BIGNUM *a);
BN_hex2bn(BIGNUM **ap, const char *str);
BN_dec2bn(BIGNUM **ap, const char *str);
BN_asc2bn(BIGNUM **ap, const char *str);
BN_print(BIO *fp, const BIGNUM *a);
BN_print_fp(FILE *fp, const BIGNUM *a);
BN_bn2mpi(const BIGNUM *a, unsigned char *to);
BN_mpi2bn(unsigned char *s, int len, BIGNUM *ret);