Skip to content

Commit

Permalink
vaes-avx512: [gcm] fix safe check issues in AES-GCM small packet code
Browse files Browse the repository at this point in the history
  • Loading branch information
tkanteck authored and pablodelara committed Feb 19, 2024
1 parent e1526ab commit 1b3841d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/include/gcm_api_vaes_avx512.inc
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ align 32

%ifdef SAFE_DATA
clear_zmms_avx512 xmm0, xmm1, xmm2, xmm7, xmm8, xmm9, xmm11, xmm10, xmm14, \
xmm15, xmm16, xmm17, xmm18, xmm20, xmm21
xmm15, xmm16, xmm17, xmm18, xmm19, xmm20, xmm21
%endif

.exit_enc:
Expand Down Expand Up @@ -526,7 +526,7 @@ align 32
DEC, {qword [arg2 + _iv_len_in_bytes]}

%ifdef SAFE_DATA
clear_zmms_avx512 xmm2, xmm3, xmm4, xmm5, xmm9, xmm15, xmm16, xmm17, xmm18, xmm19, xmm20, xmm21
clear_zmms_avx512 xmm0, xmm2, xmm3, xmm4, xmm5, xmm8, xmm9, xmm14, xmm15, xmm16, xmm17, xmm18, xmm19, xmm20, xmm21
%endif
.exit_dec:
;; mark job complete
Expand Down

0 comments on commit 1b3841d

Please sign in to comment.