summaryrefslogtreecommitdiff
path: root/security/nettle/files/patch-powerpc64-p8-aes-encrypt-internal.asm
blob: 313ba61a4f6b2b7641974ee8779ce2f9e0d4abdf (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	2022-06-02 17:57:16 UTC
+++ powerpc64/p8/aes-encrypt-internal.asm
@@ -63,7 +63,7 @@ define(`S7', `v9')
 
 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
@@ -328,6 +328,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')