mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Fix compiler error for missing Task_Handle
. Fix typo.
This commit is contained in:
@@ -382,7 +382,7 @@ static int AesAuthEncrypt(Aes* aes, byte* out, const byte* in, word32 inSz,
|
|||||||
XMEMSET(in_a, 0, ROUNDUP_16(inSz));
|
XMEMSET(in_a, 0, ROUNDUP_16(inSz));
|
||||||
XMEMCPY(in_a, in, inSz);
|
XMEMCPY(in_a, in, inSz);
|
||||||
|
|
||||||
out_save = XMALLOC(ROUNDUP_16(inSz), NULL, DYNAMIC_TYPE_TMP_BUFFER)
|
out_save = XMALLOC(ROUNDUP_16(inSz), NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
if (out_save == NULL) { ret = MEMORY_E; goto exit; }
|
if (out_save == NULL) { ret = MEMORY_E; goto exit; }
|
||||||
out_a = out_save;
|
out_a = out_save;
|
||||||
}
|
}
|
||||||
@@ -453,7 +453,7 @@ static int AesAuthDecrypt(Aes* aes, byte* out, const byte* in, word32 inSz,
|
|||||||
|
|
||||||
|
|
||||||
ret = AesAuthArgCheck(aes, out, in, inSz, nonce, nonceSz, authTag,
|
ret = AesAuthArgCheck(aes, out, in, inSz, nonce, nonceSz, authTag,
|
||||||
authTagSz, authIn, authInSz, &M, &L)
|
authTagSz, authIn, authInSz, &M, &L);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@@ -130,6 +130,7 @@
|
|||||||
#include "cmsis_os.h"
|
#include "cmsis_os.h"
|
||||||
#elif defined(WOLFSSL_TIRTOS)
|
#elif defined(WOLFSSL_TIRTOS)
|
||||||
#include <ti/sysbios/BIOS.h>
|
#include <ti/sysbios/BIOS.h>
|
||||||
|
#include <ti/sysbios/knl/Task.h>
|
||||||
#include <ti/sysbios/knl/Semaphore.h>
|
#include <ti/sysbios/knl/Semaphore.h>
|
||||||
#elif defined(WOLFSSL_FROSTED)
|
#elif defined(WOLFSSL_FROSTED)
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
|
Reference in New Issue
Block a user