Ruby
2.4.2p198(2017-09-14revision59899)
|
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 |
#define GetBNPtr | ( | obj | ) | ossl_bn_value_ptr(&(obj)) |
Definition at line 18 of file ossl_bn.h.
Referenced by BIGNUM_1c(), num_to_asn1integer(), ossl_bn_copy(), ossl_bn_s_generate_prime(), and ossl_dh_compute_key().
void Init_ossl_bn | ( | void | ) |
Definition at line 1044 of file ossl_bn.c.
References cBN, eBNError, eOSSLError, mOSSL, ossl_bn_alloc(), ossl_bn_coerce(), ossl_bn_copy(), ossl_bn_ctx, ossl_bn_eq(), ossl_bn_eql(), ossl_bn_hash(), ossl_bn_initialize(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_s_generate_prime(), ossl_bn_to_bn(), ossl_bn_to_i(), ossl_bn_to_s(), ossl_raise(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_copy_func, rb_define_method(), rb_define_module(), rb_define_singleton_method(), rb_eRuntimeError, and rb_eStandardError.
Referenced by Init_openssl().
Definition at line 63 of file ossl_bn.c.
References cBN, eBNError, NewBN, NULL, ossl_raise(), and SetBN.
Referenced by asn1integer_to_num(), ossl_dh_get_params(), ossl_dsa_get_params(), and ossl_rsa_get_params().
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().
VALUE cBN |
Definition at line 51 of file ossl_bn.c.
Referenced by Init_ossl_bn(), ossl_bn_coerce(), ossl_bn_eql(), ossl_bn_initialize(), ossl_bn_new(), and try_convert_to_bn().
VALUE eBNError |
Definition at line 57 of file ossl_bn.c.
Referenced by BIGNUM_1c(), Init_ossl_bn(), integer_to_bnptr(), ossl_bn_alloc(), ossl_bn_copy(), ossl_bn_hash(), ossl_bn_initialize(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_new(), ossl_bn_s_generate_prime(), ossl_bn_to_i(), and ossl_bn_to_s().
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().