Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "ossl.h"
Go to the source code of this file.
Functions | |
static VALUE | ossl_rand_seed (VALUE self, VALUE str) |
static VALUE | ossl_rand_add (VALUE self, VALUE str, VALUE entropy) |
static VALUE | ossl_rand_load_file (VALUE self, VALUE filename) |
static VALUE | ossl_rand_write_file (VALUE self, VALUE filename) |
static VALUE | ossl_rand_bytes (VALUE self, VALUE len) |
static VALUE | ossl_rand_status (VALUE self) |
void | Init_ossl_rand (void) |
Variables | |
VALUE | mRandom |
VALUE | eRandomError |
void Init_ossl_rand | ( | void | ) |
Definition at line 214 of file ossl_rand.c.
References eOSSLError, eRandomError, mOSSL, mRandom, ossl_rand_add(), ossl_rand_bytes(), ossl_rand_load_file(), ossl_rand_seed(), ossl_rand_status(), ossl_rand_write_file(), rb_define_class_under(), rb_define_module(), rb_define_module_function(), rb_define_module_under(), and rb_eStandardError.
Referenced by Init_openssl().
Definition at line 53 of file ossl_rand.c.
References NUM2DBL, RSTRING_LENINT, RSTRING_PTR, and StringValue.
Referenced by Init_ossl_rand().
Definition at line 110 of file ossl_rand.c.
References eRandomError, len, NULL, NUM2INT, ossl_raise(), Qtrue, rb_check_safe_obj(), rb_str_new(), RSTRING_PTR, and StringValueCStr.
Referenced by Init_ossl_rand().
Definition at line 68 of file ossl_rand.c.
References eRandomError, NULL, ossl_raise(), Qtrue, rb_check_safe_obj(), and StringValueCStr.
Referenced by Init_ossl_rand().
Definition at line 22 of file ossl_rand.c.
References RSTRING_LENINT, RSTRING_PTR, and StringValue.
Referenced by Init_ossl_rand().
Definition at line 205 of file ossl_rand.c.
Referenced by Init_ossl_rand().
Definition at line 87 of file ossl_rand.c.
References eRandomError, NULL, ossl_raise(), Qtrue, rb_check_safe_obj(), and StringValueCStr.
Referenced by Init_ossl_rand().
VALUE eRandomError |
Definition at line 13 of file ossl_rand.c.
Referenced by Init_ossl_rand(), ossl_rand_bytes(), ossl_rand_load_file(), and ossl_rand_write_file().
VALUE mRandom |
Definition at line 12 of file ossl_rand.c.
Referenced by Init_ossl_rand().