summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-01-18 07:22:09 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-01-18 07:22:09 +0000
commit9b600848ba705ea9cc53617293c233a37aea2d5c (patch)
tree16819d9e0c7baaa32fa8bac683f316aa9d99fc6f /sys/arch/amd64
parentd6cce45a5cb80fd83e7714574ead7cab7c04c10e (diff)
Fix comment re size of input buffer.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/stand/libsa/random_i386.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/libsa/random_i386.S b/sys/arch/amd64/stand/libsa/random_i386.S
index a2bb35ffeb0..987c0a25fca 100644
--- a/sys/arch/amd64/stand/libsa/random_i386.S
+++ b/sys/arch/amd64/stand/libsa/random_i386.S
@@ -20,7 +20,8 @@
#include <machine/specialreg.h>
/*
- * Buffer size must be multiple of 4
+ * Random data is xored into the buffer in 4 byte blocks. If the buffer size
+ * is not a multiple of 4, the remaining bytes will be left untouched.
*/
ENTRY(mdrandom)
pushal