sha[1|256]-armv4: harmonize with arm_arch.h.
(cherry picked from commit 797d24bee9
)
This commit is contained in:
parent
f5247cea39
commit
1f72a76f98
@ -178,9 +178,9 @@ sha1_block_data_order:
|
||||
sub r3,pc,#8 @ sha1_block_data_order
|
||||
ldr r12,.LOPENSSL_armcap
|
||||
ldr r12,[r3,r12] @ OPENSSL_armcap_P
|
||||
tst r12,#8
|
||||
tst r12,#ARMV8_SHA1
|
||||
bne .LARMv8
|
||||
tst r12,#1
|
||||
tst r12,#ARMV7_NEON
|
||||
bne .LNEON
|
||||
#endif
|
||||
stmdb sp!,{r4-r12,lr}
|
||||
|
@ -189,9 +189,9 @@ sha256_block_data_order:
|
||||
#if __ARM_ARCH__>=7
|
||||
ldr r12,.LOPENSSL_armcap
|
||||
ldr r12,[r3,r12] @ OPENSSL_armcap_P
|
||||
tst r12,#8
|
||||
tst r12,#ARMV8_SHA256
|
||||
bne .LARMv8
|
||||
tst r12,#1
|
||||
tst r12,#ARMV7_NEON
|
||||
bne .LNEON
|
||||
#endif
|
||||
stmdb sp!,{$ctx,$inp,$len,r4-r11,lr}
|
||||
|
Loading…
Reference in New Issue
Block a user