ext/openssl/ossl_cipher.h File Reference

Go to the source code of this file.

Defines

#define _OSSL_CIPHER_H_

Functions

const EVP_CIPHER * GetCipherPtr (VALUE)
VALUE ossl_cipher_new (const EVP_CIPHER *)
void Init_ossl_cipher (void)

Variables

VALUE cCipher
VALUE eCipherError


Define Documentation

#define _OSSL_CIPHER_H_

Definition at line 12 of file ossl_cipher.h.


Function Documentation

const EVP_CIPHER* GetCipherPtr ( VALUE   ) 

Definition at line 45 of file ossl_cipher.c.

References SafeGetCipher.

Referenced by ossl_dsa_export(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_set_cipher(), and ossl_rsa_export().

void Init_ossl_cipher ( void   ) 

Definition at line 741 of file ossl_cipher.c.

References cCipher, eCipherError, eOSSLError, mOSSL, ossl_cipher_alloc(), ossl_cipher_copy(), ossl_cipher_decrypt(), ossl_cipher_encrypt(), ossl_cipher_final(), ossl_cipher_get_auth_tag, ossl_cipher_initialize(), ossl_cipher_is_authenticated, ossl_cipher_name(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_reset(), ossl_cipher_set_auth_data, ossl_cipher_set_auth_tag, ossl_cipher_set_iv(), ossl_cipher_set_key(), ossl_cipher_set_key_length(), ossl_cipher_set_padding, ossl_cipher_update(), ossl_s_ciphers, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_copy_func, rb_define_method(), rb_define_module(), and rb_define_module_function().

Referenced by Init_openssl().

VALUE ossl_cipher_new ( const EVP_CIPHER *   ) 

Definition at line 55 of file ossl_cipher.c.

References AllocCipher, cCipher, eCipherError, EVP_CipherInit_ex, NULL, ossl_cipher_alloc(), ossl_raise(), and VALUE.


Variable Documentation

VALUE cCipher

Definition at line 36 of file ossl_cipher.c.

Referenced by Init_ossl_cipher(), and ossl_cipher_new().

VALUE eCipherError

Definition at line 37 of file ossl_cipher.c.

Referenced by Init_ossl_cipher(), ossl_cipher_copy(), ossl_cipher_final(), ossl_cipher_init(), ossl_cipher_initialize(), ossl_cipher_new(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_reset(), ossl_cipher_set_iv(), ossl_cipher_set_key(), ossl_cipher_set_key_length(), and ossl_cipher_update().


Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7