Ruby  2.4.2p198(2017-09-14revision59899)
Macros | Functions | Variables
ossl_bn.h File Reference
This graph shows which files directly or indirectly include this file:

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))

Function Documentation

◆ Init_ossl_bn()

void Init_ossl_bn ( void  )

◆ ossl_bn_new()

VALUE ossl_bn_new ( const BIGNUM *  )

◆ ossl_bn_value_ptr()

BIGNUM* ossl_bn_value_ptr ( volatile VALUE )

Definition at line 141 of file ossl_bn.c.

References GetBN, NIL_P, ossl_raise(), rb_eTypeError, and try_convert_to_bn().

Variable Documentation

◆ cBN

VALUE cBN

◆ eBNError

VALUE eBNError

◆ ossl_bn_ctx

BN_CTX* ossl_bn_ctx

Definition at line 163 of file ossl_bn.c.

Referenced by BIGNUM_1c(), Init_ossl_bn(), ossl_bn_is_prime(), and ossl_bn_is_prime_fasttest().