Macros | Functions
derive_key.c File Reference
#include <openssl/cipher.h>
#include <assert.h>
#include <openssl/digest.h>
#include <openssl/mem.h>
Include dependency graph for derive_key.c:

Go to the source code of this file.

Macros

#define PKCS5_SALT_LEN   8
 

Functions

int EVP_BytesToKey (const EVP_CIPHER *type, const EVP_MD *md, const uint8_t *salt, const uint8_t *data, size_t data_len, unsigned count, uint8_t *key, uint8_t *iv)
 

Macro Definition Documentation

◆ PKCS5_SALT_LEN

#define PKCS5_SALT_LEN   8

Definition at line 65 of file derive_key.c.

Function Documentation

◆ EVP_BytesToKey()

int EVP_BytesToKey ( const EVP_CIPHER type,
const EVP_MD md,
const uint8_t salt,
const uint8_t data,
size_t  data_len,
unsigned  count,
uint8_t key,
uint8_t iv 
)

Definition at line 67 of file derive_key.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:10