Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ruby/config.h"
Go to the source code of this file.
Macros | |
#define | EC_curve_nist2nid ossl_EC_curve_nist2nid |
#define | X509_REVOKED_dup(rev) |
#define | X509_STORE_CTX_get0_store(x) ((x)->ctx) |
#define | SSL_is_server(s) ((s)->server) |
#define | BN_GENCB_new() ((BN_GENCB *)OPENSSL_malloc(sizeof(BN_GENCB))) |
#define | BN_GENCB_free(cb) OPENSSL_free(cb) |
#define | BN_GENCB_get_arg(cb) (cb)->arg |
#define | EVP_MD_CTX_new EVP_MD_CTX_create |
#define | EVP_MD_CTX_free EVP_MD_CTX_destroy |
#define | HMAC_CTX_new ossl_HMAC_CTX_new |
#define | HMAC_CTX_free ossl_HMAC_CTX_free |
#define | X509_STORE_get_ex_data(x, idx) CRYPTO_get_ex_data(&(x)->ex_data, (idx)) |
#define | X509_STORE_set_ex_data(x, idx, data) CRYPTO_set_ex_data(&(x)->ex_data, (idx), (data)) |
#define | X509_STORE_get_ex_new_index(l, p, newf, dupf, freef) |
#define | X509_CRL_get0_signature ossl_X509_CRL_get0_signature |
#define | X509_REQ_get0_signature ossl_X509_REQ_get0_signature |
#define | X509_REVOKED_get0_serialNumber(x) ((x)->serialNumber) |
#define | X509_REVOKED_get0_revocationDate(x) ((x)->revocationDate) |
#define | X509_get0_tbs_sigalg(x) ((x)->cert_info->signature) |
#define | X509_STORE_CTX_get0_untrusted(x) ((x)->untrusted) |
#define | X509_STORE_CTX_get0_cert(x) ((x)->cert) |
#define | X509_STORE_CTX_get0_chain(ctx) X509_STORE_CTX_get_chain(ctx) |
#define | OCSP_SINGLERESP_get0_id(s) ((s)->certId) |
#define | SSL_CTX_get_ciphers(ctx) ((ctx)->cipher_list) |
#define | X509_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509) |
#define | X509_CRL_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_CRL); |
#define | X509_STORE_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_STORE); |
#define | SSL_SESSION_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_SSL_SESSION); |
#define | EVP_PKEY_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_EVP_PKEY); |
#define | IMPL_PKEY_GETTER(_type, _name) |
#define | IMPL_KEY_ACCESSOR2(_type, _group, a1, a2, _fail_cond) |
#define | IMPL_KEY_ACCESSOR3(_type, _group, a1, a2, a3, _fail_cond) |
#define | EVP_CTRL_AEAD_GET_TAG EVP_CTRL_GCM_GET_TAG |
#define | EVP_CTRL_AEAD_SET_TAG EVP_CTRL_GCM_SET_TAG |
#define | EVP_CTRL_AEAD_SET_IVLEN EVP_CTRL_GCM_SET_IVLEN |
#define | X509_get0_notBefore(x) X509_get_notBefore(x) |
#define | X509_get0_notAfter(x) X509_get_notAfter(x) |
#define | X509_CRL_get0_lastUpdate(x) X509_CRL_get_lastUpdate(x) |
#define | X509_CRL_get0_nextUpdate(x) X509_CRL_get_nextUpdate(x) |
#define | SSL_SESSION_get_protocol_version(s) ((s)->ssl_version) |
Functions | |
int | ossl_EC_curve_nist2nid (const char *) |
HMAC_CTX * | ossl_HMAC_CTX_new (void) |
void | ossl_HMAC_CTX_free (HMAC_CTX *) |
void | ossl_X509_CRL_get0_signature (const X509_CRL *, const ASN1_BIT_STRING **, const X509_ALGOR **) |
void | ossl_X509_REQ_get0_signature (const X509_REQ *, const ASN1_BIT_STRING **, const X509_ALGOR **) |
IMPL_KEY_ACCESSOR3 (RSA, key, n, e, d,(n==obj->n||e==obj->e||(obj->d &&d==obj->d))) IMPL_KEY_ACCESSOR2(DSA | |
Variables | |
key | |
pub_key | |
priv_key | |
#define BN_GENCB_free | ( | cb | ) | OPENSSL_free(cb) |
Definition at line 42 of file openssl_missing.h.
#define BN_GENCB_get_arg | ( | cb | ) | (cb)->arg |
Definition at line 46 of file openssl_missing.h.
Referenced by ossl_generate_cb_2().
#define BN_GENCB_new | ( | ) | ((BN_GENCB *)OPENSSL_malloc(sizeof(BN_GENCB))) |
Definition at line 38 of file openssl_missing.h.
#define EC_curve_nist2nid ossl_EC_curve_nist2nid |
Definition at line 19 of file openssl_missing.h.
#define EVP_CTRL_AEAD_GET_TAG EVP_CTRL_GCM_GET_TAG |
#define EVP_CTRL_AEAD_SET_IVLEN EVP_CTRL_GCM_SET_IVLEN |
#define EVP_CTRL_AEAD_SET_TAG EVP_CTRL_GCM_SET_TAG |
#define EVP_MD_CTX_free EVP_MD_CTX_destroy |
Definition at line 54 of file openssl_missing.h.
#define EVP_MD_CTX_new EVP_MD_CTX_create |
Definition at line 50 of file openssl_missing.h.
#define EVP_PKEY_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_EVP_PKEY); |
Definition at line 143 of file openssl_missing.h.
Referenced by DupPKeyPtr().
#define HMAC_CTX_free ossl_HMAC_CTX_free |
Definition at line 64 of file openssl_missing.h.
#define HMAC_CTX_new ossl_HMAC_CTX_new |
Definition at line 59 of file openssl_missing.h.
#define IMPL_KEY_ACCESSOR2 | ( | _type, | |
_group, | |||
a1, | |||
a2, | |||
_fail_cond | |||
) |
Definition at line 151 of file openssl_missing.h.
#define IMPL_KEY_ACCESSOR3 | ( | _type, | |
_group, | |||
a1, | |||
a2, | |||
a3, | |||
_fail_cond | |||
) |
Definition at line 160 of file openssl_missing.h.
#define IMPL_PKEY_GETTER | ( | _type, | |
_name | |||
) |
Definition at line 148 of file openssl_missing.h.
#define OCSP_SINGLERESP_get0_id | ( | s | ) | ((s)->certId) |
Definition at line 115 of file openssl_missing.h.
#define SSL_CTX_get_ciphers | ( | ctx | ) | ((ctx)->cipher_list) |
Definition at line 119 of file openssl_missing.h.
#define SSL_is_server | ( | s | ) | ((s)->server) |
Definition at line 33 of file openssl_missing.h.
#define SSL_SESSION_get_protocol_version | ( | s | ) | ((s)->ssl_version) |
#define SSL_SESSION_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_SSL_SESSION); |
Definition at line 138 of file openssl_missing.h.
#define X509_CRL_get0_lastUpdate | ( | x | ) | X509_CRL_get_lastUpdate(x) |
#define X509_CRL_get0_nextUpdate | ( | x | ) | X509_CRL_get_nextUpdate(x) |
#define X509_CRL_get0_signature ossl_X509_CRL_get0_signature |
Definition at line 82 of file openssl_missing.h.
#define X509_CRL_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_CRL); |
Definition at line 128 of file openssl_missing.h.
#define X509_get0_notAfter | ( | x | ) | X509_get_notAfter(x) |
#define X509_get0_notBefore | ( | x | ) | X509_get_notBefore(x) |
#define X509_get0_tbs_sigalg | ( | x | ) | ((x)->cert_info->signature) |
Definition at line 99 of file openssl_missing.h.
#define X509_REQ_get0_signature ossl_X509_REQ_get0_signature |
Definition at line 87 of file openssl_missing.h.
#define X509_REVOKED_dup | ( | rev | ) |
Definition at line 24 of file openssl_missing.h.
Referenced by DupX509RevokedPtr(), and ossl_x509revoked_new().
#define X509_REVOKED_get0_revocationDate | ( | x | ) | ((x)->revocationDate) |
Definition at line 95 of file openssl_missing.h.
#define X509_REVOKED_get0_serialNumber | ( | x | ) | ((x)->serialNumber) |
Definition at line 91 of file openssl_missing.h.
#define X509_STORE_CTX_get0_cert | ( | x | ) | ((x)->cert) |
Definition at line 107 of file openssl_missing.h.
#define X509_STORE_CTX_get0_chain | ( | ctx | ) | X509_STORE_CTX_get_chain(ctx) |
Definition at line 111 of file openssl_missing.h.
#define X509_STORE_CTX_get0_store | ( | x | ) | ((x)->ctx) |
Definition at line 29 of file openssl_missing.h.
#define X509_STORE_CTX_get0_untrusted | ( | x | ) | ((x)->untrusted) |
Definition at line 103 of file openssl_missing.h.
#define X509_STORE_get_ex_data | ( | x, | |
idx | |||
) | CRYPTO_get_ex_data(&(x)->ex_data, (idx)) |
Definition at line 68 of file openssl_missing.h.
#define X509_STORE_get_ex_new_index | ( | l, | |
p, | |||
newf, | |||
dupf, | |||
freef | |||
) |
Definition at line 75 of file openssl_missing.h.
#define X509_STORE_set_ex_data | ( | x, | |
idx, | |||
data | |||
) | CRYPTO_set_ex_data(&(x)->ex_data, (idx), (data)) |
Definition at line 73 of file openssl_missing.h.
#define X509_STORE_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_STORE); |
Definition at line 133 of file openssl_missing.h.
#define X509_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509) |
Definition at line 123 of file openssl_missing.h.
Referenced by DupX509CertPtr().
IMPL_KEY_ACCESSOR3 | ( | RSA | , |
key | , | ||
n | , | ||
e | , | ||
d | , | ||
(n==obj->n||e==obj->e||(obj->d &&d==obj->d)) | |||
) |
int ossl_EC_curve_nist2nid | ( | const char * | ) |
Definition at line 48 of file openssl_missing.c.
void ossl_HMAC_CTX_free | ( | HMAC_CTX * | ) |
Definition at line 75 of file openssl_missing.c.
HMAC_CTX* ossl_HMAC_CTX_new | ( | void | ) |
Definition at line 63 of file openssl_missing.c.
References NULL.
void ossl_X509_CRL_get0_signature | ( | const X509_CRL * | , |
const ASN1_BIT_STRING ** | , | ||
const X509_ALGOR ** | |||
) |
Definition at line 86 of file openssl_missing.c.
References NULL.
void ossl_X509_REQ_get0_signature | ( | const X509_REQ * | , |
const ASN1_BIT_STRING ** | , | ||
const X509_ALGOR ** | |||
) |
Definition at line 98 of file openssl_missing.c.
References NULL.
key |
Definition at line 181 of file openssl_missing.h.
Referenced by if(), init_perm(), onig_st_insert_strend(), onig_st_lookup_strend(), rb_get_kwargs(), rb_iseq_parameters(), and rb_reserved_word().
priv_key |
Definition at line 181 of file openssl_missing.h.
pub_key |
Definition at line 181 of file openssl_missing.h.