mirror of
https://github.com/espressif/openthread.git
synced 2026-08-22 02:19:52 +00:00
[style] return void where code always returns OT_ERROR_NONE (#3543)
This commit is contained in:
@@ -76,7 +76,7 @@ void otCryptoAesCcm(const uint8_t *aKey,
|
||||
|
||||
assert((aKey != NULL) && (aNonce != NULL) && (aPlainText != NULL) && (aCipherText != NULL) && (aTag != NULL));
|
||||
|
||||
SuccessOrExit(aesCcm.SetKey(aKey, aKeyLength));
|
||||
aesCcm.SetKey(aKey, aKeyLength);
|
||||
SuccessOrExit(aesCcm.Init(aHeaderLength, aLength, aTagLength, aNonce, aNonceLength));
|
||||
|
||||
if (aHeaderLength != 0)
|
||||
|
||||
Reference in New Issue
Block a user