diff options
author | markm <markm@FreeBSD.org> | 2002-09-21 21:40:02 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-09-21 21:40:02 +0000 |
commit | 7d834f54d05040e389b2b233f50099ba6de76210 (patch) | |
tree | 081b897e1a4e0abf895ffa1bb4b5041b06ad6168 /sys/dev/random | |
parent | 31942093851d151622b2bab6350f201b719e1d06 (diff) | |
download | FreeBSD-src-7d834f54d05040e389b2b233f50099ba6de76210.zip FreeBSD-src-7d834f54d05040e389b2b233f50099ba6de76210.tar.gz |
No functional change. Fix comments and whitespace.
Diffstat (limited to 'sys/dev/random')
-rw-r--r-- | sys/dev/random/hash.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/random/hash.c b/sys/dev/random/hash.c index 98bd253..b6bf4b2 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); } |