heimdal  7.7.0
About: Heimdal is a free implementation of Kerberos 5 (a system for authenticating users and services on a network).
  Fossies Dox: heimdal-7.7.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

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.

Definition at line 1476 of file evp.c.

References data, and type.

Referenced by EVP_CIPHER_CTX_rand_key(), and EVP_CipherInit_ex().

◆ 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.

Definition at line 1453 of file evp.c.

References EVP_CIPH_RAND_KEY, EVP_CIPHER_CTX_ctrl(), EVP_CTRL_RAND_KEY, key, and RAND_bytes().

◆ OpenSSL_add_all_algorithms()

void OpenSSL_add_all_algorithms ( void  )

Add all algorithms to the crypto core.

Definition at line 1490 of file evp.c.

Referenced by C_Initialize(), init_context_once(), and main().

◆ OpenSSL_add_all_algorithms_conf()

void OpenSSL_add_all_algorithms_conf ( void  )

Add all algorithms to the crypto core using configuration file.

Definition at line 1502 of file evp.c.

◆ 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.

Definition at line 1515 of file evp.c.