Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewCipher(klass) TypedData_Wrap_Struct((klass), &ossl_cipher_type, 0) |
#define | AllocCipher(obj, ctx) |
#define | GetCipherInit(obj, ctx) |
#define | GetCipher(obj, ctx) |
Functions | |
const EVP_CIPHER * | ossl_evp_get_cipherbyname (VALUE obj) |
VALUE | ossl_cipher_new (const EVP_CIPHER *cipher) |
void | Init_ossl_cipher (void) |
Variables | |
VALUE | cCipher |
VALUE | eCipherError |
#define AllocCipher | ( | obj, | |
ctx | |||
) |
Definition at line 14 of file ossl_cipher.c.
#define GetCipher | ( | obj, | |
ctx | |||
) |
Definition at line 23 of file ossl_cipher.c.
Referenced by ossl_evp_get_cipherbyname().
#define GetCipherInit | ( | obj, | |
ctx | |||
) |
Definition at line 20 of file ossl_cipher.c.
#define NewCipher | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_cipher_type, 0) |
Definition at line 12 of file ossl_cipher.c.
void Init_ossl_cipher | ( | void | ) |
Definition at line 817 of file ossl_cipher.c.
References cCipher, eCipherError, eOSSLError, mOSSL, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_module(), and rb_eStandardError.
Definition at line 75 of file ossl_cipher.c.
Definition at line 52 of file ossl_cipher.c.
References cCipher, GetCipher, ossl_raise(), PRIsVALUE, rb_eArgError, rb_obj_is_kind_of(), RSTRING_PTR, and StringValueCStr.
VALUE cCipher |
Definition at line 33 of file ossl_cipher.c.
Referenced by Init_ossl_cipher(), and ossl_evp_get_cipherbyname().
VALUE eCipherError |
Definition at line 34 of file ossl_cipher.c.
Referenced by Init_ossl_cipher().