diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /arch/x86/crypto/twofish-x86_64-asm_64.S | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'arch/x86/crypto/twofish-x86_64-asm_64.S')
-rw-r--r-- | arch/x86/crypto/twofish-x86_64-asm_64.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/crypto/twofish-x86_64-asm_64.S b/arch/x86/crypto/twofish-x86_64-asm_64.S index 7bcf3fcc366..573aa102542 100644 --- a/arch/x86/crypto/twofish-x86_64-asm_64.S +++ b/arch/x86/crypto/twofish-x86_64-asm_64.S | |||
@@ -221,9 +221,10 @@ | |||
221 | twofish_enc_blk: | 221 | twofish_enc_blk: |
222 | pushq R1 | 222 | pushq R1 |
223 | 223 | ||
224 | /* %rdi contains the ctx address */ | 224 | /* %rdi contains the crypto tfm address */ |
225 | /* %rsi contains the output address */ | 225 | /* %rsi contains the output address */ |
226 | /* %rdx contains the input address */ | 226 | /* %rdx contains the input address */ |
227 | add $crypto_tfm_ctx_offset, %rdi /* set ctx address */ | ||
227 | /* ctx address is moved to free one non-rex register | 228 | /* ctx address is moved to free one non-rex register |
228 | as target for the 8bit high operations */ | 229 | as target for the 8bit high operations */ |
229 | mov %rdi, %r11 | 230 | mov %rdi, %r11 |
@@ -273,9 +274,10 @@ twofish_enc_blk: | |||
273 | twofish_dec_blk: | 274 | twofish_dec_blk: |
274 | pushq R1 | 275 | pushq R1 |
275 | 276 | ||
276 | /* %rdi contains the ctx address */ | 277 | /* %rdi contains the crypto tfm address */ |
277 | /* %rsi contains the output address */ | 278 | /* %rsi contains the output address */ |
278 | /* %rdx contains the input address */ | 279 | /* %rdx contains the input address */ |
280 | add $crypto_tfm_ctx_offset, %rdi /* set ctx address */ | ||
279 | /* ctx address is moved to free one non-rex register | 281 | /* ctx address is moved to free one non-rex register |
280 | as target for the 8bit high operations */ | 282 | as target for the 8bit high operations */ |
281 | mov %rdi, %r11 | 283 | mov %rdi, %r11 |