]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - noekeon.c
changed arcfour api
[avr-crypto-lib.git] / noekeon.c
index 5ae3ec292b08add934061a6d2c078b5dec341e41..5508c29520ac1a50ee744ab9da59b34509b682ef 100644 (file)
--- a/noekeon.c
+++ b/noekeon.c
@@ -19,7 +19,7 @@
 /*
  * author: Daniel Otte
  * email:  daniel.otte@rub.de
- * license: GPLv3
+ * license: GPLv3 or later
  * 
  * 
  * 
@@ -29,7 +29,7 @@
 #include <string.h>
 #include <avr/pgmspace.h>
 #include "noekeon.h"
-#include "uart.h"
+// #include "uart.h"
 
 #define ROUND_NR 16
 
@@ -160,8 +160,8 @@ void noekeon_dec(void* buffer, void* key){
        memcpy(dkey, key, 16);
        
        theta((uint32_t*)nullv, (uint32_t*)dkey);
-       uart_putstr_P(PSTR("\r\nTheta: "));
-       uart_hexdump(dkey, 16);
+//     uart_putstr_P(PSTR("\r\nTheta: "));
+//     uart_hexdump(dkey, 16);
        
        for(i=ROUND_NR-1; i>=0; --i){
                rc = pgm_read_byte(rc_tab+i);