Ruby
3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
|
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 |
#define GetBNPtr | ( | obj | ) | ossl_bn_value_ptr(&(obj)) |
#define ossl_bn_ctx ossl_bn_ctx_get() |
void Init_ossl_bn | ( | void | ) |
Definition at line 1234 of file ossl_bn.c.
References cBN, eBNError, eOSSLError, mOSSL, ossl_bn_ctx_get(), ossl_bn_ctx_key, ossl_bn_ctx_key_type, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_module(), rb_eStandardError, and rb_ractor_local_storage_ptr_newkey().
BN_CTX* ossl_bn_ctx_get | ( | void | ) |
Definition at line 174 of file ossl_bn.c.
References ossl_bn_ctx_key, ossl_raise(), rb_eRuntimeError, rb_ractor_local_storage_ptr(), and rb_ractor_local_storage_ptr_set().
Referenced by Init_ossl_bn().
Definition at line 62 of file ossl_bn.c.
References cBN, eBNError, NewBN, NULL, ossl_raise(), and SetBN.
Referenced by asn1integer_to_num().
VALUE cBN |
Definition at line 50 of file ossl_bn.c.
Referenced by Init_ossl_bn(), and ossl_bn_new().
VALUE eBNError |
Definition at line 56 of file ossl_bn.c.
Referenced by Init_ossl_bn(), and ossl_bn_new().