avx2: [ZUC] remove unused variables
@@ -594,9 +594,6 @@ void _zuc_eia3_8_buffer_avx2(const void * const pKey[NUM_AVX2_BUFS],
/* Process each packet separately for the remaining bits */
for (i = 0; i < NUM_AVX2_BUFS; i++) {
- const uint32_t N = lengthInBits[i] + (2 * ZUC_WORD_BITS);
- uint32_t L = ((N + 31) / ZUC_WORD_BITS) -
- numKeyStr*(keyStreamLengthInBits / 32);
uint32_t remainBits = lengthInBits[i] -
numKeyStr*keyStreamLengthInBits;
uint32_t *keyStr32 = (uint32_t *) keyStr[i];
@@ -628,7 +625,6 @@ void _zuc_eia3_8_buffer_avx2(const void * const pKey[NUM_AVX2_BUFS],
while (remainBits >= keyStreamLengthInBits) {
remainBits -= keyStreamLengthInBits;
- L -= (keyStreamLengthInBits / 32);
/* Generate the next key stream 8 bytes or 32 bytes */
if (!remainBits)
@@ -778,9 +774,6 @@ void zuc_eia3_8_buffer_job_avx2(const void * const pKey[NUM_AVX2_BUFS],
if (job_in_lane[i] == NULL)
continue;
- const uint32_t N = lengthInBits[i] + (2 * ZUC_WORD_BITS);
- uint32_t L = ((N + 31) / ZUC_WORD_BITS) -
- numKeyStr*(keyStreamLengthInBits / 32);
uint32_t remainBits = lengthInBits[i] -
numKeyStr*keyStreamLengthInBits;
uint32_t *keyStr32 = (uint32_t *) keyStr[i];
@@ -812,7 +805,6 @@ void zuc_eia3_8_buffer_job_avx2(const void * const pKey[NUM_AVX2_BUFS],
while (remainBits >= keyStreamLengthInBits) {
remainBits -= keyStreamLengthInBits;
- L -= (keyStreamLengthInBits / 32);
/* Generate the next key stream 8 bytes or 32 bytes */
if (!remainBits)
