otCryptoContext

#include <crypto.h>

Stores the context object for platform APIs.

Summary

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

Public attributes

mContext
void *
Pointer to the context.
mContextSize
uint16_t
The length of the context in bytes.

Public attributes

mContext

void * otCryptoContext::mContext

Pointer to the context.

mContextSize

uint16_t otCryptoContext::mContextSize

The length of the context in bytes.

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.