ext/openssl/ossl_bn.h File Reference

Go to the source code of this file.

Defines

#define _OSSL_BN_H_

Functions

VALUE ossl_bn_new (const BIGNUM *)
BIGNUM * GetBNPtr (VALUE)
void Init_ossl_bn (void)

Variables

VALUE cBN
VALUE eBNError
BN_CTX * ossl_bn_ctx


Define Documentation

#define _OSSL_BN_H_

Definition at line 12 of file ossl_bn.h.


Function Documentation

BIGNUM* GetBNPtr ( VALUE   ) 

Definition at line 58 of file ossl_bn.c.

References cBN, eBNError, GetBN, NULL, ossl_raise(), rb_eTypeError, rb_obj_is_kind_of(), rb_String(), RTEST, StringValuePtr, T_BIGNUM, T_FIXNUM, T_NIL, TYPE, and WrapBN.

Referenced by BIGNUM_1c(), num_to_asn1integer(), and ossl_dh_compute_key().

void Init_ossl_bn ( void   ) 

Definition at line 730 of file ossl_bn.c.

Referenced by Init_openssl().

VALUE ossl_bn_new ( const BIGNUM *   ) 

Definition at line 43 of file ossl_bn.c.

References cBN, eBNError, NULL, ossl_raise(), VALUE, and WrapBN.

Referenced by asn1integer_to_num(), ossl_dh_get_params(), ossl_dsa_get_params(), and ossl_rsa_get_params().


Variable Documentation

VALUE cBN

Definition at line 36 of file ossl_bn.c.

Referenced by GetBNPtr(), ossl_bn_coerce(), ossl_bn_initialize(), and ossl_bn_new().

VALUE eBNError

Definition at line 37 of file ossl_bn.c.

Referenced by BIGNUM_1c(), GetBNPtr(), ossl_bn_alloc(), ossl_bn_initialize(), ossl_bn_new(), ossl_bn_to_i(), and ossl_bn_to_s().

BN_CTX* ossl_bn_ctx

Definition at line 89 of file ossl_bn.c.


Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7