Skip to content
Snippets Groups Projects
Commit 19ba206d authored by Niels Möller's avatar Niels Möller
Browse files

ppc: Comment instructions for chacha byte swapping.

parent cfd769e5
No related branches found
No related tags found
No related merge requests found
...@@ -105,9 +105,9 @@ PROLOGUE(_nettle_chacha_core) ...@@ -105,9 +105,9 @@ PROLOGUE(_nettle_chacha_core)
vspltisw ROT7, 7 vspltisw ROT7, 7
IF_BE(` IF_BE(`
li r9, 0 li r9, 0
lvsl LE_MASK, r9, r9 lvsl LE_MASK, r9, r9 C 00 01 02 03 ... 0c 0d 0e 0f
vspltisb LE_TEMP, 0x03 vspltisb LE_TEMP, 0x03 C 03 03 03 03 ... 03 03 03 03
vxor LE_MASK, LE_MASK, LE_TEMP vxor LE_MASK, LE_MASK, LE_TEMP C 03 02 01 00 ... 0f 0e 0d 0c
') ')
lxvw4x VSR(X0), 0, SRC lxvw4x VSR(X0), 0, SRC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment