[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/45847 CVS commit: src/sys/arch/x86/x86
The following reply was made to PR port-i386/45847; it has been noted by GNATS.
From: "Jonathan A. Kollasch" <jakllsch%netbsd.org@localhost>
Subject: PR/45847 CVS commit: src/sys/arch/x86/x86
Date: Tue, 17 Jan 2012 03:39:33 +0000
Module Name: src
Committed By: jakllsch
Date: Tue Jan 17 03:39:33 UTC 2012
In addition to %[er]ax, rep xstore-rng also clobbers %[er]cx and %[er]di.
As such, mark them as outputs, as is done in the VIA Padlock example code.
Additionally, let's assume that VIAC3_RNG_BUFSIZ is in bytes and not DWords.
Furthermore assume that there are not 1 but NBBY bits of entropy per byte.
Fixes PR kern/45847 for me.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x86/x86/via_padlock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |