From: deraadt Date: Mon, 6 Jan 2014 22:34:22 +0000 (+0000) Subject: document random buffer must be multiple of 4 in size X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11b00311b44ffb1c49f068b139c67f4f90240b4b;p=openbsd document random buffer must be multiple of 4 in size --- 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