freebsd-ports/security/nettle/files/patch-powerpc64-p8-aes-decrypt-internal.asm
Po-Chuan Hsieh c328d3ca85
security/nettle: Update to 3.8
- Remove ELFv2 patch since upstream adds configure test for ELFV2_ABI [1]

Changes:	https://git.lysator.liu.se/nettle/nettle/-/blob/master/NEWS
Reference:	c7cf19390d [1]
2022-06-04 07:36:30 +08:00

19 lines
547 B
NASM

--- powerpc64/p8/aes-decrypt-internal.asm.orig 2022-06-02 17:57:16 UTC
+++ powerpc64/p8/aes-decrypt-internal.asm
@@ -71,7 +71,7 @@ define(`FUNC_ALIGN', `5')
PROLOGUE(_nettle_aes_decrypt)
vxor ZERO,ZERO,ZERO
- DATA_LOAD_VEC(SWAP_MASK,.swap_mask,r5)
+ DATA_LOAD_VEC(SWAP_MASK,.swap_data,r5)
subi ROUNDS,ROUNDS,1
srdi LENGTH,LENGTH,4
@@ -351,6 +351,6 @@ EPILOGUE(_nettle_aes_decrypt)
.data
.align 4
-.swap_mask:
+.swap_data:
IF_LE(`.byte 8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7')
IF_BE(`.byte 3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12')