|
Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the documentation of this file.
68 ossl_rand_load_file(
VALUE self,
VALUE filename)
85 ossl_rand_write_file(
VALUE self,
VALUE filename)
116 }
else if (ret == -1) {
123 #if defined(HAVE_RAND_PSEUDO_BYTES)
145 if (RAND_pseudo_bytes((
unsigned char *)
RSTRING_PTR(
str), n) < 1) {
197 ossl_rand_status(
VALUE self)
222 #if defined(HAVE_RAND_PSEUDO_BYTES)
VALUE rb_define_module_under(VALUE outer, const char *name)
VALUE rb_str_new(const char *, long)
#define RSTRING_LENINT(str)
VALUE rb_define_module(const char *name)
void Init_ossl_rand(void)
void ossl_raise(VALUE exc, const char *fmt,...)
#define StringValueCStr(v)
void rb_define_module_function(VALUE module, const char *name, VALUE(*func)(ANYARGS), int argc)
Defines a module function for module.
char str[HTML_ESCAPE_MAX_LEN+1]
VALUE rb_define_class_under(VALUE outer, const char *name, VALUE super)
Defines a class under the namespace of outer.