pub unsafe extern "C" fn otPlatCryptoAesSetKey(
aContext: *mut otCryptoContext,
aKey: *const otCryptoKey,
) -> otError
Expand description
Set the key for AES operation.
@param[in] aContext Context for AES operation. @param[out] aKey Key to use for AES operation.
@retval OT_ERROR_NONE Successfully set the key for AES operation. @retval OT_ERROR_FAILED Failed to set the key for AES operation. @retval OT_ERROR_INVALID_ARGS @p aContext or @p aKey was NULL