diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/random/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/hash.c b/sys/dev/random/hash.c index fbd1163..21c89e0 100644 --- a/sys/dev/random/hash.c +++ b/sys/dev/random/hash.c @@ -94,7 +94,7 @@ yarrow_encrypt_init(struct yarrowkey *context, void *data, size_t size) size_t count; count = size > KEYSIZE ? KEYSIZE : size; - BF_set_key(&context->key, size, data); + BF_set_key(&context->key, count, data); } /* Encrypt the supplied data using the key schedule preset in the context */ |