evp_cipher_ctx_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 stuff

block_mask
int block_mask;
Undocumented in source.
buf
ubyte[.EVP_MAX_BLOCK_LENGTH] buf;

saved partial block

buf_len
int buf_len;

number we have left

cipher
const(libressl_d.openssl.ossl_typ.EVP_CIPHER)* cipher;
Undocumented in source.
cipher_data
void* cipher_data;

per EVP data

encrypt
int encrypt;

encrypt or decrypt

engine
libressl_d.openssl.ossl_typ.ENGINE* engine;

functional reference if 'cipher' is ENGINE-provided

final_
ubyte[.EVP_MAX_BLOCK_LENGTH] final_;

possible final block

final_used
int final_used;
Undocumented in source.
flags
core.stdc.config.c_ulong flags;

Various flags

iv
ubyte[.EVP_MAX_IV_LENGTH] iv;

working iv

key_len
int key_len;

May change for variable length cipher

num
int num;

used by cfb/ofb/ctr mode

oiv
ubyte[.EVP_MAX_IV_LENGTH] oiv;

original iv

Meta