evp_cipher_st

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Members

Variables

app_data
void* app_data;

Application data

block_size
int block_size;
Undocumented in source.
cleanup
int function(libressl_d.openssl.ossl_typ.EVP_CIPHER_CTX*) cleanup;

cleanup ctx

ctrl
int function(libressl_d.openssl.ossl_typ.EVP_CIPHER_CTX*, int type, int arg, void* ptr_) ctrl;

Miscellaneous operations

ctx_size
int ctx_size;

how big ctx.cipher_data needs to be

do_cipher
int function(libressl_d.openssl.ossl_typ.EVP_CIPHER_CTX* ctx, ubyte* out_, const(ubyte)* in_, size_t inl) do_cipher;

encrypt/decrypt data

flags
core.stdc.config.c_ulong flags;

Various flags

get_asn1_parameters
int function(libressl_d.openssl.ossl_typ.EVP_CIPHER_CTX*, libressl_d.openssl.asn1.ASN1_TYPE*) get_asn1_parameters;

Get parameters from a ASN1_TYPE

init
int function(libressl_d.openssl.ossl_typ.EVP_CIPHER_CTX* ctx, const(ubyte)* key, const(ubyte)* iv, int enc) init;

init key

iv_len
int iv_len;
Undocumented in source.
key_len
int key_len;

Default value for variable length ciphers

nid
int nid;
Undocumented in source.
set_asn1_parameters
int function(libressl_d.openssl.ossl_typ.EVP_CIPHER_CTX*, libressl_d.openssl.asn1.ASN1_TYPE*) set_asn1_parameters;

Populate a ASN1_TYPE with parameters

Meta