Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Macros | Functions | Variables
ossl_bn.h File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

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

Functions

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

Variables

VALUE cBN
 
VALUE eBNError
 

Macro Definition Documentation

◆ GetBNPtr

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

Definition at line 19 of file ossl_bn.h.

◆ ossl_bn_ctx

#define ossl_bn_ctx   ossl_bn_ctx_get()

Definition at line 17 of file ossl_bn.h.

Function Documentation

◆ Init_ossl_bn()

void Init_ossl_bn ( void  )

◆ ossl_bn_ctx_get()

BN_CTX* ossl_bn_ctx_get ( void  )

◆ ossl_bn_new()

VALUE ossl_bn_new ( const BIGNUM *  )

Definition at line 62 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 140 of file ossl_bn.c.

Variable Documentation

◆ cBN

VALUE cBN

Definition at line 50 of file ossl_bn.c.

Referenced by Init_ossl_bn(), and ossl_bn_new().

◆ eBNError

VALUE eBNError

Definition at line 56 of file ossl_bn.c.

Referenced by Init_ossl_bn(), and ossl_bn_new().