summaryrefslogtreecommitdiff
path: root/security/nettle/files/patch-powerpc64-p8-aes-encrypt-internal.asm
blob: 67218e1caaf43069f2ff2db85a8878189f4463e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- powerpc64/p8/aes-encrypt-internal.asm.orig	2025-06-26 18:29:03 UTC
+++ powerpc64/p8/aes-encrypt-internal.asm
@@ -64,7 +64,7 @@ PROLOGUE(_nettle_aes_encrypt)
 
 define(`FUNC_ALIGN', `5')
 PROLOGUE(_nettle_aes_encrypt)
- DATA_LOAD_VEC(SWAP_MASK,.swap_mask,r5)
+ DATA_LOAD_VEC(SWAP_MASK,.swap_data,r5)
 
  subi ROUNDS,ROUNDS,1
  srdi LENGTH,LENGTH,4
@@ -269,6 +269,6 @@ EPILOGUE(_nettle_aes_encrypt)
 
  .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')