Ruby
2.0.0p598(2014-11-13revision48408)
|
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) |
Functions | |
void | Init_sha2 () |
#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 13 of file sha2init.c.
Definition at line 11 of file sha2init.c.
Referenced by Init_sha2().
void Init_sha2 | ( | ) |
Definition at line 32 of file sha2init.c.
References DECLARE_ALGO_CLASS, DEFINE_ALGO_CLASS, FOREACH_BITLEN, id_metadata, rb_intern, rb_path2class(), and rb_require().