From ea750b59297a7be5ed23d9ae579a3d69b6491c2c Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 1 Mar 2017 11:41:09 +0100 Subject: [PATCH] aes/aes_x86core.c: clarify reference implementation status. Reviewed-by: Richard Levitte --- crypto/aes/aes_x86core.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/crypto/aes/aes_x86core.c b/crypto/aes/aes_x86core.c index 95b49bbabc..21dca9eefe 100644 --- a/crypto/aes/aes_x86core.c +++ b/crypto/aes/aes_x86core.c @@ -7,6 +7,14 @@ * https://www.openssl.org/source/license.html */ +/* + * This is experimental x86[_64] derivative. It assumes little-endian + * byte order and expects CPU to sustain unaligned memory references. + * It is used as playground for cache-time attack mitigations and + * serves as reference C implementation for x86[_64] as well as some + * other assembly modules. + */ + /** * rijndael-alg-fst.c * @@ -33,15 +41,6 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* - * This is experimental x86[_64] derivative. It assumes little-endian - * byte order and expects CPU to sustain unaligned memory references. - * It is used as playground for cache-time attack mitigations and - * serves as reference C implementation for x86[_64] assembler. - * - * - */ - #include