Stores the context object for platform APIs.

If OPENTHREAD_CONFIG_CRYPTO_PLATFORM_ALLOCS_CONTEXT is enabled, the platform allocates and populates this. Otherwise OpenThread core allocates and populates this.

Public Attributes#

void *

Pointer to the context.

uint16_t

The length of the context in bytes.

Public Attribute Documentation#

mContext#

void* otCryptoContext::mContext

Pointer to the context.


mContextSize#

uint16_t otCryptoContext::mContextSize

The length of the context in bytes.