]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - threefish256_dec_asm.S
fixing a bug in threefish-256 decryption assembler module
[avr-crypto-lib.git] / threefish256_dec_asm.S
index e55ca6852023d6a9071e9822ec108b0ad40a140e..d2316c6deb5b446e9c784c04d0301479b69e09ce 100644 (file)
@@ -152,7 +152,7 @@ threefish256_dec:
        sbc r0, r1
        st X+, r0
        ld r0, X
-       adc r0, r1
+       sbc r0, r1
        st X+, r0
        tst S
        brne 3f