Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
|
#include "ossl.h"
Go to the source code of this file.
Functions | |
int | ossl_generate_cb_2 (int p, int n, BN_GENCB *cb) |
void | ossl_generate_cb_stop (void *ptr) |
VALUE | ossl_pkey_new (EVP_PKEY *pkey) |
void | ossl_pkey_check_public_key (const EVP_PKEY *pkey) |
EVP_PKEY * | GetPKeyPtr (VALUE obj) |
EVP_PKEY * | GetPrivPKeyPtr (VALUE obj) |
EVP_PKEY * | DupPKeyPtr (VALUE obj) |
void | Init_ossl_pkey (void) |
Variables | |
VALUE | mPKey |
VALUE | cPKey |
VALUE | ePKeyError |
const rb_data_type_t | ossl_evp_pkey_type |
EVP_PKEY * DupPKeyPtr | ( | VALUE | obj | ) |
Definition at line 252 of file ossl_pkey.c.
References EVP_PKEY_up_ref, GetPKey, and obj.
EVP_PKEY * GetPKeyPtr | ( | VALUE | obj | ) |
Definition at line 229 of file ossl_pkey.c.
EVP_PKEY * GetPrivPKeyPtr | ( | VALUE | obj | ) |
Definition at line 239 of file ossl_pkey.c.
References obj, and rb_funcallv.
Definition at line 412 of file ossl_pkey.c.
References cPKey, eOSSLError, ePKeyError, mOSSL, mPKey, rb_cObject, rb_define_class_under(), rb_define_module(), rb_define_module_function(), rb_define_module_under(), and rb_eStandardError.
Definition at line 39 of file ossl_pkey.c.
References arg, BN_GENCB_get_arg, int, INT2NUM, n, rb_ary_new2, rb_ary_store(), rb_protect(), rb_thread_call_with_gvl(), rb_yield(), and ossl_generate_cb_arg::state.
Definition at line 72 of file ossl_pkey.c.
Definition at line 189 of file ossl_pkey.c.
References ePKeyError, n, NULL, ossl_raise(), and ptr.
VALUE ossl_pkey_new | ( | EVP_PKEY * | pkey | ) |
Definition at line 129 of file ossl_pkey.c.
References obj, and rb_protect().
VALUE cPKey |
Definition at line 16 of file ossl_pkey.c.
Referenced by Init_ossl_dh(), Init_ossl_dsa(), Init_ossl_ec(), Init_ossl_pkey(), and Init_ossl_rsa().
VALUE ePKeyError |
Definition at line 17 of file ossl_pkey.c.
Referenced by Init_ossl_dh(), Init_ossl_dsa(), Init_ossl_ec(), Init_ossl_pkey(), Init_ossl_rsa(), and ossl_pkey_check_public_key().
VALUE mPKey |
Definition at line 15 of file ossl_pkey.c.
Referenced by Init_ossl_dh(), Init_ossl_dsa(), Init_ossl_ec(), Init_ossl_pkey(), and Init_ossl_rsa().
const rb_data_type_t ossl_evp_pkey_type |
Definition at line 87 of file ossl_pkey.c.