summaryrefslogtreecommitdiff
path: root/sys/dev/random
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-09-21 21:40:02 +0000
committerMark Murray <markm@FreeBSD.org>2002-09-21 21:40:02 +0000
commitb0186e2c5c68d62cb19577a9cadf886faee57a15 (patch)
tree081b897e1a4e0abf895ffa1bb4b5041b06ad6168 /sys/dev/random
parent5f9a7cb392207ecee18a08d9b654dd75935b4b54 (diff)
Notes
Diffstat (limited to 'sys/dev/random')
-rw-r--r--sys/dev/random/hash.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/random/hash.c b/sys/dev/random/hash.c
index 98bd25356223..b6bf4b22d909 100644
--- a/sys/dev/random/hash.c
+++ b/sys/dev/random/hash.c
@@ -49,8 +49,7 @@ yarrow_hash_iterate(struct yarrowhash *context, void *data, size_t size)
}
/* Conclude by returning the hash in the supplied /buf/ which must be
- * KEYSIZE bytes long. Trailing data (less than KEYSIZE bytes) are
- * not forgotten.
+ * KEYSIZE bytes long.
*/
void
yarrow_hash_finish(struct yarrowhash *context, void *buf)
@@ -59,7 +58,7 @@ yarrow_hash_finish(struct yarrowhash *context, void *buf)
}
/* Initialise the encryption routine by setting up the key schedule
- * from the supplied /key/ which must be KEYSIZE bytes of binary
+ * from the supplied /data/ which must be KEYSIZE bytes of binary
* data.
*/
void
@@ -76,5 +75,5 @@ void
yarrow_encrypt(struct yarrowkey *context, void *d_in, void *d_out)
{
rijndael_blockEncrypt(&context->cipher, &context->key, d_in,
- KEYSIZE*8, d_out);
+ KEYSIZE*8, d_out);
}