]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/cli-hexdump.S
adding RSA-OAEP
[avr-crypto-lib.git] / test_src / cli-hexdump.S
index 89767093fe4846ab040db29c1fdb1489168414e5..ce151b9cc4773a5b6d4cfdfb09f01450cf6eb462 100644 (file)
@@ -182,7 +182,7 @@ cli_hexdump_block:
        brne 7f
        cp WIDTH, LENG_0
        breq 6f
-       brmi 7f
+       brcs 7f
        mov r22, LENG_0
 6:     inc r4
 7:
@@ -190,7 +190,7 @@ cli_hexdump_block:
        add DATA_0, WIDTH
        adc DATA_1, r1
        sub LENG_0, WIDTH
-       sbc LENG_0, r1
+       sbc LENG_1, r1
        tst r4
        breq 2b
        pop r4