otPlatCryptoAesSetKey() function
Set the key for AES operation.
Arguments
aContext
Context for AES operation.
aKey
Key to use for AES operation.
Return value
OT_ERROR_NONE Successfully set the key for AES operation. OT_ERROR_FAILED Failed to set the key for AES operation. OT_ERROR_INVALID_ARGS @p aContext or @p aKey was NULL