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.


Definition at line 119 of file include/openthread/platform/crypto.h

mKeyLength#

uint16_t otCryptoKey::mKeyLength

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


Definition at line 120 of file include/openthread/platform/crypto.h

mKeyRef#

uint32_t otCryptoKey::mKeyRef

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


Definition at line 121 of file include/openthread/platform/crypto.h