Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include "ossl.h"
Go to the source code of this file.
Data Structures | |
struct | dsa_blocking_gen_arg |
Macros | |
#define | GetPKeyDSA(obj, pkey) |
#define | GetDSA(obj, dsa) |
#define | PEM_read_bio_DSAPublicKey(bp, x, cb, u) |
#define | DSAPublicKey_dup(dsa) |
Functions | |
VALUE | ossl_dsa_new (EVP_PKEY *pkey) |
void | Init_ossl_dsa (void) |
Variables | |
VALUE | cDSA |
VALUE | eDSAError |
#define DSAPublicKey_dup | ( | dsa | ) |
#define GetDSA | ( | obj, | |
dsa | |||
) |
Definition at line 20 of file ossl_pkey_dsa.c.
#define GetPKeyDSA | ( | obj, | |
pkey | |||
) |
Definition at line 14 of file ossl_pkey_dsa.c.
#define PEM_read_bio_DSAPublicKey | ( | bp, | |
x, | |||
cb, | |||
u | |||
) |
void Init_ossl_dsa | ( | void | ) |
Definition at line 609 of file ossl_pkey_dsa.c.
References cDSA, cPKey, DEF_OSSL_PKEY_BN, dsa_blocking_gen_arg::dsa, eDSAError, eOSSLError, ePKeyError, g, mOSSL, mPKey, priv_key, pub_key, rb_cObject, rb_define_alias(), rb_define_class_under(), rb_define_method, rb_define_module_under(), and rb_define_singleton_method.
Referenced by Init_ossl_pkey().
VALUE ossl_dsa_new | ( | EVP_PKEY * | pkey | ) |
Definition at line 72 of file ossl_pkey_dsa.c.
References cDSA, eDSAError, NewPKey, NULL, ossl_raise(), Qfalse, rb_eTypeError, and SetPKey.
VALUE cDSA |
Definition at line 43 of file ossl_pkey_dsa.c.
Referenced by Init_ossl_dsa(), and ossl_dsa_new().
VALUE eDSAError |
Definition at line 44 of file ossl_pkey_dsa.c.
Referenced by Init_ossl_dsa(), and ossl_dsa_new().