Ruby  2.5.0dev(2017-10-22revision60238)
Macros | Functions | Variables
ossl_bn.h File Reference

Go to the source code of this file.

Macros

#define GetBNPtr(obj)   ossl_bn_value_ptr(&(obj))
 

Functions

VALUE ossl_bn_new (const BIGNUM *)
 
BIGNUM * ossl_bn_value_ptr (volatile VALUE *)
 
void Init_ossl_bn (void)
 

Variables

VALUE cBN
 
VALUE eBNError
 
BN_CTX * ossl_bn_ctx
 

Macro Definition Documentation

◆ GetBNPtr

#define GetBNPtr (   obj)    ossl_bn_value_ptr(&(obj))

Definition at line 18 of file ossl_bn.h.

Referenced by BIGNUM_1c(), and num_to_asn1integer().

Function Documentation

◆ Init_ossl_bn()

void Init_ossl_bn ( void  )

◆ ossl_bn_new()

VALUE ossl_bn_new ( const BIGNUM *  )

Definition at line 58 of file ossl_bn.c.

References cBN, eBNError, NewBN, NULL, ossl_raise(), and SetBN.

Referenced by asn1integer_to_num().

◆ ossl_bn_value_ptr()

BIGNUM* ossl_bn_value_ptr ( volatile VALUE )

Definition at line 136 of file ossl_bn.c.

Variable Documentation

◆ cBN

VALUE cBN

Definition at line 46 of file ossl_bn.c.

Referenced by Init_ossl_bn(), and ossl_bn_new().

◆ eBNError

VALUE eBNError

Definition at line 52 of file ossl_bn.c.

Referenced by BIGNUM_1c(), Init_ossl_bn(), and ossl_bn_new().

◆ ossl_bn_ctx

BN_CTX* ossl_bn_ctx

Definition at line 158 of file ossl_bn.c.

Referenced by BIGNUM_1c(), and Init_ossl_bn().