otCryptoKey

#include <crypto.h>

This structure represents the Key Material required for Crypto operations.

Summary

Public attributes

mKey
const uint8_t *
Pointer to the buffer containing key. NULL indicates to use mKeyRef.
mKeyLength
uint16_t
The key length in bytes (applicable when mKey is not NULL).
mKeyRef
uint32_t
The PSA key ref (requires mKey to be NULL).

Public attributes

mKey

const uint8_t * otCryptoKey::mKey

Pointer to the buffer containing key. NULL indicates to use mKeyRef.

mKeyLength

uint16_t otCryptoKey::mKeyLength

The key length in bytes (applicable when mKey is not NULL).

mKeyRef

uint32_t otCryptoKey::mKeyRef

The PSA key ref (requires mKey to be NULL).