Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | EXPORT_PEM 0 |
#define | EXPORT_DER 1 |
#define | GetPKeyEC(obj, pkey) |
#define | GetEC(obj, key) |
#define | GetECGroup(obj, group) |
#define | GetECPoint(obj, point) |
#define | GetECPointGroup(obj, group) |
Functions | |
VALUE | ossl_ec_new (EVP_PKEY *pkey) |
void | Init_ossl_ec (void) |
Variables | |
VALUE | cEC |
VALUE | eECError |
VALUE | cEC_GROUP |
VALUE | eEC_GROUP |
VALUE | cEC_POINT |
VALUE | eEC_POINT |
#define EXPORT_DER 1 |
Definition at line 10 of file ossl_pkey_ec.c.
#define EXPORT_PEM 0 |
Definition at line 9 of file ossl_pkey_ec.c.
#define GetEC | ( | obj, | |
key | |||
) |
Definition at line 21 of file ossl_pkey_ec.c.
#define GetECGroup | ( | obj, | |
group | |||
) |
Definition at line 27 of file ossl_pkey_ec.c.
#define GetECPoint | ( | obj, | |
point | |||
) |
Definition at line 33 of file ossl_pkey_ec.c.
#define GetECPointGroup | ( | obj, | |
group | |||
) |
Definition at line 38 of file ossl_pkey_ec.c.
#define GetPKeyEC | ( | obj, | |
pkey | |||
) |
Definition at line 15 of file ossl_pkey_ec.c.
void Init_ossl_ec | ( | void | ) |
Definition at line 1678 of file ossl_pkey_ec.c.
References cEC, cEC_GROUP, cEC_POINT, cPKey, eEC_GROUP, eEC_POINT, eECError, eOSSLError, ePKeyError, INT2NUM, mOSSL, mPKey, rb_attr(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_const(), rb_define_method, rb_define_module_under(), rb_define_singleton_method, rb_eStandardError, and rb_intern().
Referenced by Init_ossl_pkey().
VALUE ossl_ec_new | ( | EVP_PKEY * | pkey | ) |
Definition at line 87 of file ossl_pkey_ec.c.
References cEC, eECError, NewPKey, NULL, ossl_raise(), Qfalse, rb_eTypeError, and SetPKey.
VALUE cEC |
Definition at line 43 of file ossl_pkey_ec.c.
Referenced by Init_ossl_ec(), and ossl_ec_new().
VALUE cEC_GROUP |
Definition at line 45 of file ossl_pkey_ec.c.
Referenced by Init_ossl_ec().
VALUE cEC_POINT |
Definition at line 47 of file ossl_pkey_ec.c.
Referenced by Init_ossl_ec().
VALUE eEC_GROUP |
Definition at line 46 of file ossl_pkey_ec.c.
Referenced by Init_ossl_ec().
VALUE eEC_POINT |
Definition at line 48 of file ossl_pkey_ec.c.
Referenced by Init_ossl_ec().
VALUE eECError |
Definition at line 44 of file ossl_pkey_ec.c.
Referenced by Init_ossl_ec(), and ossl_ec_new().