webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Typedefs | Functions
convert.c File Reference
#include <openssl/bn.h>
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <openssl/bio.h>
#include <openssl/bytestring.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"

Typedefs

typedef int(* decode_func) (BIGNUM *bn, const char *in, int in_len)
 
typedef int(* char_test_func) (int c)
 

Functions

BIGNUMBN_bin2bn (const uint8_t *in, size_t len, BIGNUM *ret)
 
size_t BN_bn2bin (const BIGNUM *in, uint8_t *out)
 
int BN_bn2bin_padded (uint8_t *out, size_t len, const BIGNUM *in)
 
int BN_bn2cbb_padded (CBB *out, size_t len, const BIGNUM *in)
 
char * BN_bn2hex (const BIGNUM *bn)
 
int BN_hex2bn (BIGNUM **outp, const char *in)
 
char * BN_bn2dec (const BIGNUM *a)
 
int BN_dec2bn (BIGNUM **outp, const char *in)
 
int BN_asc2bn (BIGNUM **outp, const char *in)
 
int BN_print (BIO *bp, const BIGNUM *a)
 
int BN_print_fp (FILE *fp, const BIGNUM *a)
 
BN_ULONG BN_get_word (const BIGNUM *bn)
 
size_t BN_bn2mpi (const BIGNUM *in, uint8_t *out)
 
BIGNUMBN_mpi2bn (const uint8_t *in, size_t len, BIGNUM *out)
 

Typedef Documentation

◆ char_test_func

typedef int(* char_test_func) (int c)

◆ decode_func

typedef int(* decode_func) (BIGNUM *bn, const char *in, int in_len)

Function Documentation

◆ BN_asc2bn()

int BN_asc2bn ( BIGNUM **  outp,
const char *  in 
)

◆ BN_bin2bn()

BIGNUM* BN_bin2bn ( const uint8_t in,
size_t  len,
BIGNUM ret 
)

◆ BN_bn2bin()

size_t BN_bn2bin ( const BIGNUM in,
uint8_t out 
)

◆ BN_bn2bin_padded()

int BN_bn2bin_padded ( uint8_t out,
size_t  len,
const BIGNUM in 
)

◆ BN_bn2cbb_padded()

int BN_bn2cbb_padded ( CBB out,
size_t  len,
const BIGNUM in 
)

◆ BN_bn2dec()

char* BN_bn2dec ( const BIGNUM a)

◆ BN_bn2hex()

char* BN_bn2hex ( const BIGNUM bn)

◆ BN_bn2mpi()

size_t BN_bn2mpi ( const BIGNUM in,
uint8_t out 
)

◆ BN_dec2bn()

int BN_dec2bn ( BIGNUM **  outp,
const char *  in 
)

◆ BN_get_word()

BN_ULONG BN_get_word ( const BIGNUM bn)

◆ BN_hex2bn()

int BN_hex2bn ( BIGNUM **  outp,
const char *  in 
)

◆ BN_mpi2bn()

BIGNUM* BN_mpi2bn ( const uint8_t in,
size_t  len,
BIGNUM out 
)

◆ BN_print()

int BN_print ( BIO bp,
const BIGNUM a 
)

◆ BN_print_fp()

int BN_print_fp ( FILE *  fp,
const BIGNUM a 
)