]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - prng.h
prng improvement
[avr-crypto-lib.git] / prng.h
diff --git a/prng.h b/prng.h
index 5266368ebe1312244b4d6db9c2b72ffddaabfd8b..b2d31357d47d7fe89d86b4d7e9c53b51339842d9 100644 (file)
--- a/prng.h
+++ b/prng.h
 /*
  * length in bits 
  */
+#define RANDOMBLOCK_SIZE 32 /* bytes */
 void addEntropy(unsigned length, void* data); 
 void getRandomBlock(uint32_t* b);
 /* this does some simple buffering */
 uint8_t getRandomByte(void);
+
+void fillBlockRandom(void* block, unsigned length);
 
 #endif /*PRNG_H_*/