| Ruby
    3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
    | 
#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.
| #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 845 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.
References ret.
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.
Referenced by ossl_pkey_export_traditional().
| 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().
 1.8.17
 1.8.17