otCryptoKey

#include <crypto.h>

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

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.