CVS commit: src/tests/sys/crypto/aes

2020-07-26 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 26 14:01:14 UTC 2020

Modified Files:
src/tests/sys/crypto/aes: t_aes.c

Log Message:
Sort includes.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/sys/crypto/aes/t_aes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/sys/crypto/aes/t_aes.c
diff -u src/tests/sys/crypto/aes/t_aes.c:1.2 src/tests/sys/crypto/aes/t_aes.c:1.3
--- src/tests/sys/crypto/aes/t_aes.c:1.2	Sun Jul 26 12:43:27 2020
+++ src/tests/sys/crypto/aes/t_aes.c	Sun Jul 26 14:01:14 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_aes.c,v 1.2 2020/07/26 12:43:27 martin Exp $	*/
+/*	$NetBSD: t_aes.c,v 1.3 2020/07/26 14:01:14 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -29,8 +29,8 @@
 #include 
 
 #include 
-#include 
 #include 
+#include 
 
 #if defined(__i386__) || defined(__x86_64__)
 #include 



CVS commit: src/tests/sys/crypto/aes

2020-07-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 26 12:43:27 UTC 2020

Modified Files:
src/tests/sys/crypto/aes: t_aes.c

Log Message:
Add missing include to fix the build on architectures w/o any special
accelerated AES implementation.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sys/crypto/aes/t_aes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/sys/crypto/aes/t_aes.c
diff -u src/tests/sys/crypto/aes/t_aes.c:1.1 src/tests/sys/crypto/aes/t_aes.c:1.2
--- src/tests/sys/crypto/aes/t_aes.c:1.1	Tue Jun 30 20:32:11 2020
+++ src/tests/sys/crypto/aes/t_aes.c	Sun Jul 26 12:43:27 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_aes.c,v 1.1 2020/06/30 20:32:11 riastradh Exp $	*/
+/*	$NetBSD: t_aes.c,v 1.2 2020/07/26 12:43:27 martin Exp $	*/
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -29,6 +29,7 @@
 #include 
 
 #include 
+#include 
 #include 
 
 #if defined(__i386__) || defined(__x86_64__)



CVS commit: src/tests/sys/crypto/aes

2020-07-01 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jul  1 09:58:29 UTC 2020

Modified Files:
src/tests/sys/crypto/aes: Makefile

Log Message:
Pass the requisite -msse options for i386.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sys/crypto/aes/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/sys/crypto/aes/Makefile
diff -u src/tests/sys/crypto/aes/Makefile:1.1 src/tests/sys/crypto/aes/Makefile:1.2
--- src/tests/sys/crypto/aes/Makefile:1.1	Tue Jun 30 20:32:11 2020
+++ src/tests/sys/crypto/aes/Makefile	Wed Jul  1 09:58:29 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2020/06/30 20:32:11 riastradh Exp $
+#	$NetBSD: Makefile,v 1.2 2020/07/01 09:58:29 riastradh Exp $
 
 .include 
 
@@ -51,11 +51,16 @@ SRCS.t_aes+=	aes_sse2_dec.c
 SRCS.t_aes+=	aes_sse2_enc.c
 SRCS.t_aes+=	aes_sse2_impl.c
 SRCS.t_aes+=	aes_sse2_subr.c
+COPTS.aes_sse2.c+=	-msse -msse2
+COPTS.aes_sse2_dec.c+=	-msse -msse2
+COPTS.aes_sse2_enc.c+=	-msse -msse2
+COPTS.aes_sse2_subr.c+=	-msse -msse2
 
 SRCS.t_aes+=	aes_ssse3.c
 SRCS.t_aes+=	aes_ssse3_impl.c
 SRCS.t_aes+=	aes_ssse3_subr.c
-COPTS.aes_ssse3.c+=	-msse3 -mssse3
+COPTS.aes_ssse3.c+=		-msse -msse2 -msse3 -mssse3
+COPTS.aes_ssse3_subr.c+=	-msse -msse2 -msse3 -mssse3
 
 SRCS.t_aes+=	aes_via.c