otPlatCryptoAesInit() function
Initialise the AES operation.
Arguments
aContext
Context for AES operation.
Return value
OT_ERROR_NONE Successfully Initialised AES operation. OT_ERROR_FAILED Failed to Initialise AES operation. OT_ERROR_INVALID_ARGS @p aContext was NULL OT_ERROR_NO_BUFS Cannot allocate the context.
Notes
The platform driver shall point the context to the correct object such as psa_key_id or mbedtls_aes_context_t.
otPlatCryptoAesInit() is called by 1 function and calls 1 function:
![]()
otPlatCryptoAesInit()
otPlatCryptoAesInit() reads 5 variables:
![]()
otPlatCryptoAesInit()