avx512: Fix potential illegal memory access in CMAC flush
If message length to hash is a non multiple of 16 bytes, the final block must be padded. For this reason, the final block is processed separately to the rest of the buffer. During the flush operation, NULL job input pointers are not updated to point to a valid address before processing a 'good job' final block which may lead to illegal memory access.
Loading
Please register or sign in to comment