From 11b00311b44ffb1c49f068b139c67f4f90240b4b Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 6 Jan 2014 22:34:22 +0000 Subject: [PATCH] document random buffer must be multiple of 4 in size --- sys/arch/amd64/stand/libsa/random_i386.S | 3 +++ sys/arch/i386/stand/libsa/random_i386.S | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sys/arch/amd64/stand/libsa/random_i386.S b/sys/arch/amd64/stand/libsa/random_i386.S index 568c8bb4daf..a2bb35ffeb0 100644 --- a/sys/arch/amd64/stand/libsa/random_i386.S +++ b/sys/arch/amd64/stand/libsa/random_i386.S @@ -19,6 +19,9 @@ #include #include +/* + * Buffer size must be multiple of 4 + */ ENTRY(mdrandom) pushal diff --git a/sys/arch/i386/stand/libsa/random_i386.S b/sys/arch/i386/stand/libsa/random_i386.S index 568c8bb4daf..a2bb35ffeb0 100644 --- a/sys/arch/i386/stand/libsa/random_i386.S +++ b/sys/arch/i386/stand/libsa/random_i386.S @@ -19,6 +19,9 @@ #include #include +/* + * Buffer size must be multiple of 4 + */ ENTRY(mdrandom) pushal -- 2.20.1