summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec')
-rw-r--r--src/lib/libcrypto/ec/ec_curve.c7
-rw-r--r--src/lib/libcrypto/ec/ec_lcl.h6
-rw-r--r--src/lib/libcrypto/ec/ecp_nist.c5
3 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ec/ec_curve.c b/src/lib/libcrypto/ec/ec_curve.c
index b575f7bac2..09f8cfe9d8 100644
--- a/src/lib/libcrypto/ec/ec_curve.c
+++ b/src/lib/libcrypto/ec/ec_curve.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_curve.c,v 1.21 2021/04/20 17:16:37 tb Exp $ */ 1/* $OpenBSD: ec_curve.c,v 1.22 2022/06/30 11:14:47 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project. 3 * Written by Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -73,9 +73,10 @@
73 73
74#include <openssl/opensslconf.h> 74#include <openssl/opensslconf.h>
75 75
76#include "ec_lcl.h"
77#include <openssl/err.h> 76#include <openssl/err.h>
78#include <openssl/obj_mac.h> 77#include <openssl/objects.h>
78
79#include "ec_lcl.h"
79 80
80typedef struct { 81typedef struct {
81 int field_type, /* either NID_X9_62_prime_field or 82 int field_type, /* either NID_X9_62_prime_field or
diff --git a/src/lib/libcrypto/ec/ec_lcl.h b/src/lib/libcrypto/ec/ec_lcl.h
index 7a7469968c..f0a5618be2 100644
--- a/src/lib/libcrypto/ec/ec_lcl.h
+++ b/src/lib/libcrypto/ec/ec_lcl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_lcl.h,v 1.19 2021/12/04 16:08:32 tb Exp $ */ 1/* $OpenBSD: ec_lcl.h,v 1.20 2022/06/30 11:14:47 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -71,10 +71,10 @@
71 71
72#include <stdlib.h> 72#include <stdlib.h>
73 73
74#include <openssl/obj_mac.h> 74#include <openssl/bn.h>
75#include <openssl/ec.h> 75#include <openssl/ec.h>
76#include <openssl/ecdsa.h> 76#include <openssl/ecdsa.h>
77#include <openssl/bn.h> 77#include <openssl/objects.h>
78 78
79#include "bn_lcl.h" 79#include "bn_lcl.h"
80 80
diff --git a/src/lib/libcrypto/ec/ecp_nist.c b/src/lib/libcrypto/ec/ecp_nist.c
index f7dae16e47..b3cea0c4c0 100644
--- a/src/lib/libcrypto/ec/ecp_nist.c
+++ b/src/lib/libcrypto/ec/ecp_nist.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_nist.c,v 1.18 2021/09/08 17:29:21 tb Exp $ */ 1/* $OpenBSD: ecp_nist.c,v 1.19 2022/06/30 11:14:47 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project. 3 * Written by Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -64,7 +64,8 @@
64#include <limits.h> 64#include <limits.h>
65 65
66#include <openssl/err.h> 66#include <openssl/err.h>
67#include <openssl/obj_mac.h> 67#include <openssl/objects.h>
68
68#include "ec_lcl.h" 69#include "ec_lcl.h"
69 70
70const EC_METHOD * 71const EC_METHOD *