keyhole logo

Functions
hcrypto function controlling behavior

Functions

int EVP_CIPHER_CTX_rand_key (EVP_CIPHER_CTX *ctx, void *key)
 
int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX *ctx, int type, int arg, void *data)
 
void OpenSSL_add_all_algorithms (void)
 
void OpenSSL_add_all_algorithms_conf (void)
 
void OpenSSL_add_all_algorithms_noconf (void)
 

Detailed Description

Function Documentation

◆ EVP_CIPHER_CTX_ctrl()

int EVP_CIPHER_CTX_ctrl ( EVP_CIPHER_CTX *  ctx,
int  type,
int  arg,
void *  data 
)

Perform a operation on a ctx

Parameters
ctxcontext to perform operation on.
typetype of operation.
argargument to operation.
dataaddition data to operation.
Returns
1 for success, 0 for failure.

◆ EVP_CIPHER_CTX_rand_key()

int EVP_CIPHER_CTX_rand_key ( EVP_CIPHER_CTX *  ctx,
void *  key 
)

Generate a random key for the specificed EVP_CIPHER.

Parameters
ctxEVP_CIPHER_CTX type to build the key for.
keyreturn key, must be at least EVP_CIPHER_key_length() byte long.
Returns
1 for success, 0 for failure.

◆ OpenSSL_add_all_algorithms()

void OpenSSL_add_all_algorithms ( void  )

Add all algorithms to the crypto core.

◆ OpenSSL_add_all_algorithms_conf()

void OpenSSL_add_all_algorithms_conf ( void  )

Add all algorithms to the crypto core using configuration file.

◆ OpenSSL_add_all_algorithms_noconf()

void OpenSSL_add_all_algorithms_noconf ( void  )

Add all algorithms to the crypto core, but don't use the configuration file.


Generated on Tue Nov 15 2022 14:04:26 for Heimdal crypto library by doxygen 1.9.1