X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;ds=sidebyside;f=camellia128-stub.c;h=a09223af3ff1e0bc29c4ca4371638a67a6d4a351;hb=52ec168ece9d61bd9cb652235dfe8faee6232a11;hp=95fb5df2833ee0822dbff60e7482f98c01efffc5;hpb=7f4bda01ca923c4a9aca6da3370a7c4793426a5c;p=avr-crypto-lib.git diff --git a/camellia128-stub.c b/camellia128-stub.c index 95fb5df..a09223a 100644 --- a/camellia128-stub.c +++ b/camellia128-stub.c @@ -28,7 +28,7 @@ #include #include "camellia.h" #if 0 - #include "uart.h" + #include "cli.h" #include "debug.h" #include #endif @@ -72,11 +72,11 @@ uint32_t PROGMEM camellia_sigma[12]={ /* 48 byte table */ /*****************************************************************************/ /* void camellia128_ctx_dump(camellia128_ctx_t *s){ - uart_putstr_P(PSTR("\r\n==State Dump==")); - uart_putstr_P(PSTR("\n\rKAl: ")); uart_hexdump(&(s->kal), 8); - uart_putstr_P(PSTR("\n\rKAr: ")); uart_hexdump(&(s->kar), 8); - uart_putstr_P(PSTR("\n\rKLl: ")); uart_hexdump(&(s->kll), 8); - uart_putstr_P(PSTR("\n\rKLr: ")); uart_hexdump(&(s->klr), 8); + cli_putstr_P(PSTR("\r\n==State Dump==")); + cli_putstr_P(PSTR("\n\rKAl: ")); cli_hexdump(&(s->kal), 8); + cli_putstr_P(PSTR("\n\rKAr: ")); cli_hexdump(&(s->kar), 8); + cli_putstr_P(PSTR("\n\rKLl: ")); cli_hexdump(&(s->kll), 8); + cli_putstr_P(PSTR("\n\rKLr: ")); cli_hexdump(&(s->klr), 8); return; } */