Skip to content

Commit

Permalink
update generated-src againn
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Yang committed Jul 20, 2023
1 parent a8ca6e7 commit bf84411
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _aesv8_gcm_8x_enc_128:
adrp x6,_BORINGSSL_function_hit@PAGE
add x6, x6, _BORINGSSL_function_hit@PAGEOFF
mov w7, #1
strb w7, [x6,#6] // kFlag_aesv8_gcm_8x_enc_128
strb w7, [x6,#7] // kFlag_aesv8_gcm_8x_enc_128
#endif
AARCH64_VALID_CALL_TARGET
cbz x1, L128_enc_ret
Expand Down
7 changes: 7 additions & 0 deletions generated-src/ios-aarch64/crypto/fipsmodule/sha256-armv8.S
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,13 @@ LK256:
.align 6
sha256_block_armv8:
Lv8_entry:
#ifdef BORINGSSL_DISPATCH_TEST

adrp x6,_BORINGSSL_function_hit@PAGE
add x6, x6, _BORINGSSL_function_hit@PAGEOFF
mov w7, #1
strb w7, [x6,#6] // kFlag_sha256_hw
#endif
// Armv8.3-A PAuth: even though x30 is pushed to stack it is not popped later.
stp x29,x30,[sp,#-16]!
add x29,sp,#0
Expand Down
7 changes: 7 additions & 0 deletions generated-src/ios-aarch64/crypto/fipsmodule/sha512-armv8.S
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,13 @@ LK512:
.align 6
sha512_block_armv8:
Lv8_entry:
#ifdef BORINGSSL_DISPATCH_TEST

adrp x6,_BORINGSSL_function_hit@PAGE
add x6, x6, _BORINGSSL_function_hit@PAGEOFF
mov w7, #1
strb w7, [x6,#8] // kFlag_sha512_hw
#endif
stp x29,x30,[sp,#-16]!
add x29,sp,#0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ aesv8_gcm_8x_enc_128:
adrp x6,BORINGSSL_function_hit
add x6, x6, :lo12:BORINGSSL_function_hit
mov w7, #1
strb w7, [x6,#6] // kFlag_aesv8_gcm_8x_enc_128
strb w7, [x6,#7] // kFlag_aesv8_gcm_8x_enc_128
#endif
AARCH64_VALID_CALL_TARGET
cbz x1, .L128_enc_ret
Expand Down
7 changes: 7 additions & 0 deletions generated-src/linux-aarch64/crypto/fipsmodule/sha256-armv8.S
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,13 @@ sha256_block_data_order:
.align 6
sha256_block_armv8:
.Lv8_entry:
#ifdef BORINGSSL_DISPATCH_TEST

adrp x6,BORINGSSL_function_hit
add x6, x6, :lo12:BORINGSSL_function_hit
mov w7, #1
strb w7, [x6,#6] // kFlag_sha256_hw
#endif
// Armv8.3-A PAuth: even though x30 is pushed to stack it is not popped later.
stp x29,x30,[sp,#-16]!
add x29,sp,#0
Expand Down
7 changes: 7 additions & 0 deletions generated-src/linux-aarch64/crypto/fipsmodule/sha512-armv8.S
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,13 @@ sha512_block_data_order:
.align 6
sha512_block_armv8:
.Lv8_entry:
#ifdef BORINGSSL_DISPATCH_TEST

adrp x6,BORINGSSL_function_hit
add x6, x6, :lo12:BORINGSSL_function_hit
mov w7, #1
strb w7, [x6,#8] // kFlag_sha512_hw
#endif
stp x29,x30,[sp,#-16]!
add x29,sp,#0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ aesv8_gcm_8x_enc_128:
adrp x6,BORINGSSL_function_hit
add x6, x6, :lo12:BORINGSSL_function_hit
mov w7, #1
strb w7, [x6,#6] // kFlag_aesv8_gcm_8x_enc_128
strb w7, [x6,#7] // kFlag_aesv8_gcm_8x_enc_128
#endif
AARCH64_VALID_CALL_TARGET
cbz x1, L128_enc_ret
Expand Down
7 changes: 7 additions & 0 deletions generated-src/win-aarch64/crypto/fipsmodule/sha256-armv8.S
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,13 @@ LK256:
.align 6
sha256_block_armv8:
Lv8_entry:
#ifdef BORINGSSL_DISPATCH_TEST

adrp x6,BORINGSSL_function_hit
add x6, x6, :lo12:BORINGSSL_function_hit
mov w7, #1
strb w7, [x6,#6] // kFlag_sha256_hw
#endif
// Armv8.3-A PAuth: even though x30 is pushed to stack it is not popped later.
stp x29,x30,[sp,#-16]!
add x29,sp,#0
Expand Down
7 changes: 7 additions & 0 deletions generated-src/win-aarch64/crypto/fipsmodule/sha512-armv8.S
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,13 @@ LK512:
.align 6
sha512_block_armv8:
Lv8_entry:
#ifdef BORINGSSL_DISPATCH_TEST

adrp x6,BORINGSSL_function_hit
add x6, x6, :lo12:BORINGSSL_function_hit
mov w7, #1
strb w7, [x6,#8] // kFlag_sha512_hw
#endif
stp x29,x30,[sp,#-16]!
add x29,sp,#0

Expand Down

0 comments on commit bf84411

Please sign in to comment.