]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - camellia128-stub.c
big bug fixed, still some problems with flow control
[avr-crypto-lib.git] / camellia128-stub.c
index 8cc95de85d5dc0ca75e29844024abfd50ae2015f..a09223af3ff1e0bc29c4ca4371638a67a6d4a351 100644 (file)
@@ -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 <avr/pgmspace.h>
 #include "camellia.h"
 #if 0
- #include "uart.h"
+ #include "cli.h"
  #include "debug.h"
  #include <util/delay.h>
 #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;
 }
 */