Set VPAES flags in x86-64 code.
The ImplDispatchTest was broken because the 64-bit VPAES code wasn't setting the hit flags. Change-Id: I30200db64337deba7ae9d70d8427decbdfceca58 Reviewed-on: https://boringssl-review.googlesource.com/c/34986 Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
parent
65dc321492
commit
a367d9267f
@ -696,6 +696,13 @@ _vpaes_schedule_mangle:
|
|||||||
.align 16
|
.align 16
|
||||||
${PREFIX}_set_encrypt_key:
|
${PREFIX}_set_encrypt_key:
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
|
#ifndef NDEBUG
|
||||||
|
#ifndef BORINGSSL_FIPS
|
||||||
|
.extern BORINGSSL_function_hit
|
||||||
|
movb \$1, BORINGSSL_function_hit+5(%rip)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
___
|
___
|
||||||
$code.=<<___ if ($win64);
|
$code.=<<___ if ($win64);
|
||||||
lea -0xb8(%rsp),%rsp
|
lea -0xb8(%rsp),%rsp
|
||||||
@ -801,6 +808,12 @@ $code.=<<___;
|
|||||||
.align 16
|
.align 16
|
||||||
${PREFIX}_encrypt:
|
${PREFIX}_encrypt:
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
|
#ifndef NDEBUG
|
||||||
|
#ifndef BORINGSSL_FIPS
|
||||||
|
.extern BORINGSSL_function_hit
|
||||||
|
movb \$1, BORINGSSL_function_hit+4(%rip)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
___
|
___
|
||||||
$code.=<<___ if ($win64);
|
$code.=<<___ if ($win64);
|
||||||
lea -0xb8(%rsp),%rsp
|
lea -0xb8(%rsp),%rsp
|
||||||
|
Loading…
Reference in New Issue
Block a user