CryptoAuthLib
Microchip CryptoAuthentication Library
atca_basic_kdf.c File Reference

CryptoAuthLib Basic API methods for KDF command. More...

#include "atca_basic.h"
#include "atca_execution.h"

Functions

ATCA_STATUS atcab_kdf (uint8_t mode, uint16_t key_id, const uint32_t details, const uint8_t *message, uint8_t *out_data, uint8_t *out_nonce)
 Executes the KDF command, which derives a new key in PRF, AES, or HKDF modes. More...
 

Detailed Description

CryptoAuthLib Basic API methods for KDF command.

The KDF command implements one of a number of Key Derivation Functions (KDF). Generally this function combines a source key with an input string and creates a result key/digest/array. Three algorithms are currently supported: PRF, HKDF and AES.

Note
List of devices that support this command - ATECC608A. Refer to device datasheet for full details.