AVX: fix for PON Ethernet CRC calculation in decrypt direction
@@ -519,6 +519,9 @@ section .text
;; - XOR CRC against plaintext block
vpxor %%XCRC_IN_OUT, %%XCRC_IN_OUT, %%CTR1
+ CRC_CLMUL %%XCRC_IN_OUT, %%XCRC_MUL, %%T2
+ vpxor %%XCRC_IN_OUT, %%XCRC_IN_OUT, %%CTR2
+
CRC_CLMUL %%XCRC_IN_OUT, %%XCRC_MUL, %%T2
%endif ; DECRYPT
%else ;; CIPH = NO_CTR
