mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Merge pull request #243 from kaleb-himes/scan-build-fixes2
Avoid unused variable warnings with dead store in AES_GCM_decrypt
This commit is contained in:
@@ -3145,6 +3145,12 @@ static int AES_GCM_decrypt(const unsigned char *in,
|
|||||||
tmp4 = _mm_shuffle_epi8(tmp4, BSWAP_MASK);
|
tmp4 = _mm_shuffle_epi8(tmp4, BSWAP_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Acknowledge the dead store and continue */
|
||||||
|
(void) tmp1;
|
||||||
|
(void) tmp2;
|
||||||
|
(void) tmp3;
|
||||||
|
(void) tmp4;
|
||||||
|
|
||||||
for (k = i*4; k < nbytes/16; k++) {
|
for (k = i*4; k < nbytes/16; k++) {
|
||||||
tmp1 = _mm_shuffle_epi8(ctr1, BSWAP_EPI64);
|
tmp1 = _mm_shuffle_epi8(ctr1, BSWAP_EPI64);
|
||||||
ctr1 = _mm_add_epi32(ctr1, ONE);
|
ctr1 = _mm_add_epi32(ctr1, ONE);
|
||||||
|
Reference in New Issue
Block a user