]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-bigint-test.c
removed warnings and bugs
[avr-crypto-lib.git] / test_src / main-bigint-test.c
index a1e853a794ba84b8ba8105ede68d77c030424a57..608c91afe7b4a857685695568a2c3527ee828acd 100644 (file)
@@ -130,7 +130,7 @@ void test_add_scale_bigint(void){
                cli_putstr_P(PSTR(" + "));
                bigint_print_hex(&b);
                cli_putstr_P(PSTR("<<8*"));
-               bigint_print_hex(&scale);
+               cli_hexdump_rev(&scale, 2);
                cli_putstr_P(PSTR(" = "));
                uint8_t *c_b;
                c_b = malloc(((a.length_B>(b.length_B+scale))?a.length_B:(b.length_B+scale))+2);