Rev: src/nettle/yarrow.h:1.6
void
yarrow160_init(struct yarrow160_ctx *ctx,
- int nsources,
+ unsigned nsources,
struct yarrow_source *sources);
void
void
yarrow256_init(struct yarrow256_ctx *ctx,
- int nsources,
+ unsigned nsources,
struct yarrow_source *sources);
void
yarrow256_seeded(struct yarrow256_ctx *ctx);
/* Key event estimator */
+#define YARROW_KEY_EVENT_BUFFER 16
+
struct yarrow_key_event_ctx
{
/* Counter for initial priming of the state */
unsigned index;
- unsigned chars[16];
+ unsigned chars[YARROW_KEY_EVENT_BUFFER];
unsigned previous;
};