aboutsummaryrefslogtreecommitdiff
path: root/src/rnd_well512.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rnd_well512.c')
-rw-r--r--src/rnd_well512.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/rnd_well512.c b/src/rnd_well512.c
index 5f7b97e..a6bca13 100644
--- a/src/rnd_well512.c
+++ b/src/rnd_well512.c
@@ -50,16 +50,10 @@ static void rnd_free_well512 (void *p) {
bool prne_rnd_alloc_well512 (
prne_rnd_t *p,
- const uint8_t *is,
- const size_t is_len)
+ const uint8_t *is)
{
rnd_well512_ctx_t *ctx;
- if (is_len < sizeof(ctx->state)) {
- errno = EINVAL;
- return false;
- }
-
ctx = (rnd_well512_ctx_t*)prne_calloc(sizeof(rnd_well512_ctx_t), 1);
if (ctx == NULL) {
return false;