mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-15 12:24:27 +02:00
Get rid of warning in aes.c
This commit is contained in:
parent
2e2860c2cc
commit
06387b4e57
@ -260,6 +260,8 @@ u4_t os_aes (u1_t mode, xref2u1_t buf, u2_t len) {
|
|||||||
u4_t a0, a1, a2, a3;
|
u4_t a0, a1, a2, a3;
|
||||||
u4_t t0, t1, t2, t3;
|
u4_t t0, t1, t2, t3;
|
||||||
u4_t *ki, *ke;
|
u4_t *ki, *ke;
|
||||||
|
a0 = a1 = a2 = a3 = 0;
|
||||||
|
t0 = t1 = 0;
|
||||||
|
|
||||||
// load input block
|
// load input block
|
||||||
if( (mode & AES_CTR) || ((mode & AES_MIC) && (mode & AES_MICNOAUX)==0) ) { // load CTR block or first MIC block
|
if( (mode & AES_CTR) || ((mode & AES_MIC) && (mode & AES_MICNOAUX)==0) ) { // load CTR block or first MIC block
|
||||||
|
Loading…
Reference in New Issue
Block a user