]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - sha256.h
+RC5 +size-statistics tool +small modification to nessie_bc_test (optional free(...
[avr-crypto-lib.git] / sha256.h
index 7dc9eebe6a80534f4d05c5d0c47cb5208c7e8b26..5f2f275c5e8353eaa196f22e0012c594a059a92e 100644 (file)
--- a/sha256.h
+++ b/sha256.h
@@ -1,7 +1,7 @@
 /**
  * \file               sha256-asm.h
- * \author     Daniel Otte 
- * \date               16.05.2006
+ * \author             Daniel Otte 
+ * \date               2006-05-16
  * \par License        
  * GPL
  * 
@@ -36,6 +36,10 @@ void sha256_nextBlock (sha256_ctx_t *state, void* block);
 void sha256_lastBlock(sha256_ctx_t *state, void* block, uint16_t length);
 
 void sha256_ctx2hash(sha256_hash_t *dest, sha256_ctx_t *state);
+
+/*
+ * length in bits!
+ */
 void sha256(sha256_hash_t *dest, void* msg, uint32_t length);
 uint32_t change_endian32(uint32_t x);