diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-18 07:22:09 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-18 07:22:09 +0000 |
commit | 9b600848ba705ea9cc53617293c233a37aea2d5c (patch) | |
tree | 16819d9e0c7baaa32fa8bac683f316aa9d99fc6f /sys/arch | |
parent | d6cce45a5cb80fd83e7714574ead7cab7c04c10e (diff) |
Fix comment re size of input buffer.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/stand/libsa/random_i386.S | 3 | ||||
-rw-r--r-- | sys/arch/i386/stand/libsa/random_i386.S | 3 |
2 files changed, 4 insertions, 2 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 diff --git a/sys/arch/i386/stand/libsa/random_i386.S b/sys/arch/i386/stand/libsa/random_i386.S index a2bb35ffeb0..987c0a25fca 100644 --- a/sys/arch/i386/stand/libsa/random_i386.S +++ b/sys/arch/i386/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 |