Enable bn_sqr() on amd64.
authorjsing <jsing@openbsd.org>
Sat, 21 Jan 2023 17:30:50 +0000 (17:30 +0000)
committerjsing <jsing@openbsd.org>
Sat, 21 Jan 2023 17:30:50 +0000 (17:30 +0000)
ok tb@

lib/libcrypto/bn/arch/amd64/bn_arch.h

index 17d22f3..7fb4e98 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: bn_arch.h,v 1.2 2023/01/20 17:31:52 jsing Exp $ */
+/*     $OpenBSD: bn_arch.h,v 1.3 2023/01/21 17:30:50 jsing Exp $ */
 /*
  * Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
  *
@@ -23,6 +23,7 @@
 #define HAVE_BN_MUL_COMBA4
 #define HAVE_BN_MUL_COMBA8
 
+#define HAVE_BN_SQR
 #define HAVE_BN_SQR_COMBA4
 #define HAVE_BN_SQR_COMBA8