Ruby
2.4.2p198(2017-09-14revision59899)
|
Go to the source code of this file.
Macros | |
#define | FOREACH_BITLEN(func) func(256) func(384) func(512) |
#define | DEFINE_ALGO_METADATA(bitlen) |
#define | DECLARE_ALGO_CLASS(bitlen) VALUE cDigest_SHA##bitlen; |
#define | DEFINE_ALGO_CLASS(bitlen) |
#define | RUBY_UNTYPED_DATA_WARNING 0 |
Functions | |
void | Init_sha2 (void) |
#define DECLARE_ALGO_CLASS | ( | bitlen | ) | VALUE cDigest_SHA##bitlen; |
Referenced by Init_sha2().
#define DEFINE_ALGO_CLASS | ( | bitlen | ) |
Referenced by Init_sha2().
#define DEFINE_ALGO_METADATA | ( | bitlen | ) |
Definition at line 16 of file sha2init.c.
Definition at line 14 of file sha2init.c.
Referenced by Init_sha2().
#define RUBY_UNTYPED_DATA_WARNING 0 |
void Init_sha2 | ( | void | ) |
Definition at line 35 of file sha2init.c.
References DECLARE_ALGO_CLASS, DEFINE_ALGO_CLASS, FOREACH_BITLEN, id_metadata, rb_intern_const, rb_path2class(), and rb_require().