Represents the Key Material required for Crypto operations.

Public Attributes#

const uint8_t *

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

uint16_t

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

uint32_t

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

Public Attribute Documentation#

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