projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the benchmarck preset. Enable the context switch output on serial.
[bertos.git]
/
bertos
/
sec
/
random_p.h
diff --git
a/bertos/sec/random_p.h
b/bertos/sec/random_p.h
index 97d51dadd4fb3d54430b26463c2d784ddbcc1834..990925f8bdc469dab2fae2013da917069067dd81 100644
(file)
--- a/
bertos/sec/random_p.h
+++ b/
bertos/sec/random_p.h
@@
-47,7
+47,8
@@
#define POOL_NONE 0
#define POOL_YARROW 1
#define POOL_NONE 0
#define POOL_YARROW 1
-#define POOL_NAME1 Yarrow
+#define POOL_NAMEU1 YarrowPool
+#define POOL_NAMEL1 yarrowpool
#define PRNG_ISAAC 1
#define PRNG_X917 2
#define PRNG_ISAAC 1
#define PRNG_X917 2
@@
-96,7
+97,7
@@
enum EntropySource
* Add entropy to the global entropy pool.
*/
void random_add_entropy(enum EntropySource source_idx,
* Add entropy to the global entropy pool.
*/
void random_add_entropy(enum EntropySource source_idx,
- const uint8_t *data, size_t len,
+ const uint8_t *data, size_t len,
int entropy);
int entropy);