Embedded SDK
Embedded SDK
Functions
cx_hkdf.h File Reference
#include "lcx_hash.h"
Include dependency graph for cx_hkdf.h:

Go to the source code of this file.

Functions

void cx_hkdf_extract (const cx_md_t hash_id, const unsigned char *ikm, unsigned int ikm_len, unsigned char *salt, unsigned int salt_len, unsigned char *prk)
 
void cx_hkdf_expand (const cx_md_t hash_id, const unsigned char *prk, unsigned int prk_len, unsigned char *info, unsigned int info_len, unsigned char *okm, unsigned int okm_len)
 

Function Documentation

◆ cx_hkdf_expand()

void cx_hkdf_expand ( const cx_md_t  hash_id,
const unsigned char *  prk,
unsigned int  prk_len,
unsigned char *  info,
unsigned int  info_len,
unsigned char *  okm,
unsigned int  okm_len 
)

◆ cx_hkdf_extract()

void cx_hkdf_extract ( const cx_md_t  hash_id,
const unsigned char *  ikm,
unsigned int  ikm_len,
unsigned char *  salt,
unsigned int  salt_len,
unsigned char *  prk 
)