81 const WOLFSSL_EVP_MD* type,
82 WOLFSSL_ENGINE *impl);
126 const WOLFSSL_EVP_CIPHER* type,
127 WOLFSSL_ENGINE *impl,
128 const unsigned char* key,
129 const unsigned char* iv,
167 const WOLFSSL_EVP_CIPHER* type,
168 WOLFSSL_ENGINE *impl,
169 const unsigned char* key,
170 const unsigned char* iv);
216 const WOLFSSL_EVP_CIPHER* type,
217 WOLFSSL_ENGINE *impl,
218 const unsigned char* key,
219 const unsigned char* iv);
258 unsigned char *out,
int *outl,
259 const unsigned char *in,
int inl);
290 unsigned char *out,
int *outl);
int wolfSSL_EVP_DecryptInit_ex(WOLFSSL_EVP_CIPHER_CTX *ctx, const WOLFSSL_EVP_CIPHER *type, WOLFSSL_ENGINE *impl, const unsigned char *key, const unsigned char *iv)
Function for initializing WOLFSSL_EVP_CIPHER_CTX. This function is a wrapper for wolfSSL_EVP_CipherIn...
int wolfSSL_EVP_CIPHER_CTX_set_padding(WOLFSSL_EVP_CIPHER_CTX *c, int pad)
Setter function for WOLFSSL_EVP_CIPHER_CTX structure to use padding.
int wolfSSL_EVP_CipherUpdate(WOLFSSL_EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
Function for encrypting/decrypting data. In buffer is added to be encrypted or decrypted and out buff...
int wolfSSL_EVP_DigestInit_ex(WOLFSSL_EVP_MD_CTX *ctx, const WOLFSSL_EVP_MD *type, WOLFSSL_ENGINE *impl)
Function for initializing WOLFSSL_EVP_MD_CTX. This function is a wrapper for wolfSSL_EVP_DigestInit()...
int wolfSSL_EVP_CipherFinal(WOLFSSL_EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
This function performs the final cipher operations adding in padding. If WOLFSSL_EVP_CIPH_NO_PADDING ...
const WOLFSSL_EVP_CIPHER * wolfSSL_EVP_des_ede3_ecb(void)
Getter functions for the respective WOLFSSL_EVP_CIPHER pointers. wolfSSL_EVP_init() must be called on...
int wolfSSL_EVP_CipherInit_ex(WOLFSSL_EVP_CIPHER_CTX *ctx, const WOLFSSL_EVP_CIPHER *type, WOLFSSL_ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc)
Function for initializing WOLFSSL_EVP_CIPHER_CTX. This function is a wrapper for wolfSSL_CipherInit()...
void wolfSSL_EVP_CIPHER_CTX_set_flags(WOLFSSL_EVP_CIPHER_CTX *ctx, int flags)
Setter function for WOLFSSL_EVP_CIPHER_CTX structure.
int wolfSSL_EVP_CIPHER_CTX_set_key_length(WOLFSSL_EVP_CIPHER_CTX *ctx, int keylen)
Setter function for WOLFSSL_EVP_CIPHER_CTX structure key length.
int wolfSSL_EVP_CIPHER_CTX_block_size(const WOLFSSL_EVP_CIPHER_CTX *ctx)
This is a getter function for the ctx block size.
int wolfSSL_EVP_CIPHER_block_size(const WOLFSSL_EVP_CIPHER *cipher)
This is a getter function for the block size of cipher.
const WOLFSSL_EVP_CIPHER * wolfSSL_EVP_des_cbc(void)
Getter functions for the respective WOLFSSL_EVP_CIPHER pointers. wolfSSL_EVP_init() must be called on...
void wolfSSL_EVP_CIPHER_CTX_clear_flags(WOLFSSL_EVP_CIPHER_CTX *ctx, int flags)
Clearing function for WOLFSSL_EVP_CIPHER_CTX structure.
int wolfSSL_EVP_EncryptInit_ex(WOLFSSL_EVP_CIPHER_CTX *ctx, const WOLFSSL_EVP_CIPHER *type, WOLFSSL_ENGINE *impl, const unsigned char *key, const unsigned char *iv)
Function for initializing WOLFSSL_EVP_CIPHER_CTX. This function is a wrapper for wolfSSL_EVP_CipherIn...
unsigned long wolfSSL_EVP_CIPHER_CTX_flags(const WOLFSSL_EVP_CIPHER_CTX *ctx)
Getter function for WOLFSSL_EVP_CIPHER_CTX structure. Deprecated v1.1.0.