]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - twister.h
big bug fixed, still some problems with flow control
[avr-crypto-lib.git] / twister.h
index 0764dbb5bfd7268df83b70a057bc2401e9389bcf..ec6b2190fcf5a90d12969a693a93103d2ee48323 100644 (file)
--- a/twister.h
+++ b/twister.h
@@ -1,6 +1,6 @@
 /* twister.h */
 /*
-    This file is part of the Crypto-avr-lib/microcrypt-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
@@ -35,7 +35,10 @@ typedef struct {
        uint64_t length_counter_b;
 } twister_state_t;
 
-void blank_round(twister_state_t* ctx);
-void mini_round(twister_state_t* ctx, void* msg);      
+typedef uint8_t twister_checksum_t[8][8];
+
+void twister_blank_round(twister_state_t* ctx);
+void twister_mini_round(twister_state_t* ctx, const void* msg);        
+void twister_ctx2hash(void* dest, twister_state_t* ctx, uint16_t hashsize_b);
 
 #endif /* TWISTER_H_ */