Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | GetDigest(obj, ctx) |
Functions | |
const EVP_MD * | ossl_evp_get_digestbyname (VALUE obj) |
VALUE | ossl_digest_new (const EVP_MD *md) |
VALUE | ossl_digest_update (VALUE, VALUE) |
void | Init_ossl_digest (void) |
Variables | |
VALUE | cDigest |
VALUE | eDigestError |
#define GetDigest | ( | obj, | |
ctx | |||
) |
Definition at line 12 of file ossl_digest.c.
void Init_ossl_digest | ( | void | ) |
Definition at line 314 of file ossl_digest.c.
References cDigest, eDigestError, eOSSLError, mOSSL, ossl_digest_update(), Qnil, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_method, rb_define_module(), rb_define_private_method, rb_eStandardError, rb_funcall(), rb_path2class(), and rb_str_new_cstr.
Referenced by Init_openssl().
Definition at line 73 of file ossl_digest.c.
References cDigest, eDigestError, EVP_MD_CTX_new, NULL, ossl_raise(), and RTYPEDDATA_DATA.
Definition at line 202 of file ossl_digest.c.
References eDigestError, GetDigest, ossl_raise(), RSTRING_LEN, RSTRING_PTR, and StringValue.
Referenced by Init_ossl_digest().
Definition at line 45 of file ossl_digest.c.
References GetDigest, name, NULL, ossl_raise(), PRIsVALUE, rb_eRuntimeError, StringValueCStr, and T_STRING.
VALUE cDigest |
Definition at line 22 of file ossl_digest.c.
Referenced by Init_ossl_digest(), and ossl_digest_new().
VALUE eDigestError |
Definition at line 23 of file ossl_digest.c.
Referenced by Init_ossl_digest(), ossl_digest_new(), and ossl_digest_update().