summaryrefslogtreecommitdiff
path: root/sys/dev/random/hash.c
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-11-26 09:58:18 +0000
committerMark Murray <markm@FreeBSD.org>2000-11-26 09:58:18 +0000
commit17c97150493a7c2b4858381866e1dbbe4c719c75 (patch)
tree195ada68e23dc09f8386ffb41b831bfe4740aea3 /sys/dev/random/hash.c
parent45459ea3bd53b5a09ff0574130fd2eb8e3658376 (diff)
Notes
Diffstat (limited to 'sys/dev/random/hash.c')
-rw-r--r--sys/dev/random/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/hash.c b/sys/dev/random/hash.c
index fbd1163c0739..21c89e077da1 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 */