X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=camellia128-stub.c;h=a09223af3ff1e0bc29c4ca4371638a67a6d4a351;hb=7701e318e4e2bac7f84dbf6e368f1501814948fc;hp=8cc95de85d5dc0ca75e29844024abfd50ae2015f;hpb=17332291e15183d71d88ed868275e3cb53917180;p=avr-crypto-lib.git diff --git a/camellia128-stub.c b/camellia128-stub.c index 8cc95de..a09223a 100644 --- a/camellia128-stub.c +++ b/camellia128-stub.c @@ -1,6 +1,6 @@ /* camellia128-stub.c */ /* - This file is part of the This file is part of the AVR-Crypto-Lib. + This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -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; } */