Skip to content

Commit 856c9a9

Browse files
committed
wolfcrypt/src/port/arm/armv8-aes.c: revert changes in a0415ce.
1 parent 1fc6718 commit 856c9a9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

wolfcrypt/src/port/arm/armv8-aes.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15624,7 +15624,7 @@ int wc_AesXtsEncrypt(XtsAes* xaes, byte* out, const byte* in, word32 sz,
1562415624

1562515625
: [blocks] "+r" (blocks), [in] "+r" (in), [out] "+r" (out),
1562615626
[sz] "+r" (sz)
15627-
: [key] "r" (xaes->aes_encrypt.key), [rounds] "r" (xaes->aes_encrypt.rounds),
15627+
: [key] "r" (xaes->aes.key), [rounds] "r" (xaes->aes.rounds),
1562815628
[key2] "r" (xaes->tweak.key), [i] "r" (i),
1562915629
[tmp] "r" (tmp)
1563015630
: "cc", "memory",
@@ -15972,7 +15972,7 @@ int wc_AesXtsDecrypt(XtsAes* xaes, byte* out, const byte* in, word32 sz,
1597215972

1597315973
: [blocks] "+r" (blocks), [in] "+r" (in), [out] "+r" (out),
1597415974
[sz] "+r" (sz)
15975-
: [key] "r" (xaes->aes_decrypt.key), [rounds] "r" (xaes->aes_decrypt.rounds),
15975+
: [key] "r" (xaes->aes.key), [rounds] "r" (xaes->aes.rounds),
1597615976
[key2] "r" (xaes->tweak.key), [i] "r" (i),
1597715977
[tmp] "r" (tmp)
1597815978
: "cc", "memory",
@@ -16298,7 +16298,7 @@ int wc_AesXtsEncrypt(XtsAes* xaes, byte* out, const byte* in, word32 sz,
1629816298

1629916299
: [blocks] "+r" (blocks), [in] "+r" (in), [out] "+r" (out),
1630016300
[sz] "+r" (sz), [i] "+r" (i), [key2] "+r" (key2)
16301-
: [key] "r" (xaes->aes_encrypt.key), [rounds] "r" (xaes->aes_encrypt.rounds),
16301+
: [key] "r" (xaes->aes.key), [rounds] "r" (xaes->aes.rounds),
1630216302
[tmp] "r" (tmp)
1630316303
: "cc", "memory",
1630416304
"r9", "r10", "r11", "r12", "r14",
@@ -16455,7 +16455,7 @@ int wc_AesXtsDecrypt(XtsAes* xaes, byte* out, const byte* in, word32 sz,
1645516455

1645616456
: [blocks] "+r" (blocks), [in] "+r" (in), [out] "+r" (out),
1645716457
[sz] "+r" (sz), [i] "+r" (i), [key2] "+r" (key2)
16458-
: [key] "r" (xaes->aes_decrypt.key), [rounds] "r" (xaes->aes_decrypt.rounds),
16458+
: [key] "r" (xaes->aes.key), [rounds] "r" (xaes->aes.rounds),
1645916459
[tmp] "r" (tmp)
1646016460
: "cc", "memory",
1646116461
"r9", "r10", "r11", "r12", "r14",

0 commit comments

Comments
 (0)