diff options
author | tb <> | 2022-11-26 16:08:57 +0000 |
---|---|---|
committer | tb <> | 2022-11-26 16:08:57 +0000 |
commit | d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49 (patch) | |
tree | 556ebf909e81599dc3d8da585217d1576eabe0e4 | |
parent | bcbac728558eebfaa4404c405e7dc22769585345 (diff) | |
download | openbsd-d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49.tar.gz openbsd-d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49.tar.bz2 openbsd-d0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49.zip |
Make internal header file names consistent
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.
Adjust all .c files in libcrypto, libssl and regress.
The diff is mechanical with the exception of tls13_quic.c, where
#include <ssl_locl.h> was fixed manually.
discussed with jsing,
no objection bcook
445 files changed, 1536 insertions, 970 deletions
diff --git a/src/lib/libcrypto/aes/aes_core.c b/src/lib/libcrypto/aes/aes_core.c index 1b8a24c714..e3fdb4fd5e 100644 --- a/src/lib/libcrypto/aes/aes_core.c +++ b/src/lib/libcrypto/aes/aes_core.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes_core.c,v 1.13 2015/11/05 21:59:13 miod Exp $ */ | 1 | /* $OpenBSD: aes_core.c,v 1.14 2022/11/26 16:08:50 tb Exp $ */ |
2 | /** | 2 | /** |
3 | * rijndael-alg-fst.c | 3 | * rijndael-alg-fst.c |
4 | * | 4 | * |
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include <stdlib.h> | 37 | #include <stdlib.h> |
38 | #include <openssl/aes.h> | 38 | #include <openssl/aes.h> |
39 | #include "aes_locl.h" | 39 | #include "aes_local.h" |
40 | 40 | ||
41 | #ifndef AES_ASM | 41 | #ifndef AES_ASM |
42 | /* | 42 | /* |
diff --git a/src/lib/libcrypto/aes/aes_ecb.c b/src/lib/libcrypto/aes/aes_ecb.c index b05e53994b..e3bb40b5aa 100644 --- a/src/lib/libcrypto/aes/aes_ecb.c +++ b/src/lib/libcrypto/aes/aes_ecb.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes_ecb.c,v 1.6 2015/02/10 09:46:30 miod Exp $ */ | 1 | /* $OpenBSD: aes_ecb.c,v 1.7 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | #endif | 56 | #endif |
57 | 57 | ||
58 | #include <openssl/aes.h> | 58 | #include <openssl/aes.h> |
59 | #include "aes_locl.h" | 59 | #include "aes_local.h" |
60 | 60 | ||
61 | void | 61 | void |
62 | AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | 62 | AES_ecb_encrypt(const unsigned char *in, unsigned char *out, |
diff --git a/src/lib/libcrypto/aes/aes_ige.c b/src/lib/libcrypto/aes/aes_ige.c index 244a5a36bd..ef7d7662fd 100644 --- a/src/lib/libcrypto/aes/aes_ige.c +++ b/src/lib/libcrypto/aes/aes_ige.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes_ige.c,v 1.8 2022/01/22 00:43:41 inoguchi Exp $ */ | 1 | /* $OpenBSD: aes_ige.c,v 1.9 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -52,7 +52,7 @@ | |||
52 | #include <openssl/aes.h> | 52 | #include <openssl/aes.h> |
53 | #include <openssl/crypto.h> | 53 | #include <openssl/crypto.h> |
54 | 54 | ||
55 | #include "aes_locl.h" | 55 | #include "aes_local.h" |
56 | 56 | ||
57 | #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long)) | 57 | #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long)) |
58 | typedef struct { | 58 | typedef struct { |
diff --git a/src/lib/libcrypto/aes/aes_locl.h b/src/lib/libcrypto/aes/aes_local.h index c47f65da62..4c984e0de6 100644 --- a/src/lib/libcrypto/aes/aes_locl.h +++ b/src/lib/libcrypto/aes/aes_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes_locl.h,v 1.11 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: aes_local.h,v 1.1 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/aes/aes_misc.c b/src/lib/libcrypto/aes/aes_misc.c index 6c1506dd79..4ed55b1e50 100644 --- a/src/lib/libcrypto/aes/aes_misc.c +++ b/src/lib/libcrypto/aes/aes_misc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes_misc.c,v 1.10 2014/07/09 11:10:50 bcook Exp $ */ | 1 | /* $OpenBSD: aes_misc.c,v 1.11 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -52,7 +52,7 @@ | |||
52 | #include <openssl/opensslv.h> | 52 | #include <openssl/opensslv.h> |
53 | #include <openssl/crypto.h> | 53 | #include <openssl/crypto.h> |
54 | #include <openssl/aes.h> | 54 | #include <openssl/aes.h> |
55 | #include "aes_locl.h" | 55 | #include "aes_local.h" |
56 | 56 | ||
57 | const char * | 57 | const char * |
58 | AES_options(void) | 58 | AES_options(void) |
diff --git a/src/lib/libcrypto/aes/aes_x86core.c b/src/lib/libcrypto/aes/aes_x86core.c index d0d12dc3ae..f76004e126 100644 --- a/src/lib/libcrypto/aes/aes_x86core.c +++ b/src/lib/libcrypto/aes/aes_x86core.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes_x86core.c,v 1.9 2018/04/03 21:59:37 tb Exp $ */ | 1 | /* $OpenBSD: aes_x86core.c,v 1.10 2022/11/26 16:08:50 tb Exp $ */ |
2 | /** | 2 | /** |
3 | * rijndael-alg-fst.c | 3 | * rijndael-alg-fst.c |
4 | * | 4 | * |
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | #include <stdlib.h> | 44 | #include <stdlib.h> |
45 | #include <openssl/aes.h> | 45 | #include <openssl/aes.h> |
46 | #include "aes_locl.h" | 46 | #include "aes_local.h" |
47 | 47 | ||
48 | /* | 48 | /* |
49 | * These two parameters control which table, 256-byte or 2KB, is | 49 | * These two parameters control which table, 256-byte or 2KB, is |
diff --git a/src/lib/libcrypto/asn1/a_enum.c b/src/lib/libcrypto/asn1/a_enum.c index b35fe43666..d7c8181ea9 100644 --- a/src/lib/libcrypto/asn1/a_enum.c +++ b/src/lib/libcrypto/asn1/a_enum.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_enum.c,v 1.27 2022/09/03 18:45:51 jsing Exp $ */ | 1 | /* $OpenBSD: a_enum.c,v 1.28 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/buffer.h> | 65 | #include <openssl/buffer.h> |
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | #include "bytestring.h" | 69 | #include "bytestring.h" |
70 | 70 | ||
71 | /* | 71 | /* |
diff --git a/src/lib/libcrypto/asn1/a_mbstr.c b/src/lib/libcrypto/asn1/a_mbstr.c index 8cff3ae1ca..06b674ef41 100644 --- a/src/lib/libcrypto/asn1/a_mbstr.c +++ b/src/lib/libcrypto/asn1/a_mbstr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_mbstr.c,v 1.24 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: a_mbstr.c,v 1.25 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/asn1.h> | 63 | #include <openssl/asn1.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | static int traverse_string(const unsigned char *p, int len, int inform, | 68 | static int traverse_string(const unsigned char *p, int len, int inform, |
69 | int (*rfunc)(unsigned long value, void *in), void *arg); | 69 | int (*rfunc)(unsigned long value, void *in), void *arg); |
diff --git a/src/lib/libcrypto/asn1/a_object.c b/src/lib/libcrypto/asn1/a_object.c index 2ee6c17dc6..8c8ca8537f 100644 --- a/src/lib/libcrypto/asn1/a_object.c +++ b/src/lib/libcrypto/asn1/a_object.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_object.c,v 1.48 2022/05/13 16:32:10 tb Exp $ */ | 1 | /* $OpenBSD: a_object.c,v 1.49 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/buffer.h> | 66 | #include <openssl/buffer.h> |
67 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
68 | 68 | ||
69 | #include "asn1_locl.h" | 69 | #include "asn1_local.h" |
70 | 70 | ||
71 | const ASN1_ITEM ASN1_OBJECT_it = { | 71 | const ASN1_ITEM ASN1_OBJECT_it = { |
72 | .itype = ASN1_ITYPE_PRIMITIVE, | 72 | .itype = ASN1_ITYPE_PRIMITIVE, |
diff --git a/src/lib/libcrypto/asn1/a_pkey.c b/src/lib/libcrypto/asn1/a_pkey.c index 3b8dea7db5..c440861443 100644 --- a/src/lib/libcrypto/asn1/a_pkey.c +++ b/src/lib/libcrypto/asn1/a_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_pkey.c,v 1.3 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: a_pkey.c,v 1.4 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -71,8 +71,8 @@ | |||
71 | #include <openssl/engine.h> | 71 | #include <openssl/engine.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "asn1_locl.h" | 74 | #include "asn1_local.h" |
75 | #include "evp_locl.h" | 75 | #include "evp_local.h" |
76 | 76 | ||
77 | EVP_PKEY * | 77 | EVP_PKEY * |
78 | d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) | 78 | d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) |
diff --git a/src/lib/libcrypto/asn1/a_pubkey.c b/src/lib/libcrypto/asn1/a_pubkey.c index f3bb5d81a6..5f5df103b8 100644 --- a/src/lib/libcrypto/asn1/a_pubkey.c +++ b/src/lib/libcrypto/asn1/a_pubkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_pubkey.c,v 1.3 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: a_pubkey.c,v 1.4 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -76,7 +76,7 @@ | |||
76 | #include <openssl/rsa.h> | 76 | #include <openssl/rsa.h> |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #include "evp_locl.h" | 79 | #include "evp_local.h" |
80 | 80 | ||
81 | EVP_PKEY * | 81 | EVP_PKEY * |
82 | d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) | 82 | d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) |
diff --git a/src/lib/libcrypto/asn1/a_strex.c b/src/lib/libcrypto/asn1/a_strex.c index 848d1bffd7..91aa8d2643 100644 --- a/src/lib/libcrypto/asn1/a_strex.c +++ b/src/lib/libcrypto/asn1/a_strex.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_strex.c,v 1.31 2021/12/25 12:11:57 jsing Exp $ */ | 1 | /* $OpenBSD: a_strex.c,v 1.32 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/crypto.h> | 63 | #include <openssl/crypto.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | #include "charmap.h" | 68 | #include "charmap.h" |
69 | 69 | ||
diff --git a/src/lib/libcrypto/asn1/a_string.c b/src/lib/libcrypto/asn1/a_string.c index ef36f50c0d..7a6ef97751 100644 --- a/src/lib/libcrypto/asn1/a_string.c +++ b/src/lib/libcrypto/asn1/a_string.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_string.c,v 1.11 2022/05/20 08:04:21 tb Exp $ */ | 1 | /* $OpenBSD: a_string.c,v 1.12 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/asn1.h> | 63 | #include <openssl/asn1.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | ASN1_STRING * | 68 | ASN1_STRING * |
69 | ASN1_STRING_new(void) | 69 | ASN1_STRING_new(void) |
diff --git a/src/lib/libcrypto/asn1/a_time.c b/src/lib/libcrypto/asn1/a_time.c index a951b32049..fda06d4b99 100644 --- a/src/lib/libcrypto/asn1/a_time.c +++ b/src/lib/libcrypto/asn1/a_time.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_time.c,v 1.35 2022/11/08 12:56:00 beck Exp $ */ | 1 | /* $OpenBSD: a_time.c,v 1.36 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/asn1t.h> | 67 | #include <openssl/asn1t.h> |
68 | #include <openssl/err.h> | 68 | #include <openssl/err.h> |
69 | 69 | ||
70 | #include "asn1_locl.h" | 70 | #include "asn1_local.h" |
71 | 71 | ||
72 | const ASN1_ITEM ASN1_TIME_it = { | 72 | const ASN1_ITEM ASN1_TIME_it = { |
73 | .itype = ASN1_ITYPE_MSTRING, | 73 | .itype = ASN1_ITYPE_MSTRING, |
diff --git a/src/lib/libcrypto/asn1/a_time_tm.c b/src/lib/libcrypto/asn1/a_time_tm.c index 459f4a27e0..c8b0172621 100644 --- a/src/lib/libcrypto/asn1/a_time_tm.c +++ b/src/lib/libcrypto/asn1/a_time_tm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_time_tm.c,v 1.26 2022/11/22 21:23:16 tb Exp $ */ | 1 | /* $OpenBSD: a_time_tm.c,v 1.27 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2015 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -25,7 +25,7 @@ | |||
25 | #include <openssl/err.h> | 25 | #include <openssl/err.h> |
26 | 26 | ||
27 | #include "bytestring.h" | 27 | #include "bytestring.h" |
28 | #include "asn1_locl.h" | 28 | #include "asn1_local.h" |
29 | 29 | ||
30 | #define RFC5280 0 | 30 | #define RFC5280 0 |
31 | #define GENTIME_LENGTH 15 | 31 | #define GENTIME_LENGTH 15 |
diff --git a/src/lib/libcrypto/asn1/a_utf8.c b/src/lib/libcrypto/asn1/a_utf8.c index 113a3a2e36..51ab1bdb28 100644 --- a/src/lib/libcrypto/asn1/a_utf8.c +++ b/src/lib/libcrypto/asn1/a_utf8.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_utf8.c,v 1.8 2014/07/11 08:44:47 jsing Exp $ */ | 1 | /* $OpenBSD: a_utf8.c,v 1.9 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #include <openssl/asn1.h> | 61 | #include <openssl/asn1.h> |
62 | 62 | ||
63 | #include "asn1_locl.h" | 63 | #include "asn1_local.h" |
64 | 64 | ||
65 | /* UTF8 utilities */ | 65 | /* UTF8 utilities */ |
66 | 66 | ||
diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c index 143c010dfa..e9f9927620 100644 --- a/src/lib/libcrypto/asn1/ameth_lib.c +++ b/src/lib/libcrypto/asn1/ameth_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ameth_lib.c,v 1.29 2022/11/10 16:37:51 jsing Exp $ */ | 1 | /* $OpenBSD: ameth_lib.c,v 1.30 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -68,8 +68,8 @@ | |||
68 | #include <openssl/engine.h> | 68 | #include <openssl/engine.h> |
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | #include "asn1_locl.h" | 71 | #include "asn1_local.h" |
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | 73 | ||
74 | extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; | 74 | extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; |
75 | extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; | 75 | extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; |
diff --git a/src/lib/libcrypto/asn1/asn1_gen.c b/src/lib/libcrypto/asn1/asn1_gen.c index a37091ce7d..b64aa8966a 100644 --- a/src/lib/libcrypto/asn1/asn1_gen.c +++ b/src/lib/libcrypto/asn1/asn1_gen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_gen.c,v 1.19 2022/05/24 19:56:13 tb Exp $ */ | 1 | /* $OpenBSD: asn1_gen.c,v 1.20 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/x509v3.h> | 63 | #include <openssl/x509v3.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | 66 | ||
67 | #define ASN1_GEN_FLAG 0x10000 | 67 | #define ASN1_GEN_FLAG 0x10000 |
68 | #define ASN1_GEN_FLAG_IMP (ASN1_GEN_FLAG|1) | 68 | #define ASN1_GEN_FLAG_IMP (ASN1_GEN_FLAG|1) |
diff --git a/src/lib/libcrypto/asn1/asn1_item.c b/src/lib/libcrypto/asn1/asn1_item.c index f133f9b46c..9e7f308ed1 100644 --- a/src/lib/libcrypto/asn1/asn1_item.c +++ b/src/lib/libcrypto/asn1/asn1_item.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_item.c,v 1.5 2022/05/24 20:20:19 tb Exp $ */ | 1 | /* $OpenBSD: asn1_item.c,v 1.6 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -116,8 +116,8 @@ | |||
116 | #include <openssl/evp.h> | 116 | #include <openssl/evp.h> |
117 | #include <openssl/x509.h> | 117 | #include <openssl/x509.h> |
118 | 118 | ||
119 | #include "asn1_locl.h" | 119 | #include "asn1_local.h" |
120 | #include "evp_locl.h" | 120 | #include "evp_local.h" |
121 | 121 | ||
122 | /* | 122 | /* |
123 | * ASN1_ITEM version of dup: this follows the model above except we don't need | 123 | * ASN1_ITEM version of dup: this follows the model above except we don't need |
diff --git a/src/lib/libcrypto/asn1/asn1_locl.h b/src/lib/libcrypto/asn1/asn1_local.h index 8180e9b0fc..ed40e18ec9 100644 --- a/src/lib/libcrypto/asn1/asn1_locl.h +++ b/src/lib/libcrypto/asn1/asn1_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_locl.h,v 1.41 2022/11/10 14:46:44 jsing Exp $ */ | 1 | /* $OpenBSD: asn1_local.h,v 1.1 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
diff --git a/src/lib/libcrypto/asn1/asn1_old.c b/src/lib/libcrypto/asn1/asn1_old.c index 59e9cdb101..d7f0d968cd 100644 --- a/src/lib/libcrypto/asn1/asn1_old.c +++ b/src/lib/libcrypto/asn1/asn1_old.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_old.c,v 1.2 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: asn1_old.c,v 1.3 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/buffer.h> | 63 | #include <openssl/buffer.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | #ifndef NO_OLD_ASN1 | 68 | #ifndef NO_OLD_ASN1 |
69 | 69 | ||
diff --git a/src/lib/libcrypto/asn1/asn1_old_lib.c b/src/lib/libcrypto/asn1/asn1_old_lib.c index a4d3cc71b4..f19cb1ca22 100644 --- a/src/lib/libcrypto/asn1/asn1_old_lib.c +++ b/src/lib/libcrypto/asn1/asn1_old_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_old_lib.c,v 1.4 2022/05/05 19:18:56 jsing Exp $ */ | 1 | /* $OpenBSD: asn1_old_lib.c,v 1.5 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/asn1.h> | 63 | #include <openssl/asn1.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | static void asn1_put_length(unsigned char **pp, int length); | 68 | static void asn1_put_length(unsigned char **pp, int length); |
69 | 69 | ||
diff --git a/src/lib/libcrypto/asn1/asn_mime.c b/src/lib/libcrypto/asn1/asn_mime.c index 3150214378..48bd9d1e12 100644 --- a/src/lib/libcrypto/asn1/asn_mime.c +++ b/src/lib/libcrypto/asn1/asn_mime.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn_mime.c,v 1.29 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: asn_mime.c,v 1.30 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -62,8 +62,8 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | /* Generalised MIME like utilities for streaming ASN1. Although many | 68 | /* Generalised MIME like utilities for streaming ASN1. Although many |
69 | * have a PKCS7/CMS like flavour others are more general purpose. | 69 | * have a PKCS7/CMS like flavour others are more general purpose. |
diff --git a/src/lib/libcrypto/asn1/asn_moid.c b/src/lib/libcrypto/asn1/asn_moid.c index c672f0ae94..166ebae3fb 100644 --- a/src/lib/libcrypto/asn1/asn_moid.c +++ b/src/lib/libcrypto/asn1/asn_moid.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn_moid.c,v 1.14 2022/01/07 11:13:54 tb Exp $ */ | 1 | /* $OpenBSD: asn_moid.c,v 1.15 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/crypto.h> | 65 | #include <openssl/crypto.h> |
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | 69 | ||
70 | /* Simple ASN1 OID module: add all objects in a given section */ | 70 | /* Simple ASN1 OID module: add all objects in a given section */ |
71 | 71 | ||
diff --git a/src/lib/libcrypto/asn1/p5_pbev2.c b/src/lib/libcrypto/asn1/p5_pbev2.c index d88a4dfc64..85818a900a 100644 --- a/src/lib/libcrypto/asn1/p5_pbev2.c +++ b/src/lib/libcrypto/asn1/p5_pbev2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p5_pbev2.c,v 1.27 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: p5_pbev2.c,v 1.28 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999-2004. | 3 | * project 1999-2004. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | 66 | ||
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | 68 | ||
69 | /* PKCS#5 v2.0 password based encryption structures */ | 69 | /* PKCS#5 v2.0 password based encryption structures */ |
70 | 70 | ||
diff --git a/src/lib/libcrypto/asn1/p8_pkey.c b/src/lib/libcrypto/asn1/p8_pkey.c index 18659a6f40..24f1457453 100644 --- a/src/lib/libcrypto/asn1/p8_pkey.c +++ b/src/lib/libcrypto/asn1/p8_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p8_pkey.c,v 1.20 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: p8_pkey.c,v 1.21 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/asn1t.h> | 62 | #include <openssl/asn1t.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* Minor tweak to operation: zero private key data */ | 67 | /* Minor tweak to operation: zero private key data */ |
68 | static int | 68 | static int |
diff --git a/src/lib/libcrypto/asn1/t_crl.c b/src/lib/libcrypto/asn1/t_crl.c index 3ded015d2f..34c9200a03 100644 --- a/src/lib/libcrypto/asn1/t_crl.c +++ b/src/lib/libcrypto/asn1/t_crl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_crl.c,v 1.20 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: t_crl.c,v 1.21 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | #include <openssl/x509v3.h> | 67 | #include <openssl/x509v3.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | int | 71 | int |
72 | X509_CRL_print_fp(FILE *fp, X509_CRL *x) | 72 | X509_CRL_print_fp(FILE *fp, X509_CRL *x) |
diff --git a/src/lib/libcrypto/asn1/t_pkey.c b/src/lib/libcrypto/asn1/t_pkey.c index d1f77219ea..0392dc41d7 100644 --- a/src/lib/libcrypto/asn1/t_pkey.c +++ b/src/lib/libcrypto/asn1/t_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_pkey.c,v 1.18 2022/11/10 13:09:34 jsing Exp $ */ | 1 | /* $OpenBSD: t_pkey.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/buffer.h> | 62 | #include <openssl/buffer.h> |
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | 64 | ||
65 | #include "bn_lcl.h" | 65 | #include "bn_local.h" |
66 | 66 | ||
67 | int | 67 | int |
68 | ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, | 68 | ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, |
diff --git a/src/lib/libcrypto/asn1/t_req.c b/src/lib/libcrypto/asn1/t_req.c index 81f7dd29e8..0ede4cebc9 100644 --- a/src/lib/libcrypto/asn1/t_req.c +++ b/src/lib/libcrypto/asn1/t_req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_req.c,v 1.23 2022/08/30 08:45:06 tb Exp $ */ | 1 | /* $OpenBSD: t_req.c,v 1.24 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -74,7 +74,7 @@ | |||
74 | #include <openssl/rsa.h> | 74 | #include <openssl/rsa.h> |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #include "x509_lcl.h" | 77 | #include "x509_local.h" |
78 | 78 | ||
79 | int | 79 | int |
80 | X509_REQ_print_fp(FILE *fp, X509_REQ *x) | 80 | X509_REQ_print_fp(FILE *fp, X509_REQ *x) |
diff --git a/src/lib/libcrypto/asn1/t_spki.c b/src/lib/libcrypto/asn1/t_spki.c index 56c0956ceb..2da8717a58 100644 --- a/src/lib/libcrypto/asn1/t_spki.c +++ b/src/lib/libcrypto/asn1/t_spki.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_spki.c,v 1.13 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: t_spki.c,v 1.14 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -71,7 +71,7 @@ | |||
71 | #include <openssl/rsa.h> | 71 | #include <openssl/rsa.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "x509_lcl.h" | 74 | #include "x509_local.h" |
75 | 75 | ||
76 | /* Print out an SPKI */ | 76 | /* Print out an SPKI */ |
77 | 77 | ||
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index 5f520f5cb8..d0fbf9049a 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_x509.c,v 1.40 2022/08/11 10:36:32 tb Exp $ */ | 1 | /* $OpenBSD: t_x509.c,v 1.41 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -77,8 +77,8 @@ | |||
77 | #include <openssl/rsa.h> | 77 | #include <openssl/rsa.h> |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #include "asn1_locl.h" | 80 | #include "asn1_local.h" |
81 | #include "x509_lcl.h" | 81 | #include "x509_local.h" |
82 | 82 | ||
83 | int | 83 | int |
84 | X509_print_fp(FILE *fp, X509 *x) | 84 | X509_print_fp(FILE *fp, X509 *x) |
diff --git a/src/lib/libcrypto/asn1/t_x509a.c b/src/lib/libcrypto/asn1/t_x509a.c index 6745318b9c..09e5ecd387 100644 --- a/src/lib/libcrypto/asn1/t_x509a.c +++ b/src/lib/libcrypto/asn1/t_x509a.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_x509a.c,v 1.10 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: t_x509a.c,v 1.11 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* X509_CERT_AUX and string set routines */ | 67 | /* X509_CERT_AUX and string set routines */ |
68 | 68 | ||
diff --git a/src/lib/libcrypto/asn1/tasn_dec.c b/src/lib/libcrypto/asn1/tasn_dec.c index 5e0692e009..0c2357c2bb 100644 --- a/src/lib/libcrypto/asn1/tasn_dec.c +++ b/src/lib/libcrypto/asn1/tasn_dec.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_dec.c,v 1.83 2022/09/03 19:15:23 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_dec.c,v 1.84 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
68 | 68 | ||
69 | #include "asn1_locl.h" | 69 | #include "asn1_local.h" |
70 | #include "bytestring.h" | 70 | #include "bytestring.h" |
71 | 71 | ||
72 | /* | 72 | /* |
diff --git a/src/lib/libcrypto/asn1/tasn_enc.c b/src/lib/libcrypto/asn1/tasn_enc.c index e0f26b9cdb..55e65895f8 100644 --- a/src/lib/libcrypto/asn1/tasn_enc.c +++ b/src/lib/libcrypto/asn1/tasn_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_enc.c,v 1.26 2022/10/17 18:03:15 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_enc.c,v 1.27 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | 68 | ||
69 | static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, | 69 | static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, |
70 | const ASN1_ITEM *it, int tag, int aclass); | 70 | const ASN1_ITEM *it, int tag, int aclass); |
diff --git a/src/lib/libcrypto/asn1/tasn_fre.c b/src/lib/libcrypto/asn1/tasn_fre.c index cc7b838cc5..38f3764f18 100644 --- a/src/lib/libcrypto/asn1/tasn_fre.c +++ b/src/lib/libcrypto/asn1/tasn_fre.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_fre.c,v 1.20 2022/05/12 19:55:58 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_fre.c,v 1.21 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/asn1t.h> | 62 | #include <openssl/asn1t.h> |
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | 66 | ||
67 | static void asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it); | 67 | static void asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it); |
68 | 68 | ||
diff --git a/src/lib/libcrypto/asn1/tasn_new.c b/src/lib/libcrypto/asn1/tasn_new.c index 83b0fce50b..5d436cf25c 100644 --- a/src/lib/libcrypto/asn1/tasn_new.c +++ b/src/lib/libcrypto/asn1/tasn_new.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_new.c,v 1.22 2022/05/10 05:19:22 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_new.c,v 1.23 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/asn1t.h> | 64 | #include <openssl/asn1t.h> |
65 | #include <string.h> | 65 | #include <string.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | 68 | ||
69 | static int asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); | 69 | static int asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); |
70 | static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); | 70 | static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); |
diff --git a/src/lib/libcrypto/asn1/tasn_prn.c b/src/lib/libcrypto/asn1/tasn_prn.c index 54ec56ec25..7f93e4876a 100644 --- a/src/lib/libcrypto/asn1/tasn_prn.c +++ b/src/lib/libcrypto/asn1/tasn_prn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_prn.c,v 1.22 2021/12/03 17:10:49 jsing Exp $ */ | 1 | /* $OpenBSD: tasn_prn.c,v 1.23 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | 69 | ||
70 | /* Print routines. | 70 | /* Print routines. |
71 | */ | 71 | */ |
diff --git a/src/lib/libcrypto/asn1/x_attrib.c b/src/lib/libcrypto/asn1/x_attrib.c index e8822a33a5..d116094c10 100644 --- a/src/lib/libcrypto/asn1/x_attrib.c +++ b/src/lib/libcrypto/asn1/x_attrib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_attrib.c,v 1.17 2022/05/09 19:19:33 jsing Exp $ */ | 1 | /* $OpenBSD: x_attrib.c,v 1.18 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* | 67 | /* |
68 | * XXX - remove X509_ATTRIBUTE_SET_it with next major bump. | 68 | * XXX - remove X509_ATTRIBUTE_SET_it with next major bump. |
diff --git a/src/lib/libcrypto/asn1/x_bignum.c b/src/lib/libcrypto/asn1/x_bignum.c index d1f735b47d..bfcf941993 100644 --- a/src/lib/libcrypto/asn1/x_bignum.c +++ b/src/lib/libcrypto/asn1/x_bignum.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_bignum.c,v 1.12 2022/07/30 13:42:25 jsing Exp $ */ | 1 | /* $OpenBSD: x_bignum.c,v 1.13 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1t.h> | 61 | #include <openssl/asn1t.h> |
62 | #include <openssl/bn.h> | 62 | #include <openssl/bn.h> |
63 | 63 | ||
64 | #include "asn1_locl.h" | 64 | #include "asn1_local.h" |
65 | #include "bytestring.h" | 65 | #include "bytestring.h" |
66 | 66 | ||
67 | /* | 67 | /* |
diff --git a/src/lib/libcrypto/asn1/x_crl.c b/src/lib/libcrypto/asn1/x_crl.c index 35d9007f7c..9c300af808 100644 --- a/src/lib/libcrypto/asn1/x_crl.c +++ b/src/lib/libcrypto/asn1/x_crl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_crl.c,v 1.37 2022/02/24 22:05:06 beck Exp $ */ | 1 | /* $OpenBSD: x_crl.c,v 1.38 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,8 +65,8 @@ | |||
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | static int X509_REVOKED_cmp(const X509_REVOKED * const *a, | 71 | static int X509_REVOKED_cmp(const X509_REVOKED * const *a, |
72 | const X509_REVOKED * const *b); | 72 | const X509_REVOKED * const *b); |
diff --git a/src/lib/libcrypto/asn1/x_exten.c b/src/lib/libcrypto/asn1/x_exten.c index aba8973632..fc54b49747 100644 --- a/src/lib/libcrypto/asn1/x_exten.c +++ b/src/lib/libcrypto/asn1/x_exten.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_exten.c,v 1.17 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: x_exten.c,v 1.18 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1.h> | 61 | #include <openssl/asn1.h> |
62 | #include <openssl/asn1t.h> | 62 | #include <openssl/asn1t.h> |
63 | 63 | ||
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | static const ASN1_TEMPLATE X509_EXTENSION_seq_tt[] = { | 66 | static const ASN1_TEMPLATE X509_EXTENSION_seq_tt[] = { |
67 | { | 67 | { |
diff --git a/src/lib/libcrypto/asn1/x_long.c b/src/lib/libcrypto/asn1/x_long.c index 543c56a5b2..aafdb9c2e5 100644 --- a/src/lib/libcrypto/asn1/x_long.c +++ b/src/lib/libcrypto/asn1/x_long.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_long.c,v 1.18 2022/07/02 18:14:35 jsing Exp $ */ | 1 | /* $OpenBSD: x_long.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/bn.h> | 63 | #include <openssl/bn.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | 67 | ||
68 | /* | 68 | /* |
69 | * Custom primitive type for long handling. This converts between an | 69 | * Custom primitive type for long handling. This converts between an |
diff --git a/src/lib/libcrypto/asn1/x_name.c b/src/lib/libcrypto/asn1/x_name.c index 4c698ac2f0..ea3a3c8714 100644 --- a/src/lib/libcrypto/asn1/x_name.c +++ b/src/lib/libcrypto/asn1/x_name.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_name.c,v 1.37 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: x_name.c,v 1.38 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -64,8 +64,8 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY; | 70 | typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY; |
71 | DECLARE_STACK_OF(STACK_OF_X509_NAME_ENTRY) | 71 | DECLARE_STACK_OF(STACK_OF_X509_NAME_ENTRY) |
diff --git a/src/lib/libcrypto/asn1/x_pubkey.c b/src/lib/libcrypto/asn1/x_pubkey.c index a2c3d88e8a..4c255d634e 100644 --- a/src/lib/libcrypto/asn1/x_pubkey.c +++ b/src/lib/libcrypto/asn1/x_pubkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_pubkey.c,v 1.32 2022/05/24 19:59:14 tb Exp $ */ | 1 | /* $OpenBSD: x_pubkey.c,v 1.33 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -71,9 +71,9 @@ | |||
71 | #include <openssl/rsa.h> | 71 | #include <openssl/rsa.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "asn1_locl.h" | 74 | #include "asn1_local.h" |
75 | #include "evp_locl.h" | 75 | #include "evp_local.h" |
76 | #include "x509_lcl.h" | 76 | #include "x509_local.h" |
77 | 77 | ||
78 | /* Minor tweak to operation: free up EVP_PKEY */ | 78 | /* Minor tweak to operation: free up EVP_PKEY */ |
79 | static int | 79 | static int |
diff --git a/src/lib/libcrypto/asn1/x_req.c b/src/lib/libcrypto/asn1/x_req.c index 38e3790bf4..42b917333a 100644 --- a/src/lib/libcrypto/asn1/x_req.c +++ b/src/lib/libcrypto/asn1/x_req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_req.c,v 1.18 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: x_req.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1t.h> | 61 | #include <openssl/asn1t.h> |
62 | #include <openssl/x509.h> | 62 | #include <openssl/x509.h> |
63 | 63 | ||
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | /* X509_REQ_INFO is handled in an unusual way to get round | 66 | /* X509_REQ_INFO is handled in an unusual way to get round |
67 | * invalid encodings. Some broken certificate requests don't | 67 | * invalid encodings. Some broken certificate requests don't |
diff --git a/src/lib/libcrypto/asn1/x_sig.c b/src/lib/libcrypto/asn1/x_sig.c index 6a842da5f0..9406a2d65b 100644 --- a/src/lib/libcrypto/asn1/x_sig.c +++ b/src/lib/libcrypto/asn1/x_sig.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_sig.c,v 1.13 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: x_sig.c,v 1.14 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/asn1t.h> | 61 | #include <openssl/asn1t.h> |
62 | #include <openssl/x509.h> | 62 | #include <openssl/x509.h> |
63 | 63 | ||
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | static const ASN1_TEMPLATE X509_SIG_seq_tt[] = { | 66 | static const ASN1_TEMPLATE X509_SIG_seq_tt[] = { |
67 | { | 67 | { |
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c index 7147069e83..227af88e82 100644 --- a/src/lib/libcrypto/asn1/x_x509.c +++ b/src/lib/libcrypto/asn1/x_x509.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_x509.c,v 1.30 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: x_x509.c,v 1.31 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | static const ASN1_AUX X509_CINF_aux = { | 70 | static const ASN1_AUX X509_CINF_aux = { |
71 | .flags = ASN1_AFLG_ENCODING, | 71 | .flags = ASN1_AFLG_ENCODING, |
diff --git a/src/lib/libcrypto/asn1/x_x509a.c b/src/lib/libcrypto/asn1/x_x509a.c index 87dc045a5f..a5e1f71e1a 100644 --- a/src/lib/libcrypto/asn1/x_x509a.c +++ b/src/lib/libcrypto/asn1/x_x509a.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_x509a.c,v 1.18 2021/12/25 13:17:48 jsing Exp $ */ | 1 | /* $OpenBSD: x_x509a.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* X509_CERT_AUX routines. These are used to encode additional | 67 | /* X509_CERT_AUX routines. These are used to encode additional |
68 | * user modifiable data about a certificate. This data is | 68 | * user modifiable data about a certificate. This data is |
diff --git a/src/lib/libcrypto/bf/bf_cbc.c b/src/lib/libcrypto/bf/bf_cbc.c index b13ea12961..044bd19ed7 100644 --- a/src/lib/libcrypto/bf/bf_cbc.c +++ b/src/lib/libcrypto/bf/bf_cbc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_cbc.c,v 1.7 2022/11/11 12:18:25 jsing Exp $ */ | 1 | /* $OpenBSD: bf_cbc.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <openssl/blowfish.h> | 59 | #include <openssl/blowfish.h> |
60 | 60 | ||
61 | #include "bf_locl.h" | 61 | #include "bf_local.h" |
62 | 62 | ||
63 | void | 63 | void |
64 | BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | 64 | BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, |
diff --git a/src/lib/libcrypto/bf/bf_cfb64.c b/src/lib/libcrypto/bf/bf_cfb64.c index 7db0aed1ea..87dccae263 100644 --- a/src/lib/libcrypto/bf/bf_cfb64.c +++ b/src/lib/libcrypto/bf/bf_cfb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_cfb64.c,v 1.7 2022/11/11 12:18:25 jsing Exp $ */ | 1 | /* $OpenBSD: bf_cfb64.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <openssl/blowfish.h> | 59 | #include <openssl/blowfish.h> |
60 | 60 | ||
61 | #include "bf_locl.h" | 61 | #include "bf_local.h" |
62 | 62 | ||
63 | /* | 63 | /* |
64 | * The input and output encrypted as though 64bit cfb mode is being | 64 | * The input and output encrypted as though 64bit cfb mode is being |
diff --git a/src/lib/libcrypto/bf/bf_ecb.c b/src/lib/libcrypto/bf/bf_ecb.c index 2430455c39..99e50b0ffe 100644 --- a/src/lib/libcrypto/bf/bf_ecb.c +++ b/src/lib/libcrypto/bf/bf_ecb.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_ecb.c,v 1.8 2022/11/11 12:18:25 jsing Exp $ */ | 1 | /* $OpenBSD: bf_ecb.c,v 1.9 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -59,7 +59,7 @@ | |||
59 | #include <openssl/blowfish.h> | 59 | #include <openssl/blowfish.h> |
60 | #include <openssl/opensslv.h> | 60 | #include <openssl/opensslv.h> |
61 | 61 | ||
62 | #include "bf_locl.h" | 62 | #include "bf_local.h" |
63 | 63 | ||
64 | /* | 64 | /* |
65 | * Blowfish as implemented from 'Blowfish: Springer-Verlag paper' | 65 | * Blowfish as implemented from 'Blowfish: Springer-Verlag paper' |
diff --git a/src/lib/libcrypto/bf/bf_enc.c b/src/lib/libcrypto/bf/bf_enc.c index 780e703805..bbefe7d526 100644 --- a/src/lib/libcrypto/bf/bf_enc.c +++ b/src/lib/libcrypto/bf/bf_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_enc.c,v 1.8 2022/11/11 12:18:25 jsing Exp $ */ | 1 | /* $OpenBSD: bf_enc.c,v 1.9 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <openssl/blowfish.h> | 59 | #include <openssl/blowfish.h> |
60 | 60 | ||
61 | #include "bf_locl.h" | 61 | #include "bf_local.h" |
62 | 62 | ||
63 | /* | 63 | /* |
64 | * Blowfish as implemented from 'Blowfish: Springer-Verlag paper' | 64 | * Blowfish as implemented from 'Blowfish: Springer-Verlag paper' |
diff --git a/src/lib/libcrypto/bf/bf_locl.h b/src/lib/libcrypto/bf/bf_local.h index f46ff499fb..1cc29525dd 100644 --- a/src/lib/libcrypto/bf/bf_locl.h +++ b/src/lib/libcrypto/bf/bf_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_locl.h,v 1.4 2022/11/11 12:08:29 jsing Exp $ */ | 1 | /* $OpenBSD: bf_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/bf/bf_ofb64.c b/src/lib/libcrypto/bf/bf_ofb64.c index e7aefef09d..8fe2478263 100644 --- a/src/lib/libcrypto/bf/bf_ofb64.c +++ b/src/lib/libcrypto/bf/bf_ofb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_ofb64.c,v 1.7 2022/11/11 12:18:25 jsing Exp $ */ | 1 | /* $OpenBSD: bf_ofb64.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <openssl/blowfish.h> | 59 | #include <openssl/blowfish.h> |
60 | 60 | ||
61 | #include "bf_locl.h" | 61 | #include "bf_local.h" |
62 | 62 | ||
63 | /* | 63 | /* |
64 | * The input and output encrypted as though 64bit ofb mode is being | 64 | * The input and output encrypted as though 64bit ofb mode is being |
diff --git a/src/lib/libcrypto/bf/bf_skey.c b/src/lib/libcrypto/bf/bf_skey.c index 4a5c1be140..cc31034f18 100644 --- a/src/lib/libcrypto/bf/bf_skey.c +++ b/src/lib/libcrypto/bf/bf_skey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_skey.c,v 1.16 2022/11/11 12:23:49 jsing Exp $ */ | 1 | /* $OpenBSD: bf_skey.c,v 1.17 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/crypto.h> | 62 | #include <openssl/crypto.h> |
63 | #include <openssl/blowfish.h> | 63 | #include <openssl/blowfish.h> |
64 | 64 | ||
65 | #include "bf_locl.h" | 65 | #include "bf_local.h" |
66 | 66 | ||
67 | static const BF_KEY bf_init = { | 67 | static const BF_KEY bf_init = { |
68 | .P = { | 68 | .P = { |
diff --git a/src/lib/libcrypto/bn/asm/x86_64-gcc.c b/src/lib/libcrypto/bn/asm/x86_64-gcc.c index bd068cfb51..e98ffe41e5 100644 --- a/src/lib/libcrypto/bn/asm/x86_64-gcc.c +++ b/src/lib/libcrypto/bn/asm/x86_64-gcc.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* $OpenBSD: x86_64-gcc.c,v 1.6 2015/09/12 09:04:12 miod Exp $ */ | 1 | /* $OpenBSD: x86_64-gcc.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | #include "../bn_lcl.h" | 2 | #include "../bn_local.h" |
3 | /* | 3 | /* |
4 | * x86_64 BIGNUM accelerator version 0.1, December 2002. | 4 | * x86_64 BIGNUM accelerator version 0.1, December 2002. |
5 | * | 5 | * |
diff --git a/src/lib/libcrypto/bn/bn_add.c b/src/lib/libcrypto/bn/bn_add.c index a81dd0ce75..aec7f1ee9a 100644 --- a/src/lib/libcrypto/bn/bn_add.c +++ b/src/lib/libcrypto/bn/bn_add.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_add.c,v 1.15 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_add.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | 62 | ||
63 | #include "bn_lcl.h" | 63 | #include "bn_local.h" |
64 | 64 | ||
65 | int | 65 | int |
66 | BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) | 66 | BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) |
diff --git a/src/lib/libcrypto/bn/bn_asm.c b/src/lib/libcrypto/bn/bn_asm.c index 993fbb3dc5..fd1990e5ed 100644 --- a/src/lib/libcrypto/bn/bn_asm.c +++ b/src/lib/libcrypto/bn/bn_asm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_asm.c,v 1.15 2017/05/02 03:59:44 deraadt Exp $ */ | 1 | /* $OpenBSD: bn_asm.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | 66 | ||
67 | #include <openssl/opensslconf.h> | 67 | #include <openssl/opensslconf.h> |
68 | 68 | ||
69 | #include "bn_lcl.h" | 69 | #include "bn_local.h" |
70 | 70 | ||
71 | #if defined(BN_LLONG) || defined(BN_UMULT_HIGH) | 71 | #if defined(BN_LLONG) || defined(BN_UMULT_HIGH) |
72 | 72 | ||
diff --git a/src/lib/libcrypto/bn/bn_blind.c b/src/lib/libcrypto/bn/bn_blind.c index 412338ec02..fbcdf1c6e7 100644 --- a/src/lib/libcrypto/bn/bn_blind.c +++ b/src/lib/libcrypto/bn/bn_blind.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_blind.c,v 1.18 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_blind.c,v 1.19 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -115,7 +115,7 @@ | |||
115 | 115 | ||
116 | #include <openssl/err.h> | 116 | #include <openssl/err.h> |
117 | 117 | ||
118 | #include "bn_lcl.h" | 118 | #include "bn_local.h" |
119 | 119 | ||
120 | #define BN_BLINDING_COUNTER 32 | 120 | #define BN_BLINDING_COUNTER 32 |
121 | 121 | ||
diff --git a/src/lib/libcrypto/bn/bn_bpsw.c b/src/lib/libcrypto/bn/bn_bpsw.c index 2f8cbba342..9220339f19 100644 --- a/src/lib/libcrypto/bn/bn_bpsw.c +++ b/src/lib/libcrypto/bn/bn_bpsw.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_bpsw.c,v 1.7 2022/08/31 21:34:14 tb Exp $ */ | 1 | /* $OpenBSD: bn_bpsw.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Martin Grenouilloux <martin.grenouilloux@lse.epita.fr> | 3 | * Copyright (c) 2022 Martin Grenouilloux <martin.grenouilloux@lse.epita.fr> |
4 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <openssl/bn.h> | 19 | #include <openssl/bn.h> |
20 | 20 | ||
21 | #include "bn_lcl.h" | 21 | #include "bn_local.h" |
22 | #include "bn_prime.h" | 22 | #include "bn_prime.h" |
23 | 23 | ||
24 | /* | 24 | /* |
diff --git a/src/lib/libcrypto/bn/bn_ctx.c b/src/lib/libcrypto/bn/bn_ctx.c index 8ac1685a00..606db82f24 100644 --- a/src/lib/libcrypto/bn/bn_ctx.c +++ b/src/lib/libcrypto/bn/bn_ctx.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_ctx.c,v 1.17 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_ctx.c,v 1.18 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Ulf Moeller for the OpenSSL project. */ | 2 | /* Written by Ulf Moeller for the OpenSSL project. */ |
3 | /* ==================================================================== | 3 | /* ==================================================================== |
4 | * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. | 4 | * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. |
@@ -67,7 +67,7 @@ | |||
67 | 67 | ||
68 | #include <openssl/err.h> | 68 | #include <openssl/err.h> |
69 | 69 | ||
70 | #include "bn_lcl.h" | 70 | #include "bn_local.h" |
71 | 71 | ||
72 | /* TODO list | 72 | /* TODO list |
73 | * | 73 | * |
diff --git a/src/lib/libcrypto/bn/bn_depr.c b/src/lib/libcrypto/bn/bn_depr.c index dc5c2abee0..0e9f622586 100644 --- a/src/lib/libcrypto/bn/bn_depr.c +++ b/src/lib/libcrypto/bn/bn_depr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_depr.c,v 1.7 2014/10/18 17:20:40 jsing Exp $ */ | 1 | /* $OpenBSD: bn_depr.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -61,7 +61,7 @@ | |||
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | 62 | #include <openssl/opensslconf.h> |
63 | 63 | ||
64 | #include "bn_lcl.h" | 64 | #include "bn_local.h" |
65 | 65 | ||
66 | #ifndef OPENSSL_NO_DEPRECATED | 66 | #ifndef OPENSSL_NO_DEPRECATED |
67 | BIGNUM * | 67 | BIGNUM * |
diff --git a/src/lib/libcrypto/bn/bn_div.c b/src/lib/libcrypto/bn/bn_div.c index 288ec92ef4..a62e74da5d 100644 --- a/src/lib/libcrypto/bn/bn_div.c +++ b/src/lib/libcrypto/bn/bn_div.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_div.c,v 1.27 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_div.c,v 1.28 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/bn.h> | 63 | #include <openssl/bn.h> |
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "bn_lcl.h" | 66 | #include "bn_local.h" |
67 | 67 | ||
68 | #if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) \ | 68 | #if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) \ |
69 | && !defined(BN_DIV3W) | 69 | && !defined(BN_DIV3W) |
diff --git a/src/lib/libcrypto/bn/bn_exp.c b/src/lib/libcrypto/bn/bn_exp.c index 3bb0dd1304..e36eeff6bf 100644 --- a/src/lib/libcrypto/bn/bn_exp.c +++ b/src/lib/libcrypto/bn/bn_exp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_exp.c,v 1.34 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_exp.c,v 1.35 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -114,8 +114,8 @@ | |||
114 | 114 | ||
115 | #include <openssl/err.h> | 115 | #include <openssl/err.h> |
116 | 116 | ||
117 | #include "bn_lcl.h" | 117 | #include "bn_local.h" |
118 | #include "constant_time_locl.h" | 118 | #include "constant_time.h" |
119 | 119 | ||
120 | /* maximum precomputation table size for *variable* sliding windows */ | 120 | /* maximum precomputation table size for *variable* sliding windows */ |
121 | #define TABLE_SIZE 32 | 121 | #define TABLE_SIZE 32 |
diff --git a/src/lib/libcrypto/bn/bn_exp2.c b/src/lib/libcrypto/bn/bn_exp2.c index b2fd53e971..03f99414cd 100644 --- a/src/lib/libcrypto/bn/bn_exp2.c +++ b/src/lib/libcrypto/bn/bn_exp2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_exp2.c,v 1.14 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_exp2.c,v 1.15 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -113,7 +113,7 @@ | |||
113 | 113 | ||
114 | #include <openssl/err.h> | 114 | #include <openssl/err.h> |
115 | 115 | ||
116 | #include "bn_lcl.h" | 116 | #include "bn_local.h" |
117 | 117 | ||
118 | #define TABLE_SIZE 32 | 118 | #define TABLE_SIZE 32 |
119 | 119 | ||
diff --git a/src/lib/libcrypto/bn/bn_gcd.c b/src/lib/libcrypto/bn/bn_gcd.c index 3d92a43cef..4661b35571 100644 --- a/src/lib/libcrypto/bn/bn_gcd.c +++ b/src/lib/libcrypto/bn/bn_gcd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_gcd.c,v 1.17 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_gcd.c,v 1.18 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -111,7 +111,7 @@ | |||
111 | 111 | ||
112 | #include <openssl/err.h> | 112 | #include <openssl/err.h> |
113 | 113 | ||
114 | #include "bn_lcl.h" | 114 | #include "bn_local.h" |
115 | 115 | ||
116 | static BIGNUM *euclid(BIGNUM *a, BIGNUM *b); | 116 | static BIGNUM *euclid(BIGNUM *a, BIGNUM *b); |
117 | static BIGNUM *BN_gcd_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, | 117 | static BIGNUM *BN_gcd_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, |
diff --git a/src/lib/libcrypto/bn/bn_gf2m.c b/src/lib/libcrypto/bn/bn_gf2m.c index 8adbbeb040..e5818ca18d 100644 --- a/src/lib/libcrypto/bn/bn_gf2m.c +++ b/src/lib/libcrypto/bn/bn_gf2m.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_gf2m.c,v 1.27 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_gf2m.c,v 1.28 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -95,7 +95,7 @@ | |||
95 | 95 | ||
96 | #include <openssl/err.h> | 96 | #include <openssl/err.h> |
97 | 97 | ||
98 | #include "bn_lcl.h" | 98 | #include "bn_local.h" |
99 | 99 | ||
100 | #ifndef OPENSSL_NO_EC2M | 100 | #ifndef OPENSSL_NO_EC2M |
101 | 101 | ||
diff --git a/src/lib/libcrypto/bn/bn_isqrt.c b/src/lib/libcrypto/bn/bn_isqrt.c index cc6f722679..7becbd6706 100644 --- a/src/lib/libcrypto/bn/bn_isqrt.c +++ b/src/lib/libcrypto/bn/bn_isqrt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_isqrt.c,v 1.3 2022/10/11 13:52:23 tb Exp $ */ | 1 | /* $OpenBSD: bn_isqrt.c,v 1.4 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <openssl/bn.h> | 21 | #include <openssl/bn.h> |
22 | #include <openssl/err.h> | 22 | #include <openssl/err.h> |
23 | 23 | ||
24 | #include "bn_lcl.h" | 24 | #include "bn_local.h" |
25 | 25 | ||
26 | #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ | 26 | #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ |
27 | __attribute__((__unused__)) | 27 | __attribute__((__unused__)) |
diff --git a/src/lib/libcrypto/bn/bn_kron.c b/src/lib/libcrypto/bn/bn_kron.c index 8629892a72..c991cd2f61 100644 --- a/src/lib/libcrypto/bn/bn_kron.c +++ b/src/lib/libcrypto/bn/bn_kron.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_kron.c,v 1.11 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_kron.c,v 1.12 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -53,7 +53,7 @@ | |||
53 | * | 53 | * |
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include "bn_lcl.h" | 56 | #include "bn_local.h" |
57 | 57 | ||
58 | /* | 58 | /* |
59 | * Kronecker symbol, implemented according to Henri Cohen, "A Course in | 59 | * Kronecker symbol, implemented according to Henri Cohen, "A Course in |
diff --git a/src/lib/libcrypto/bn/bn_lib.c b/src/lib/libcrypto/bn/bn_lib.c index a3b6811986..97e8f27043 100644 --- a/src/lib/libcrypto/bn/bn_lib.c +++ b/src/lib/libcrypto/bn/bn_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_lib.c,v 1.62 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_lib.c,v 1.63 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -70,7 +70,7 @@ | |||
70 | 70 | ||
71 | #include <openssl/err.h> | 71 | #include <openssl/err.h> |
72 | 72 | ||
73 | #include "bn_lcl.h" | 73 | #include "bn_local.h" |
74 | 74 | ||
75 | BIGNUM * | 75 | BIGNUM * |
76 | BN_new(void) | 76 | BN_new(void) |
diff --git a/src/lib/libcrypto/bn/bn_local.h b/src/lib/libcrypto/bn/bn_local.h new file mode 100644 index 0000000000..73d1f0a215 --- /dev/null +++ b/src/lib/libcrypto/bn/bn_local.h | |||
@@ -0,0 +1,567 @@ | |||
1 | /* $OpenBSD: bn_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ | ||
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This package is an SSL implementation written | ||
6 | * by Eric Young (eay@cryptsoft.com). | ||
7 | * The implementation was written so as to conform with Netscapes SSL. | ||
8 | * | ||
9 | * This library is free for commercial and non-commercial use as long as | ||
10 | * the following conditions are aheared to. The following conditions | ||
11 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
12 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
13 | * included with this distribution is covered by the same copyright terms | ||
14 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
15 | * | ||
16 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
17 | * the code are not to be removed. | ||
18 | * If this package is used in a product, Eric Young should be given attribution | ||
19 | * as the author of the parts of the library used. | ||
20 | * This can be in the form of a textual message at program startup or | ||
21 | * in documentation (online or textual) provided with the package. | ||
22 | * | ||
23 | * Redistribution and use in source and binary forms, with or without | ||
24 | * modification, are permitted provided that the following conditions | ||
25 | * are met: | ||
26 | * 1. Redistributions of source code must retain the copyright | ||
27 | * notice, this list of conditions and the following disclaimer. | ||
28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
29 | * notice, this list of conditions and the following disclaimer in the | ||
30 | * documentation and/or other materials provided with the distribution. | ||
31 | * 3. All advertising materials mentioning features or use of this software | ||
32 | * must display the following acknowledgement: | ||
33 | * "This product includes cryptographic software written by | ||
34 | * Eric Young (eay@cryptsoft.com)" | ||
35 | * The word 'cryptographic' can be left out if the rouines from the library | ||
36 | * being used are not cryptographic related :-). | ||
37 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
38 | * the apps directory (application code) you must include an acknowledgement: | ||
39 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
40 | * | ||
41 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
42 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
43 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
44 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
45 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
46 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
47 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
49 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
50 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
51 | * SUCH DAMAGE. | ||
52 | * | ||
53 | * The licence and distribution terms for any publically available version or | ||
54 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
55 | * copied and put under another distribution licence | ||
56 | * [including the GNU Public Licence.] | ||
57 | */ | ||
58 | /* ==================================================================== | ||
59 | * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved. | ||
60 | * | ||
61 | * Redistribution and use in source and binary forms, with or without | ||
62 | * modification, are permitted provided that the following conditions | ||
63 | * are met: | ||
64 | * | ||
65 | * 1. Redistributions of source code must retain the above copyright | ||
66 | * notice, this list of conditions and the following disclaimer. | ||
67 | * | ||
68 | * 2. Redistributions in binary form must reproduce the above copyright | ||
69 | * notice, this list of conditions and the following disclaimer in | ||
70 | * the documentation and/or other materials provided with the | ||
71 | * distribution. | ||
72 | * | ||
73 | * 3. All advertising materials mentioning features or use of this | ||
74 | * software must display the following acknowledgment: | ||
75 | * "This product includes software developed by the OpenSSL Project | ||
76 | * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
77 | * | ||
78 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
79 | * endorse or promote products derived from this software without | ||
80 | * prior written permission. For written permission, please contact | ||
81 | * openssl-core@openssl.org. | ||
82 | * | ||
83 | * 5. Products derived from this software may not be called "OpenSSL" | ||
84 | * nor may "OpenSSL" appear in their names without prior written | ||
85 | * permission of the OpenSSL Project. | ||
86 | * | ||
87 | * 6. Redistributions of any form whatsoever must retain the following | ||
88 | * acknowledgment: | ||
89 | * "This product includes software developed by the OpenSSL Project | ||
90 | * for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
91 | * | ||
92 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
93 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
94 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
95 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
96 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
97 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
98 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
99 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
100 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
101 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
102 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
103 | * OF THE POSSIBILITY OF SUCH DAMAGE. | ||
104 | * ==================================================================== | ||
105 | * | ||
106 | * This product includes cryptographic software written by Eric Young | ||
107 | * (eay@cryptsoft.com). This product includes software written by Tim | ||
108 | * Hudson (tjh@cryptsoft.com). | ||
109 | * | ||
110 | */ | ||
111 | |||
112 | #ifndef HEADER_BN_LCL_H | ||
113 | #define HEADER_BN_LCL_H | ||
114 | |||
115 | #include <openssl/opensslconf.h> | ||
116 | |||
117 | #include <openssl/bn.h> | ||
118 | |||
119 | __BEGIN_HIDDEN_DECLS | ||
120 | |||
121 | struct bignum_st { | ||
122 | BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */ | ||
123 | int top; /* Index of last used d +1. */ | ||
124 | /* The next are internal book keeping for bn_expand. */ | ||
125 | int dmax; /* Size of the d array. */ | ||
126 | int neg; /* one if the number is negative */ | ||
127 | int flags; | ||
128 | }; | ||
129 | |||
130 | /* Used for montgomery multiplication */ | ||
131 | struct bn_mont_ctx_st { | ||
132 | int ri; /* number of bits in R */ | ||
133 | BIGNUM RR; /* used to convert to montgomery form */ | ||
134 | BIGNUM N; /* The modulus */ | ||
135 | BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 | ||
136 | * (Ni is only stored for bignum algorithm) */ | ||
137 | BN_ULONG n0[2];/* least significant word(s) of Ni; | ||
138 | (type changed with 0.9.9, was "BN_ULONG n0;" before) */ | ||
139 | int flags; | ||
140 | }; | ||
141 | |||
142 | /* Used for reciprocal division/mod functions | ||
143 | * It cannot be shared between threads | ||
144 | */ | ||
145 | struct bn_recp_ctx_st { | ||
146 | BIGNUM N; /* the divisor */ | ||
147 | BIGNUM Nr; /* the reciprocal */ | ||
148 | int num_bits; | ||
149 | int shift; | ||
150 | int flags; | ||
151 | }; | ||
152 | |||
153 | /* Used for slow "generation" functions. */ | ||
154 | struct bn_gencb_st { | ||
155 | unsigned int ver; /* To handle binary (in)compatibility */ | ||
156 | void *arg; /* callback-specific data */ | ||
157 | union { | ||
158 | /* if(ver==1) - handles old style callbacks */ | ||
159 | void (*cb_1)(int, int, void *); | ||
160 | /* if(ver==2) - new callback style */ | ||
161 | int (*cb_2)(int, int, BN_GENCB *); | ||
162 | } cb; | ||
163 | }; | ||
164 | |||
165 | /* | ||
166 | * BN_window_bits_for_exponent_size -- macro for sliding window mod_exp functions | ||
167 | * | ||
168 | * | ||
169 | * For window size 'w' (w >= 2) and a random 'b' bits exponent, | ||
170 | * the number of multiplications is a constant plus on average | ||
171 | * | ||
172 | * 2^(w-1) + (b-w)/(w+1); | ||
173 | * | ||
174 | * here 2^(w-1) is for precomputing the table (we actually need | ||
175 | * entries only for windows that have the lowest bit set), and | ||
176 | * (b-w)/(w+1) is an approximation for the expected number of | ||
177 | * w-bit windows, not counting the first one. | ||
178 | * | ||
179 | * Thus we should use | ||
180 | * | ||
181 | * w >= 6 if b > 671 | ||
182 | * w = 5 if 671 > b > 239 | ||
183 | * w = 4 if 239 > b > 79 | ||
184 | * w = 3 if 79 > b > 23 | ||
185 | * w <= 2 if 23 > b | ||
186 | * | ||
187 | * (with draws in between). Very small exponents are often selected | ||
188 | * with low Hamming weight, so we use w = 1 for b <= 23. | ||
189 | */ | ||
190 | #define BN_window_bits_for_exponent_size(b) \ | ||
191 | ((b) > 671 ? 6 : \ | ||
192 | (b) > 239 ? 5 : \ | ||
193 | (b) > 79 ? 4 : \ | ||
194 | (b) > 23 ? 3 : 1) | ||
195 | |||
196 | |||
197 | /* BN_mod_exp_mont_consttime is based on the assumption that the | ||
198 | * L1 data cache line width of the target processor is at least | ||
199 | * the following value. | ||
200 | */ | ||
201 | #define MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH ( 64 ) | ||
202 | #define MOD_EXP_CTIME_MIN_CACHE_LINE_MASK (MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH - 1) | ||
203 | |||
204 | /* Window sizes optimized for fixed window size modular exponentiation | ||
205 | * algorithm (BN_mod_exp_mont_consttime). | ||
206 | * | ||
207 | * To achieve the security goals of BN_mode_exp_mont_consttime, the | ||
208 | * maximum size of the window must not exceed | ||
209 | * log_2(MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH). | ||
210 | * | ||
211 | * Window size thresholds are defined for cache line sizes of 32 and 64, | ||
212 | * cache line sizes where log_2(32)=5 and log_2(64)=6 respectively. A | ||
213 | * window size of 7 should only be used on processors that have a 128 | ||
214 | * byte or greater cache line size. | ||
215 | */ | ||
216 | #if MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH == 64 | ||
217 | |||
218 | # define BN_window_bits_for_ctime_exponent_size(b) \ | ||
219 | ((b) > 937 ? 6 : \ | ||
220 | (b) > 306 ? 5 : \ | ||
221 | (b) > 89 ? 4 : \ | ||
222 | (b) > 22 ? 3 : 1) | ||
223 | # define BN_MAX_WINDOW_BITS_FOR_CTIME_EXPONENT_SIZE (6) | ||
224 | |||
225 | #elif MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH == 32 | ||
226 | |||
227 | # define BN_window_bits_for_ctime_exponent_size(b) \ | ||
228 | ((b) > 306 ? 5 : \ | ||
229 | (b) > 89 ? 4 : \ | ||
230 | (b) > 22 ? 3 : 1) | ||
231 | # define BN_MAX_WINDOW_BITS_FOR_CTIME_EXPONENT_SIZE (5) | ||
232 | |||
233 | #endif | ||
234 | |||
235 | |||
236 | /* Pentium pro 16,16,16,32,64 */ | ||
237 | /* Alpha 16,16,16,16.64 */ | ||
238 | #define BN_MULL_SIZE_NORMAL (16) /* 32 */ | ||
239 | #define BN_MUL_RECURSIVE_SIZE_NORMAL (16) /* 32 less than */ | ||
240 | #define BN_SQR_RECURSIVE_SIZE_NORMAL (16) /* 32 */ | ||
241 | #define BN_MUL_LOW_RECURSIVE_SIZE_NORMAL (32) /* 32 */ | ||
242 | #define BN_MONT_CTX_SET_SIZE_WORD (64) /* 32 */ | ||
243 | |||
244 | #if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) | ||
245 | /* | ||
246 | * BN_UMULT_HIGH section. | ||
247 | * | ||
248 | * No, I'm not trying to overwhelm you when stating that the | ||
249 | * product of N-bit numbers is 2*N bits wide:-) No, I don't expect | ||
250 | * you to be impressed when I say that if the compiler doesn't | ||
251 | * support 2*N integer type, then you have to replace every N*N | ||
252 | * multiplication with 4 (N/2)*(N/2) accompanied by some shifts | ||
253 | * and additions which unavoidably results in severe performance | ||
254 | * penalties. Of course provided that the hardware is capable of | ||
255 | * producing 2*N result... That's when you normally start | ||
256 | * considering assembler implementation. However! It should be | ||
257 | * pointed out that some CPUs (most notably Alpha, PowerPC and | ||
258 | * upcoming IA-64 family:-) provide *separate* instruction | ||
259 | * calculating the upper half of the product placing the result | ||
260 | * into a general purpose register. Now *if* the compiler supports | ||
261 | * inline assembler, then it's not impossible to implement the | ||
262 | * "bignum" routines (and have the compiler optimize 'em) | ||
263 | * exhibiting "native" performance in C. That's what BN_UMULT_HIGH | ||
264 | * macro is about:-) | ||
265 | * | ||
266 | * <appro@fy.chalmers.se> | ||
267 | */ | ||
268 | # if defined(__alpha) | ||
269 | # if defined(__GNUC__) && __GNUC__>=2 | ||
270 | # define BN_UMULT_HIGH(a,b) ({ \ | ||
271 | BN_ULONG ret; \ | ||
272 | asm ("umulh %1,%2,%0" \ | ||
273 | : "=r"(ret) \ | ||
274 | : "r"(a), "r"(b)); \ | ||
275 | ret; }) | ||
276 | # endif /* compiler */ | ||
277 | # elif defined(_ARCH_PPC) && defined(_LP64) | ||
278 | # if defined(__GNUC__) && __GNUC__>=2 | ||
279 | # define BN_UMULT_HIGH(a,b) ({ \ | ||
280 | BN_ULONG ret; \ | ||
281 | asm ("mulhdu %0,%1,%2" \ | ||
282 | : "=r"(ret) \ | ||
283 | : "r"(a), "r"(b)); \ | ||
284 | ret; }) | ||
285 | # endif /* compiler */ | ||
286 | # elif defined(__x86_64) || defined(__x86_64__) | ||
287 | # if defined(__GNUC__) && __GNUC__>=2 | ||
288 | # define BN_UMULT_HIGH(a,b) ({ \ | ||
289 | BN_ULONG ret,discard; \ | ||
290 | asm ("mulq %3" \ | ||
291 | : "=a"(discard),"=d"(ret) \ | ||
292 | : "a"(a), "g"(b) \ | ||
293 | : "cc"); \ | ||
294 | ret; }) | ||
295 | # define BN_UMULT_LOHI(low,high,a,b) \ | ||
296 | asm ("mulq %3" \ | ||
297 | : "=a"(low),"=d"(high) \ | ||
298 | : "a"(a),"g"(b) \ | ||
299 | : "cc"); | ||
300 | # endif | ||
301 | # elif defined(__mips) && defined(_LP64) | ||
302 | # if defined(__GNUC__) && __GNUC__>=2 | ||
303 | # if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) /* "h" constraint is no more since 4.4 */ | ||
304 | # define BN_UMULT_HIGH(a,b) (((__uint128_t)(a)*(b))>>64) | ||
305 | # define BN_UMULT_LOHI(low,high,a,b) ({ \ | ||
306 | __uint128_t ret=(__uint128_t)(a)*(b); \ | ||
307 | (high)=ret>>64; (low)=ret; }) | ||
308 | # else | ||
309 | # define BN_UMULT_HIGH(a,b) ({ \ | ||
310 | BN_ULONG ret; \ | ||
311 | asm ("dmultu %1,%2" \ | ||
312 | : "=h"(ret) \ | ||
313 | : "r"(a), "r"(b) : "l"); \ | ||
314 | ret; }) | ||
315 | # define BN_UMULT_LOHI(low,high,a,b)\ | ||
316 | asm ("dmultu %2,%3" \ | ||
317 | : "=l"(low),"=h"(high) \ | ||
318 | : "r"(a), "r"(b)); | ||
319 | # endif | ||
320 | # endif | ||
321 | # endif /* cpu */ | ||
322 | #endif /* OPENSSL_NO_ASM */ | ||
323 | |||
324 | /************************************************************* | ||
325 | * Using the long long type | ||
326 | */ | ||
327 | #define Lw(t) (((BN_ULONG)(t))&BN_MASK2) | ||
328 | #define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2) | ||
329 | |||
330 | #ifdef BN_LLONG | ||
331 | #define mul_add(r,a,w,c) { \ | ||
332 | BN_ULLONG t; \ | ||
333 | t=(BN_ULLONG)w * (a) + (r) + (c); \ | ||
334 | (r)= Lw(t); \ | ||
335 | (c)= Hw(t); \ | ||
336 | } | ||
337 | |||
338 | #define mul(r,a,w,c) { \ | ||
339 | BN_ULLONG t; \ | ||
340 | t=(BN_ULLONG)w * (a) + (c); \ | ||
341 | (r)= Lw(t); \ | ||
342 | (c)= Hw(t); \ | ||
343 | } | ||
344 | |||
345 | #define sqr(r0,r1,a) { \ | ||
346 | BN_ULLONG t; \ | ||
347 | t=(BN_ULLONG)(a)*(a); \ | ||
348 | (r0)=Lw(t); \ | ||
349 | (r1)=Hw(t); \ | ||
350 | } | ||
351 | |||
352 | #elif defined(BN_UMULT_LOHI) | ||
353 | #define mul_add(r,a,w,c) { \ | ||
354 | BN_ULONG high,low,ret,tmp=(a); \ | ||
355 | ret = (r); \ | ||
356 | BN_UMULT_LOHI(low,high,w,tmp); \ | ||
357 | ret += (c); \ | ||
358 | (c) = (ret<(c))?1:0; \ | ||
359 | (c) += high; \ | ||
360 | ret += low; \ | ||
361 | (c) += (ret<low)?1:0; \ | ||
362 | (r) = ret; \ | ||
363 | } | ||
364 | |||
365 | #define mul(r,a,w,c) { \ | ||
366 | BN_ULONG high,low,ret,ta=(a); \ | ||
367 | BN_UMULT_LOHI(low,high,w,ta); \ | ||
368 | ret = low + (c); \ | ||
369 | (c) = high; \ | ||
370 | (c) += (ret<low)?1:0; \ | ||
371 | (r) = ret; \ | ||
372 | } | ||
373 | |||
374 | #define sqr(r0,r1,a) { \ | ||
375 | BN_ULONG tmp=(a); \ | ||
376 | BN_UMULT_LOHI(r0,r1,tmp,tmp); \ | ||
377 | } | ||
378 | |||
379 | #elif defined(BN_UMULT_HIGH) | ||
380 | #define mul_add(r,a,w,c) { \ | ||
381 | BN_ULONG high,low,ret,tmp=(a); \ | ||
382 | ret = (r); \ | ||
383 | high= BN_UMULT_HIGH(w,tmp); \ | ||
384 | ret += (c); \ | ||
385 | low = (w) * tmp; \ | ||
386 | (c) = (ret<(c))?1:0; \ | ||
387 | (c) += high; \ | ||
388 | ret += low; \ | ||
389 | (c) += (ret<low)?1:0; \ | ||
390 | (r) = ret; \ | ||
391 | } | ||
392 | |||
393 | #define mul(r,a,w,c) { \ | ||
394 | BN_ULONG high,low,ret,ta=(a); \ | ||
395 | low = (w) * ta; \ | ||
396 | high= BN_UMULT_HIGH(w,ta); \ | ||
397 | ret = low + (c); \ | ||
398 | (c) = high; \ | ||
399 | (c) += (ret<low)?1:0; \ | ||
400 | (r) = ret; \ | ||
401 | } | ||
402 | |||
403 | #define sqr(r0,r1,a) { \ | ||
404 | BN_ULONG tmp=(a); \ | ||
405 | (r0) = tmp * tmp; \ | ||
406 | (r1) = BN_UMULT_HIGH(tmp,tmp); \ | ||
407 | } | ||
408 | |||
409 | #else | ||
410 | /************************************************************* | ||
411 | * No long long type | ||
412 | */ | ||
413 | |||
414 | #define LBITS(a) ((a)&BN_MASK2l) | ||
415 | #define HBITS(a) (((a)>>BN_BITS4)&BN_MASK2l) | ||
416 | #define L2HBITS(a) (((a)<<BN_BITS4)&BN_MASK2) | ||
417 | |||
418 | #define mul64(l,h,bl,bh) \ | ||
419 | { \ | ||
420 | BN_ULONG m,m1,lt,ht; \ | ||
421 | \ | ||
422 | lt=l; \ | ||
423 | ht=h; \ | ||
424 | m =(bh)*(lt); \ | ||
425 | lt=(bl)*(lt); \ | ||
426 | m1=(bl)*(ht); \ | ||
427 | ht =(bh)*(ht); \ | ||
428 | m=(m+m1)&BN_MASK2; if (m < m1) ht+=L2HBITS((BN_ULONG)1); \ | ||
429 | ht+=HBITS(m); \ | ||
430 | m1=L2HBITS(m); \ | ||
431 | lt=(lt+m1)&BN_MASK2; if (lt < m1) ht++; \ | ||
432 | (l)=lt; \ | ||
433 | (h)=ht; \ | ||
434 | } | ||
435 | |||
436 | #define sqr64(lo,ho,in) \ | ||
437 | { \ | ||
438 | BN_ULONG l,h,m; \ | ||
439 | \ | ||
440 | h=(in); \ | ||
441 | l=LBITS(h); \ | ||
442 | h=HBITS(h); \ | ||
443 | m =(l)*(h); \ | ||
444 | l*=l; \ | ||
445 | h*=h; \ | ||
446 | h+=(m&BN_MASK2h1)>>(BN_BITS4-1); \ | ||
447 | m =(m&BN_MASK2l)<<(BN_BITS4+1); \ | ||
448 | l=(l+m)&BN_MASK2; if (l < m) h++; \ | ||
449 | (lo)=l; \ | ||
450 | (ho)=h; \ | ||
451 | } | ||
452 | |||
453 | #define mul_add(r,a,bl,bh,c) { \ | ||
454 | BN_ULONG l,h; \ | ||
455 | \ | ||
456 | h= (a); \ | ||
457 | l=LBITS(h); \ | ||
458 | h=HBITS(h); \ | ||
459 | mul64(l,h,(bl),(bh)); \ | ||
460 | \ | ||
461 | /* non-multiply part */ \ | ||
462 | l=(l+(c))&BN_MASK2; if (l < (c)) h++; \ | ||
463 | (c)=(r); \ | ||
464 | l=(l+(c))&BN_MASK2; if (l < (c)) h++; \ | ||
465 | (c)=h&BN_MASK2; \ | ||
466 | (r)=l; \ | ||
467 | } | ||
468 | |||
469 | #define mul(r,a,bl,bh,c) { \ | ||
470 | BN_ULONG l,h; \ | ||
471 | \ | ||
472 | h= (a); \ | ||
473 | l=LBITS(h); \ | ||
474 | h=HBITS(h); \ | ||
475 | mul64(l,h,(bl),(bh)); \ | ||
476 | \ | ||
477 | /* non-multiply part */ \ | ||
478 | l+=(c); if ((l&BN_MASK2) < (c)) h++; \ | ||
479 | (c)=h&BN_MASK2; \ | ||
480 | (r)=l&BN_MASK2; \ | ||
481 | } | ||
482 | #endif /* !BN_LLONG */ | ||
483 | |||
484 | /* The least significant word of a BIGNUM. */ | ||
485 | #define BN_lsw(n) (((n)->top == 0) ? (BN_ULONG) 0 : (n)->d[0]) | ||
486 | |||
487 | void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb); | ||
488 | void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b); | ||
489 | void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b); | ||
490 | void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp); | ||
491 | void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a); | ||
492 | void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a); | ||
493 | int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n); | ||
494 | int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, | ||
495 | int cl, int dl); | ||
496 | void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, | ||
497 | int dna, int dnb, BN_ULONG *t); | ||
498 | void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, | ||
499 | int n, int tna, int tnb, BN_ULONG *t); | ||
500 | void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t); | ||
501 | void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n); | ||
502 | void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, | ||
503 | BN_ULONG *t); | ||
504 | void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, int n2, | ||
505 | BN_ULONG *t); | ||
506 | BN_ULONG bn_add_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, | ||
507 | int cl, int dl); | ||
508 | BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, | ||
509 | int cl, int dl); | ||
510 | int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num); | ||
511 | |||
512 | int bn_expand(BIGNUM *a, int bits); | ||
513 | int bn_wexpand(BIGNUM *a, int words); | ||
514 | |||
515 | #define bn_correct_top(a) \ | ||
516 | { \ | ||
517 | BN_ULONG *ftl; \ | ||
518 | int tmp_top = (a)->top; \ | ||
519 | if (tmp_top > 0) \ | ||
520 | { \ | ||
521 | for (ftl= &((a)->d[tmp_top-1]); tmp_top > 0; tmp_top--) \ | ||
522 | if (*(ftl--)) break; \ | ||
523 | (a)->top = tmp_top; \ | ||
524 | } \ | ||
525 | } | ||
526 | |||
527 | BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); | ||
528 | BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); | ||
529 | void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num); | ||
530 | BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d); | ||
531 | BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, int num); | ||
532 | BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, int num); | ||
533 | |||
534 | int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom); | ||
535 | int bn_rand_interval(BIGNUM *rnd, const BIGNUM *lower_inc, const BIGNUM *upper_exc); | ||
536 | |||
537 | /* Explicitly const time / non-const time versions for internal use */ | ||
538 | int BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | ||
539 | const BIGNUM *m, BN_CTX *ctx); | ||
540 | int BN_mod_exp_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | ||
541 | const BIGNUM *m, BN_CTX *ctx); | ||
542 | int BN_mod_exp_mont_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | ||
543 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | ||
544 | int BN_mod_exp_mont_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | ||
545 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | ||
546 | int BN_div_nonct(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, | ||
547 | BN_CTX *ctx); | ||
548 | int BN_div_ct(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, | ||
549 | BN_CTX *ctx); | ||
550 | #define BN_mod_ct(rem,m,d,ctx) BN_div_ct(NULL,(rem),(m),(d),(ctx)) | ||
551 | #define BN_mod_nonct(rem,m,d,ctx) BN_div_nonct(NULL,(rem),(m),(d),(ctx)) | ||
552 | BIGNUM *BN_mod_inverse_ct(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n, | ||
553 | BN_CTX *ctx); | ||
554 | BIGNUM *BN_mod_inverse_nonct(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n, | ||
555 | BN_CTX *ctx); | ||
556 | int BN_gcd_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); | ||
557 | int BN_gcd_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); | ||
558 | |||
559 | int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords); | ||
560 | |||
561 | int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx); | ||
562 | int bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx); | ||
563 | |||
564 | int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx); | ||
565 | |||
566 | __END_HIDDEN_DECLS | ||
567 | #endif | ||
diff --git a/src/lib/libcrypto/bn/bn_mod.c b/src/lib/libcrypto/bn/bn_mod.c index 5be8252f2d..cc8f8dea00 100644 --- a/src/lib/libcrypto/bn/bn_mod.c +++ b/src/lib/libcrypto/bn/bn_mod.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_mod.c,v 1.13 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_mod.c,v 1.14 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> | 2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> |
3 | * for the OpenSSL project. */ | 3 | * for the OpenSSL project. */ |
4 | /* ==================================================================== | 4 | /* ==================================================================== |
@@ -113,7 +113,7 @@ | |||
113 | 113 | ||
114 | #include <openssl/err.h> | 114 | #include <openssl/err.h> |
115 | 115 | ||
116 | #include "bn_lcl.h" | 116 | #include "bn_local.h" |
117 | 117 | ||
118 | int | 118 | int |
119 | BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) | 119 | BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) |
diff --git a/src/lib/libcrypto/bn/bn_mont.c b/src/lib/libcrypto/bn/bn_mont.c index 24bc41e886..d4de5c2cc5 100644 --- a/src/lib/libcrypto/bn/bn_mont.c +++ b/src/lib/libcrypto/bn/bn_mont.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_mont.c,v 1.31 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_mont.c,v 1.32 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -119,7 +119,7 @@ | |||
119 | #include <stdio.h> | 119 | #include <stdio.h> |
120 | #include <stdint.h> | 120 | #include <stdint.h> |
121 | 121 | ||
122 | #include "bn_lcl.h" | 122 | #include "bn_local.h" |
123 | 123 | ||
124 | #define MONT_WORD /* use the faster word-based algorithm */ | 124 | #define MONT_WORD /* use the faster word-based algorithm */ |
125 | 125 | ||
diff --git a/src/lib/libcrypto/bn/bn_mpi.c b/src/lib/libcrypto/bn/bn_mpi.c index 75b34511fe..9ad28b96c9 100644 --- a/src/lib/libcrypto/bn/bn_mpi.c +++ b/src/lib/libcrypto/bn/bn_mpi.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_mpi.c,v 1.10 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_mpi.c,v 1.11 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | 62 | ||
63 | #include "bn_lcl.h" | 63 | #include "bn_local.h" |
64 | 64 | ||
65 | int | 65 | int |
66 | BN_bn2mpi(const BIGNUM *a, unsigned char *d) | 66 | BN_bn2mpi(const BIGNUM *a, unsigned char *d) |
diff --git a/src/lib/libcrypto/bn/bn_mul.c b/src/lib/libcrypto/bn/bn_mul.c index 0d8da8a6f6..fea5bb32d0 100644 --- a/src/lib/libcrypto/bn/bn_mul.c +++ b/src/lib/libcrypto/bn/bn_mul.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_mul.c,v 1.22 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_mul.c,v 1.23 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | 67 | ||
68 | #include <openssl/opensslconf.h> | 68 | #include <openssl/opensslconf.h> |
69 | 69 | ||
70 | #include "bn_lcl.h" | 70 | #include "bn_local.h" |
71 | 71 | ||
72 | #if defined(OPENSSL_NO_ASM) || !defined(OPENSSL_BN_ASM_PART_WORDS) | 72 | #if defined(OPENSSL_NO_ASM) || !defined(OPENSSL_BN_ASM_PART_WORDS) |
73 | /* Here follows specialised variants of bn_add_words() and | 73 | /* Here follows specialised variants of bn_add_words() and |
diff --git a/src/lib/libcrypto/bn/bn_nist.c b/src/lib/libcrypto/bn/bn_nist.c index 6b51bb10f0..227ff008ba 100644 --- a/src/lib/libcrypto/bn/bn_nist.c +++ b/src/lib/libcrypto/bn/bn_nist.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_nist.c,v 1.22 2022/07/31 14:38:38 jsing Exp $ */ | 1 | /* $OpenBSD: bn_nist.c,v 1.23 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
4 | */ | 4 | */ |
@@ -60,7 +60,7 @@ | |||
60 | #include <stdint.h> | 60 | #include <stdint.h> |
61 | #include <string.h> | 61 | #include <string.h> |
62 | 62 | ||
63 | #include "bn_lcl.h" | 63 | #include "bn_local.h" |
64 | 64 | ||
65 | #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ | 65 | #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ |
66 | __attribute__((__unused__)) | 66 | __attribute__((__unused__)) |
diff --git a/src/lib/libcrypto/bn/bn_prime.c b/src/lib/libcrypto/bn/bn_prime.c index 0ba288c46a..f5e4597f9b 100644 --- a/src/lib/libcrypto/bn/bn_prime.c +++ b/src/lib/libcrypto/bn/bn_prime.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_prime.c,v 1.27 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_prime.c,v 1.28 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -114,7 +114,7 @@ | |||
114 | 114 | ||
115 | #include <openssl/err.h> | 115 | #include <openssl/err.h> |
116 | 116 | ||
117 | #include "bn_lcl.h" | 117 | #include "bn_local.h" |
118 | 118 | ||
119 | /* NB: these functions have been "upgraded", the deprecated versions (which are | 119 | /* NB: these functions have been "upgraded", the deprecated versions (which are |
120 | * compatibility wrappers using these functions) are in bn_depr.c. | 120 | * compatibility wrappers using these functions) are in bn_depr.c. |
diff --git a/src/lib/libcrypto/bn/bn_print.c b/src/lib/libcrypto/bn/bn_print.c index 4576e25f49..7251e4d831 100644 --- a/src/lib/libcrypto/bn/bn_print.c +++ b/src/lib/libcrypto/bn/bn_print.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_print.c,v 1.36 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_print.c,v 1.37 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/buffer.h> | 66 | #include <openssl/buffer.h> |
67 | #include <openssl/err.h> | 67 | #include <openssl/err.h> |
68 | 68 | ||
69 | #include "bn_lcl.h" | 69 | #include "bn_local.h" |
70 | 70 | ||
71 | static const char Hex[]="0123456789ABCDEF"; | 71 | static const char Hex[]="0123456789ABCDEF"; |
72 | 72 | ||
diff --git a/src/lib/libcrypto/bn/bn_rand.c b/src/lib/libcrypto/bn/bn_rand.c index 17f1868350..a03d70053b 100644 --- a/src/lib/libcrypto/bn/bn_rand.c +++ b/src/lib/libcrypto/bn/bn_rand.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_rand.c,v 1.26 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_rand.c,v 1.27 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -116,7 +116,7 @@ | |||
116 | 116 | ||
117 | #include <openssl/err.h> | 117 | #include <openssl/err.h> |
118 | 118 | ||
119 | #include "bn_lcl.h" | 119 | #include "bn_local.h" |
120 | 120 | ||
121 | static int | 121 | static int |
122 | bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) | 122 | bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) |
diff --git a/src/lib/libcrypto/bn/bn_recp.c b/src/lib/libcrypto/bn/bn_recp.c index 8959f6bd3c..150b588b48 100644 --- a/src/lib/libcrypto/bn/bn_recp.c +++ b/src/lib/libcrypto/bn/bn_recp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_recp.c,v 1.16 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_recp.c,v 1.17 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | 62 | ||
63 | #include "bn_lcl.h" | 63 | #include "bn_local.h" |
64 | 64 | ||
65 | void | 65 | void |
66 | BN_RECP_CTX_init(BN_RECP_CTX *recp) | 66 | BN_RECP_CTX_init(BN_RECP_CTX *recp) |
diff --git a/src/lib/libcrypto/bn/bn_shift.c b/src/lib/libcrypto/bn/bn_shift.c index 6dbaffb194..6f62d6488e 100644 --- a/src/lib/libcrypto/bn/bn_shift.c +++ b/src/lib/libcrypto/bn/bn_shift.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_shift.c,v 1.16 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_shift.c,v 1.17 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -61,7 +61,7 @@ | |||
61 | 61 | ||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | 63 | ||
64 | #include "bn_lcl.h" | 64 | #include "bn_local.h" |
65 | 65 | ||
66 | int | 66 | int |
67 | BN_lshift1(BIGNUM *r, const BIGNUM *a) | 67 | BN_lshift1(BIGNUM *r, const BIGNUM *a) |
diff --git a/src/lib/libcrypto/bn/bn_sqr.c b/src/lib/libcrypto/bn/bn_sqr.c index 80070831ab..1104c0f2c2 100644 --- a/src/lib/libcrypto/bn/bn_sqr.c +++ b/src/lib/libcrypto/bn/bn_sqr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_sqr.c,v 1.15 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_sqr.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -59,7 +59,7 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <string.h> | 60 | #include <string.h> |
61 | 61 | ||
62 | #include "bn_lcl.h" | 62 | #include "bn_local.h" |
63 | 63 | ||
64 | /* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */ | 64 | /* I've just gone over this and it is now %20 faster on x86 - eay - 27 Jun 96 */ |
65 | int | 65 | int |
diff --git a/src/lib/libcrypto/bn/bn_sqrt.c b/src/lib/libcrypto/bn/bn_sqrt.c index e964c578e3..652dc2b5fc 100644 --- a/src/lib/libcrypto/bn/bn_sqrt.c +++ b/src/lib/libcrypto/bn/bn_sqrt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_sqrt.c,v 1.13 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_sqrt.c,v 1.14 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> | 2 | /* Written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> |
3 | * and Bodo Moeller for the OpenSSL project. */ | 3 | * and Bodo Moeller for the OpenSSL project. */ |
4 | /* ==================================================================== | 4 | /* ==================================================================== |
@@ -57,7 +57,7 @@ | |||
57 | 57 | ||
58 | #include <openssl/err.h> | 58 | #include <openssl/err.h> |
59 | 59 | ||
60 | #include "bn_lcl.h" | 60 | #include "bn_local.h" |
61 | 61 | ||
62 | /* | 62 | /* |
63 | * Returns 'ret' such that ret^2 == a (mod p), if it exists, using the | 63 | * Returns 'ret' such that ret^2 == a (mod p), if it exists, using the |
diff --git a/src/lib/libcrypto/bn/bn_word.c b/src/lib/libcrypto/bn/bn_word.c index 9719808520..4663237b05 100644 --- a/src/lib/libcrypto/bn/bn_word.c +++ b/src/lib/libcrypto/bn/bn_word.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_word.c,v 1.15 2022/11/26 13:56:33 jsing Exp $ */ | 1 | /* $OpenBSD: bn_word.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | 60 | ||
61 | #include "bn_lcl.h" | 61 | #include "bn_local.h" |
62 | 62 | ||
63 | BN_ULONG | 63 | BN_ULONG |
64 | BN_mod_word(const BIGNUM *a, BN_ULONG w) | 64 | BN_mod_word(const BIGNUM *a, BN_ULONG w) |
diff --git a/src/lib/libcrypto/bn/bn_x931p.c b/src/lib/libcrypto/bn/bn_x931p.c index 7fc3b5c2ad..b14e9810dd 100644 --- a/src/lib/libcrypto/bn/bn_x931p.c +++ b/src/lib/libcrypto/bn/bn_x931p.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_x931p.c,v 1.13 2022/01/20 10:56:22 inoguchi Exp $ */ | 1 | /* $OpenBSD: bn_x931p.c,v 1.14 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2005. | 3 | * project 2005. |
4 | */ | 4 | */ |
@@ -59,7 +59,7 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <openssl/bn.h> | 60 | #include <openssl/bn.h> |
61 | 61 | ||
62 | #include "bn_lcl.h" | 62 | #include "bn_local.h" |
63 | 63 | ||
64 | /* X9.31 routines for prime derivation */ | 64 | /* X9.31 routines for prime derivation */ |
65 | 65 | ||
diff --git a/src/lib/libcrypto/camellia/camellia.c b/src/lib/libcrypto/camellia/camellia.c index 5f754ff78b..336074ad7c 100644 --- a/src/lib/libcrypto/camellia/camellia.c +++ b/src/lib/libcrypto/camellia/camellia.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: camellia.c,v 1.11 2016/09/04 14:31:29 jsing Exp $ */ | 1 | /* $OpenBSD: camellia.c,v 1.12 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . | 3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . |
4 | * ALL RIGHTS RESERVED. | 4 | * ALL RIGHTS RESERVED. |
@@ -87,7 +87,7 @@ | |||
87 | #include <openssl/camellia.h> | 87 | #include <openssl/camellia.h> |
88 | #include <openssl/opensslconf.h> | 88 | #include <openssl/opensslconf.h> |
89 | 89 | ||
90 | #include "cmll_locl.h" | 90 | #include "cmll_local.h" |
91 | 91 | ||
92 | /* 32-bit rotations */ | 92 | /* 32-bit rotations */ |
93 | #if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) | 93 | #if !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) |
diff --git a/src/lib/libcrypto/camellia/cmll_ecb.c b/src/lib/libcrypto/camellia/cmll_ecb.c index 1a65445202..b47ece7379 100644 --- a/src/lib/libcrypto/camellia/cmll_ecb.c +++ b/src/lib/libcrypto/camellia/cmll_ecb.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cmll_ecb.c,v 1.4 2014/11/13 20:01:58 miod Exp $ */ | 1 | /* $OpenBSD: cmll_ecb.c,v 1.5 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -50,7 +50,7 @@ | |||
50 | */ | 50 | */ |
51 | 51 | ||
52 | #include <openssl/camellia.h> | 52 | #include <openssl/camellia.h> |
53 | #include "cmll_locl.h" | 53 | #include "cmll_local.h" |
54 | 54 | ||
55 | void | 55 | void |
56 | Camellia_ecb_encrypt(const unsigned char *in, unsigned char *out, | 56 | Camellia_ecb_encrypt(const unsigned char *in, unsigned char *out, |
diff --git a/src/lib/libcrypto/camellia/cmll_locl.h b/src/lib/libcrypto/camellia/cmll_local.h index 325b6e2d6f..b8bef6fb75 100644 --- a/src/lib/libcrypto/camellia/cmll_locl.h +++ b/src/lib/libcrypto/camellia/cmll_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cmll_locl.h,v 1.6 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: cmll_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . | 3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . |
4 | * ALL RIGHTS RESERVED. | 4 | * ALL RIGHTS RESERVED. |
diff --git a/src/lib/libcrypto/camellia/cmll_misc.c b/src/lib/libcrypto/camellia/cmll_misc.c index 2fa61dc637..9fce92df20 100644 --- a/src/lib/libcrypto/camellia/cmll_misc.c +++ b/src/lib/libcrypto/camellia/cmll_misc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cmll_misc.c,v 1.6 2014/11/13 20:01:58 miod Exp $ */ | 1 | /* $OpenBSD: cmll_misc.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -52,7 +52,7 @@ | |||
52 | #include <openssl/opensslv.h> | 52 | #include <openssl/opensslv.h> |
53 | #include <openssl/crypto.h> | 53 | #include <openssl/crypto.h> |
54 | #include <openssl/camellia.h> | 54 | #include <openssl/camellia.h> |
55 | #include "cmll_locl.h" | 55 | #include "cmll_local.h" |
56 | 56 | ||
57 | int | 57 | int |
58 | Camellia_set_key(const unsigned char *userKey, const int bits, | 58 | Camellia_set_key(const unsigned char *userKey, const int bits, |
diff --git a/src/lib/libcrypto/cast/c_cfb64.c b/src/lib/libcrypto/cast/c_cfb64.c index 726d19e005..9586f932aa 100644 --- a/src/lib/libcrypto/cast/c_cfb64.c +++ b/src/lib/libcrypto/cast/c_cfb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_cfb64.c,v 1.5 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: c_cfb64.c,v 1.6 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/cast.h> | 59 | #include <openssl/cast.h> |
60 | #include "cast_lcl.h" | 60 | #include "cast_local.h" |
61 | 61 | ||
62 | /* The input and output encrypted as though 64bit cfb mode is being | 62 | /* The input and output encrypted as though 64bit cfb mode is being |
63 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/cast/c_ecb.c b/src/lib/libcrypto/cast/c_ecb.c index c3a01b71ae..e4ad05c297 100644 --- a/src/lib/libcrypto/cast/c_ecb.c +++ b/src/lib/libcrypto/cast/c_ecb.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_ecb.c,v 1.7 2014/07/09 11:10:50 bcook Exp $ */ | 1 | /* $OpenBSD: c_ecb.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/cast.h> | 59 | #include <openssl/cast.h> |
60 | #include "cast_lcl.h" | 60 | #include "cast_local.h" |
61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
62 | 62 | ||
63 | void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, | 63 | void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, |
diff --git a/src/lib/libcrypto/cast/c_enc.c b/src/lib/libcrypto/cast/c_enc.c index 5999a59031..cc28991bd2 100644 --- a/src/lib/libcrypto/cast/c_enc.c +++ b/src/lib/libcrypto/cast/c_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_enc.c,v 1.7 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: c_enc.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/cast.h> | 59 | #include <openssl/cast.h> |
60 | #include "cast_lcl.h" | 60 | #include "cast_local.h" |
61 | 61 | ||
62 | #ifndef OPENBSD_CAST_ASM | 62 | #ifndef OPENBSD_CAST_ASM |
63 | void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key) | 63 | void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key) |
diff --git a/src/lib/libcrypto/cast/c_ofb64.c b/src/lib/libcrypto/cast/c_ofb64.c index 611425a668..d5859150a9 100644 --- a/src/lib/libcrypto/cast/c_ofb64.c +++ b/src/lib/libcrypto/cast/c_ofb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_ofb64.c,v 1.5 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: c_ofb64.c,v 1.6 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/cast.h> | 59 | #include <openssl/cast.h> |
60 | #include "cast_lcl.h" | 60 | #include "cast_local.h" |
61 | 61 | ||
62 | /* The input and output encrypted as though 64bit ofb mode is being | 62 | /* The input and output encrypted as though 64bit ofb mode is being |
63 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/cast/c_skey.c b/src/lib/libcrypto/cast/c_skey.c index 1cea8c8ab0..5f86effc3e 100644 --- a/src/lib/libcrypto/cast/c_skey.c +++ b/src/lib/libcrypto/cast/c_skey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: c_skey.c,v 1.11 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: c_skey.c,v 1.12 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <openssl/crypto.h> | 59 | #include <openssl/crypto.h> |
60 | #include <openssl/cast.h> | 60 | #include <openssl/cast.h> |
61 | #include "cast_lcl.h" | 61 | #include "cast_local.h" |
62 | #include "cast_s.h" | 62 | #include "cast_s.h" |
63 | 63 | ||
64 | #define CAST_exp(l,A,a,n) \ | 64 | #define CAST_exp(l,A,a,n) \ |
diff --git a/src/lib/libcrypto/cast/cast_lcl.h b/src/lib/libcrypto/cast/cast_local.h index 100ff1f2d2..2ee72a9e5a 100644 --- a/src/lib/libcrypto/cast/cast_lcl.h +++ b/src/lib/libcrypto/cast/cast_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cast_lcl.h,v 1.12 2020/01/26 11:49:21 inoguchi Exp $ */ | 1 | /* $OpenBSD: cast_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/cmac/cm_ameth.c b/src/lib/libcrypto/cmac/cm_ameth.c index 1bc20082c1..04e0eb836f 100644 --- a/src/lib/libcrypto/cmac/cm_ameth.c +++ b/src/lib/libcrypto/cmac/cm_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cm_ameth.c,v 1.9 2022/11/18 14:45:10 tb Exp $ */ | 1 | /* $OpenBSD: cm_ameth.c,v 1.10 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2010. | 3 | * project 2010. |
4 | */ | 4 | */ |
@@ -56,8 +56,8 @@ | |||
56 | #include <openssl/cmac.h> | 56 | #include <openssl/cmac.h> |
57 | #include <openssl/evp.h> | 57 | #include <openssl/evp.h> |
58 | 58 | ||
59 | #include "asn1_locl.h" | 59 | #include "asn1_local.h" |
60 | #include "evp_locl.h" | 60 | #include "evp_local.h" |
61 | 61 | ||
62 | /* CMAC "ASN1" method. This is just here to indicate the | 62 | /* CMAC "ASN1" method. This is just here to indicate the |
63 | * maximum CMAC output length and to free up a CMAC | 63 | * maximum CMAC output length and to free up a CMAC |
diff --git a/src/lib/libcrypto/cmac/cm_pmeth.c b/src/lib/libcrypto/cmac/cm_pmeth.c index 91f7e34c29..d47cfb7b73 100644 --- a/src/lib/libcrypto/cmac/cm_pmeth.c +++ b/src/lib/libcrypto/cmac/cm_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cm_pmeth.c,v 1.9 2022/11/18 14:45:10 tb Exp $ */ | 1 | /* $OpenBSD: cm_pmeth.c,v 1.10 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2010. | 3 | * project 2010. |
4 | */ | 4 | */ |
@@ -59,7 +59,7 @@ | |||
59 | #include <openssl/x509.h> | 59 | #include <openssl/x509.h> |
60 | #include <openssl/x509v3.h> | 60 | #include <openssl/x509v3.h> |
61 | 61 | ||
62 | #include "evp_locl.h" | 62 | #include "evp_local.h" |
63 | 63 | ||
64 | /* The context structure and "key" is simply a CMAC_CTX */ | 64 | /* The context structure and "key" is simply a CMAC_CTX */ |
65 | 65 | ||
diff --git a/src/lib/libcrypto/cmac/cmac.c b/src/lib/libcrypto/cmac/cmac.c index cd286f88e3..e7b343e216 100644 --- a/src/lib/libcrypto/cmac/cmac.c +++ b/src/lib/libcrypto/cmac/cmac.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cmac.c,v 1.11 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: cmac.c,v 1.12 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -57,7 +57,7 @@ | |||
57 | 57 | ||
58 | #include <openssl/cmac.h> | 58 | #include <openssl/cmac.h> |
59 | 59 | ||
60 | #include "evp_locl.h" | 60 | #include "evp_local.h" |
61 | 61 | ||
62 | struct CMAC_CTX_st { | 62 | struct CMAC_CTX_st { |
63 | /* Cipher context to use */ | 63 | /* Cipher context to use */ |
diff --git a/src/lib/libcrypto/cms/cms_asn1.c b/src/lib/libcrypto/cms/cms_asn1.c index cc00aef0fa..d6138f93aa 100644 --- a/src/lib/libcrypto/cms/cms_asn1.c +++ b/src/lib/libcrypto/cms/cms_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_asn1.c,v 1.19 2022/01/14 08:16:13 tb Exp $ */ | 1 | /* $OpenBSD: cms_asn1.c,v 1.20 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -56,7 +56,7 @@ | |||
56 | #include <openssl/pem.h> | 56 | #include <openssl/pem.h> |
57 | #include <openssl/x509v3.h> | 57 | #include <openssl/x509v3.h> |
58 | #include <openssl/cms.h> | 58 | #include <openssl/cms.h> |
59 | #include "cms_lcl.h" | 59 | #include "cms_local.h" |
60 | 60 | ||
61 | 61 | ||
62 | static const ASN1_TEMPLATE CMS_IssuerAndSerialNumber_seq_tt[] = { | 62 | static const ASN1_TEMPLATE CMS_IssuerAndSerialNumber_seq_tt[] = { |
diff --git a/src/lib/libcrypto/cms/cms_att.c b/src/lib/libcrypto/cms/cms_att.c index b03c7437a4..0fb077f7d9 100644 --- a/src/lib/libcrypto/cms/cms_att.c +++ b/src/lib/libcrypto/cms/cms_att.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_att.c,v 1.9 2019/08/10 18:15:52 jsing Exp $ */ | 1 | /* $OpenBSD: cms_att.c,v 1.10 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -57,7 +57,7 @@ | |||
57 | #include <openssl/x509v3.h> | 57 | #include <openssl/x509v3.h> |
58 | #include <openssl/err.h> | 58 | #include <openssl/err.h> |
59 | #include <openssl/cms.h> | 59 | #include <openssl/cms.h> |
60 | #include "cms_lcl.h" | 60 | #include "cms_local.h" |
61 | 61 | ||
62 | /* CMS SignedData Attribute utilities */ | 62 | /* CMS SignedData Attribute utilities */ |
63 | 63 | ||
diff --git a/src/lib/libcrypto/cms/cms_cd.c b/src/lib/libcrypto/cms/cms_cd.c index ec67cf11f7..3ecf801bc8 100644 --- a/src/lib/libcrypto/cms/cms_cd.c +++ b/src/lib/libcrypto/cms/cms_cd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_cd.c,v 1.15 2019/08/11 11:04:18 jsing Exp $ */ | 1 | /* $OpenBSD: cms_cd.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -60,7 +60,7 @@ | |||
60 | #include <openssl/cms.h> | 60 | #include <openssl/cms.h> |
61 | #include <openssl/bio.h> | 61 | #include <openssl/bio.h> |
62 | #include <openssl/comp.h> | 62 | #include <openssl/comp.h> |
63 | #include "cms_lcl.h" | 63 | #include "cms_local.h" |
64 | 64 | ||
65 | #ifdef ZLIB | 65 | #ifdef ZLIB |
66 | 66 | ||
diff --git a/src/lib/libcrypto/cms/cms_dd.c b/src/lib/libcrypto/cms/cms_dd.c index f1aafe39fe..a08fccc2a7 100644 --- a/src/lib/libcrypto/cms/cms_dd.c +++ b/src/lib/libcrypto/cms/cms_dd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_dd.c,v 1.14 2019/08/11 11:04:18 jsing Exp $ */ | 1 | /* $OpenBSD: cms_dd.c,v 1.15 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -60,7 +60,7 @@ | |||
60 | #include <openssl/x509v3.h> | 60 | #include <openssl/x509v3.h> |
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | #include <openssl/cms.h> | 62 | #include <openssl/cms.h> |
63 | #include "cms_lcl.h" | 63 | #include "cms_local.h" |
64 | 64 | ||
65 | /* CMS DigestedData Utilities */ | 65 | /* CMS DigestedData Utilities */ |
66 | 66 | ||
diff --git a/src/lib/libcrypto/cms/cms_enc.c b/src/lib/libcrypto/cms/cms_enc.c index ccbb6a5deb..06dffcbed4 100644 --- a/src/lib/libcrypto/cms/cms_enc.c +++ b/src/lib/libcrypto/cms/cms_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_enc.c,v 1.21 2022/01/20 10:58:35 inoguchi Exp $ */ | 1 | /* $OpenBSD: cms_enc.c,v 1.22 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | #include <openssl/cms.h> | 62 | #include <openssl/cms.h> |
63 | #include <openssl/rand.h> | 63 | #include <openssl/rand.h> |
64 | #include "cms_lcl.h" | 64 | #include "cms_local.h" |
65 | 65 | ||
66 | /* CMS EncryptedData Utilities */ | 66 | /* CMS EncryptedData Utilities */ |
67 | 67 | ||
diff --git a/src/lib/libcrypto/cms/cms_env.c b/src/lib/libcrypto/cms/cms_env.c index a88ea63662..1d534e3da5 100644 --- a/src/lib/libcrypto/cms/cms_env.c +++ b/src/lib/libcrypto/cms/cms_env.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_env.c,v 1.24 2021/09/08 14:33:02 tb Exp $ */ | 1 | /* $OpenBSD: cms_env.c,v 1.25 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -61,9 +61,9 @@ | |||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | #include <openssl/cms.h> | 62 | #include <openssl/cms.h> |
63 | #include <openssl/aes.h> | 63 | #include <openssl/aes.h> |
64 | #include "cms_lcl.h" | 64 | #include "cms_local.h" |
65 | #include "asn1/asn1_locl.h" | 65 | #include "asn1/asn1_local.h" |
66 | #include "evp/evp_locl.h" | 66 | #include "evp/evp_local.h" |
67 | 67 | ||
68 | /* CMS EnvelopedData Utilities */ | 68 | /* CMS EnvelopedData Utilities */ |
69 | 69 | ||
diff --git a/src/lib/libcrypto/cms/cms_ess.c b/src/lib/libcrypto/cms/cms_ess.c index 9420405d8f..88ea6e96f6 100644 --- a/src/lib/libcrypto/cms/cms_ess.c +++ b/src/lib/libcrypto/cms/cms_ess.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_ess.c,v 1.21 2019/08/11 14:19:09 jsing Exp $ */ | 1 | /* $OpenBSD: cms_ess.c,v 1.22 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/x509v3.h> | 61 | #include <openssl/x509v3.h> |
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/cms.h> | 63 | #include <openssl/cms.h> |
64 | #include "cms_lcl.h" | 64 | #include "cms_local.h" |
65 | 65 | ||
66 | 66 | ||
67 | CMS_ReceiptRequest * | 67 | CMS_ReceiptRequest * |
diff --git a/src/lib/libcrypto/cms/cms_io.c b/src/lib/libcrypto/cms/cms_io.c index 4466d6acf2..8a6b12e90f 100644 --- a/src/lib/libcrypto/cms/cms_io.c +++ b/src/lib/libcrypto/cms/cms_io.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_io.c,v 1.11 2019/08/11 10:38:27 jsing Exp $ */ | 1 | /* $OpenBSD: cms_io.c,v 1.12 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -57,7 +57,7 @@ | |||
57 | #include <openssl/err.h> | 57 | #include <openssl/err.h> |
58 | #include <openssl/pem.h> | 58 | #include <openssl/pem.h> |
59 | #include <openssl/cms.h> | 59 | #include <openssl/cms.h> |
60 | #include "cms_lcl.h" | 60 | #include "cms_local.h" |
61 | 61 | ||
62 | int | 62 | int |
63 | CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms) | 63 | CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms) |
diff --git a/src/lib/libcrypto/cms/cms_kari.c b/src/lib/libcrypto/cms/cms_kari.c index 21e3ce8254..0294007791 100644 --- a/src/lib/libcrypto/cms/cms_kari.c +++ b/src/lib/libcrypto/cms/cms_kari.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_kari.c,v 1.13 2019/08/11 14:27:01 jsing Exp $ */ | 1 | /* $OpenBSD: cms_kari.c,v 1.14 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -61,8 +61,8 @@ | |||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | #include <openssl/cms.h> | 62 | #include <openssl/cms.h> |
63 | #include <openssl/aes.h> | 63 | #include <openssl/aes.h> |
64 | #include "cms_lcl.h" | 64 | #include "cms_local.h" |
65 | #include "asn1/asn1_locl.h" | 65 | #include "asn1/asn1_local.h" |
66 | 66 | ||
67 | /* Key Agreement Recipient Info (KARI) routines */ | 67 | /* Key Agreement Recipient Info (KARI) routines */ |
68 | 68 | ||
diff --git a/src/lib/libcrypto/cms/cms_lib.c b/src/lib/libcrypto/cms/cms_lib.c index 21adef7aec..ee9385910f 100644 --- a/src/lib/libcrypto/cms/cms_lib.c +++ b/src/lib/libcrypto/cms/cms_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_lib.c,v 1.15 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: cms_lib.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -60,8 +60,8 @@ | |||
60 | #include <openssl/asn1.h> | 60 | #include <openssl/asn1.h> |
61 | #include <openssl/cms.h> | 61 | #include <openssl/cms.h> |
62 | 62 | ||
63 | #include "cms_lcl.h" | 63 | #include "cms_local.h" |
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | CMS_ContentInfo * | 66 | CMS_ContentInfo * |
67 | d2i_CMS_ContentInfo(CMS_ContentInfo **a, const unsigned char **in, long len) | 67 | d2i_CMS_ContentInfo(CMS_ContentInfo **a, const unsigned char **in, long len) |
diff --git a/src/lib/libcrypto/cms/cms_lcl.h b/src/lib/libcrypto/cms/cms_local.h index 8083e5537d..29e8825b08 100644 --- a/src/lib/libcrypto/cms/cms_lcl.h +++ b/src/lib/libcrypto/cms/cms_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_lcl.h,v 1.12 2019/10/04 18:03:56 tb Exp $ */ | 1 | /* $OpenBSD: cms_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
diff --git a/src/lib/libcrypto/cms/cms_pwri.c b/src/lib/libcrypto/cms/cms_pwri.c index eb241a60fe..3348b60fdc 100644 --- a/src/lib/libcrypto/cms/cms_pwri.c +++ b/src/lib/libcrypto/cms/cms_pwri.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_pwri.c,v 1.27 2022/01/19 13:47:44 inoguchi Exp $ */ | 1 | /* $OpenBSD: cms_pwri.c,v 1.28 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -62,8 +62,8 @@ | |||
62 | #include <openssl/cms.h> | 62 | #include <openssl/cms.h> |
63 | #include <openssl/rand.h> | 63 | #include <openssl/rand.h> |
64 | #include <openssl/aes.h> | 64 | #include <openssl/aes.h> |
65 | #include "cms_lcl.h" | 65 | #include "cms_local.h" |
66 | #include "asn1/asn1_locl.h" | 66 | #include "asn1/asn1_local.h" |
67 | 67 | ||
68 | int | 68 | int |
69 | CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass, | 69 | CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, unsigned char *pass, |
diff --git a/src/lib/libcrypto/cms/cms_sd.c b/src/lib/libcrypto/cms/cms_sd.c index 29dbfb2d19..8df78fe3e5 100644 --- a/src/lib/libcrypto/cms/cms_sd.c +++ b/src/lib/libcrypto/cms/cms_sd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_sd.c,v 1.24 2022/08/28 18:27:47 tb Exp $ */ | 1 | /* $OpenBSD: cms_sd.c,v 1.25 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -61,9 +61,9 @@ | |||
61 | #include <openssl/x509v3.h> | 61 | #include <openssl/x509v3.h> |
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/cms.h> | 63 | #include <openssl/cms.h> |
64 | #include "cms_lcl.h" | 64 | #include "cms_local.h" |
65 | #include "asn1/asn1_locl.h" | 65 | #include "asn1/asn1_local.h" |
66 | #include "evp/evp_locl.h" | 66 | #include "evp/evp_local.h" |
67 | 67 | ||
68 | /* CMS SignedData Utilities */ | 68 | /* CMS SignedData Utilities */ |
69 | 69 | ||
diff --git a/src/lib/libcrypto/cms/cms_smime.c b/src/lib/libcrypto/cms/cms_smime.c index 367810f40e..d21ff124d7 100644 --- a/src/lib/libcrypto/cms/cms_smime.c +++ b/src/lib/libcrypto/cms/cms_smime.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cms_smime.c,v 1.24 2019/10/04 18:03:56 tb Exp $ */ | 1 | /* $OpenBSD: cms_smime.c,v 1.25 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -58,8 +58,8 @@ | |||
58 | #include <openssl/x509v3.h> | 58 | #include <openssl/x509v3.h> |
59 | #include <openssl/err.h> | 59 | #include <openssl/err.h> |
60 | #include <openssl/cms.h> | 60 | #include <openssl/cms.h> |
61 | #include "cms_lcl.h" | 61 | #include "cms_local.h" |
62 | #include "asn1/asn1_locl.h" | 62 | #include "asn1/asn1_local.h" |
63 | 63 | ||
64 | static BIO * | 64 | static BIO * |
65 | cms_get_text_bio(BIO *out, unsigned int flags) | 65 | cms_get_text_bio(BIO *out, unsigned int flags) |
diff --git a/src/lib/libcrypto/constant_time_locl.h b/src/lib/libcrypto/constant_time.h index 2d511cc0bf..2d511cc0bf 100644 --- a/src/lib/libcrypto/constant_time_locl.h +++ b/src/lib/libcrypto/constant_time.h | |||
diff --git a/src/lib/libcrypto/des/cbc_cksm.c b/src/lib/libcrypto/des/cbc_cksm.c index 20553ef09f..2c1c4aa839 100644 --- a/src/lib/libcrypto/des/cbc_cksm.c +++ b/src/lib/libcrypto/des/cbc_cksm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cbc_cksm.c,v 1.7 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: cbc_cksm.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output, | 61 | DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output, |
62 | long length, DES_key_schedule *schedule, | 62 | long length, DES_key_schedule *schedule, |
diff --git a/src/lib/libcrypto/des/cfb64ede.c b/src/lib/libcrypto/des/cfb64ede.c index 6d4d287775..f2b2fe2db5 100644 --- a/src/lib/libcrypto/des/cfb64ede.c +++ b/src/lib/libcrypto/des/cfb64ede.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cfb64ede.c,v 1.9 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: cfb64ede.c,v 1.10 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | /* The input and output encrypted as though 64bit cfb mode is being | 61 | /* The input and output encrypted as though 64bit cfb mode is being |
62 | * used. The extra state information to record how much of the | 62 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/des/cfb64enc.c b/src/lib/libcrypto/des/cfb64enc.c index 6c8f99e841..4e9284599d 100644 --- a/src/lib/libcrypto/des/cfb64enc.c +++ b/src/lib/libcrypto/des/cfb64enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cfb64enc.c,v 1.6 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: cfb64enc.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | /* The input and output encrypted as though 64bit cfb mode is being | 61 | /* The input and output encrypted as though 64bit cfb mode is being |
62 | * used. The extra state information to record how much of the | 62 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/des/cfb_enc.c b/src/lib/libcrypto/des/cfb_enc.c index 4231f469ee..9ba31f4e11 100644 --- a/src/lib/libcrypto/des/cfb_enc.c +++ b/src/lib/libcrypto/des/cfb_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cfb_enc.c,v 1.14 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: cfb_enc.c,v 1.15 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | #include <endian.h> | 60 | #include <endian.h> |
61 | 61 | ||
62 | /* The input and output are loaded in multiples of 8 bits. | 62 | /* The input and output are loaded in multiples of 8 bits. |
diff --git a/src/lib/libcrypto/des/des_enc.c b/src/lib/libcrypto/des/des_enc.c index 1de35e1e34..8d6232bbde 100644 --- a/src/lib/libcrypto/des/des_enc.c +++ b/src/lib/libcrypto/des/des_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: des_enc.c,v 1.12 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: des_enc.c,v 1.13 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | #include "spr.h" | 60 | #include "spr.h" |
61 | 61 | ||
62 | #ifndef OPENBSD_DES_ASM | 62 | #ifndef OPENBSD_DES_ASM |
diff --git a/src/lib/libcrypto/des/des_locl.h b/src/lib/libcrypto/des/des_local.h index 34a7609873..a058ac2c32 100644 --- a/src/lib/libcrypto/des/des_locl.h +++ b/src/lib/libcrypto/des/des_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: des_locl.h,v 1.19 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: des_local.h,v 1.1 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/des/ecb3_enc.c b/src/lib/libcrypto/des/ecb3_enc.c index 97de804cfb..c2d8329fe0 100644 --- a/src/lib/libcrypto/des/ecb3_enc.c +++ b/src/lib/libcrypto/des/ecb3_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecb3_enc.c,v 1.7 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: ecb3_enc.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | 61 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, |
62 | DES_key_schedule *ks1, DES_key_schedule *ks2, | 62 | DES_key_schedule *ks1, DES_key_schedule *ks2, |
diff --git a/src/lib/libcrypto/des/ecb_enc.c b/src/lib/libcrypto/des/ecb_enc.c index dac37de882..35ce711315 100644 --- a/src/lib/libcrypto/des/ecb_enc.c +++ b/src/lib/libcrypto/des/ecb_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecb_enc.c,v 1.16 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: ecb_enc.c,v 1.17 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | #include <openssl/opensslv.h> | 60 | #include <openssl/opensslv.h> |
61 | #include <openssl/bio.h> | 61 | #include <openssl/bio.h> |
62 | 62 | ||
diff --git a/src/lib/libcrypto/des/ede_cbcm_enc.c b/src/lib/libcrypto/des/ede_cbcm_enc.c index 9a9f51e311..3f1609d745 100644 --- a/src/lib/libcrypto/des/ede_cbcm_enc.c +++ b/src/lib/libcrypto/des/ede_cbcm_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ede_cbcm_enc.c,v 1.6 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: ede_cbcm_enc.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Ben Laurie <ben@algroup.co.uk> for the OpenSSL | 2 | /* Written by Ben Laurie <ben@algroup.co.uk> for the OpenSSL |
3 | * project 13 Feb 1999. | 3 | * project 13 Feb 1999. |
4 | */ | 4 | */ |
@@ -71,7 +71,7 @@ http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-get.cgi/1998/CS/CS0928.ps.gz | |||
71 | #include <openssl/opensslconf.h> /* To see if OPENSSL_NO_DESCBCM is defined */ | 71 | #include <openssl/opensslconf.h> /* To see if OPENSSL_NO_DESCBCM is defined */ |
72 | 72 | ||
73 | #ifndef OPENSSL_NO_DESCBCM | 73 | #ifndef OPENSSL_NO_DESCBCM |
74 | #include "des_locl.h" | 74 | #include "des_local.h" |
75 | 75 | ||
76 | void DES_ede3_cbcm_encrypt(const unsigned char *in, unsigned char *out, | 76 | void DES_ede3_cbcm_encrypt(const unsigned char *in, unsigned char *out, |
77 | long length, DES_key_schedule *ks1, DES_key_schedule *ks2, | 77 | long length, DES_key_schedule *ks1, DES_key_schedule *ks2, |
diff --git a/src/lib/libcrypto/des/enc_read.c b/src/lib/libcrypto/des/enc_read.c index f5659150d3..a9010f6f9e 100644 --- a/src/lib/libcrypto/des/enc_read.c +++ b/src/lib/libcrypto/des/enc_read.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: enc_read.c,v 1.15 2015/02/12 03:54:07 jsing Exp $ */ | 1 | /* $OpenBSD: enc_read.c,v 1.16 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -61,7 +61,7 @@ | |||
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | 62 | #include <openssl/opensslconf.h> |
63 | 63 | ||
64 | #include "des_locl.h" | 64 | #include "des_local.h" |
65 | 65 | ||
66 | /* This has some uglies in it but it works - even over sockets. */ | 66 | /* This has some uglies in it but it works - even over sockets. */ |
67 | /*extern int errno;*/ | 67 | /*extern int errno;*/ |
diff --git a/src/lib/libcrypto/des/enc_writ.c b/src/lib/libcrypto/des/enc_writ.c index 59f3878de9..65fa720c1e 100644 --- a/src/lib/libcrypto/des/enc_writ.c +++ b/src/lib/libcrypto/des/enc_writ.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: enc_writ.c,v 1.14 2015/02/12 03:54:07 jsing Exp $ */ | 1 | /* $OpenBSD: enc_writ.c,v 1.15 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | 63 | ||
64 | #include <openssl/opensslconf.h> | 64 | #include <openssl/opensslconf.h> |
65 | 65 | ||
66 | #include "des_locl.h" | 66 | #include "des_local.h" |
67 | 67 | ||
68 | /* | 68 | /* |
69 | * WARNINGS: | 69 | * WARNINGS: |
diff --git a/src/lib/libcrypto/des/fcrypt.c b/src/lib/libcrypto/des/fcrypt.c index f8c9935a46..537562cd38 100644 --- a/src/lib/libcrypto/des/fcrypt.c +++ b/src/lib/libcrypto/des/fcrypt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: fcrypt.c,v 1.12 2016/12/26 21:30:10 jca Exp $ */ | 1 | /* $OpenBSD: fcrypt.c,v 1.13 2022/11/26 16:08:51 tb Exp $ */ |
2 | 2 | ||
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | 4 | ||
@@ -15,7 +15,7 @@ | |||
15 | * defined 24. | 15 | * defined 24. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "des_locl.h" | 18 | #include "des_local.h" |
19 | 19 | ||
20 | /* Added more values to handle illegal salt values the way normal | 20 | /* Added more values to handle illegal salt values the way normal |
21 | * crypt() implementations do. The patch was sent by | 21 | * crypt() implementations do. The patch was sent by |
diff --git a/src/lib/libcrypto/des/fcrypt_b.c b/src/lib/libcrypto/des/fcrypt_b.c index ad11a47d88..903c6de947 100644 --- a/src/lib/libcrypto/des/fcrypt_b.c +++ b/src/lib/libcrypto/des/fcrypt_b.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: fcrypt_b.c,v 1.9 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: fcrypt_b.c,v 1.10 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,7 +65,7 @@ | |||
65 | */ | 65 | */ |
66 | 66 | ||
67 | #define DES_FCRYPT | 67 | #define DES_FCRYPT |
68 | #include "des_locl.h" | 68 | #include "des_local.h" |
69 | #undef DES_FCRYPT | 69 | #undef DES_FCRYPT |
70 | 70 | ||
71 | #ifndef OPENBSD_DES_ASM | 71 | #ifndef OPENBSD_DES_ASM |
diff --git a/src/lib/libcrypto/des/ncbc_enc.c b/src/lib/libcrypto/des/ncbc_enc.c index 212796237d..f2e1274b7e 100644 --- a/src/lib/libcrypto/des/ncbc_enc.c +++ b/src/lib/libcrypto/des/ncbc_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ncbc_enc.c,v 1.7 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: ncbc_enc.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * #included by: | 3 | * #included by: |
4 | * cbc_enc.c (DES_cbc_encrypt) | 4 | * cbc_enc.c (DES_cbc_encrypt) |
@@ -61,7 +61,7 @@ | |||
61 | * [including the GNU Public Licence.] | 61 | * [including the GNU Public Licence.] |
62 | */ | 62 | */ |
63 | 63 | ||
64 | #include "des_locl.h" | 64 | #include "des_local.h" |
65 | 65 | ||
66 | #ifdef CBC_ENC_C__DONT_UPDATE_IV | 66 | #ifdef CBC_ENC_C__DONT_UPDATE_IV |
67 | void DES_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | 67 | void DES_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, |
diff --git a/src/lib/libcrypto/des/ofb64ede.c b/src/lib/libcrypto/des/ofb64ede.c index 474d38caaf..65969313ba 100644 --- a/src/lib/libcrypto/des/ofb64ede.c +++ b/src/lib/libcrypto/des/ofb64ede.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ofb64ede.c,v 1.6 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: ofb64ede.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | /* The input and output encrypted as though 64bit ofb mode is being | 61 | /* The input and output encrypted as though 64bit ofb mode is being |
62 | * used. The extra state information to record how much of the | 62 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/des/ofb64enc.c b/src/lib/libcrypto/des/ofb64enc.c index de1a26b99f..10deca00e7 100644 --- a/src/lib/libcrypto/des/ofb64enc.c +++ b/src/lib/libcrypto/des/ofb64enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ofb64enc.c,v 1.6 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: ofb64enc.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | /* The input and output encrypted as though 64bit ofb mode is being | 61 | /* The input and output encrypted as though 64bit ofb mode is being |
62 | * used. The extra state information to record how much of the | 62 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/des/ofb_enc.c b/src/lib/libcrypto/des/ofb_enc.c index 8cc5bbcb1e..25abb6db95 100644 --- a/src/lib/libcrypto/des/ofb_enc.c +++ b/src/lib/libcrypto/des/ofb_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ofb_enc.c,v 1.6 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: ofb_enc.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | /* The input and output are loaded in multiples of 8 bits. | 61 | /* The input and output are loaded in multiples of 8 bits. |
62 | * What this means is that if you hame numbits=12 and length=2 | 62 | * What this means is that if you hame numbits=12 and length=2 |
diff --git a/src/lib/libcrypto/des/pcbc_enc.c b/src/lib/libcrypto/des/pcbc_enc.c index fda18ba83d..1f8688d1f3 100644 --- a/src/lib/libcrypto/des/pcbc_enc.c +++ b/src/lib/libcrypto/des/pcbc_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pcbc_enc.c,v 1.6 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: pcbc_enc.c,v 1.7 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output, | 61 | void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output, |
62 | long length, DES_key_schedule *schedule, | 62 | long length, DES_key_schedule *schedule, |
diff --git a/src/lib/libcrypto/des/qud_cksm.c b/src/lib/libcrypto/des/qud_cksm.c index e2409d8ba4..7ff43620a3 100644 --- a/src/lib/libcrypto/des/qud_cksm.c +++ b/src/lib/libcrypto/des/qud_cksm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: qud_cksm.c,v 1.7 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: qud_cksm.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -61,7 +61,7 @@ | |||
61 | * This module in only based on the code in this paper and is | 61 | * This module in only based on the code in this paper and is |
62 | * almost definitely not the same as the MIT implementation. | 62 | * almost definitely not the same as the MIT implementation. |
63 | */ | 63 | */ |
64 | #include "des_locl.h" | 64 | #include "des_local.h" |
65 | 65 | ||
66 | /* bug fix for dos - 7/6/91 - Larry hughes@logos.ucs.indiana.edu */ | 66 | /* bug fix for dos - 7/6/91 - Larry hughes@logos.ucs.indiana.edu */ |
67 | #define Q_B0(a) (((DES_LONG)(a))) | 67 | #define Q_B0(a) (((DES_LONG)(a))) |
diff --git a/src/lib/libcrypto/des/set_key.c b/src/lib/libcrypto/des/set_key.c index 7d2c6b4390..5196a64f15 100644 --- a/src/lib/libcrypto/des/set_key.c +++ b/src/lib/libcrypto/des/set_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: set_key.c,v 1.20 2017/02/09 03:43:05 dtucker Exp $ */ | 1 | /* $OpenBSD: set_key.c,v 1.21 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -64,7 +64,7 @@ | |||
64 | * 1.0 First working version | 64 | * 1.0 First working version |
65 | */ | 65 | */ |
66 | #include <openssl/crypto.h> | 66 | #include <openssl/crypto.h> |
67 | #include "des_locl.h" | 67 | #include "des_local.h" |
68 | 68 | ||
69 | int DES_check_key = 0; /* defaults to false */ | 69 | int DES_check_key = 0; /* defaults to false */ |
70 | 70 | ||
diff --git a/src/lib/libcrypto/des/str2key.c b/src/lib/libcrypto/des/str2key.c index ce17e2659b..316e803927 100644 --- a/src/lib/libcrypto/des/str2key.c +++ b/src/lib/libcrypto/des/str2key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: str2key.c,v 1.10 2015/09/10 15:56:25 jsing Exp $ */ | 1 | /* $OpenBSD: str2key.c,v 1.11 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/crypto.h> | 59 | #include <openssl/crypto.h> |
60 | #include "des_locl.h" | 60 | #include "des_local.h" |
61 | 61 | ||
62 | void DES_string_to_key(const char *str, DES_cblock *key) | 62 | void DES_string_to_key(const char *str, DES_cblock *key) |
63 | { | 63 | { |
diff --git a/src/lib/libcrypto/des/xcbc_enc.c b/src/lib/libcrypto/des/xcbc_enc.c index 4f7a070103..0152f3eff5 100644 --- a/src/lib/libcrypto/des/xcbc_enc.c +++ b/src/lib/libcrypto/des/xcbc_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: xcbc_enc.c,v 1.9 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: xcbc_enc.c,v 1.10 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "des_locl.h" | 59 | #include "des_local.h" |
60 | 60 | ||
61 | /* RSA's DESX */ | 61 | /* RSA's DESX */ |
62 | 62 | ||
diff --git a/src/lib/libcrypto/dh/dh_ameth.c b/src/lib/libcrypto/dh/dh_ameth.c index 3701946cef..d21a8ddd07 100644 --- a/src/lib/libcrypto/dh/dh_ameth.c +++ b/src/lib/libcrypto/dh/dh_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_ameth.c,v 1.24 2022/06/27 12:36:05 tb Exp $ */ | 1 | /* $OpenBSD: dh_ameth.c,v 1.25 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -64,9 +64,9 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | #include "dh_local.h" | 68 | #include "dh_local.h" |
69 | #include "evp_locl.h" | 69 | #include "evp_local.h" |
70 | 70 | ||
71 | static void | 71 | static void |
72 | int_dh_free(EVP_PKEY *pkey) | 72 | int_dh_free(EVP_PKEY *pkey) |
diff --git a/src/lib/libcrypto/dh/dh_check.c b/src/lib/libcrypto/dh/dh_check.c index ee405f92b1..9bbbd55b30 100644 --- a/src/lib/libcrypto/dh/dh_check.c +++ b/src/lib/libcrypto/dh/dh_check.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_check.c,v 1.25 2022/07/13 18:38:20 tb Exp $ */ | 1 | /* $OpenBSD: dh_check.c,v 1.26 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/dh.h> | 62 | #include <openssl/dh.h> |
63 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
64 | 64 | ||
65 | #include "bn_lcl.h" | 65 | #include "bn_local.h" |
66 | #include "dh_local.h" | 66 | #include "dh_local.h" |
67 | 67 | ||
68 | #define DH_NUMBER_ITERATIONS_FOR_PRIME 64 | 68 | #define DH_NUMBER_ITERATIONS_FOR_PRIME 64 |
diff --git a/src/lib/libcrypto/dh/dh_depr.c b/src/lib/libcrypto/dh/dh_depr.c index 717482ca38..3c4804a133 100644 --- a/src/lib/libcrypto/dh/dh_depr.c +++ b/src/lib/libcrypto/dh/dh_depr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_depr.c,v 1.7 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: dh_depr.c,v 1.8 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/bn.h> | 62 | #include <openssl/bn.h> |
63 | #include <openssl/dh.h> | 63 | #include <openssl/dh.h> |
64 | 64 | ||
65 | #include "bn_lcl.h" | 65 | #include "bn_local.h" |
66 | 66 | ||
67 | #ifndef OPENSSL_NO_DEPRECATED | 67 | #ifndef OPENSSL_NO_DEPRECATED |
68 | DH * | 68 | DH * |
diff --git a/src/lib/libcrypto/dh/dh_key.c b/src/lib/libcrypto/dh/dh_key.c index 92429318db..89ae5f0fdc 100644 --- a/src/lib/libcrypto/dh/dh_key.c +++ b/src/lib/libcrypto/dh/dh_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_key.c,v 1.37 2022/01/07 09:27:13 tb Exp $ */ | 1 | /* $OpenBSD: dh_key.c,v 1.38 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/dh.h> | 62 | #include <openssl/dh.h> |
63 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
64 | 64 | ||
65 | #include "bn_lcl.h" | 65 | #include "bn_local.h" |
66 | #include "dh_local.h" | 66 | #include "dh_local.h" |
67 | 67 | ||
68 | static int generate_key(DH *dh); | 68 | static int generate_key(DH *dh); |
diff --git a/src/lib/libcrypto/dh/dh_pmeth.c b/src/lib/libcrypto/dh/dh_pmeth.c index d2052a8150..7a598da27b 100644 --- a/src/lib/libcrypto/dh/dh_pmeth.c +++ b/src/lib/libcrypto/dh/dh_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_pmeth.c,v 1.12 2022/01/07 09:27:13 tb Exp $ */ | 1 | /* $OpenBSD: dh_pmeth.c,v 1.13 2022/11/26 16:08:51 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -67,9 +67,9 @@ | |||
67 | #include <openssl/evp.h> | 67 | #include <openssl/evp.h> |
68 | #include <openssl/x509.h> | 68 | #include <openssl/x509.h> |
69 | 69 | ||
70 | #include "bn_lcl.h" | 70 | #include "bn_local.h" |
71 | #include "dh_local.h" | 71 | #include "dh_local.h" |
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | 73 | ||
74 | /* DH pkey context structure */ | 74 | /* DH pkey context structure */ |
75 | 75 | ||
diff --git a/src/lib/libcrypto/dsa/dsa_ameth.c b/src/lib/libcrypto/dsa/dsa_ameth.c index 372966b3c3..fb333dda0f 100644 --- a/src/lib/libcrypto/dsa/dsa_ameth.c +++ b/src/lib/libcrypto/dsa/dsa_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_ameth.c,v 1.37 2022/06/27 12:36:05 tb Exp $ */ | 1 | /* $OpenBSD: dsa_ameth.c,v 1.38 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -67,10 +67,10 @@ | |||
67 | #include <openssl/err.h> | 67 | #include <openssl/err.h> |
68 | #include <openssl/x509.h> | 68 | #include <openssl/x509.h> |
69 | 69 | ||
70 | #include "asn1_locl.h" | 70 | #include "asn1_local.h" |
71 | #include "bn_lcl.h" | 71 | #include "bn_local.h" |
72 | #include "dsa_locl.h" | 72 | #include "dsa_local.h" |
73 | #include "evp_locl.h" | 73 | #include "evp_local.h" |
74 | 74 | ||
75 | static int | 75 | static int |
76 | dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) | 76 | dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) |
diff --git a/src/lib/libcrypto/dsa/dsa_asn1.c b/src/lib/libcrypto/dsa/dsa_asn1.c index 87b930d5ad..976b34a73a 100644 --- a/src/lib/libcrypto/dsa/dsa_asn1.c +++ b/src/lib/libcrypto/dsa/dsa_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_asn1.c,v 1.27 2022/11/19 11:48:24 tb Exp $ */ | 1 | /* $OpenBSD: dsa_asn1.c,v 1.28 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/dsa.h> | 64 | #include <openssl/dsa.h> |
65 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
66 | 66 | ||
67 | #include "dsa_locl.h" | 67 | #include "dsa_local.h" |
68 | 68 | ||
69 | /* Override the default new methods */ | 69 | /* Override the default new methods */ |
70 | static int | 70 | static int |
diff --git a/src/lib/libcrypto/dsa/dsa_depr.c b/src/lib/libcrypto/dsa/dsa_depr.c index 5147ae255c..790db6685a 100644 --- a/src/lib/libcrypto/dsa/dsa_depr.c +++ b/src/lib/libcrypto/dsa/dsa_depr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_depr.c,v 1.9 2022/11/19 06:33:00 tb Exp $ */ | 1 | /* $OpenBSD: dsa_depr.c,v 1.10 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -68,7 +68,7 @@ | |||
68 | #include <openssl/evp.h> | 68 | #include <openssl/evp.h> |
69 | #include <openssl/sha.h> | 69 | #include <openssl/sha.h> |
70 | 70 | ||
71 | #include "bn_lcl.h" | 71 | #include "bn_local.h" |
72 | 72 | ||
73 | #ifndef OPENSSL_NO_DEPRECATED | 73 | #ifndef OPENSSL_NO_DEPRECATED |
74 | DSA * | 74 | DSA * |
diff --git a/src/lib/libcrypto/dsa/dsa_gen.c b/src/lib/libcrypto/dsa/dsa_gen.c index 53a5ce0d76..9c2b9cfd70 100644 --- a/src/lib/libcrypto/dsa/dsa_gen.c +++ b/src/lib/libcrypto/dsa/dsa_gen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_gen.c,v 1.25 2022/11/19 06:33:00 tb Exp $ */ | 1 | /* $OpenBSD: dsa_gen.c,v 1.26 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,8 +68,8 @@ | |||
68 | #include <openssl/evp.h> | 68 | #include <openssl/evp.h> |
69 | #include <openssl/sha.h> | 69 | #include <openssl/sha.h> |
70 | 70 | ||
71 | #include "bn_lcl.h" | 71 | #include "bn_local.h" |
72 | #include "dsa_locl.h" | 72 | #include "dsa_local.h" |
73 | 73 | ||
74 | int | 74 | int |
75 | DSA_generate_parameters_ex(DSA *ret, int bits, const unsigned char *seed_in, | 75 | DSA_generate_parameters_ex(DSA *ret, int bits, const unsigned char *seed_in, |
diff --git a/src/lib/libcrypto/dsa/dsa_key.c b/src/lib/libcrypto/dsa/dsa_key.c index 6f9f7897c9..051c812781 100644 --- a/src/lib/libcrypto/dsa/dsa_key.c +++ b/src/lib/libcrypto/dsa/dsa_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_key.c,v 1.31 2022/11/19 06:33:00 tb Exp $ */ | 1 | /* $OpenBSD: dsa_key.c,v 1.32 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,8 +66,8 @@ | |||
66 | #include <openssl/bn.h> | 66 | #include <openssl/bn.h> |
67 | #include <openssl/dsa.h> | 67 | #include <openssl/dsa.h> |
68 | 68 | ||
69 | #include "bn_lcl.h" | 69 | #include "bn_local.h" |
70 | #include "dsa_locl.h" | 70 | #include "dsa_local.h" |
71 | 71 | ||
72 | static int dsa_builtin_keygen(DSA *dsa); | 72 | static int dsa_builtin_keygen(DSA *dsa); |
73 | 73 | ||
diff --git a/src/lib/libcrypto/dsa/dsa_lib.c b/src/lib/libcrypto/dsa/dsa_lib.c index ce67bddb8d..af8f33980a 100644 --- a/src/lib/libcrypto/dsa/dsa_lib.c +++ b/src/lib/libcrypto/dsa/dsa_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_lib.c,v 1.38 2022/11/19 06:33:00 tb Exp $ */ | 1 | /* $OpenBSD: dsa_lib.c,v 1.39 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -75,7 +75,7 @@ | |||
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #include "dh_local.h" | 77 | #include "dh_local.h" |
78 | #include "dsa_locl.h" | 78 | #include "dsa_local.h" |
79 | 79 | ||
80 | static const DSA_METHOD *default_DSA_method = NULL; | 80 | static const DSA_METHOD *default_DSA_method = NULL; |
81 | 81 | ||
diff --git a/src/lib/libcrypto/dsa/dsa_locl.h b/src/lib/libcrypto/dsa/dsa_local.h index f78ff818ab..0487bd9f41 100644 --- a/src/lib/libcrypto/dsa/dsa_locl.h +++ b/src/lib/libcrypto/dsa/dsa_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_locl.h,v 1.6 2022/07/04 12:22:32 tb Exp $ */ | 1 | /* $OpenBSD: dsa_local.h,v 1.1 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2007 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2007 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/dsa/dsa_meth.c b/src/lib/libcrypto/dsa/dsa_meth.c index 40cd05937a..392afb84df 100644 --- a/src/lib/libcrypto/dsa/dsa_meth.c +++ b/src/lib/libcrypto/dsa/dsa_meth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_meth.c,v 1.5 2022/07/11 05:33:14 bcook Exp $ */ | 1 | /* $OpenBSD: dsa_meth.c,v 1.6 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <openssl/dsa.h> | 21 | #include <openssl/dsa.h> |
22 | #include <openssl/err.h> | 22 | #include <openssl/err.h> |
23 | 23 | ||
24 | #include "dsa_locl.h" | 24 | #include "dsa_local.h" |
25 | 25 | ||
26 | DSA_METHOD * | 26 | DSA_METHOD * |
27 | DSA_meth_new(const char *name, int flags) | 27 | DSA_meth_new(const char *name, int flags) |
diff --git a/src/lib/libcrypto/dsa/dsa_ossl.c b/src/lib/libcrypto/dsa/dsa_ossl.c index 9d785af749..102bc44cd7 100644 --- a/src/lib/libcrypto/dsa/dsa_ossl.c +++ b/src/lib/libcrypto/dsa/dsa_ossl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_ossl.c,v 1.45 2022/11/19 06:33:00 tb Exp $ */ | 1 | /* $OpenBSD: dsa_ossl.c,v 1.46 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,8 +66,8 @@ | |||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/sha.h> | 67 | #include <openssl/sha.h> |
68 | 68 | ||
69 | #include "bn_lcl.h" | 69 | #include "bn_local.h" |
70 | #include "dsa_locl.h" | 70 | #include "dsa_local.h" |
71 | 71 | ||
72 | static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); | 72 | static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); |
73 | static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, | 73 | static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, |
diff --git a/src/lib/libcrypto/dsa/dsa_pmeth.c b/src/lib/libcrypto/dsa/dsa_pmeth.c index b4ce58eef8..66f4ddbe38 100644 --- a/src/lib/libcrypto/dsa/dsa_pmeth.c +++ b/src/lib/libcrypto/dsa/dsa_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_pmeth.c,v 1.15 2022/11/19 11:53:38 tb Exp $ */ | 1 | /* $OpenBSD: dsa_pmeth.c,v 1.16 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -66,9 +66,9 @@ | |||
66 | #include <openssl/evp.h> | 66 | #include <openssl/evp.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "bn_lcl.h" | 69 | #include "bn_local.h" |
70 | #include "dsa_locl.h" | 70 | #include "dsa_local.h" |
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | 72 | ||
73 | /* DSA pkey context structure */ | 73 | /* DSA pkey context structure */ |
74 | 74 | ||
diff --git a/src/lib/libcrypto/dsa/dsa_sign.c b/src/lib/libcrypto/dsa/dsa_sign.c index f5591e0500..d5458016a9 100644 --- a/src/lib/libcrypto/dsa/dsa_sign.c +++ b/src/lib/libcrypto/dsa/dsa_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_sign.c,v 1.22 2022/11/19 06:33:00 tb Exp $ */ | 1 | /* $OpenBSD: dsa_sign.c,v 1.23 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/bn.h> | 61 | #include <openssl/bn.h> |
62 | #include <openssl/dsa.h> | 62 | #include <openssl/dsa.h> |
63 | 63 | ||
64 | #include "dsa_locl.h" | 64 | #include "dsa_local.h" |
65 | 65 | ||
66 | DSA_SIG * | 66 | DSA_SIG * |
67 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) | 67 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) |
diff --git a/src/lib/libcrypto/dsa/dsa_vrf.c b/src/lib/libcrypto/dsa/dsa_vrf.c index 7be0426274..6fa6534e7e 100644 --- a/src/lib/libcrypto/dsa/dsa_vrf.c +++ b/src/lib/libcrypto/dsa/dsa_vrf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_vrf.c,v 1.18 2022/11/19 06:33:00 tb Exp $ */ | 1 | /* $OpenBSD: dsa_vrf.c,v 1.19 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #include <openssl/dsa.h> | 61 | #include <openssl/dsa.h> |
62 | 62 | ||
63 | #include "dsa_locl.h" | 63 | #include "dsa_local.h" |
64 | 64 | ||
65 | int | 65 | int |
66 | DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa) | 66 | DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa) |
diff --git a/src/lib/libcrypto/ec/ec2_mult.c b/src/lib/libcrypto/ec/ec2_mult.c index c44ac5c3db..8b8aaf7122 100644 --- a/src/lib/libcrypto/ec/ec2_mult.c +++ b/src/lib/libcrypto/ec/ec2_mult.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec2_mult.c,v 1.14 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec2_mult.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -71,8 +71,8 @@ | |||
71 | 71 | ||
72 | #include <openssl/err.h> | 72 | #include <openssl/err.h> |
73 | 73 | ||
74 | #include "bn_lcl.h" | 74 | #include "bn_local.h" |
75 | #include "ec_lcl.h" | 75 | #include "ec_local.h" |
76 | 76 | ||
77 | #ifndef OPENSSL_NO_EC2M | 77 | #ifndef OPENSSL_NO_EC2M |
78 | 78 | ||
diff --git a/src/lib/libcrypto/ec/ec2_oct.c b/src/lib/libcrypto/ec/ec2_oct.c index be29203292..d3fbc12749 100644 --- a/src/lib/libcrypto/ec/ec2_oct.c +++ b/src/lib/libcrypto/ec/ec2_oct.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec2_oct.c,v 1.18 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec2_oct.c,v 1.19 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -71,7 +71,7 @@ | |||
71 | 71 | ||
72 | #include <openssl/err.h> | 72 | #include <openssl/err.h> |
73 | 73 | ||
74 | #include "ec_lcl.h" | 74 | #include "ec_local.h" |
75 | 75 | ||
76 | #ifndef OPENSSL_NO_EC2M | 76 | #ifndef OPENSSL_NO_EC2M |
77 | 77 | ||
diff --git a/src/lib/libcrypto/ec/ec2_smpl.c b/src/lib/libcrypto/ec/ec2_smpl.c index b4d7f5db2e..3ab7a1d46a 100644 --- a/src/lib/libcrypto/ec/ec2_smpl.c +++ b/src/lib/libcrypto/ec/ec2_smpl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec2_smpl.c,v 1.27 2022/11/24 01:30:01 jsing Exp $ */ | 1 | /* $OpenBSD: ec2_smpl.c,v 1.28 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -71,7 +71,7 @@ | |||
71 | 71 | ||
72 | #include <openssl/err.h> | 72 | #include <openssl/err.h> |
73 | 73 | ||
74 | #include "ec_lcl.h" | 74 | #include "ec_local.h" |
75 | 75 | ||
76 | #ifndef OPENSSL_NO_EC2M | 76 | #ifndef OPENSSL_NO_EC2M |
77 | 77 | ||
diff --git a/src/lib/libcrypto/ec/ec_ameth.c b/src/lib/libcrypto/ec/ec_ameth.c index b6f21ade63..d9216cc451 100644 --- a/src/lib/libcrypto/ec/ec_ameth.c +++ b/src/lib/libcrypto/ec/ec_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_ameth.c,v 1.35 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_ameth.c,v 1.36 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -66,9 +66,9 @@ | |||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "asn1_locl.h" | 69 | #include "asn1_local.h" |
70 | #include "ec_lcl.h" | 70 | #include "ec_local.h" |
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | 72 | ||
73 | #ifndef OPENSSL_NO_CMS | 73 | #ifndef OPENSSL_NO_CMS |
74 | static int ecdh_cms_decrypt(CMS_RecipientInfo *ri); | 74 | static int ecdh_cms_decrypt(CMS_RecipientInfo *ri); |
diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c index 974afffe78..2d7a1d4c3b 100644 --- a/src/lib/libcrypto/ec/ec_asn1.c +++ b/src/lib/libcrypto/ec/ec_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_asn1.c,v 1.39 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_asn1.c,v 1.40 2022/11/26 16:08:52 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,8 +64,8 @@ | |||
64 | #include <openssl/asn1t.h> | 64 | #include <openssl/asn1t.h> |
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | #include "ec_lcl.h" | 68 | #include "ec_local.h" |
69 | 69 | ||
70 | int | 70 | int |
71 | EC_GROUP_get_basis_type(const EC_GROUP *group) | 71 | EC_GROUP_get_basis_type(const EC_GROUP *group) |
diff --git a/src/lib/libcrypto/ec/ec_check.c b/src/lib/libcrypto/ec/ec_check.c index cc54ded3e7..5c6165e129 100644 --- a/src/lib/libcrypto/ec/ec_check.c +++ b/src/lib/libcrypto/ec/ec_check.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_check.c,v 1.11 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_check.c,v 1.12 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -53,7 +53,7 @@ | |||
53 | * | 53 | * |
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include "ec_lcl.h" | 56 | #include "ec_local.h" |
57 | #include <openssl/err.h> | 57 | #include <openssl/err.h> |
58 | 58 | ||
59 | int | 59 | int |
diff --git a/src/lib/libcrypto/ec/ec_curve.c b/src/lib/libcrypto/ec/ec_curve.c index 592a367a82..4a6ee895d2 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.24 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_curve.c,v 1.25 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -76,7 +76,7 @@ | |||
76 | #include <openssl/err.h> | 76 | #include <openssl/err.h> |
77 | #include <openssl/objects.h> | 77 | #include <openssl/objects.h> |
78 | 78 | ||
79 | #include "ec_lcl.h" | 79 | #include "ec_local.h" |
80 | 80 | ||
81 | typedef struct { | 81 | typedef struct { |
82 | 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_cvt.c b/src/lib/libcrypto/ec/ec_cvt.c index 05c7dd1bf1..365ca1aa7e 100644 --- a/src/lib/libcrypto/ec/ec_cvt.c +++ b/src/lib/libcrypto/ec/ec_cvt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_cvt.c,v 1.7 2021/04/20 17:04:13 tb Exp $ */ | 1 | /* $OpenBSD: ec_cvt.c,v 1.8 2022/11/26 16:08:52 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 | */ |
@@ -72,7 +72,7 @@ | |||
72 | #include <openssl/opensslconf.h> | 72 | #include <openssl/opensslconf.h> |
73 | 73 | ||
74 | #include <openssl/err.h> | 74 | #include <openssl/err.h> |
75 | #include "ec_lcl.h" | 75 | #include "ec_local.h" |
76 | 76 | ||
77 | EC_GROUP * | 77 | EC_GROUP * |
78 | EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, | 78 | EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, |
diff --git a/src/lib/libcrypto/ec/ec_key.c b/src/lib/libcrypto/ec/ec_key.c index fa8d463220..bad4779ed1 100644 --- a/src/lib/libcrypto/ec/ec_key.c +++ b/src/lib/libcrypto/ec/ec_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_key.c,v 1.28 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_key.c,v 1.29 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -70,8 +70,8 @@ | |||
70 | #endif | 70 | #endif |
71 | #include <openssl/err.h> | 71 | #include <openssl/err.h> |
72 | 72 | ||
73 | #include "bn_lcl.h" | 73 | #include "bn_local.h" |
74 | #include "ec_lcl.h" | 74 | #include "ec_local.h" |
75 | 75 | ||
76 | EC_KEY * | 76 | EC_KEY * |
77 | EC_KEY_new(void) | 77 | EC_KEY_new(void) |
diff --git a/src/lib/libcrypto/ec/ec_kmeth.c b/src/lib/libcrypto/ec/ec_kmeth.c index 4203dff2d0..56fb437093 100644 --- a/src/lib/libcrypto/ec/ec_kmeth.c +++ b/src/lib/libcrypto/ec/ec_kmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_kmeth.c,v 1.6 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: ec_kmeth.c,v 1.7 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -58,9 +58,9 @@ | |||
58 | #endif | 58 | #endif |
59 | #include <openssl/err.h> | 59 | #include <openssl/err.h> |
60 | 60 | ||
61 | #include "bn_lcl.h" | 61 | #include "bn_local.h" |
62 | #include "ec_lcl.h" | 62 | #include "ec_local.h" |
63 | #include "ecs_locl.h" | 63 | #include "ecs_local.h" |
64 | 64 | ||
65 | static const EC_KEY_METHOD openssl_ec_key_method = { | 65 | static const EC_KEY_METHOD openssl_ec_key_method = { |
66 | .name = "OpenSSL EC_KEY method", | 66 | .name = "OpenSSL EC_KEY method", |
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index 151e91b36c..5ad535f7ec 100644 --- a/src/lib/libcrypto/ec/ec_lib.c +++ b/src/lib/libcrypto/ec/ec_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_lib.c,v 1.46 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_lib.c,v 1.47 2022/11/26 16:08:52 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 | */ |
@@ -68,8 +68,8 @@ | |||
68 | #include <openssl/err.h> | 68 | #include <openssl/err.h> |
69 | #include <openssl/opensslv.h> | 69 | #include <openssl/opensslv.h> |
70 | 70 | ||
71 | #include "bn_lcl.h" | 71 | #include "bn_local.h" |
72 | #include "ec_lcl.h" | 72 | #include "ec_local.h" |
73 | 73 | ||
74 | /* functions for EC_GROUP objects */ | 74 | /* functions for EC_GROUP objects */ |
75 | 75 | ||
diff --git a/src/lib/libcrypto/ec/ec_lcl.h b/src/lib/libcrypto/ec/ec_local.h index e8bac0ac0e..5fc9bfebbb 100644 --- a/src/lib/libcrypto/ec/ec_lcl.h +++ b/src/lib/libcrypto/ec/ec_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_lcl.h,v 1.23 2022/11/24 16:29:09 tb Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.1 2022/11/26 16:08:52 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 | */ |
@@ -76,7 +76,7 @@ | |||
76 | #include <openssl/ecdsa.h> | 76 | #include <openssl/ecdsa.h> |
77 | #include <openssl/objects.h> | 77 | #include <openssl/objects.h> |
78 | 78 | ||
79 | #include "bn_lcl.h" | 79 | #include "bn_local.h" |
80 | 80 | ||
81 | __BEGIN_HIDDEN_DECLS | 81 | __BEGIN_HIDDEN_DECLS |
82 | 82 | ||
diff --git a/src/lib/libcrypto/ec/ec_mult.c b/src/lib/libcrypto/ec/ec_mult.c index a3da62323a..4b50184ff6 100644 --- a/src/lib/libcrypto/ec/ec_mult.c +++ b/src/lib/libcrypto/ec/ec_mult.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_mult.c,v 1.26 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_mult.c,v 1.27 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. | 3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -65,7 +65,7 @@ | |||
65 | 65 | ||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | 67 | ||
68 | #include "ec_lcl.h" | 68 | #include "ec_local.h" |
69 | 69 | ||
70 | 70 | ||
71 | /* | 71 | /* |
diff --git a/src/lib/libcrypto/ec/ec_oct.c b/src/lib/libcrypto/ec/ec_oct.c index 45968219de..0e651991fd 100644 --- a/src/lib/libcrypto/ec/ec_oct.c +++ b/src/lib/libcrypto/ec/ec_oct.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_oct.c,v 1.8 2021/04/20 17:34:33 tb Exp $ */ | 1 | /* $OpenBSD: ec_oct.c,v 1.9 2022/11/26 16:08:52 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 | */ |
@@ -68,7 +68,7 @@ | |||
68 | #include <openssl/err.h> | 68 | #include <openssl/err.h> |
69 | #include <openssl/opensslv.h> | 69 | #include <openssl/opensslv.h> |
70 | 70 | ||
71 | #include "ec_lcl.h" | 71 | #include "ec_local.h" |
72 | 72 | ||
73 | int | 73 | int |
74 | EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, | 74 | EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, |
diff --git a/src/lib/libcrypto/ec/ec_pmeth.c b/src/lib/libcrypto/ec/ec_pmeth.c index 80c09b1e21..9582224037 100644 --- a/src/lib/libcrypto/ec/ec_pmeth.c +++ b/src/lib/libcrypto/ec/ec_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_pmeth.c,v 1.15 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_pmeth.c,v 1.16 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -66,10 +66,10 @@ | |||
66 | #include <openssl/evp.h> | 66 | #include <openssl/evp.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "bn_lcl.h" | 69 | #include "bn_local.h" |
70 | #include "ec_lcl.h" | 70 | #include "ec_local.h" |
71 | #include "ech_locl.h" | 71 | #include "ech_local.h" |
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | 73 | ||
74 | /* EC pkey context structure */ | 74 | /* EC pkey context structure */ |
75 | 75 | ||
diff --git a/src/lib/libcrypto/ec/ec_print.c b/src/lib/libcrypto/ec/ec_print.c index 18d7a7a01f..1b85e82436 100644 --- a/src/lib/libcrypto/ec/ec_print.c +++ b/src/lib/libcrypto/ec/ec_print.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_print.c,v 1.8 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ec_print.c,v 1.9 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -54,7 +54,7 @@ | |||
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include <openssl/crypto.h> | 56 | #include <openssl/crypto.h> |
57 | #include "ec_lcl.h" | 57 | #include "ec_local.h" |
58 | 58 | ||
59 | BIGNUM * | 59 | BIGNUM * |
60 | EC_POINT_point2bn(const EC_GROUP *group, const EC_POINT *point, | 60 | EC_POINT_point2bn(const EC_GROUP *group, const EC_POINT *point, |
diff --git a/src/lib/libcrypto/ec/ecp_mont.c b/src/lib/libcrypto/ec/ecp_mont.c index da6d2f1cf0..74204ed39a 100644 --- a/src/lib/libcrypto/ec/ecp_mont.c +++ b/src/lib/libcrypto/ec/ecp_mont.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_mont.c,v 1.21 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ecp_mont.c,v 1.22 2022/11/26 16:08:52 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 | */ |
@@ -63,7 +63,7 @@ | |||
63 | 63 | ||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | 65 | ||
66 | #include "ec_lcl.h" | 66 | #include "ec_local.h" |
67 | 67 | ||
68 | 68 | ||
69 | const EC_METHOD * | 69 | const EC_METHOD * |
diff --git a/src/lib/libcrypto/ec/ecp_nist.c b/src/lib/libcrypto/ec/ecp_nist.c index d3cb4f37b7..cf00d3b11d 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.20 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nist.c,v 1.21 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/objects.h> | 67 | #include <openssl/objects.h> |
68 | 68 | ||
69 | #include "ec_lcl.h" | 69 | #include "ec_local.h" |
70 | 70 | ||
71 | const EC_METHOD * | 71 | const EC_METHOD * |
72 | EC_GFp_nist_method(void) | 72 | EC_GFp_nist_method(void) |
diff --git a/src/lib/libcrypto/ec/ecp_nistp224.c b/src/lib/libcrypto/ec/ecp_nistp224.c index 70944c463d..59781b75c3 100644 --- a/src/lib/libcrypto/ec/ecp_nistp224.c +++ b/src/lib/libcrypto/ec/ecp_nistp224.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistp224.c,v 1.28 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nistp224.c,v 1.29 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Emilia Kasper (Google) for the OpenSSL project. | 3 | * Written by Emilia Kasper (Google) for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -33,7 +33,7 @@ | |||
33 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | 33 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 |
34 | 34 | ||
35 | #include <openssl/err.h> | 35 | #include <openssl/err.h> |
36 | #include "ec_lcl.h" | 36 | #include "ec_local.h" |
37 | 37 | ||
38 | #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) | 38 | #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) |
39 | /* even with gcc, the typedef won't work for 32-bit platforms */ | 39 | /* even with gcc, the typedef won't work for 32-bit platforms */ |
diff --git a/src/lib/libcrypto/ec/ecp_nistp256.c b/src/lib/libcrypto/ec/ecp_nistp256.c index 8371ee4827..275015b98d 100644 --- a/src/lib/libcrypto/ec/ecp_nistp256.c +++ b/src/lib/libcrypto/ec/ecp_nistp256.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistp256.c,v 1.27 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nistp256.c,v 1.28 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Adam Langley (Google) for the OpenSSL project | 3 | * Written by Adam Langley (Google) for the OpenSSL project |
4 | */ | 4 | */ |
@@ -34,7 +34,7 @@ | |||
34 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | 34 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 |
35 | 35 | ||
36 | #include <openssl/err.h> | 36 | #include <openssl/err.h> |
37 | #include "ec_lcl.h" | 37 | #include "ec_local.h" |
38 | 38 | ||
39 | #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) | 39 | #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) |
40 | /* even with gcc, the typedef won't work for 32-bit platforms */ | 40 | /* even with gcc, the typedef won't work for 32-bit platforms */ |
diff --git a/src/lib/libcrypto/ec/ecp_nistp521.c b/src/lib/libcrypto/ec/ecp_nistp521.c index 064bf85534..20b5885ab7 100644 --- a/src/lib/libcrypto/ec/ecp_nistp521.c +++ b/src/lib/libcrypto/ec/ecp_nistp521.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistp521.c,v 1.28 2022/11/19 07:29:29 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nistp521.c,v 1.29 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Adam Langley (Google) for the OpenSSL project | 3 | * Written by Adam Langley (Google) for the OpenSSL project |
4 | */ | 4 | */ |
@@ -34,7 +34,7 @@ | |||
34 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | 34 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 |
35 | 35 | ||
36 | #include <openssl/err.h> | 36 | #include <openssl/err.h> |
37 | #include "ec_lcl.h" | 37 | #include "ec_local.h" |
38 | 38 | ||
39 | #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) | 39 | #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) |
40 | /* even with gcc, the typedef won't work for 32-bit platforms */ | 40 | /* even with gcc, the typedef won't work for 32-bit platforms */ |
diff --git a/src/lib/libcrypto/ec/ecp_nistputil.c b/src/lib/libcrypto/ec/ecp_nistputil.c index fc4f9f5c26..d0fea12028 100644 --- a/src/lib/libcrypto/ec/ecp_nistputil.c +++ b/src/lib/libcrypto/ec/ecp_nistputil.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistputil.c,v 1.7 2022/11/19 07:00:57 tb Exp $ */ | 1 | /* $OpenBSD: ecp_nistputil.c,v 1.8 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Bodo Moeller for the OpenSSL project. | 3 | * Written by Bodo Moeller for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -28,7 +28,7 @@ | |||
28 | * Common utility functions for ecp_nistp224.c, ecp_nistp256.c, ecp_nistp521.c. | 28 | * Common utility functions for ecp_nistp224.c, ecp_nistp256.c, ecp_nistp521.c. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include "ec_lcl.h" | 31 | #include "ec_local.h" |
32 | 32 | ||
33 | /* Convert an array of points into affine coordinates. | 33 | /* Convert an array of points into affine coordinates. |
34 | * (If the point at infinity is found (Z = 0), it remains unchanged.) | 34 | * (If the point at infinity is found (Z = 0), it remains unchanged.) |
diff --git a/src/lib/libcrypto/ec/ecp_nistz256.c b/src/lib/libcrypto/ec/ecp_nistz256.c index e3a6cc855a..62aac44c64 100644 --- a/src/lib/libcrypto/ec/ecp_nistz256.c +++ b/src/lib/libcrypto/ec/ecp_nistz256.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_nistz256.c,v 1.13 2022/11/24 01:30:01 jsing Exp $ */ | 1 | /* $OpenBSD: ecp_nistz256.c,v 1.14 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (c) 2014, Intel Corporation. | 2 | /* Copyright (c) 2014, Intel Corporation. |
3 | * | 3 | * |
4 | * Permission to use, copy, modify, and/or distribute this software for any | 4 | * Permission to use, copy, modify, and/or distribute this software for any |
@@ -46,7 +46,7 @@ | |||
46 | #include <openssl/ec.h> | 46 | #include <openssl/ec.h> |
47 | #include <openssl/err.h> | 47 | #include <openssl/err.h> |
48 | 48 | ||
49 | #include "ec_lcl.h" | 49 | #include "ec_local.h" |
50 | 50 | ||
51 | #if BN_BITS2 != 64 | 51 | #if BN_BITS2 != 64 |
52 | #define TOBN(hi,lo) lo,hi | 52 | #define TOBN(hi,lo) lo,hi |
diff --git a/src/lib/libcrypto/ec/ecp_oct.c b/src/lib/libcrypto/ec/ecp_oct.c index 354ae5489d..f2f1929e84 100644 --- a/src/lib/libcrypto/ec/ecp_oct.c +++ b/src/lib/libcrypto/ec/ecp_oct.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_oct.c,v 1.18 2022/11/24 16:35:32 tb Exp $ */ | 1 | /* $OpenBSD: ecp_oct.c,v 1.19 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> | 2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> |
3 | * for the OpenSSL project. | 3 | * for the OpenSSL project. |
4 | * Includes code written by Bodo Moeller for the OpenSSL project. | 4 | * Includes code written by Bodo Moeller for the OpenSSL project. |
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
66 | 66 | ||
67 | #include "ec_lcl.h" | 67 | #include "ec_local.h" |
68 | 68 | ||
69 | int | 69 | int |
70 | ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, | 70 | ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, |
diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c index 71d403b854..dc3b3926d1 100644 --- a/src/lib/libcrypto/ec/ecp_smpl.c +++ b/src/lib/libcrypto/ec/ecp_smpl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_smpl.c,v 1.37 2022/11/24 01:30:01 jsing Exp $ */ | 1 | /* $OpenBSD: ecp_smpl.c,v 1.38 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> | 2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> |
3 | * for the OpenSSL project. | 3 | * for the OpenSSL project. |
4 | * Includes code written by Bodo Moeller for the OpenSSL project. | 4 | * Includes code written by Bodo Moeller for the OpenSSL project. |
@@ -64,8 +64,8 @@ | |||
64 | 64 | ||
65 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
66 | 66 | ||
67 | #include "bn_lcl.h" | 67 | #include "bn_local.h" |
68 | #include "ec_lcl.h" | 68 | #include "ec_local.h" |
69 | 69 | ||
70 | const EC_METHOD * | 70 | const EC_METHOD * |
71 | EC_GFp_simple_method(void) | 71 | EC_GFp_simple_method(void) |
diff --git a/src/lib/libcrypto/ec/ecx_methods.c b/src/lib/libcrypto/ec/ecx_methods.c index 4de7f1565e..26fef18381 100644 --- a/src/lib/libcrypto/ec/ecx_methods.c +++ b/src/lib/libcrypto/ec/ecx_methods.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecx_methods.c,v 1.3 2022/11/23 07:37:06 tb Exp $ */ | 1 | /* $OpenBSD: ecx_methods.c,v 1.4 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -23,10 +23,10 @@ | |||
23 | #include <openssl/evp.h> | 23 | #include <openssl/evp.h> |
24 | #include <openssl/x509.h> | 24 | #include <openssl/x509.h> |
25 | 25 | ||
26 | #include "asn1_locl.h" | 26 | #include "asn1_local.h" |
27 | #include "bytestring.h" | 27 | #include "bytestring.h" |
28 | #include "curve25519_internal.h" | 28 | #include "curve25519_internal.h" |
29 | #include "evp_locl.h" | 29 | #include "evp_local.h" |
30 | 30 | ||
31 | /* | 31 | /* |
32 | * EVP PKEY and PKEY ASN.1 methods Ed25519 and X25519. | 32 | * EVP PKEY and PKEY ASN.1 methods Ed25519 and X25519. |
diff --git a/src/lib/libcrypto/ecdh/ecdh_kdf.c b/src/lib/libcrypto/ecdh/ecdh_kdf.c index 25398626e2..5c22e9c8ea 100644 --- a/src/lib/libcrypto/ecdh/ecdh_kdf.c +++ b/src/lib/libcrypto/ecdh/ecdh_kdf.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #include <openssl/ec.h> | 55 | #include <openssl/ec.h> |
56 | #include <openssl/evp.h> | 56 | #include <openssl/evp.h> |
57 | 57 | ||
58 | #include "ech_locl.h" | 58 | #include "ech_local.h" |
59 | 59 | ||
60 | /* | 60 | /* |
61 | * Key derivation function from X9.63/SECG. | 61 | * Key derivation function from X9.63/SECG. |
diff --git a/src/lib/libcrypto/ecdh/ech_key.c b/src/lib/libcrypto/ecdh/ech_key.c index ee78905848..a5c6371f91 100644 --- a/src/lib/libcrypto/ecdh/ech_key.c +++ b/src/lib/libcrypto/ecdh/ech_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ech_key.c,v 1.13 2022/06/30 11:14:47 tb Exp $ */ | 1 | /* $OpenBSD: ech_key.c,v 1.14 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -77,9 +77,9 @@ | |||
77 | #include <openssl/objects.h> | 77 | #include <openssl/objects.h> |
78 | #include <openssl/sha.h> | 78 | #include <openssl/sha.h> |
79 | 79 | ||
80 | #include "bn_lcl.h" | 80 | #include "bn_local.h" |
81 | #include "ech_locl.h" | 81 | #include "ech_local.h" |
82 | #include "ec_lcl.h" | 82 | #include "ec_local.h" |
83 | 83 | ||
84 | static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key, | 84 | static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key, |
85 | EC_KEY *ecdh, | 85 | EC_KEY *ecdh, |
diff --git a/src/lib/libcrypto/ecdh/ech_lib.c b/src/lib/libcrypto/ecdh/ech_lib.c index cc8edafa07..6caef5988f 100644 --- a/src/lib/libcrypto/ecdh/ech_lib.c +++ b/src/lib/libcrypto/ecdh/ech_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ech_lib.c,v 1.14 2018/04/14 07:09:21 tb Exp $ */ | 1 | /* $OpenBSD: ech_lib.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -71,7 +71,7 @@ | |||
71 | 71 | ||
72 | #include <openssl/opensslconf.h> | 72 | #include <openssl/opensslconf.h> |
73 | 73 | ||
74 | #include "ech_locl.h" | 74 | #include "ech_local.h" |
75 | #ifndef OPENSSL_NO_ENGINE | 75 | #ifndef OPENSSL_NO_ENGINE |
76 | #include <openssl/engine.h> | 76 | #include <openssl/engine.h> |
77 | #endif | 77 | #endif |
diff --git a/src/lib/libcrypto/ecdh/ech_locl.h b/src/lib/libcrypto/ecdh/ech_local.h index b04d325ed1..33dd943c5a 100644 --- a/src/lib/libcrypto/ecdh/ech_locl.h +++ b/src/lib/libcrypto/ecdh/ech_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ech_locl.h,v 1.6 2019/09/05 16:12:36 jsing Exp $ */ | 1 | /* $OpenBSD: ech_local.h,v 1.1 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/ecdsa/ecs_asn1.c b/src/lib/libcrypto/ecdsa/ecs_asn1.c index d4cbf1e308..9e286138e8 100644 --- a/src/lib/libcrypto/ecdsa/ecs_asn1.c +++ b/src/lib/libcrypto/ecdsa/ecs_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_asn1.c,v 1.11 2022/09/03 16:01:23 jsing Exp $ */ | 1 | /* $OpenBSD: ecs_asn1.c,v 1.12 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -53,7 +53,7 @@ | |||
53 | * | 53 | * |
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include "ecs_locl.h" | 56 | #include "ecs_local.h" |
57 | #include <openssl/err.h> | 57 | #include <openssl/err.h> |
58 | #include <openssl/asn1t.h> | 58 | #include <openssl/asn1t.h> |
59 | 59 | ||
diff --git a/src/lib/libcrypto/ecdsa/ecs_lib.c b/src/lib/libcrypto/ecdsa/ecs_lib.c index 18eecba704..5e95c5ed60 100644 --- a/src/lib/libcrypto/ecdsa/ecs_lib.c +++ b/src/lib/libcrypto/ecdsa/ecs_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_lib.c,v 1.14 2022/08/31 13:01:01 tb Exp $ */ | 1 | /* $OpenBSD: ecs_lib.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | 57 | ||
58 | #include <openssl/opensslconf.h> | 58 | #include <openssl/opensslconf.h> |
59 | 59 | ||
60 | #include "ecs_locl.h" | 60 | #include "ecs_local.h" |
61 | #ifndef OPENSSL_NO_ENGINE | 61 | #ifndef OPENSSL_NO_ENGINE |
62 | #include <openssl/engine.h> | 62 | #include <openssl/engine.h> |
63 | #endif | 63 | #endif |
diff --git a/src/lib/libcrypto/ecdsa/ecs_locl.h b/src/lib/libcrypto/ecdsa/ecs_local.h index a53ec379ea..69794dfefb 100644 --- a/src/lib/libcrypto/ecdsa/ecs_locl.h +++ b/src/lib/libcrypto/ecdsa/ecs_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_locl.h,v 1.7 2022/01/14 08:31:03 tb Exp $ */ | 1 | /* $OpenBSD: ecs_local.h,v 1.1 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
4 | */ | 4 | */ |
diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c index 48ef131217..eec757ef7c 100644 --- a/src/lib/libcrypto/ecdsa/ecs_ossl.c +++ b/src/lib/libcrypto/ecdsa/ecs_ossl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_ossl.c,v 1.25 2022/06/30 11:14:47 tb Exp $ */ | 1 | /* $OpenBSD: ecs_ossl.c,v 1.26 2022/11/26 16:08:52 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,8 +64,8 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | 66 | ||
67 | #include "bn_lcl.h" | 67 | #include "bn_local.h" |
68 | #include "ecs_locl.h" | 68 | #include "ecs_local.h" |
69 | 69 | ||
70 | static int ecdsa_prepare_digest(const unsigned char *dgst, int dgst_len, | 70 | static int ecdsa_prepare_digest(const unsigned char *dgst, int dgst_len, |
71 | BIGNUM *order, BIGNUM *ret); | 71 | BIGNUM *order, BIGNUM *ret); |
diff --git a/src/lib/libcrypto/ecdsa/ecs_sign.c b/src/lib/libcrypto/ecdsa/ecs_sign.c index 6424a3ca60..9aab20b0da 100644 --- a/src/lib/libcrypto/ecdsa/ecs_sign.c +++ b/src/lib/libcrypto/ecdsa/ecs_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_sign.c,v 1.9 2022/01/27 20:30:29 tb Exp $ */ | 1 | /* $OpenBSD: ecs_sign.c,v 1.10 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -61,9 +61,9 @@ | |||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
63 | 63 | ||
64 | #include "bn_lcl.h" | 64 | #include "bn_local.h" |
65 | #include "ecs_locl.h" | 65 | #include "ecs_local.h" |
66 | #include "ec_lcl.h" | 66 | #include "ec_local.h" |
67 | 67 | ||
68 | ECDSA_SIG * | 68 | ECDSA_SIG * |
69 | ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey) | 69 | ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey) |
diff --git a/src/lib/libcrypto/ecdsa/ecs_vrf.c b/src/lib/libcrypto/ecdsa/ecs_vrf.c index 7db5a937f2..4be4c89d80 100644 --- a/src/lib/libcrypto/ecdsa/ecs_vrf.c +++ b/src/lib/libcrypto/ecdsa/ecs_vrf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_vrf.c,v 1.9 2022/01/27 20:30:29 tb Exp $ */ | 1 | /* $OpenBSD: ecs_vrf.c,v 1.10 2022/11/26 16:08:52 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,9 +64,9 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/evp.h> | 65 | #include <openssl/evp.h> |
66 | 66 | ||
67 | #include "bn_lcl.h" | 67 | #include "bn_local.h" |
68 | #include "ecs_locl.h" | 68 | #include "ecs_local.h" |
69 | #include "ec_lcl.h" | 69 | #include "ec_local.h" |
70 | 70 | ||
71 | /* returns | 71 | /* returns |
72 | * 1: correct signature | 72 | * 1: correct signature |
diff --git a/src/lib/libcrypto/engine/eng_openssl.c b/src/lib/libcrypto/engine/eng_openssl.c index 1a6113ba6d..c632279faa 100644 --- a/src/lib/libcrypto/engine/eng_openssl.c +++ b/src/lib/libcrypto/engine/eng_openssl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: eng_openssl.c,v 1.15 2022/01/09 23:55:31 tb Exp $ */ | 1 | /* $OpenBSD: eng_openssl.c,v 1.16 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -84,7 +84,7 @@ | |||
84 | #include <openssl/rsa.h> | 84 | #include <openssl/rsa.h> |
85 | #endif | 85 | #endif |
86 | 86 | ||
87 | #include "evp_locl.h" | 87 | #include "evp_local.h" |
88 | 88 | ||
89 | /* This testing gunk is implemented (and explained) lower down. It also assumes | 89 | /* This testing gunk is implemented (and explained) lower down. It also assumes |
90 | * the application explicitly calls "ENGINE_load_openssl()" because this is no | 90 | * the application explicitly calls "ENGINE_load_openssl()" because this is no |
diff --git a/src/lib/libcrypto/engine/tb_asnmth.c b/src/lib/libcrypto/engine/tb_asnmth.c index 51e5198b40..913230f696 100644 --- a/src/lib/libcrypto/engine/tb_asnmth.c +++ b/src/lib/libcrypto/engine/tb_asnmth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tb_asnmth.c,v 1.6 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: tb_asnmth.c,v 1.7 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | #include <openssl/err.h> | 58 | #include <openssl/err.h> |
59 | 59 | ||
60 | #include "eng_int.h" | 60 | #include "eng_int.h" |
61 | #include "asn1_locl.h" | 61 | #include "asn1_local.h" |
62 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
63 | 63 | ||
64 | /* If this symbol is defined then ENGINE_get_pkey_asn1_meth_engine(), the | 64 | /* If this symbol is defined then ENGINE_get_pkey_asn1_meth_engine(), the |
diff --git a/src/lib/libcrypto/evp/bio_b64.c b/src/lib/libcrypto/evp/bio_b64.c index b61a342a3e..8880a28375 100644 --- a/src/lib/libcrypto/evp/bio_b64.c +++ b/src/lib/libcrypto/evp/bio_b64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio_b64.c,v 1.25 2022/01/14 08:40:57 tb Exp $ */ | 1 | /* $OpenBSD: bio_b64.c,v 1.26 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
65 | 65 | ||
66 | #include "bio_local.h" | 66 | #include "bio_local.h" |
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | 68 | ||
69 | static int b64_write(BIO *h, const char *buf, int num); | 69 | static int b64_write(BIO *h, const char *buf, int num); |
70 | static int b64_read(BIO *h, char *buf, int size); | 70 | static int b64_read(BIO *h, char *buf, int size); |
diff --git a/src/lib/libcrypto/evp/bio_enc.c b/src/lib/libcrypto/evp/bio_enc.c index 2a0f76fcbe..098b1ea32b 100644 --- a/src/lib/libcrypto/evp/bio_enc.c +++ b/src/lib/libcrypto/evp/bio_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio_enc.c,v 1.26 2022/01/14 08:40:57 tb Exp $ */ | 1 | /* $OpenBSD: bio_enc.c,v 1.27 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
65 | 65 | ||
66 | #include "bio_local.h" | 66 | #include "bio_local.h" |
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | 68 | ||
69 | static int enc_write(BIO *h, const char *buf, int num); | 69 | static int enc_write(BIO *h, const char *buf, int num); |
70 | static int enc_read(BIO *h, char *buf, int size); | 70 | static int enc_read(BIO *h, char *buf, int size); |
diff --git a/src/lib/libcrypto/evp/bio_md.c b/src/lib/libcrypto/evp/bio_md.c index 4ae5f1f496..4b7ca44551 100644 --- a/src/lib/libcrypto/evp/bio_md.c +++ b/src/lib/libcrypto/evp/bio_md.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio_md.c,v 1.18 2022/01/14 08:40:57 tb Exp $ */ | 1 | /* $OpenBSD: bio_md.c,v 1.19 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
64 | 64 | ||
65 | #include "bio_local.h" | 65 | #include "bio_local.h" |
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | /* BIO_put and BIO_get both add to the digest, | 68 | /* BIO_put and BIO_get both add to the digest, |
69 | * BIO_gets returns the digest */ | 69 | * BIO_gets returns the digest */ |
diff --git a/src/lib/libcrypto/evp/digest.c b/src/lib/libcrypto/evp/digest.c index ecb5292532..1fa25cd4fb 100644 --- a/src/lib/libcrypto/evp/digest.c +++ b/src/lib/libcrypto/evp/digest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: digest.c,v 1.34 2022/01/10 10:51:31 tb Exp $ */ | 1 | /* $OpenBSD: digest.c,v 1.35 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -122,7 +122,7 @@ | |||
122 | #include <openssl/engine.h> | 122 | #include <openssl/engine.h> |
123 | #endif | 123 | #endif |
124 | 124 | ||
125 | #include "evp_locl.h" | 125 | #include "evp_local.h" |
126 | 126 | ||
127 | int | 127 | int |
128 | EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) | 128 | EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) |
diff --git a/src/lib/libcrypto/evp/e_aes.c b/src/lib/libcrypto/evp/e_aes.c index d674be3843..0d7daf43e3 100644 --- a/src/lib/libcrypto/evp/e_aes.c +++ b/src/lib/libcrypto/evp/e_aes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_aes.c,v 1.49 2022/09/13 04:59:18 jsing Exp $ */ | 1 | /* $OpenBSD: e_aes.c,v 1.50 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -60,8 +60,8 @@ | |||
60 | #include <openssl/err.h> | 60 | #include <openssl/err.h> |
61 | #include <openssl/evp.h> | 61 | #include <openssl/evp.h> |
62 | 62 | ||
63 | #include "evp_locl.h" | 63 | #include "evp_local.h" |
64 | #include "modes_lcl.h" | 64 | #include "modes_local.h" |
65 | 65 | ||
66 | typedef struct { | 66 | typedef struct { |
67 | AES_KEY ks; | 67 | AES_KEY ks; |
diff --git a/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c b/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c index eef9c28096..9cde386150 100644 --- a/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c +++ b/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.16 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.17 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2011-2013 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011-2013 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -60,8 +60,8 @@ | |||
60 | #include <openssl/aes.h> | 60 | #include <openssl/aes.h> |
61 | #include <openssl/sha.h> | 61 | #include <openssl/sha.h> |
62 | 62 | ||
63 | #include "constant_time_locl.h" | 63 | #include "constant_time.h" |
64 | #include "evp_locl.h" | 64 | #include "evp_local.h" |
65 | 65 | ||
66 | #define TLS1_1_VERSION 0x0302 | 66 | #define TLS1_1_VERSION 0x0302 |
67 | 67 | ||
diff --git a/src/lib/libcrypto/evp/e_bf.c b/src/lib/libcrypto/evp/e_bf.c index 4632b523e2..c2ab3178a5 100644 --- a/src/lib/libcrypto/evp/e_bf.c +++ b/src/lib/libcrypto/evp/e_bf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_bf.c,v 1.14 2022/09/15 07:04:19 jsing Exp $ */ | 1 | /* $OpenBSD: e_bf.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/evp.h> | 67 | #include <openssl/evp.h> |
68 | #include <openssl/objects.h> | 68 | #include <openssl/objects.h> |
69 | 69 | ||
70 | #include "evp_locl.h" | 70 | #include "evp_local.h" |
71 | 71 | ||
72 | typedef struct { | 72 | typedef struct { |
73 | BF_KEY ks; | 73 | BF_KEY ks; |
diff --git a/src/lib/libcrypto/evp/e_camellia.c b/src/lib/libcrypto/evp/e_camellia.c index 3976baaa48..884f8cef2a 100644 --- a/src/lib/libcrypto/evp/e_camellia.c +++ b/src/lib/libcrypto/evp/e_camellia.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_camellia.c,v 1.15 2022/09/10 17:39:47 jsing Exp $ */ | 1 | /* $OpenBSD: e_camellia.c,v 1.16 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/camellia.h> | 63 | #include <openssl/camellia.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | 66 | ||
67 | /* Camellia subkey Structure */ | 67 | /* Camellia subkey Structure */ |
68 | typedef struct { | 68 | typedef struct { |
diff --git a/src/lib/libcrypto/evp/e_cast.c b/src/lib/libcrypto/evp/e_cast.c index 702c26e0c3..98683e1d01 100644 --- a/src/lib/libcrypto/evp/e_cast.c +++ b/src/lib/libcrypto/evp/e_cast.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_cast.c,v 1.13 2022/09/15 07:04:19 jsing Exp $ */ | 1 | /* $OpenBSD: e_cast.c,v 1.14 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/evp.h> | 67 | #include <openssl/evp.h> |
68 | #include <openssl/objects.h> | 68 | #include <openssl/objects.h> |
69 | 69 | ||
70 | #include "evp_locl.h" | 70 | #include "evp_local.h" |
71 | 71 | ||
72 | typedef struct { | 72 | typedef struct { |
73 | CAST_KEY ks; | 73 | CAST_KEY ks; |
diff --git a/src/lib/libcrypto/evp/e_chacha.c b/src/lib/libcrypto/evp/e_chacha.c index 447ce7e9e2..f27ed1d37d 100644 --- a/src/lib/libcrypto/evp/e_chacha.c +++ b/src/lib/libcrypto/evp/e_chacha.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_chacha.c,v 1.9 2022/07/30 17:11:38 jsing Exp $ */ | 1 | /* $OpenBSD: e_chacha.c,v 1.10 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -23,7 +23,7 @@ | |||
23 | #include <openssl/evp.h> | 23 | #include <openssl/evp.h> |
24 | #include <openssl/objects.h> | 24 | #include <openssl/objects.h> |
25 | 25 | ||
26 | #include "evp_locl.h" | 26 | #include "evp_local.h" |
27 | 27 | ||
28 | static int | 28 | static int |
29 | chacha_init(EVP_CIPHER_CTX *ctx, const unsigned char *key, | 29 | chacha_init(EVP_CIPHER_CTX *ctx, const unsigned char *key, |
diff --git a/src/lib/libcrypto/evp/e_chacha20poly1305.c b/src/lib/libcrypto/evp/e_chacha20poly1305.c index 450264846b..2635b6f675 100644 --- a/src/lib/libcrypto/evp/e_chacha20poly1305.c +++ b/src/lib/libcrypto/evp/e_chacha20poly1305.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_chacha20poly1305.c,v 1.26 2022/09/13 04:59:18 jsing Exp $ */ | 1 | /* $OpenBSD: e_chacha20poly1305.c,v 1.27 2022/11/26 16:08:52 tb Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
@@ -31,7 +31,7 @@ | |||
31 | #include <openssl/poly1305.h> | 31 | #include <openssl/poly1305.h> |
32 | 32 | ||
33 | #include "bytestring.h" | 33 | #include "bytestring.h" |
34 | #include "evp_locl.h" | 34 | #include "evp_local.h" |
35 | 35 | ||
36 | #define POLY1305_TAG_LEN 16 | 36 | #define POLY1305_TAG_LEN 16 |
37 | 37 | ||
diff --git a/src/lib/libcrypto/evp/e_des.c b/src/lib/libcrypto/evp/e_des.c index 8fcab72e6b..dffabc8125 100644 --- a/src/lib/libcrypto/evp/e_des.c +++ b/src/lib/libcrypto/evp/e_des.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_des.c,v 1.19 2022/09/15 07:04:19 jsing Exp $ */ | 1 | /* $OpenBSD: e_des.c,v 1.20 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/des.h> | 67 | #include <openssl/des.h> |
68 | #include <openssl/objects.h> | 68 | #include <openssl/objects.h> |
69 | 69 | ||
70 | #include "evp_locl.h" | 70 | #include "evp_local.h" |
71 | 71 | ||
72 | static int | 72 | static int |
73 | des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | 73 | des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, |
diff --git a/src/lib/libcrypto/evp/e_des3.c b/src/lib/libcrypto/evp/e_des3.c index 6a5d03fe99..d6c7537aea 100644 --- a/src/lib/libcrypto/evp/e_des3.c +++ b/src/lib/libcrypto/evp/e_des3.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_des3.c,v 1.25 2022/09/15 07:04:19 jsing Exp $ */ | 1 | /* $OpenBSD: e_des3.c,v 1.26 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,7 +68,7 @@ | |||
68 | #include <openssl/evp.h> | 68 | #include <openssl/evp.h> |
69 | #include <openssl/objects.h> | 69 | #include <openssl/objects.h> |
70 | 70 | ||
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | 72 | ||
73 | typedef struct { | 73 | typedef struct { |
74 | DES_key_schedule ks1;/* key schedule */ | 74 | DES_key_schedule ks1;/* key schedule */ |
diff --git a/src/lib/libcrypto/evp/e_gost2814789.c b/src/lib/libcrypto/evp/e_gost2814789.c index cff66e8c79..6344a11e9b 100644 --- a/src/lib/libcrypto/evp/e_gost2814789.c +++ b/src/lib/libcrypto/evp/e_gost2814789.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_gost2814789.c,v 1.10 2022/09/10 17:39:47 jsing Exp $ */ | 1 | /* $OpenBSD: e_gost2814789.c,v 1.11 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -58,7 +58,7 @@ | |||
58 | #include <openssl/err.h> | 58 | #include <openssl/err.h> |
59 | #include <openssl/gost.h> | 59 | #include <openssl/gost.h> |
60 | 60 | ||
61 | #include "evp_locl.h" | 61 | #include "evp_local.h" |
62 | 62 | ||
63 | typedef struct { | 63 | typedef struct { |
64 | GOST2814789_KEY ks; | 64 | GOST2814789_KEY ks; |
diff --git a/src/lib/libcrypto/evp/e_idea.c b/src/lib/libcrypto/evp/e_idea.c index b45ffd5696..b8349ee9cb 100644 --- a/src/lib/libcrypto/evp/e_idea.c +++ b/src/lib/libcrypto/evp/e_idea.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_idea.c,v 1.17 2022/09/15 07:04:19 jsing Exp $ */ | 1 | /* $OpenBSD: e_idea.c,v 1.18 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,7 +68,7 @@ | |||
68 | #include <openssl/idea.h> | 68 | #include <openssl/idea.h> |
69 | #include <openssl/objects.h> | 69 | #include <openssl/objects.h> |
70 | 70 | ||
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | 72 | ||
73 | /* NB idea_ecb_encrypt doesn't take an 'encrypt' argument so we treat it as a special | 73 | /* NB idea_ecb_encrypt doesn't take an 'encrypt' argument so we treat it as a special |
74 | * case | 74 | * case |
diff --git a/src/lib/libcrypto/evp/e_null.c b/src/lib/libcrypto/evp/e_null.c index db79e1ec5f..ddd633dc7c 100644 --- a/src/lib/libcrypto/evp/e_null.c +++ b/src/lib/libcrypto/evp/e_null.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_null.c,v 1.15 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: e_null.c,v 1.16 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | 66 | ||
67 | static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | 67 | static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, |
68 | const unsigned char *iv, int enc); | 68 | const unsigned char *iv, int enc); |
diff --git a/src/lib/libcrypto/evp/e_rc2.c b/src/lib/libcrypto/evp/e_rc2.c index 1af17a7c41..78697d08c6 100644 --- a/src/lib/libcrypto/evp/e_rc2.c +++ b/src/lib/libcrypto/evp/e_rc2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_rc2.c,v 1.19 2022/09/15 07:04:19 jsing Exp $ */ | 1 | /* $OpenBSD: e_rc2.c,v 1.20 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,7 +68,7 @@ | |||
68 | #include <openssl/objects.h> | 68 | #include <openssl/objects.h> |
69 | #include <openssl/rc2.h> | 69 | #include <openssl/rc2.h> |
70 | 70 | ||
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | 72 | ||
73 | static int rc2_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | 73 | static int rc2_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, |
74 | const unsigned char *iv, int enc); | 74 | const unsigned char *iv, int enc); |
diff --git a/src/lib/libcrypto/evp/e_rc4.c b/src/lib/libcrypto/evp/e_rc4.c index e77a293141..7afc6af9cd 100644 --- a/src/lib/libcrypto/evp/e_rc4.c +++ b/src/lib/libcrypto/evp/e_rc4.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_rc4.c,v 1.14 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: e_rc4.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/objects.h> | 66 | #include <openssl/objects.h> |
67 | #include <openssl/rc4.h> | 67 | #include <openssl/rc4.h> |
68 | 68 | ||
69 | #include "evp_locl.h" | 69 | #include "evp_local.h" |
70 | 70 | ||
71 | /* FIXME: surely this is available elsewhere? */ | 71 | /* FIXME: surely this is available elsewhere? */ |
72 | #define EVP_RC4_KEY_SIZE 16 | 72 | #define EVP_RC4_KEY_SIZE 16 |
diff --git a/src/lib/libcrypto/evp/e_rc4_hmac_md5.c b/src/lib/libcrypto/evp/e_rc4_hmac_md5.c index b8a6b4492e..b3be57d5f2 100644 --- a/src/lib/libcrypto/evp/e_rc4_hmac_md5.c +++ b/src/lib/libcrypto/evp/e_rc4_hmac_md5.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_rc4_hmac_md5.c,v 1.9 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: e_rc4_hmac_md5.c,v 1.10 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -60,7 +60,7 @@ | |||
60 | #include <openssl/rc4.h> | 60 | #include <openssl/rc4.h> |
61 | #include <openssl/md5.h> | 61 | #include <openssl/md5.h> |
62 | 62 | ||
63 | #include "evp_locl.h" | 63 | #include "evp_local.h" |
64 | 64 | ||
65 | /* FIXME: surely this is available elsewhere? */ | 65 | /* FIXME: surely this is available elsewhere? */ |
66 | #define EVP_RC4_KEY_SIZE 16 | 66 | #define EVP_RC4_KEY_SIZE 16 |
diff --git a/src/lib/libcrypto/evp/e_sm4.c b/src/lib/libcrypto/evp/e_sm4.c index 11e9a74d69..0d37448109 100644 --- a/src/lib/libcrypto/evp/e_sm4.c +++ b/src/lib/libcrypto/evp/e_sm4.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_sm4.c,v 1.6 2022/09/10 17:39:47 jsing Exp $ */ | 1 | /* $OpenBSD: e_sm4.c,v 1.7 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -22,7 +22,7 @@ | |||
22 | #include <openssl/modes.h> | 22 | #include <openssl/modes.h> |
23 | #include <openssl/sm4.h> | 23 | #include <openssl/sm4.h> |
24 | 24 | ||
25 | #include "evp_locl.h" | 25 | #include "evp_local.h" |
26 | 26 | ||
27 | typedef struct { | 27 | typedef struct { |
28 | SM4_KEY ks; | 28 | SM4_KEY ks; |
diff --git a/src/lib/libcrypto/evp/e_xcbc_d.c b/src/lib/libcrypto/evp/e_xcbc_d.c index 2aae0a9151..bbbc3a1ee9 100644 --- a/src/lib/libcrypto/evp/e_xcbc_d.c +++ b/src/lib/libcrypto/evp/e_xcbc_d.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_xcbc_d.c,v 1.12 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: e_xcbc_d.c,v 1.13 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/evp.h> | 67 | #include <openssl/evp.h> |
68 | #include <openssl/objects.h> | 68 | #include <openssl/objects.h> |
69 | 69 | ||
70 | #include "evp_locl.h" | 70 | #include "evp_local.h" |
71 | 71 | ||
72 | static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, | 72 | static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, |
73 | const unsigned char *iv, int enc); | 73 | const unsigned char *iv, int enc); |
diff --git a/src/lib/libcrypto/evp/encode.c b/src/lib/libcrypto/evp/encode.c index 30fcd858cf..718bdb5fc4 100644 --- a/src/lib/libcrypto/evp/encode.c +++ b/src/lib/libcrypto/evp/encode.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: encode.c,v 1.29 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: encode.c,v 1.30 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | 62 | ||
63 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | 66 | ||
67 | static unsigned char conv_ascii2bin(unsigned char a); | 67 | static unsigned char conv_ascii2bin(unsigned char a); |
68 | #define conv_bin2ascii(a) (data_bin2ascii[(a)&0x3f]) | 68 | #define conv_bin2ascii(a) (data_bin2ascii[(a)&0x3f]) |
diff --git a/src/lib/libcrypto/evp/evp_aead.c b/src/lib/libcrypto/evp/evp_aead.c index 93d523af7c..58f1c8722d 100644 --- a/src/lib/libcrypto/evp/evp_aead.c +++ b/src/lib/libcrypto/evp/evp_aead.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_aead.c,v 1.7 2022/01/07 21:58:17 tb Exp $ */ | 1 | /* $OpenBSD: evp_aead.c,v 1.8 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <openssl/evp.h> | 21 | #include <openssl/evp.h> |
22 | #include <openssl/err.h> | 22 | #include <openssl/err.h> |
23 | 23 | ||
24 | #include "evp_locl.h" | 24 | #include "evp_local.h" |
25 | 25 | ||
26 | size_t | 26 | size_t |
27 | EVP_AEAD_key_length(const EVP_AEAD *aead) | 27 | EVP_AEAD_key_length(const EVP_AEAD *aead) |
diff --git a/src/lib/libcrypto/evp/evp_enc.c b/src/lib/libcrypto/evp/evp_enc.c index 49e0ffa144..d1defc4643 100644 --- a/src/lib/libcrypto/evp/evp_enc.c +++ b/src/lib/libcrypto/evp/evp_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_enc.c,v 1.47 2022/09/13 04:59:18 jsing Exp $ */ | 1 | /* $OpenBSD: evp_enc.c,v 1.48 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -72,7 +72,7 @@ | |||
72 | #include <openssl/engine.h> | 72 | #include <openssl/engine.h> |
73 | #endif | 73 | #endif |
74 | 74 | ||
75 | #include "evp_locl.h" | 75 | #include "evp_local.h" |
76 | 76 | ||
77 | int | 77 | int |
78 | EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, | 78 | EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, |
diff --git a/src/lib/libcrypto/evp/evp_key.c b/src/lib/libcrypto/evp/evp_key.c index dcfb94e301..6fc8588cde 100644 --- a/src/lib/libcrypto/evp/evp_key.c +++ b/src/lib/libcrypto/evp/evp_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_key.c,v 1.27 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: evp_key.c,v 1.28 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/ui.h> | 65 | #include <openssl/ui.h> |
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | 67 | ||
68 | #include "evp_locl.h" | 68 | #include "evp_local.h" |
69 | 69 | ||
70 | /* should be init to zeros. */ | 70 | /* should be init to zeros. */ |
71 | static char prompt_string[80]; | 71 | static char prompt_string[80]; |
diff --git a/src/lib/libcrypto/evp/evp_lib.c b/src/lib/libcrypto/evp/evp_lib.c index 0e354d6272..f64842b86f 100644 --- a/src/lib/libcrypto/evp/evp_lib.c +++ b/src/lib/libcrypto/evp/evp_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_lib.c,v 1.24 2022/01/10 13:42:28 tb Exp $ */ | 1 | /* $OpenBSD: evp_lib.c,v 1.25 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,8 +63,8 @@ | |||
63 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
64 | #include <openssl/objects.h> | 64 | #include <openssl/objects.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | 68 | ||
69 | int | 69 | int |
70 | EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) | 70 | EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) |
diff --git a/src/lib/libcrypto/evp/evp_locl.h b/src/lib/libcrypto/evp/evp_local.h index 2bfcc6448e..ba34a7949d 100644 --- a/src/lib/libcrypto/evp/evp_locl.h +++ b/src/lib/libcrypto/evp/evp_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_locl.h,v 1.31 2022/11/18 14:45:10 tb Exp $ */ | 1 | /* $OpenBSD: evp_local.h,v 1.1 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
diff --git a/src/lib/libcrypto/evp/evp_pbe.c b/src/lib/libcrypto/evp/evp_pbe.c index 65e9e45ea8..565955524a 100644 --- a/src/lib/libcrypto/evp/evp_pbe.c +++ b/src/lib/libcrypto/evp/evp_pbe.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_pbe.c,v 1.26 2020/06/05 17:30:41 jsing Exp $ */ | 1 | /* $OpenBSD: evp_pbe.c,v 1.27 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/pkcs12.h> | 66 | #include <openssl/pkcs12.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "evp_locl.h" | 69 | #include "evp_local.h" |
70 | 70 | ||
71 | /* Password based encryption (PBE) functions */ | 71 | /* Password based encryption (PBE) functions */ |
72 | 72 | ||
diff --git a/src/lib/libcrypto/evp/evp_pkey.c b/src/lib/libcrypto/evp/evp_pkey.c index 3ba0e1dd51..d2fbdee46c 100644 --- a/src/lib/libcrypto/evp/evp_pkey.c +++ b/src/lib/libcrypto/evp/evp_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_pkey.c,v 1.24 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: evp_pkey.c,v 1.25 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,8 +62,8 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | /* Extract a private key from a PKCS8 structure */ | 68 | /* Extract a private key from a PKCS8 structure */ |
69 | 69 | ||
diff --git a/src/lib/libcrypto/evp/m_gost2814789.c b/src/lib/libcrypto/evp/m_gost2814789.c index 7d11ec8c89..ca303dab9f 100644 --- a/src/lib/libcrypto/evp/m_gost2814789.c +++ b/src/lib/libcrypto/evp/m_gost2814789.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_gost2814789.c,v 1.3 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: m_gost2814789.c,v 1.4 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -57,7 +57,7 @@ | |||
57 | #include <openssl/gost.h> | 57 | #include <openssl/gost.h> |
58 | #include <openssl/objects.h> | 58 | #include <openssl/objects.h> |
59 | 59 | ||
60 | #include "evp_locl.h" | 60 | #include "evp_local.h" |
61 | 61 | ||
62 | static int | 62 | static int |
63 | gost2814789_init(EVP_MD_CTX *ctx) | 63 | gost2814789_init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_gostr341194.c b/src/lib/libcrypto/evp/m_gostr341194.c index f479675baa..33e96a5a2c 100644 --- a/src/lib/libcrypto/evp/m_gostr341194.c +++ b/src/lib/libcrypto/evp/m_gostr341194.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_gostr341194.c,v 1.4 2022/01/14 08:38:05 tb Exp $ */ | 1 | /* $OpenBSD: m_gostr341194.c,v 1.5 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -59,7 +59,7 @@ | |||
59 | #include <openssl/gost.h> | 59 | #include <openssl/gost.h> |
60 | #include <openssl/objects.h> | 60 | #include <openssl/objects.h> |
61 | 61 | ||
62 | #include "evp_locl.h" | 62 | #include "evp_local.h" |
63 | 63 | ||
64 | static int | 64 | static int |
65 | gostr341194_init(EVP_MD_CTX *ctx) | 65 | gostr341194_init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_md4.c b/src/lib/libcrypto/evp/m_md4.c index 977565283f..c1e0256b38 100644 --- a/src/lib/libcrypto/evp/m_md4.c +++ b/src/lib/libcrypto/evp/m_md4.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_md4.c,v 1.18 2022/01/14 08:38:05 tb Exp $ */ | 1 | /* $OpenBSD: m_md4.c,v 1.19 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -71,7 +71,7 @@ | |||
71 | #include <openssl/rsa.h> | 71 | #include <openssl/rsa.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "evp_locl.h" | 74 | #include "evp_local.h" |
75 | 75 | ||
76 | static int | 76 | static int |
77 | init(EVP_MD_CTX *ctx) | 77 | init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_md5.c b/src/lib/libcrypto/evp/m_md5.c index daa7aee7b0..b66b25bab8 100644 --- a/src/lib/libcrypto/evp/m_md5.c +++ b/src/lib/libcrypto/evp/m_md5.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_md5.c,v 1.17 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_md5.c,v 1.18 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -71,7 +71,7 @@ | |||
71 | #include <openssl/rsa.h> | 71 | #include <openssl/rsa.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "evp_locl.h" | 74 | #include "evp_local.h" |
75 | 75 | ||
76 | static int | 76 | static int |
77 | init(EVP_MD_CTX *ctx) | 77 | init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_md5_sha1.c b/src/lib/libcrypto/evp/m_md5_sha1.c index f8bec10d18..b1944b881e 100644 --- a/src/lib/libcrypto/evp/m_md5_sha1.c +++ b/src/lib/libcrypto/evp/m_md5_sha1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_md5_sha1.c,v 1.4 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_md5_sha1.c,v 1.5 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -24,7 +24,7 @@ | |||
24 | #include <openssl/rsa.h> | 24 | #include <openssl/rsa.h> |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #include "evp_locl.h" | 27 | #include "evp_local.h" |
28 | 28 | ||
29 | struct md5_sha1_ctx { | 29 | struct md5_sha1_ctx { |
30 | MD5_CTX md5; | 30 | MD5_CTX md5; |
diff --git a/src/lib/libcrypto/evp/m_null.c b/src/lib/libcrypto/evp/m_null.c index 4334decb99..d09c0007f3 100644 --- a/src/lib/libcrypto/evp/m_null.c +++ b/src/lib/libcrypto/evp/m_null.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_null.c,v 1.11 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_null.c,v 1.12 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | 66 | ||
67 | static int | 67 | static int |
68 | init(EVP_MD_CTX *ctx) | 68 | init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_ripemd.c b/src/lib/libcrypto/evp/m_ripemd.c index 47397833de..896de59d1c 100644 --- a/src/lib/libcrypto/evp/m_ripemd.c +++ b/src/lib/libcrypto/evp/m_ripemd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_ripemd.c,v 1.14 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_ripemd.c,v 1.15 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -71,7 +71,7 @@ | |||
71 | #include <openssl/rsa.h> | 71 | #include <openssl/rsa.h> |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #include "evp_locl.h" | 74 | #include "evp_local.h" |
75 | 75 | ||
76 | static int | 76 | static int |
77 | init(EVP_MD_CTX *ctx) | 77 | init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_sha1.c b/src/lib/libcrypto/evp/m_sha1.c index a6fb53641e..5b38666892 100644 --- a/src/lib/libcrypto/evp/m_sha1.c +++ b/src/lib/libcrypto/evp/m_sha1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_sha1.c,v 1.19 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_sha1.c,v 1.20 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -70,7 +70,7 @@ | |||
70 | #include <openssl/rsa.h> | 70 | #include <openssl/rsa.h> |
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | #include "evp_locl.h" | 73 | #include "evp_local.h" |
74 | 74 | ||
75 | static int | 75 | static int |
76 | init(EVP_MD_CTX *ctx) | 76 | init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_sigver.c b/src/lib/libcrypto/evp/m_sigver.c index 5be924bed5..49b1ce29b7 100644 --- a/src/lib/libcrypto/evp/m_sigver.c +++ b/src/lib/libcrypto/evp/m_sigver.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_sigver.c,v 1.10 2022/11/10 15:17:30 jsing Exp $ */ | 1 | /* $OpenBSD: m_sigver.c,v 1.11 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | static int | 68 | static int |
69 | update_oneshot_only(EVP_MD_CTX *ctx, const void *data, size_t datalen) | 69 | update_oneshot_only(EVP_MD_CTX *ctx, const void *data, size_t datalen) |
diff --git a/src/lib/libcrypto/evp/m_sm3.c b/src/lib/libcrypto/evp/m_sm3.c index ae8b342e82..bf0ef527eb 100644 --- a/src/lib/libcrypto/evp/m_sm3.c +++ b/src/lib/libcrypto/evp/m_sm3.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_sm3.c,v 1.3 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_sm3.c,v 1.4 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
4 | * | 4 | * |
@@ -25,7 +25,7 @@ | |||
25 | #include <openssl/rsa.h> | 25 | #include <openssl/rsa.h> |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #include "evp_locl.h" | 28 | #include "evp_local.h" |
29 | 29 | ||
30 | static int | 30 | static int |
31 | sm3_init(EVP_MD_CTX *ctx) | 31 | sm3_init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_streebog.c b/src/lib/libcrypto/evp/m_streebog.c index 3f825e3a0e..5a0dece599 100644 --- a/src/lib/libcrypto/evp/m_streebog.c +++ b/src/lib/libcrypto/evp/m_streebog.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_streebog.c,v 1.4 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_streebog.c,v 1.5 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -57,7 +57,7 @@ | |||
57 | #include <openssl/gost.h> | 57 | #include <openssl/gost.h> |
58 | #include <openssl/objects.h> | 58 | #include <openssl/objects.h> |
59 | 59 | ||
60 | #include "evp_locl.h" | 60 | #include "evp_local.h" |
61 | 61 | ||
62 | static int | 62 | static int |
63 | streebog_init256(EVP_MD_CTX *ctx) | 63 | streebog_init256(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/m_wp.c b/src/lib/libcrypto/evp/m_wp.c index 07ae7ca551..2e0b46d5d3 100644 --- a/src/lib/libcrypto/evp/m_wp.c +++ b/src/lib/libcrypto/evp/m_wp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: m_wp.c,v 1.10 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: m_wp.c,v 1.11 2022/11/26 16:08:52 tb Exp $ */ |
2 | 2 | ||
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | 4 | ||
@@ -11,7 +11,7 @@ | |||
11 | #include <openssl/x509.h> | 11 | #include <openssl/x509.h> |
12 | #include <openssl/whrlpool.h> | 12 | #include <openssl/whrlpool.h> |
13 | 13 | ||
14 | #include "evp_locl.h" | 14 | #include "evp_local.h" |
15 | 15 | ||
16 | static int | 16 | static int |
17 | init(EVP_MD_CTX *ctx) | 17 | init(EVP_MD_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/names.c b/src/lib/libcrypto/evp/names.c index 02529eef6c..a27a187542 100644 --- a/src/lib/libcrypto/evp/names.c +++ b/src/lib/libcrypto/evp/names.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: names.c,v 1.15 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: names.c,v 1.16 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | 66 | ||
67 | int | 67 | int |
68 | EVP_add_cipher(const EVP_CIPHER *c) | 68 | EVP_add_cipher(const EVP_CIPHER *c) |
diff --git a/src/lib/libcrypto/evp/p5_crpt.c b/src/lib/libcrypto/evp/p5_crpt.c index b9482e0864..e85a60f50e 100644 --- a/src/lib/libcrypto/evp/p5_crpt.c +++ b/src/lib/libcrypto/evp/p5_crpt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p5_crpt.c,v 1.20 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: p5_crpt.c,v 1.21 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | 66 | ||
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | 68 | ||
69 | /* Doesn't do anything now: Builtin PBE algorithms in static table. | 69 | /* Doesn't do anything now: Builtin PBE algorithms in static table. |
70 | */ | 70 | */ |
diff --git a/src/lib/libcrypto/evp/p5_crpt2.c b/src/lib/libcrypto/evp/p5_crpt2.c index f3585ff34b..6c0cf529a4 100644 --- a/src/lib/libcrypto/evp/p5_crpt2.c +++ b/src/lib/libcrypto/evp/p5_crpt2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p5_crpt2.c,v 1.24 2021/12/12 21:27:37 tb Exp $ */ | 1 | /* $OpenBSD: p5_crpt2.c,v 1.25 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -69,7 +69,7 @@ | |||
69 | #include <openssl/hmac.h> | 69 | #include <openssl/hmac.h> |
70 | #include <openssl/x509.h> | 70 | #include <openssl/x509.h> |
71 | 71 | ||
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | #include "hmac_local.h" | 73 | #include "hmac_local.h" |
74 | 74 | ||
75 | /* This is an implementation of PKCS#5 v2.0 password based encryption key | 75 | /* This is an implementation of PKCS#5 v2.0 password based encryption key |
diff --git a/src/lib/libcrypto/evp/p_dec.c b/src/lib/libcrypto/evp/p_dec.c index c19cc651b3..33dd301911 100644 --- a/src/lib/libcrypto/evp/p_dec.c +++ b/src/lib/libcrypto/evp/p_dec.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_dec.c,v 1.12 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: p_dec.c,v 1.13 2022/11/26 16:08:52 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -69,7 +69,7 @@ | |||
69 | #include <openssl/rsa.h> | 69 | #include <openssl/rsa.h> |
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | 73 | ||
74 | int | 74 | int |
75 | EVP_PKEY_decrypt_old(unsigned char *key, const unsigned char *ek, int ekl, | 75 | EVP_PKEY_decrypt_old(unsigned char *key, const unsigned char *ek, int ekl, |
diff --git a/src/lib/libcrypto/evp/p_enc.c b/src/lib/libcrypto/evp/p_enc.c index 5553429c50..4685f55cad 100644 --- a/src/lib/libcrypto/evp/p_enc.c +++ b/src/lib/libcrypto/evp/p_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_enc.c,v 1.12 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: p_enc.c,v 1.13 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -69,7 +69,7 @@ | |||
69 | #include <openssl/rsa.h> | 69 | #include <openssl/rsa.h> |
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | 73 | ||
74 | int | 74 | int |
75 | EVP_PKEY_encrypt_old(unsigned char *ek, const unsigned char *key, int key_len, | 75 | EVP_PKEY_encrypt_old(unsigned char *ek, const unsigned char *key, int key_len, |
diff --git a/src/lib/libcrypto/evp/p_lib.c b/src/lib/libcrypto/evp/p_lib.c index ec3949b4c1..e1760122c6 100644 --- a/src/lib/libcrypto/evp/p_lib.c +++ b/src/lib/libcrypto/evp/p_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_lib.c,v 1.31 2022/11/18 14:45:10 tb Exp $ */ | 1 | /* $OpenBSD: p_lib.c,v 1.32 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -81,8 +81,8 @@ | |||
81 | #include <openssl/engine.h> | 81 | #include <openssl/engine.h> |
82 | #endif | 82 | #endif |
83 | 83 | ||
84 | #include "asn1_locl.h" | 84 | #include "asn1_local.h" |
85 | #include "evp_locl.h" | 85 | #include "evp_local.h" |
86 | 86 | ||
87 | static void EVP_PKEY_free_it(EVP_PKEY *x); | 87 | static void EVP_PKEY_free_it(EVP_PKEY *x); |
88 | 88 | ||
diff --git a/src/lib/libcrypto/evp/p_open.c b/src/lib/libcrypto/evp/p_open.c index e4c59e68db..bce900b9ab 100644 --- a/src/lib/libcrypto/evp/p_open.c +++ b/src/lib/libcrypto/evp/p_open.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_open.c,v 1.20 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: p_open.c,v 1.21 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -69,7 +69,7 @@ | |||
69 | #include <openssl/rsa.h> | 69 | #include <openssl/rsa.h> |
70 | #include <openssl/x509.h> | 70 | #include <openssl/x509.h> |
71 | 71 | ||
72 | #include "evp_locl.h" | 72 | #include "evp_local.h" |
73 | 73 | ||
74 | int | 74 | int |
75 | EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, | 75 | EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, |
diff --git a/src/lib/libcrypto/evp/p_sign.c b/src/lib/libcrypto/evp/p_sign.c index 1e33cfbe7f..1f78d1efef 100644 --- a/src/lib/libcrypto/evp/p_sign.c +++ b/src/lib/libcrypto/evp/p_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_sign.c,v 1.16 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: p_sign.c,v 1.17 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | int | 68 | int |
69 | EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, | 69 | EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, |
diff --git a/src/lib/libcrypto/evp/p_verify.c b/src/lib/libcrypto/evp/p_verify.c index d51d1b4a0a..545715325d 100644 --- a/src/lib/libcrypto/evp/p_verify.c +++ b/src/lib/libcrypto/evp/p_verify.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p_verify.c,v 1.15 2022/01/14 08:38:06 tb Exp $ */ | 1 | /* $OpenBSD: p_verify.c,v 1.16 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | int | 68 | int |
69 | EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | 69 | EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, |
diff --git a/src/lib/libcrypto/evp/pmeth_fn.c b/src/lib/libcrypto/evp/pmeth_fn.c index c9117eedd4..cab1dfab6f 100644 --- a/src/lib/libcrypto/evp/pmeth_fn.c +++ b/src/lib/libcrypto/evp/pmeth_fn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pmeth_fn.c,v 1.6 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: pmeth_fn.c,v 1.7 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
64 | #include <openssl/objects.h> | 64 | #include <openssl/objects.h> |
65 | 65 | ||
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | #define M_check_autoarg(ctx, arg, arglen, err) \ | 68 | #define M_check_autoarg(ctx, arg, arglen, err) \ |
69 | if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \ | 69 | if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \ |
diff --git a/src/lib/libcrypto/evp/pmeth_gn.c b/src/lib/libcrypto/evp/pmeth_gn.c index 7d921d23b4..d31bb7c0b4 100644 --- a/src/lib/libcrypto/evp/pmeth_gn.c +++ b/src/lib/libcrypto/evp/pmeth_gn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pmeth_gn.c,v 1.10 2022/01/10 12:10:26 tb Exp $ */ | 1 | /* $OpenBSD: pmeth_gn.c,v 1.11 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -64,9 +64,9 @@ | |||
64 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | #include "bn_lcl.h" | 68 | #include "bn_local.h" |
69 | #include "evp_locl.h" | 69 | #include "evp_local.h" |
70 | 70 | ||
71 | int | 71 | int |
72 | EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx) | 72 | EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx) |
diff --git a/src/lib/libcrypto/evp/pmeth_lib.c b/src/lib/libcrypto/evp/pmeth_lib.c index 19610dfbad..e4abdc4aec 100644 --- a/src/lib/libcrypto/evp/pmeth_lib.c +++ b/src/lib/libcrypto/evp/pmeth_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pmeth_lib.c,v 1.25 2022/11/10 16:37:52 jsing Exp $ */ | 1 | /* $OpenBSD: pmeth_lib.c,v 1.26 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -72,8 +72,8 @@ | |||
72 | #include <openssl/engine.h> | 72 | #include <openssl/engine.h> |
73 | #endif | 73 | #endif |
74 | 74 | ||
75 | #include "asn1_locl.h" | 75 | #include "asn1_local.h" |
76 | #include "evp_locl.h" | 76 | #include "evp_local.h" |
77 | 77 | ||
78 | DECLARE_STACK_OF(EVP_PKEY_METHOD) | 78 | DECLARE_STACK_OF(EVP_PKEY_METHOD) |
79 | STACK_OF(EVP_PKEY_METHOD) *pkey_app_methods = NULL; | 79 | STACK_OF(EVP_PKEY_METHOD) *pkey_app_methods = NULL; |
diff --git a/src/lib/libcrypto/gost/gost2814789.c b/src/lib/libcrypto/gost/gost2814789.c index 0841a03b1e..1e0f17da43 100644 --- a/src/lib/libcrypto/gost/gost2814789.c +++ b/src/lib/libcrypto/gost/gost2814789.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gost2814789.c,v 1.7 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: gost2814789.c,v 1.8 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -58,7 +58,7 @@ | |||
58 | #include <openssl/objects.h> | 58 | #include <openssl/objects.h> |
59 | #include <openssl/gost.h> | 59 | #include <openssl/gost.h> |
60 | 60 | ||
61 | #include "gost_locl.h" | 61 | #include "gost_local.h" |
62 | 62 | ||
63 | static inline unsigned int | 63 | static inline unsigned int |
64 | f(const GOST2814789_KEY *c, unsigned int x) | 64 | f(const GOST2814789_KEY *c, unsigned int x) |
diff --git a/src/lib/libcrypto/gost/gost89_keywrap.c b/src/lib/libcrypto/gost/gost89_keywrap.c index a754c4d56e..9bfc5b4ce8 100644 --- a/src/lib/libcrypto/gost/gost89_keywrap.c +++ b/src/lib/libcrypto/gost/gost89_keywrap.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gost89_keywrap.c,v 1.3 2014/11/09 19:28:44 miod Exp $ */ | 1 | /* $OpenBSD: gost89_keywrap.c,v 1.4 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -57,7 +57,7 @@ | |||
57 | 57 | ||
58 | #include <openssl/gost.h> | 58 | #include <openssl/gost.h> |
59 | 59 | ||
60 | #include "gost_locl.h" | 60 | #include "gost_local.h" |
61 | 61 | ||
62 | static void | 62 | static void |
63 | key_diversify_crypto_pro(GOST2814789_KEY *ctx, const unsigned char *inputKey, | 63 | key_diversify_crypto_pro(GOST2814789_KEY *ctx, const unsigned char *inputKey, |
diff --git a/src/lib/libcrypto/gost/gost89_params.c b/src/lib/libcrypto/gost/gost89_params.c index 35d8f62fe9..9c4a97ee6d 100644 --- a/src/lib/libcrypto/gost/gost89_params.c +++ b/src/lib/libcrypto/gost/gost89_params.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gost89_params.c,v 1.2 2014/11/09 23:06:52 miod Exp $ */ | 1 | /* $OpenBSD: gost89_params.c,v 1.3 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -57,7 +57,7 @@ | |||
57 | #include <openssl/objects.h> | 57 | #include <openssl/objects.h> |
58 | #include <openssl/gost.h> | 58 | #include <openssl/gost.h> |
59 | 59 | ||
60 | #include "gost_locl.h" | 60 | #include "gost_local.h" |
61 | 61 | ||
62 | /* Substitution blocks from test examples for GOST R 34.11-94*/ | 62 | /* Substitution blocks from test examples for GOST R 34.11-94*/ |
63 | static const gost_subst_block GostR3411_94_TestParamSet = { | 63 | static const gost_subst_block GostR3411_94_TestParamSet = { |
diff --git a/src/lib/libcrypto/gost/gost89imit_ameth.c b/src/lib/libcrypto/gost/gost89imit_ameth.c index 3fdfa3eef2..e300b52801 100644 --- a/src/lib/libcrypto/gost/gost89imit_ameth.c +++ b/src/lib/libcrypto/gost/gost89imit_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gost89imit_ameth.c,v 1.3 2021/12/12 21:30:14 tb Exp $ */ | 1 | /* $OpenBSD: gost89imit_ameth.c,v 1.4 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -54,8 +54,8 @@ | |||
54 | #ifndef OPENSSL_NO_GOST | 54 | #ifndef OPENSSL_NO_GOST |
55 | #include <openssl/evp.h> | 55 | #include <openssl/evp.h> |
56 | 56 | ||
57 | #include "asn1_locl.h" | 57 | #include "asn1_local.h" |
58 | #include "evp_locl.h" | 58 | #include "evp_local.h" |
59 | 59 | ||
60 | static void | 60 | static void |
61 | mackey_free_gost(EVP_PKEY *pk) | 61 | mackey_free_gost(EVP_PKEY *pk) |
diff --git a/src/lib/libcrypto/gost/gost89imit_pmeth.c b/src/lib/libcrypto/gost/gost89imit_pmeth.c index 1959b36163..63b7ef59ee 100644 --- a/src/lib/libcrypto/gost/gost89imit_pmeth.c +++ b/src/lib/libcrypto/gost/gost89imit_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gost89imit_pmeth.c,v 1.4 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: gost89imit_pmeth.c,v 1.5 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -59,8 +59,8 @@ | |||
59 | #include <openssl/gost.h> | 59 | #include <openssl/gost.h> |
60 | #include <openssl/x509v3.h> /* For string_to_hex */ | 60 | #include <openssl/x509v3.h> /* For string_to_hex */ |
61 | 61 | ||
62 | #include "evp_locl.h" | 62 | #include "evp_local.h" |
63 | #include "gost_locl.h" | 63 | #include "gost_local.h" |
64 | 64 | ||
65 | struct gost_mac_pmeth_data { | 65 | struct gost_mac_pmeth_data { |
66 | EVP_MD *md; | 66 | EVP_MD *md; |
diff --git a/src/lib/libcrypto/gost/gost_asn1.c b/src/lib/libcrypto/gost/gost_asn1.c index 2652162777..d83ded55b1 100644 --- a/src/lib/libcrypto/gost/gost_asn1.c +++ b/src/lib/libcrypto/gost/gost_asn1.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <openssl/x509.h> | 14 | #include <openssl/x509.h> |
15 | #include <openssl/gost.h> | 15 | #include <openssl/gost.h> |
16 | 16 | ||
17 | #include "gost_locl.h" | 17 | #include "gost_local.h" |
18 | #include "gost_asn1.h" | 18 | #include "gost_asn1.h" |
19 | 19 | ||
20 | static const ASN1_TEMPLATE GOST_KEY_TRANSPORT_seq_tt[] = { | 20 | static const ASN1_TEMPLATE GOST_KEY_TRANSPORT_seq_tt[] = { |
diff --git a/src/lib/libcrypto/gost/gost_locl.h b/src/lib/libcrypto/gost/gost_local.h index b2e2c1362a..1b31f7446e 100644 --- a/src/lib/libcrypto/gost/gost_locl.h +++ b/src/lib/libcrypto/gost/gost_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gost_locl.h,v 1.4 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: gost_local.h,v 1.1 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
diff --git a/src/lib/libcrypto/gost/gostr341001.c b/src/lib/libcrypto/gost/gostr341001.c index a6082568ff..13f053dae8 100644 --- a/src/lib/libcrypto/gost/gostr341001.c +++ b/src/lib/libcrypto/gost/gostr341001.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gostr341001.c,v 1.9 2022/01/07 09:40:03 tb Exp $ */ | 1 | /* $OpenBSD: gostr341001.c,v 1.10 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -58,9 +58,9 @@ | |||
58 | #include <openssl/err.h> | 58 | #include <openssl/err.h> |
59 | #include <openssl/gost.h> | 59 | #include <openssl/gost.h> |
60 | 60 | ||
61 | #include "bn_lcl.h" | 61 | #include "bn_local.h" |
62 | #include "ecs_locl.h" | 62 | #include "ecs_local.h" |
63 | #include "gost_locl.h" | 63 | #include "gost_local.h" |
64 | 64 | ||
65 | /* Convert little-endian byte array into bignum */ | 65 | /* Convert little-endian byte array into bignum */ |
66 | BIGNUM * | 66 | BIGNUM * |
diff --git a/src/lib/libcrypto/gost/gostr341001_ameth.c b/src/lib/libcrypto/gost/gostr341001_ameth.c index ce203a6c21..9ef7cdf461 100644 --- a/src/lib/libcrypto/gost/gostr341001_ameth.c +++ b/src/lib/libcrypto/gost/gostr341001_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gostr341001_ameth.c,v 1.19 2021/12/26 15:38:49 tb Exp $ */ | 1 | /* $OpenBSD: gostr341001_ameth.c,v 1.20 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -62,9 +62,9 @@ | |||
62 | #include <openssl/gost.h> | 62 | #include <openssl/gost.h> |
63 | 63 | ||
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | #include "gost_locl.h" | 67 | #include "gost_local.h" |
68 | #include "gost_asn1.h" | 68 | #include "gost_asn1.h" |
69 | 69 | ||
70 | static void | 70 | static void |
diff --git a/src/lib/libcrypto/gost/gostr341001_key.c b/src/lib/libcrypto/gost/gostr341001_key.c index d5d885c257..af3a3fcd38 100644 --- a/src/lib/libcrypto/gost/gostr341001_key.c +++ b/src/lib/libcrypto/gost/gostr341001_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gostr341001_key.c,v 1.9 2021/04/20 17:16:38 tb Exp $ */ | 1 | /* $OpenBSD: gostr341001_key.c,v 1.10 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -58,7 +58,7 @@ | |||
58 | #include <openssl/err.h> | 58 | #include <openssl/err.h> |
59 | #include <openssl/gost.h> | 59 | #include <openssl/gost.h> |
60 | #include <openssl/objects.h> | 60 | #include <openssl/objects.h> |
61 | #include "gost_locl.h" | 61 | #include "gost_local.h" |
62 | 62 | ||
63 | struct gost_key_st { | 63 | struct gost_key_st { |
64 | EC_GROUP *group; | 64 | EC_GROUP *group; |
diff --git a/src/lib/libcrypto/gost/gostr341001_params.c b/src/lib/libcrypto/gost/gostr341001_params.c index 282a210419..ca8a27d712 100644 --- a/src/lib/libcrypto/gost/gostr341001_params.c +++ b/src/lib/libcrypto/gost/gostr341001_params.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gostr341001_params.c,v 1.4 2020/06/05 17:12:09 jsing Exp $ */ | 1 | /* $OpenBSD: gostr341001_params.c,v 1.5 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -57,7 +57,7 @@ | |||
57 | #include <openssl/objects.h> | 57 | #include <openssl/objects.h> |
58 | #include <openssl/gost.h> | 58 | #include <openssl/gost.h> |
59 | 59 | ||
60 | #include "gost_locl.h" | 60 | #include "gost_local.h" |
61 | 61 | ||
62 | int | 62 | int |
63 | GostR3410_get_md_digest(int nid) | 63 | GostR3410_get_md_digest(int nid) |
diff --git a/src/lib/libcrypto/gost/gostr341001_pmeth.c b/src/lib/libcrypto/gost/gostr341001_pmeth.c index ae39b05901..38f94ecd81 100644 --- a/src/lib/libcrypto/gost/gostr341001_pmeth.c +++ b/src/lib/libcrypto/gost/gostr341001_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gostr341001_pmeth.c,v 1.16 2022/03/30 07:17:48 tb Exp $ */ | 1 | /* $OpenBSD: gostr341001_pmeth.c,v 1.17 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -62,9 +62,9 @@ | |||
62 | #include <openssl/ecdsa.h> | 62 | #include <openssl/ecdsa.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "ecs_locl.h" | 65 | #include "ecs_local.h" |
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | #include "gost_locl.h" | 67 | #include "gost_local.h" |
68 | #include "gost_asn1.h" | 68 | #include "gost_asn1.h" |
69 | 69 | ||
70 | static ECDSA_SIG * | 70 | static ECDSA_SIG * |
diff --git a/src/lib/libcrypto/gost/gostr341194.c b/src/lib/libcrypto/gost/gostr341194.c index 2a462185aa..63058300a3 100644 --- a/src/lib/libcrypto/gost/gostr341194.c +++ b/src/lib/libcrypto/gost/gostr341194.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gostr341194.c,v 1.5 2015/09/10 15:56:25 jsing Exp $ */ | 1 | /* $OpenBSD: gostr341194.c,v 1.6 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -58,7 +58,7 @@ | |||
58 | #include <openssl/objects.h> | 58 | #include <openssl/objects.h> |
59 | #include <openssl/gost.h> | 59 | #include <openssl/gost.h> |
60 | 60 | ||
61 | #include "gost_locl.h" | 61 | #include "gost_local.h" |
62 | 62 | ||
63 | /* Following functions are various bit meshing routines used in | 63 | /* Following functions are various bit meshing routines used in |
64 | * GOST R 34.11-94 algorithms */ | 64 | * GOST R 34.11-94 algorithms */ |
diff --git a/src/lib/libcrypto/gost/streebog.c b/src/lib/libcrypto/gost/streebog.c index b237a2c500..2785fca619 100644 --- a/src/lib/libcrypto/gost/streebog.c +++ b/src/lib/libcrypto/gost/streebog.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: streebog.c,v 1.7 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: streebog.c,v 1.8 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 3 | * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
4 | * Copyright (c) 2005-2006 Cryptocom LTD | 4 | * Copyright (c) 2005-2006 Cryptocom LTD |
@@ -60,7 +60,7 @@ | |||
60 | #include <openssl/objects.h> | 60 | #include <openssl/objects.h> |
61 | #include <openssl/gost.h> | 61 | #include <openssl/gost.h> |
62 | 62 | ||
63 | #include "gost_locl.h" | 63 | #include "gost_local.h" |
64 | 64 | ||
65 | static const STREEBOG_LONG64 A_PI_table[8][256] = { | 65 | static const STREEBOG_LONG64 A_PI_table[8][256] = { |
66 | { /* 0 */ | 66 | { /* 0 */ |
diff --git a/src/lib/libcrypto/hkdf/hkdf.c b/src/lib/libcrypto/hkdf/hkdf.c index 9adf12608c..47ad4ec131 100644 --- a/src/lib/libcrypto/hkdf/hkdf.c +++ b/src/lib/libcrypto/hkdf/hkdf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hkdf.c,v 1.7 2021/12/12 21:30:14 tb Exp $ */ | 1 | /* $OpenBSD: hkdf.c,v 1.8 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (c) 2014, Google Inc. | 2 | /* Copyright (c) 2014, Google Inc. |
3 | * | 3 | * |
4 | * Permission to use, copy, modify, and/or distribute this software for any | 4 | * Permission to use, copy, modify, and/or distribute this software for any |
@@ -21,7 +21,7 @@ | |||
21 | #include <openssl/err.h> | 21 | #include <openssl/err.h> |
22 | #include <openssl/hmac.h> | 22 | #include <openssl/hmac.h> |
23 | 23 | ||
24 | #include "evp_locl.h" | 24 | #include "evp_local.h" |
25 | #include "hmac_local.h" | 25 | #include "hmac_local.h" |
26 | 26 | ||
27 | /* https://tools.ietf.org/html/rfc5869#section-2 */ | 27 | /* https://tools.ietf.org/html/rfc5869#section-2 */ |
diff --git a/src/lib/libcrypto/hmac/hm_ameth.c b/src/lib/libcrypto/hmac/hm_ameth.c index 5b52af658c..7e6ad6d69e 100644 --- a/src/lib/libcrypto/hmac/hm_ameth.c +++ b/src/lib/libcrypto/hmac/hm_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hm_ameth.c,v 1.18 2022/11/19 04:36:52 tb Exp $ */ | 1 | /* $OpenBSD: hm_ameth.c,v 1.19 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2007. | 3 | * project 2007. |
4 | */ | 4 | */ |
@@ -63,9 +63,9 @@ | |||
63 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
64 | #include <openssl/hmac.h> | 64 | #include <openssl/hmac.h> |
65 | 65 | ||
66 | #include "asn1_locl.h" | 66 | #include "asn1_local.h" |
67 | #include "bytestring.h" | 67 | #include "bytestring.h" |
68 | #include "evp_locl.h" | 68 | #include "evp_local.h" |
69 | #include "hmac_local.h" | 69 | #include "hmac_local.h" |
70 | 70 | ||
71 | static int | 71 | static int |
diff --git a/src/lib/libcrypto/hmac/hm_pmeth.c b/src/lib/libcrypto/hmac/hm_pmeth.c index 3ba5b47027..bb043d1a23 100644 --- a/src/lib/libcrypto/hmac/hm_pmeth.c +++ b/src/lib/libcrypto/hmac/hm_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hm_pmeth.c,v 1.14 2022/11/18 14:45:10 tb Exp $ */ | 1 | /* $OpenBSD: hm_pmeth.c,v 1.15 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2007. | 3 | * project 2007. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | #include <openssl/x509v3.h> | 65 | #include <openssl/x509v3.h> |
66 | 66 | ||
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | #include "hmac_local.h" | 68 | #include "hmac_local.h" |
69 | 69 | ||
70 | /* HMAC pkey context structure */ | 70 | /* HMAC pkey context structure */ |
diff --git a/src/lib/libcrypto/hmac/hmac.c b/src/lib/libcrypto/hmac/hmac.c index b195ca680b..047b67b9ea 100644 --- a/src/lib/libcrypto/hmac/hmac.c +++ b/src/lib/libcrypto/hmac/hmac.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hmac.c,v 1.29 2022/11/11 11:25:18 beck Exp $ */ | 1 | /* $OpenBSD: hmac.c,v 1.30 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
64 | #include <openssl/hmac.h> | 64 | #include <openssl/hmac.h> |
65 | 65 | ||
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | #include "hmac_local.h" | 67 | #include "hmac_local.h" |
68 | 68 | ||
69 | int | 69 | int |
diff --git a/src/lib/libcrypto/hmac/hmac_local.h b/src/lib/libcrypto/hmac/hmac_local.h index 5900bc1c2d..e06cd6a6c7 100644 --- a/src/lib/libcrypto/hmac/hmac_local.h +++ b/src/lib/libcrypto/hmac/hmac_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hmac_local.h,v 1.3 2022/01/14 08:06:03 tb Exp $ */ | 1 | /* $OpenBSD: hmac_local.h,v 1.4 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | 62 | ||
63 | #include <openssl/evp.h> | 63 | #include <openssl/evp.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | 66 | ||
67 | __BEGIN_HIDDEN_DECLS | 67 | __BEGIN_HIDDEN_DECLS |
68 | 68 | ||
diff --git a/src/lib/libcrypto/idea/i_cbc.c b/src/lib/libcrypto/idea/i_cbc.c index 5bb9640c34..e382a0a69e 100644 --- a/src/lib/libcrypto/idea/i_cbc.c +++ b/src/lib/libcrypto/idea/i_cbc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: i_cbc.c,v 1.3 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: i_cbc.c,v 1.4 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/idea.h> | 59 | #include <openssl/idea.h> |
60 | #include "idea_lcl.h" | 60 | #include "idea_local.h" |
61 | 61 | ||
62 | void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | 62 | void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, |
63 | IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int encrypt) | 63 | IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int encrypt) |
diff --git a/src/lib/libcrypto/idea/i_cfb64.c b/src/lib/libcrypto/idea/i_cfb64.c index b979aaef86..d6b641197a 100644 --- a/src/lib/libcrypto/idea/i_cfb64.c +++ b/src/lib/libcrypto/idea/i_cfb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: i_cfb64.c,v 1.3 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: i_cfb64.c,v 1.4 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/idea.h> | 59 | #include <openssl/idea.h> |
60 | #include "idea_lcl.h" | 60 | #include "idea_local.h" |
61 | 61 | ||
62 | /* The input and output encrypted as though 64bit cfb mode is being | 62 | /* The input and output encrypted as though 64bit cfb mode is being |
63 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/idea/i_ecb.c b/src/lib/libcrypto/idea/i_ecb.c index dac456cdc5..6fada765cd 100644 --- a/src/lib/libcrypto/idea/i_ecb.c +++ b/src/lib/libcrypto/idea/i_ecb.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: i_ecb.c,v 1.3 2014/07/09 11:10:51 bcook Exp $ */ | 1 | /* $OpenBSD: i_ecb.c,v 1.4 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/idea.h> | 59 | #include <openssl/idea.h> |
60 | #include "idea_lcl.h" | 60 | #include "idea_local.h" |
61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
62 | 62 | ||
63 | const char *idea_options(void) | 63 | const char *idea_options(void) |
diff --git a/src/lib/libcrypto/idea/i_ofb64.c b/src/lib/libcrypto/idea/i_ofb64.c index 376dad9f6d..b63144b6c4 100644 --- a/src/lib/libcrypto/idea/i_ofb64.c +++ b/src/lib/libcrypto/idea/i_ofb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: i_ofb64.c,v 1.3 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: i_ofb64.c,v 1.4 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/idea.h> | 59 | #include <openssl/idea.h> |
60 | #include "idea_lcl.h" | 60 | #include "idea_local.h" |
61 | 61 | ||
62 | /* The input and output encrypted as though 64bit ofb mode is being | 62 | /* The input and output encrypted as though 64bit ofb mode is being |
63 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/idea/i_skey.c b/src/lib/libcrypto/idea/i_skey.c index 2824d2618e..4338165127 100644 --- a/src/lib/libcrypto/idea/i_skey.c +++ b/src/lib/libcrypto/idea/i_skey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: i_skey.c,v 1.4 2014/10/28 07:35:58 jsg Exp $ */ | 1 | /* $OpenBSD: i_skey.c,v 1.5 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <openssl/crypto.h> | 59 | #include <openssl/crypto.h> |
60 | #include <openssl/idea.h> | 60 | #include <openssl/idea.h> |
61 | #include "idea_lcl.h" | 61 | #include "idea_local.h" |
62 | 62 | ||
63 | static IDEA_INT inverse(unsigned int xin); | 63 | static IDEA_INT inverse(unsigned int xin); |
64 | void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks) | 64 | void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks) |
diff --git a/src/lib/libcrypto/idea/idea_lcl.h b/src/lib/libcrypto/idea/idea_local.h index e46c960875..2663516c20 100644 --- a/src/lib/libcrypto/idea/idea_lcl.h +++ b/src/lib/libcrypto/idea/idea_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: idea_lcl.h,v 1.3 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: idea_local.h,v 1.1 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/kdf/hkdf_evp.c b/src/lib/libcrypto/kdf/hkdf_evp.c index 736208ded5..992c66a14f 100644 --- a/src/lib/libcrypto/kdf/hkdf_evp.c +++ b/src/lib/libcrypto/kdf/hkdf_evp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hkdf_evp.c,v 1.18 2022/05/05 19:48:06 tb Exp $ */ | 1 | /* $OpenBSD: hkdf_evp.c,v 1.19 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2016-2018 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2016-2018 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | #include <openssl/hkdf.h> | 56 | #include <openssl/hkdf.h> |
57 | #include <openssl/kdf.h> | 57 | #include <openssl/kdf.h> |
58 | 58 | ||
59 | #include "evp_locl.h" | 59 | #include "evp_local.h" |
60 | 60 | ||
61 | #define HKDF_MAXBUF 1024 | 61 | #define HKDF_MAXBUF 1024 |
62 | 62 | ||
diff --git a/src/lib/libcrypto/md4/md4_dgst.c b/src/lib/libcrypto/md4/md4_dgst.c index 4d3801fc26..aa7b7f7931 100644 --- a/src/lib/libcrypto/md4/md4_dgst.c +++ b/src/lib/libcrypto/md4/md4_dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: md4_dgst.c,v 1.16 2015/09/14 01:45:03 doug Exp $ */ | 1 | /* $OpenBSD: md4_dgst.c,v 1.17 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -59,7 +59,7 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <openssl/opensslv.h> | 60 | #include <openssl/opensslv.h> |
61 | #include <openssl/crypto.h> | 61 | #include <openssl/crypto.h> |
62 | #include "md4_locl.h" | 62 | #include "md4_local.h" |
63 | 63 | ||
64 | /* Implemented from RFC1186 The MD4 Message-Digest Algorithm | 64 | /* Implemented from RFC1186 The MD4 Message-Digest Algorithm |
65 | */ | 65 | */ |
diff --git a/src/lib/libcrypto/md4/md4_locl.h b/src/lib/libcrypto/md4/md4_local.h index 6cf69ded82..a5aa123ca0 100644 --- a/src/lib/libcrypto/md4/md4_locl.h +++ b/src/lib/libcrypto/md4/md4_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: md4_locl.h,v 1.10 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: md4_local.h,v 1.1 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/md5/md5_dgst.c b/src/lib/libcrypto/md5/md5_dgst.c index f55113727a..5acdcd200c 100644 --- a/src/lib/libcrypto/md5/md5_dgst.c +++ b/src/lib/libcrypto/md5/md5_dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: md5_dgst.c,v 1.14 2014/10/28 07:35:59 jsg Exp $ */ | 1 | /* $OpenBSD: md5_dgst.c,v 1.15 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "md5_locl.h" | 60 | #include "md5_local.h" |
61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
62 | #include <openssl/crypto.h> | 62 | #include <openssl/crypto.h> |
63 | 63 | ||
diff --git a/src/lib/libcrypto/md5/md5_locl.h b/src/lib/libcrypto/md5/md5_local.h index 325c531420..6026733a74 100644 --- a/src/lib/libcrypto/md5/md5_locl.h +++ b/src/lib/libcrypto/md5/md5_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: md5_locl.h,v 1.14 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: md5_local.h,v 1.1 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/modes/cbc128.c b/src/lib/libcrypto/modes/cbc128.c index c5cf5a632d..f2eebc6e7a 100644 --- a/src/lib/libcrypto/modes/cbc128.c +++ b/src/lib/libcrypto/modes/cbc128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cbc128.c,v 1.5 2022/01/22 00:45:17 inoguchi Exp $ */ | 1 | /* $OpenBSD: cbc128.c,v 1.6 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -50,7 +50,7 @@ | |||
50 | */ | 50 | */ |
51 | 51 | ||
52 | #include <openssl/crypto.h> | 52 | #include <openssl/crypto.h> |
53 | #include "modes_lcl.h" | 53 | #include "modes_local.h" |
54 | #include <string.h> | 54 | #include <string.h> |
55 | 55 | ||
56 | #ifndef MODES_DEBUG | 56 | #ifndef MODES_DEBUG |
diff --git a/src/lib/libcrypto/modes/ccm128.c b/src/lib/libcrypto/modes/ccm128.c index 12c6e61659..978259e1ba 100644 --- a/src/lib/libcrypto/modes/ccm128.c +++ b/src/lib/libcrypto/modes/ccm128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ccm128.c,v 1.5 2019/05/08 14:18:25 tb Exp $ */ | 1 | /* $OpenBSD: ccm128.c,v 1.6 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -49,7 +49,7 @@ | |||
49 | */ | 49 | */ |
50 | 50 | ||
51 | #include <openssl/crypto.h> | 51 | #include <openssl/crypto.h> |
52 | #include "modes_lcl.h" | 52 | #include "modes_local.h" |
53 | #include <string.h> | 53 | #include <string.h> |
54 | 54 | ||
55 | #ifndef MODES_DEBUG | 55 | #ifndef MODES_DEBUG |
diff --git a/src/lib/libcrypto/modes/cfb128.c b/src/lib/libcrypto/modes/cfb128.c index 8399f0c5be..8555ce0552 100644 --- a/src/lib/libcrypto/modes/cfb128.c +++ b/src/lib/libcrypto/modes/cfb128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cfb128.c,v 1.4 2015/02/10 09:46:30 miod Exp $ */ | 1 | /* $OpenBSD: cfb128.c,v 1.5 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -50,7 +50,7 @@ | |||
50 | */ | 50 | */ |
51 | 51 | ||
52 | #include <openssl/crypto.h> | 52 | #include <openssl/crypto.h> |
53 | #include "modes_lcl.h" | 53 | #include "modes_local.h" |
54 | #include <string.h> | 54 | #include <string.h> |
55 | 55 | ||
56 | #ifndef MODES_DEBUG | 56 | #ifndef MODES_DEBUG |
diff --git a/src/lib/libcrypto/modes/ctr128.c b/src/lib/libcrypto/modes/ctr128.c index 23979d64f1..9dd8c0c55e 100644 --- a/src/lib/libcrypto/modes/ctr128.c +++ b/src/lib/libcrypto/modes/ctr128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ctr128.c,v 1.7 2017/08/13 17:46:24 bcook Exp $ */ | 1 | /* $OpenBSD: ctr128.c,v 1.8 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -50,7 +50,7 @@ | |||
50 | */ | 50 | */ |
51 | 51 | ||
52 | #include <openssl/crypto.h> | 52 | #include <openssl/crypto.h> |
53 | #include "modes_lcl.h" | 53 | #include "modes_local.h" |
54 | #include <string.h> | 54 | #include <string.h> |
55 | 55 | ||
56 | #ifndef MODES_DEBUG | 56 | #ifndef MODES_DEBUG |
diff --git a/src/lib/libcrypto/modes/cts128.c b/src/lib/libcrypto/modes/cts128.c index 802aa77cd5..ec81dd2433 100644 --- a/src/lib/libcrypto/modes/cts128.c +++ b/src/lib/libcrypto/modes/cts128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cts128.c,v 1.5 2015/07/19 18:27:26 miod Exp $ */ | 1 | /* $OpenBSD: cts128.c,v 1.6 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <openssl/crypto.h> | 9 | #include <openssl/crypto.h> |
10 | #include "modes_lcl.h" | 10 | #include "modes_local.h" |
11 | #include <string.h> | 11 | #include <string.h> |
12 | 12 | ||
13 | #ifndef MODES_DEBUG | 13 | #ifndef MODES_DEBUG |
diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index 74362e6adc..36aac413c3 100644 --- a/src/lib/libcrypto/modes/gcm128.c +++ b/src/lib/libcrypto/modes/gcm128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gcm128.c,v 1.22 2018/01/24 23:03:37 kettenis Exp $ */ | 1 | /* $OpenBSD: gcm128.c,v 1.23 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -51,7 +51,7 @@ | |||
51 | #define OPENSSL_FIPSAPI | 51 | #define OPENSSL_FIPSAPI |
52 | 52 | ||
53 | #include <openssl/crypto.h> | 53 | #include <openssl/crypto.h> |
54 | #include "modes_lcl.h" | 54 | #include "modes_local.h" |
55 | #include <string.h> | 55 | #include <string.h> |
56 | 56 | ||
57 | #ifndef MODES_DEBUG | 57 | #ifndef MODES_DEBUG |
diff --git a/src/lib/libcrypto/modes/modes_lcl.h b/src/lib/libcrypto/modes/modes_local.h index 91820897f7..943f139245 100644 --- a/src/lib/libcrypto/modes/modes_lcl.h +++ b/src/lib/libcrypto/modes/modes_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: modes_lcl.h,v 1.11 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: modes_local.h,v 1.1 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/modes/ofb128.c b/src/lib/libcrypto/modes/ofb128.c index 1b8a6fd500..3cf5d98150 100644 --- a/src/lib/libcrypto/modes/ofb128.c +++ b/src/lib/libcrypto/modes/ofb128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ofb128.c,v 1.4 2015/02/10 09:46:30 miod Exp $ */ | 1 | /* $OpenBSD: ofb128.c,v 1.5 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -50,7 +50,7 @@ | |||
50 | */ | 50 | */ |
51 | 51 | ||
52 | #include <openssl/crypto.h> | 52 | #include <openssl/crypto.h> |
53 | #include "modes_lcl.h" | 53 | #include "modes_local.h" |
54 | #include <string.h> | 54 | #include <string.h> |
55 | 55 | ||
56 | #ifndef MODES_DEBUG | 56 | #ifndef MODES_DEBUG |
diff --git a/src/lib/libcrypto/modes/xts128.c b/src/lib/libcrypto/modes/xts128.c index 2084892ee6..dfd3bc434e 100644 --- a/src/lib/libcrypto/modes/xts128.c +++ b/src/lib/libcrypto/modes/xts128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: xts128.c,v 1.8 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: xts128.c,v 1.9 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -49,7 +49,7 @@ | |||
49 | */ | 49 | */ |
50 | 50 | ||
51 | #include <openssl/crypto.h> | 51 | #include <openssl/crypto.h> |
52 | #include "modes_lcl.h" | 52 | #include "modes_local.h" |
53 | 53 | ||
54 | #include <endian.h> | 54 | #include <endian.h> |
55 | #include <string.h> | 55 | #include <string.h> |
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index bcb7ee2dbb..b42d0e5e9c 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: obj_dat.c,v 1.49 2022/03/19 17:49:32 jsing Exp $ */ | 1 | /* $OpenBSD: obj_dat.c,v 1.50 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -69,7 +69,7 @@ | |||
69 | #include <openssl/lhash.h> | 69 | #include <openssl/lhash.h> |
70 | #include <openssl/objects.h> | 70 | #include <openssl/objects.h> |
71 | 71 | ||
72 | #include "asn1_locl.h" | 72 | #include "asn1_local.h" |
73 | 73 | ||
74 | /* obj_dat.h is generated from objects.h by obj_dat.pl */ | 74 | /* obj_dat.h is generated from objects.h by obj_dat.pl */ |
75 | #include "obj_dat.h" | 75 | #include "obj_dat.h" |
diff --git a/src/lib/libcrypto/objects/obj_lib.c b/src/lib/libcrypto/objects/obj_lib.c index 39cd41249f..eb06adfb92 100644 --- a/src/lib/libcrypto/objects/obj_lib.c +++ b/src/lib/libcrypto/objects/obj_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: obj_lib.c,v 1.16 2022/01/07 11:13:54 tb Exp $ */ | 1 | /* $OpenBSD: obj_lib.c,v 1.17 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/lhash.h> | 64 | #include <openssl/lhash.h> |
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | 66 | ||
67 | #include "asn1_locl.h" | 67 | #include "asn1_local.h" |
68 | 68 | ||
69 | ASN1_OBJECT * | 69 | ASN1_OBJECT * |
70 | OBJ_dup(const ASN1_OBJECT *o) | 70 | OBJ_dup(const ASN1_OBJECT *o) |
diff --git a/src/lib/libcrypto/ocsp/ocsp_ext.c b/src/lib/libcrypto/ocsp/ocsp_ext.c index 1400ad70d5..829495bcf3 100644 --- a/src/lib/libcrypto/ocsp/ocsp_ext.c +++ b/src/lib/libcrypto/ocsp/ocsp_ext.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ocsp_ext.c,v 1.20 2022/01/07 09:45:52 tb Exp $ */ | 1 | /* $OpenBSD: ocsp_ext.c,v 1.21 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL | 2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL |
3 | * project. */ | 3 | * project. */ |
4 | 4 | ||
@@ -71,7 +71,7 @@ | |||
71 | #include <openssl/x509v3.h> | 71 | #include <openssl/x509v3.h> |
72 | 72 | ||
73 | #include "ocsp_local.h" | 73 | #include "ocsp_local.h" |
74 | #include "x509_lcl.h" | 74 | #include "x509_local.h" |
75 | 75 | ||
76 | /* Standard wrapper functions for extensions */ | 76 | /* Standard wrapper functions for extensions */ |
77 | 77 | ||
diff --git a/src/lib/libcrypto/ocsp/ocsp_vfy.c b/src/lib/libcrypto/ocsp/ocsp_vfy.c index 0da402fd47..3c12318857 100644 --- a/src/lib/libcrypto/ocsp/ocsp_vfy.c +++ b/src/lib/libcrypto/ocsp/ocsp_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ocsp_vfy.c,v 1.21 2022/01/22 00:33:02 inoguchi Exp $ */ | 1 | /* $OpenBSD: ocsp_vfy.c,v 1.22 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -61,7 +61,7 @@ | |||
61 | #include <string.h> | 61 | #include <string.h> |
62 | 62 | ||
63 | #include "ocsp_local.h" | 63 | #include "ocsp_local.h" |
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, | 66 | static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, |
67 | STACK_OF(X509) *certs, X509_STORE *st, unsigned long flags); | 67 | STACK_OF(X509) *certs, X509_STORE *st, unsigned long flags); |
diff --git a/src/lib/libcrypto/pem/pem_info.c b/src/lib/libcrypto/pem/pem_info.c index aecdbb2e05..3cca828cfd 100644 --- a/src/lib/libcrypto/pem/pem_info.c +++ b/src/lib/libcrypto/pem/pem_info.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pem_info.c,v 1.25 2021/12/12 21:30:14 tb Exp $ */ | 1 | /* $OpenBSD: pem_info.c,v 1.26 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -75,7 +75,7 @@ | |||
75 | #include <openssl/rsa.h> | 75 | #include <openssl/rsa.h> |
76 | #endif | 76 | #endif |
77 | 77 | ||
78 | #include "evp_locl.h" | 78 | #include "evp_local.h" |
79 | 79 | ||
80 | STACK_OF(X509_INFO) * | 80 | STACK_OF(X509_INFO) * |
81 | PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb, | 81 | PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb, |
diff --git a/src/lib/libcrypto/pem/pem_lib.c b/src/lib/libcrypto/pem/pem_lib.c index 7076023eba..72cdd41b0d 100644 --- a/src/lib/libcrypto/pem/pem_lib.c +++ b/src/lib/libcrypto/pem/pem_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pem_lib.c,v 1.51 2022/07/31 09:48:27 tb Exp $ */ | 1 | /* $OpenBSD: pem_lib.c,v 1.52 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -78,8 +78,8 @@ | |||
78 | #include <openssl/engine.h> | 78 | #include <openssl/engine.h> |
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | #include "asn1_locl.h" | 81 | #include "asn1_local.h" |
82 | #include "evp_locl.h" | 82 | #include "evp_local.h" |
83 | 83 | ||
84 | #define MIN_LENGTH 4 | 84 | #define MIN_LENGTH 4 |
85 | 85 | ||
diff --git a/src/lib/libcrypto/pem/pem_pkey.c b/src/lib/libcrypto/pem/pem_pkey.c index 2e5800394e..fa2d38f566 100644 --- a/src/lib/libcrypto/pem/pem_pkey.c +++ b/src/lib/libcrypto/pem/pem_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pem_pkey.c,v 1.25 2021/12/24 12:59:18 tb Exp $ */ | 1 | /* $OpenBSD: pem_pkey.c,v 1.26 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -73,8 +73,8 @@ | |||
73 | #include <openssl/engine.h> | 73 | #include <openssl/engine.h> |
74 | #endif | 74 | #endif |
75 | 75 | ||
76 | #include "asn1_locl.h" | 76 | #include "asn1_local.h" |
77 | #include "evp_locl.h" | 77 | #include "evp_local.h" |
78 | 78 | ||
79 | int pem_check_suffix(const char *pem_str, const char *suffix); | 79 | int pem_check_suffix(const char *pem_str, const char *suffix); |
80 | 80 | ||
diff --git a/src/lib/libcrypto/pem/pvkfmt.c b/src/lib/libcrypto/pem/pvkfmt.c index dffe1a362c..1417a7b3c0 100644 --- a/src/lib/libcrypto/pem/pvkfmt.c +++ b/src/lib/libcrypto/pem/pvkfmt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pvkfmt.c,v 1.25 2022/01/07 09:55:31 tb Exp $ */ | 1 | /* $OpenBSD: pvkfmt.c,v 1.26 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2005. | 3 | * project 2005. |
4 | */ | 4 | */ |
@@ -73,10 +73,10 @@ | |||
73 | #include <openssl/dsa.h> | 73 | #include <openssl/dsa.h> |
74 | #include <openssl/rsa.h> | 74 | #include <openssl/rsa.h> |
75 | 75 | ||
76 | #include "bn_lcl.h" | 76 | #include "bn_local.h" |
77 | #include "dsa_locl.h" | 77 | #include "dsa_local.h" |
78 | #include "evp_locl.h" | 78 | #include "evp_local.h" |
79 | #include "rsa_locl.h" | 79 | #include "rsa_local.h" |
80 | 80 | ||
81 | /* Utility function: read a DWORD (4 byte unsigned integer) in little endian | 81 | /* Utility function: read a DWORD (4 byte unsigned integer) in little endian |
82 | * format | 82 | * format |
diff --git a/src/lib/libcrypto/pkcs12/p12_attr.c b/src/lib/libcrypto/pkcs12/p12_attr.c index f872127264..e1635ea038 100644 --- a/src/lib/libcrypto/pkcs12/p12_attr.c +++ b/src/lib/libcrypto/pkcs12/p12_attr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_attr.c,v 1.18 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_attr.c,v 1.19 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/pkcs12.h> | 61 | #include <openssl/pkcs12.h> |
62 | 62 | ||
63 | #include "pkcs12_local.h" | 63 | #include "pkcs12_local.h" |
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | /* Add a local keyid to a safebag */ | 66 | /* Add a local keyid to a safebag */ |
67 | 67 | ||
diff --git a/src/lib/libcrypto/pkcs12/p12_decr.c b/src/lib/libcrypto/pkcs12/p12_decr.c index 2ce5c23526..2d3d284a53 100644 --- a/src/lib/libcrypto/pkcs12/p12_decr.c +++ b/src/lib/libcrypto/pkcs12/p12_decr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_decr.c,v 1.22 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_decr.c,v 1.23 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/pkcs12.h> | 63 | #include <openssl/pkcs12.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | 66 | ||
67 | /* Encrypt/Decrypt a buffer based on password and algor, result in a | 67 | /* Encrypt/Decrypt a buffer based on password and algor, result in a |
68 | * malloc'ed buffer | 68 | * malloc'ed buffer |
diff --git a/src/lib/libcrypto/pkcs12/p12_key.c b/src/lib/libcrypto/pkcs12/p12_key.c index a122e76aab..57cfd8b077 100644 --- a/src/lib/libcrypto/pkcs12/p12_key.c +++ b/src/lib/libcrypto/pkcs12/p12_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_key.c,v 1.32 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_key.c,v 1.33 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
64 | #include <openssl/pkcs12.h> | 64 | #include <openssl/pkcs12.h> |
65 | 65 | ||
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | 67 | ||
68 | /* PKCS12 compatible key/IV generation */ | 68 | /* PKCS12 compatible key/IV generation */ |
69 | #ifndef min | 69 | #ifndef min |
diff --git a/src/lib/libcrypto/pkcs12/p12_mutl.c b/src/lib/libcrypto/pkcs12/p12_mutl.c index 68fb1b9e5d..abfd9dd4b7 100644 --- a/src/lib/libcrypto/pkcs12/p12_mutl.c +++ b/src/lib/libcrypto/pkcs12/p12_mutl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_mutl.c,v 1.33 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_mutl.c,v 1.34 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -68,10 +68,10 @@ | |||
68 | #include <openssl/hmac.h> | 68 | #include <openssl/hmac.h> |
69 | #include <openssl/pkcs12.h> | 69 | #include <openssl/pkcs12.h> |
70 | 70 | ||
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | #include "hmac_local.h" | 72 | #include "hmac_local.h" |
73 | #include "pkcs12_local.h" | 73 | #include "pkcs12_local.h" |
74 | #include "x509_lcl.h" | 74 | #include "x509_local.h" |
75 | 75 | ||
76 | int | 76 | int |
77 | PKCS12_mac_present(const PKCS12 *p12) | 77 | PKCS12_mac_present(const PKCS12 *p12) |
diff --git a/src/lib/libcrypto/pkcs12/p12_npas.c b/src/lib/libcrypto/pkcs12/p12_npas.c index e920480952..1e2538717e 100644 --- a/src/lib/libcrypto/pkcs12/p12_npas.c +++ b/src/lib/libcrypto/pkcs12/p12_npas.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_npas.c,v 1.16 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_npas.c,v 1.17 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/pkcs12.h> | 64 | #include <openssl/pkcs12.h> |
65 | 65 | ||
66 | #include "pkcs12_local.h" | 66 | #include "pkcs12_local.h" |
67 | #include "x509_lcl.h" | 67 | #include "x509_local.h" |
68 | 68 | ||
69 | /* PKCS#12 password change routine */ | 69 | /* PKCS#12 password change routine */ |
70 | 70 | ||
diff --git a/src/lib/libcrypto/pkcs12/p12_p8d.c b/src/lib/libcrypto/pkcs12/p12_p8d.c index cd08cfa9f6..53942a1d70 100644 --- a/src/lib/libcrypto/pkcs12/p12_p8d.c +++ b/src/lib/libcrypto/pkcs12/p12_p8d.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_p8d.c,v 1.9 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_p8d.c,v 1.10 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #include <openssl/pkcs12.h> | 61 | #include <openssl/pkcs12.h> |
62 | 62 | ||
63 | #include "x509_lcl.h" | 63 | #include "x509_local.h" |
64 | 64 | ||
65 | PKCS8_PRIV_KEY_INFO * | 65 | PKCS8_PRIV_KEY_INFO * |
66 | PKCS8_decrypt(const X509_SIG *p8, const char *pass, int passlen) | 66 | PKCS8_decrypt(const X509_SIG *p8, const char *pass, int passlen) |
diff --git a/src/lib/libcrypto/pkcs12/p12_p8e.c b/src/lib/libcrypto/pkcs12/p12_p8e.c index b823ec330e..147d207cc8 100644 --- a/src/lib/libcrypto/pkcs12/p12_p8e.c +++ b/src/lib/libcrypto/pkcs12/p12_p8e.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_p8e.c,v 1.10 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_p8e.c,v 1.11 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -61,7 +61,7 @@ | |||
61 | #include <openssl/err.h> | 61 | #include <openssl/err.h> |
62 | #include <openssl/pkcs12.h> | 62 | #include <openssl/pkcs12.h> |
63 | 63 | ||
64 | #include "x509_lcl.h" | 64 | #include "x509_local.h" |
65 | 65 | ||
66 | X509_SIG * | 66 | X509_SIG * |
67 | PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass, | 67 | PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass, |
diff --git a/src/lib/libcrypto/pkcs12/p12_sbag.c b/src/lib/libcrypto/pkcs12/p12_sbag.c index db6e3c0af8..16ada0eeb1 100644 --- a/src/lib/libcrypto/pkcs12/p12_sbag.c +++ b/src/lib/libcrypto/pkcs12/p12_sbag.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: p12_sbag.c,v 1.6 2022/11/12 13:03:28 beck Exp $ */ | 1 | /* $OpenBSD: p12_sbag.c,v 1.7 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project |
4 | * 1999-2018. | 4 | * 1999-2018. |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/pkcs12.h> | 63 | #include <openssl/pkcs12.h> |
64 | 64 | ||
65 | #include "pkcs12_local.h" | 65 | #include "pkcs12_local.h" |
66 | #include "x509_lcl.h" | 66 | #include "x509_local.h" |
67 | 67 | ||
68 | const ASN1_TYPE * | 68 | const ASN1_TYPE * |
69 | PKCS12_SAFEBAG_get0_attr(const PKCS12_SAFEBAG *bag, int attr_nid) | 69 | PKCS12_SAFEBAG_get0_attr(const PKCS12_SAFEBAG *bag, int attr_nid) |
diff --git a/src/lib/libcrypto/pkcs7/pk7_doit.c b/src/lib/libcrypto/pkcs7/pk7_doit.c index 643cb4ce35..5cd95cdf91 100644 --- a/src/lib/libcrypto/pkcs7/pk7_doit.c +++ b/src/lib/libcrypto/pkcs7/pk7_doit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pk7_doit.c,v 1.48 2022/11/12 12:11:14 beck Exp $ */ | 1 | /* $OpenBSD: pk7_doit.c,v 1.49 2022/11/26 16:08:53 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,8 +65,8 @@ | |||
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "evp_locl.h" | 68 | #include "evp_local.h" |
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype, | 71 | static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype, |
72 | void *value); | 72 | void *value); |
diff --git a/src/lib/libcrypto/pkcs7/pk7_lib.c b/src/lib/libcrypto/pkcs7/pk7_lib.c index 82268f6ad7..efb6343f54 100644 --- a/src/lib/libcrypto/pkcs7/pk7_lib.c +++ b/src/lib/libcrypto/pkcs7/pk7_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pk7_lib.c,v 1.24 2022/11/12 12:11:14 beck Exp $ */ | 1 | /* $OpenBSD: pk7_lib.c,v 1.25 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,9 +62,9 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "asn1_locl.h" | 65 | #include "asn1_local.h" |
66 | #include "evp_locl.h" | 66 | #include "evp_local.h" |
67 | #include "x509_lcl.h" | 67 | #include "x509_local.h" |
68 | 68 | ||
69 | long | 69 | long |
70 | PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) | 70 | PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) |
diff --git a/src/lib/libcrypto/pkcs7/pk7_smime.c b/src/lib/libcrypto/pkcs7/pk7_smime.c index a667daf75e..4324cf384b 100644 --- a/src/lib/libcrypto/pkcs7/pk7_smime.c +++ b/src/lib/libcrypto/pkcs7/pk7_smime.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pk7_smime.c,v 1.24 2022/11/12 12:11:14 beck Exp $ */ | 1 | /* $OpenBSD: pk7_smime.c,v 1.25 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | #include <openssl/x509v3.h> | 65 | #include <openssl/x509v3.h> |
66 | 66 | ||
67 | #include "x509_lcl.h" | 67 | #include "x509_local.h" |
68 | 68 | ||
69 | static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si); | 69 | static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si); |
70 | 70 | ||
diff --git a/src/lib/libcrypto/rc2/rc2_cbc.c b/src/lib/libcrypto/rc2/rc2_cbc.c index a947f1d3c3..44204affbf 100644 --- a/src/lib/libcrypto/rc2/rc2_cbc.c +++ b/src/lib/libcrypto/rc2/rc2_cbc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc2_cbc.c,v 1.5 2014/10/28 07:35:59 jsg Exp $ */ | 1 | /* $OpenBSD: rc2_cbc.c,v 1.6 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/rc2.h> | 59 | #include <openssl/rc2.h> |
60 | #include "rc2_locl.h" | 60 | #include "rc2_local.h" |
61 | 61 | ||
62 | void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | 62 | void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, |
63 | RC2_KEY *ks, unsigned char *iv, int encrypt) | 63 | RC2_KEY *ks, unsigned char *iv, int encrypt) |
diff --git a/src/lib/libcrypto/rc2/rc2_ecb.c b/src/lib/libcrypto/rc2/rc2_ecb.c index 7687375278..84a671a572 100644 --- a/src/lib/libcrypto/rc2/rc2_ecb.c +++ b/src/lib/libcrypto/rc2/rc2_ecb.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc2_ecb.c,v 1.6 2014/07/09 11:10:51 bcook Exp $ */ | 1 | /* $OpenBSD: rc2_ecb.c,v 1.7 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/rc2.h> | 59 | #include <openssl/rc2.h> |
60 | #include "rc2_locl.h" | 60 | #include "rc2_local.h" |
61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
62 | 62 | ||
63 | /* RC2 as implemented frm a posting from | 63 | /* RC2 as implemented frm a posting from |
diff --git a/src/lib/libcrypto/rc2/rc2_locl.h b/src/lib/libcrypto/rc2/rc2_local.h index 73d8c68ca7..c8bb468d1d 100644 --- a/src/lib/libcrypto/rc2/rc2_locl.h +++ b/src/lib/libcrypto/rc2/rc2_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc2_locl.h,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */ | 1 | /* $OpenBSD: rc2_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/rc2/rc2_skey.c b/src/lib/libcrypto/rc2/rc2_skey.c index 964db09893..82161b16f3 100644 --- a/src/lib/libcrypto/rc2/rc2_skey.c +++ b/src/lib/libcrypto/rc2/rc2_skey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc2_skey.c,v 1.12 2014/06/12 15:49:30 deraadt Exp $ */ | 1 | /* $OpenBSD: rc2_skey.c,v 1.13 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | #include <openssl/crypto.h> | 59 | #include <openssl/crypto.h> |
60 | #include <openssl/rc2.h> | 60 | #include <openssl/rc2.h> |
61 | #include "rc2_locl.h" | 61 | #include "rc2_local.h" |
62 | 62 | ||
63 | static const unsigned char key_table[256]={ | 63 | static const unsigned char key_table[256]={ |
64 | 0xd9,0x78,0xf9,0xc4,0x19,0xdd,0xb5,0xed,0x28,0xe9,0xfd,0x79, | 64 | 0xd9,0x78,0xf9,0xc4,0x19,0xdd,0xb5,0xed,0x28,0xe9,0xfd,0x79, |
diff --git a/src/lib/libcrypto/rc2/rc2cfb64.c b/src/lib/libcrypto/rc2/rc2cfb64.c index 95366444c4..ebdeb9ba54 100644 --- a/src/lib/libcrypto/rc2/rc2cfb64.c +++ b/src/lib/libcrypto/rc2/rc2cfb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc2cfb64.c,v 1.5 2014/10/28 07:35:59 jsg Exp $ */ | 1 | /* $OpenBSD: rc2cfb64.c,v 1.6 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/rc2.h> | 59 | #include <openssl/rc2.h> |
60 | #include "rc2_locl.h" | 60 | #include "rc2_local.h" |
61 | 61 | ||
62 | /* The input and output encrypted as though 64bit cfb mode is being | 62 | /* The input and output encrypted as though 64bit cfb mode is being |
63 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/rc2/rc2ofb64.c b/src/lib/libcrypto/rc2/rc2ofb64.c index c47b413739..2aa241357d 100644 --- a/src/lib/libcrypto/rc2/rc2ofb64.c +++ b/src/lib/libcrypto/rc2/rc2ofb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc2ofb64.c,v 1.5 2014/10/28 07:35:59 jsg Exp $ */ | 1 | /* $OpenBSD: rc2ofb64.c,v 1.6 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/rc2.h> | 59 | #include <openssl/rc2.h> |
60 | #include "rc2_locl.h" | 60 | #include "rc2_local.h" |
61 | 61 | ||
62 | /* The input and output encrypted as though 64bit ofb mode is being | 62 | /* The input and output encrypted as though 64bit ofb mode is being |
63 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the |
diff --git a/src/lib/libcrypto/rc4/rc4_enc.c b/src/lib/libcrypto/rc4/rc4_enc.c index aa2766a133..3763bfa3cb 100644 --- a/src/lib/libcrypto/rc4/rc4_enc.c +++ b/src/lib/libcrypto/rc4/rc4_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc4_enc.c,v 1.17 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: rc4_enc.c,v 1.18 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -59,7 +59,7 @@ | |||
59 | #include <endian.h> | 59 | #include <endian.h> |
60 | 60 | ||
61 | #include <openssl/rc4.h> | 61 | #include <openssl/rc4.h> |
62 | #include "rc4_locl.h" | 62 | #include "rc4_local.h" |
63 | 63 | ||
64 | /* RC4 as implemented from a posting from | 64 | /* RC4 as implemented from a posting from |
65 | * Newsgroups: sci.crypt | 65 | * Newsgroups: sci.crypt |
diff --git a/src/lib/libcrypto/rc4/rc4_local.h b/src/lib/libcrypto/rc4/rc4_local.h new file mode 100644 index 0000000000..61d08a4d9d --- /dev/null +++ b/src/lib/libcrypto/rc4/rc4_local.h | |||
@@ -0,0 +1,5 @@ | |||
1 | /* $OpenBSD: rc4_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ | ||
2 | |||
3 | #ifndef HEADER_RC4_LOCL_H | ||
4 | #define HEADER_RC4_LOCL_H | ||
5 | #endif | ||
diff --git a/src/lib/libcrypto/rc4/rc4_locl.h b/src/lib/libcrypto/rc4/rc4_locl.h deleted file mode 100644 index d2b08064a3..0000000000 --- a/src/lib/libcrypto/rc4/rc4_locl.h +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | /* $OpenBSD: rc4_locl.h,v 1.4 2014/07/11 08:44:49 jsing Exp $ */ | ||
2 | |||
3 | #ifndef HEADER_RC4_LOCL_H | ||
4 | #define HEADER_RC4_LOCL_H | ||
5 | #endif | ||
diff --git a/src/lib/libcrypto/rc4/rc4_skey.c b/src/lib/libcrypto/rc4/rc4_skey.c index 861941fb4d..e32a6e84a3 100644 --- a/src/lib/libcrypto/rc4/rc4_skey.c +++ b/src/lib/libcrypto/rc4/rc4_skey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc4_skey.c,v 1.14 2015/10/20 15:50:13 jsing Exp $ */ | 1 | /* $OpenBSD: rc4_skey.c,v 1.15 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/rc4.h> | 59 | #include <openssl/rc4.h> |
60 | #include "rc4_locl.h" | 60 | #include "rc4_local.h" |
61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
62 | 62 | ||
63 | const char * | 63 | const char * |
diff --git a/src/lib/libcrypto/ripemd/rmd_dgst.c b/src/lib/libcrypto/ripemd/rmd_dgst.c index 458968d4a6..d794a7c1e3 100644 --- a/src/lib/libcrypto/ripemd/rmd_dgst.c +++ b/src/lib/libcrypto/ripemd/rmd_dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rmd_dgst.c,v 1.17 2014/10/28 07:35:59 jsg Exp $ */ | 1 | /* $OpenBSD: rmd_dgst.c,v 1.18 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "rmd_locl.h" | 60 | #include "rmd_local.h" |
61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
62 | #include <openssl/crypto.h> | 62 | #include <openssl/crypto.h> |
63 | 63 | ||
diff --git a/src/lib/libcrypto/ripemd/rmd_locl.h b/src/lib/libcrypto/ripemd/rmd_local.h index f38b101cc6..1e46816709 100644 --- a/src/lib/libcrypto/ripemd/rmd_locl.h +++ b/src/lib/libcrypto/ripemd/rmd_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rmd_locl.h,v 1.13 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: rmd_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/rsa/rsa_ameth.c b/src/lib/libcrypto/rsa/rsa_ameth.c index 448458f846..4ae41aeb84 100644 --- a/src/lib/libcrypto/rsa/rsa_ameth.c +++ b/src/lib/libcrypto/rsa/rsa_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_ameth.c,v 1.26 2022/06/27 12:36:06 tb Exp $ */ | 1 | /* $OpenBSD: rsa_ameth.c,v 1.27 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -66,10 +66,10 @@ | |||
66 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "asn1_locl.h" | 69 | #include "asn1_local.h" |
70 | #include "cryptlib.h" | 70 | #include "cryptlib.h" |
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | #include "rsa_locl.h" | 72 | #include "rsa_local.h" |
73 | 73 | ||
74 | #ifndef OPENSSL_NO_CMS | 74 | #ifndef OPENSSL_NO_CMS |
75 | static int rsa_cms_sign(CMS_SignerInfo *si); | 75 | static int rsa_cms_sign(CMS_SignerInfo *si); |
diff --git a/src/lib/libcrypto/rsa/rsa_asn1.c b/src/lib/libcrypto/rsa/rsa_asn1.c index 4b8eda24dd..63c3637f46 100644 --- a/src/lib/libcrypto/rsa/rsa_asn1.c +++ b/src/lib/libcrypto/rsa/rsa_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_asn1.c,v 1.15 2019/10/25 14:40:18 jsing Exp $ */ | 1 | /* $OpenBSD: rsa_asn1.c,v 1.16 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/rsa.h> | 63 | #include <openssl/rsa.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "rsa_locl.h" | 66 | #include "rsa_local.h" |
67 | 67 | ||
68 | /* Override the default free and new methods */ | 68 | /* Override the default free and new methods */ |
69 | static int | 69 | static int |
diff --git a/src/lib/libcrypto/rsa/rsa_chk.c b/src/lib/libcrypto/rsa/rsa_chk.c index ac9dbf7a22..5d7f7b307c 100644 --- a/src/lib/libcrypto/rsa/rsa_chk.c +++ b/src/lib/libcrypto/rsa/rsa_chk.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_chk.c,v 1.16 2022/01/20 11:08:12 inoguchi Exp $ */ | 1 | /* $OpenBSD: rsa_chk.c,v 1.17 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -52,8 +52,8 @@ | |||
52 | #include <openssl/err.h> | 52 | #include <openssl/err.h> |
53 | #include <openssl/rsa.h> | 53 | #include <openssl/rsa.h> |
54 | 54 | ||
55 | #include "bn_lcl.h" | 55 | #include "bn_local.h" |
56 | #include "rsa_locl.h" | 56 | #include "rsa_local.h" |
57 | 57 | ||
58 | int | 58 | int |
59 | RSA_check_key(const RSA *key) | 59 | RSA_check_key(const RSA *key) |
diff --git a/src/lib/libcrypto/rsa/rsa_crpt.c b/src/lib/libcrypto/rsa/rsa_crpt.c index 4fd21cd748..a1b2eec6ca 100644 --- a/src/lib/libcrypto/rsa/rsa_crpt.c +++ b/src/lib/libcrypto/rsa/rsa_crpt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_crpt.c,v 1.20 2022/01/07 09:55:32 tb Exp $ */ | 1 | /* $OpenBSD: rsa_crpt.c,v 1.21 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,8 +66,8 @@ | |||
66 | #include <openssl/lhash.h> | 66 | #include <openssl/lhash.h> |
67 | #include <openssl/rsa.h> | 67 | #include <openssl/rsa.h> |
68 | 68 | ||
69 | #include "bn_lcl.h" | 69 | #include "bn_local.h" |
70 | #include "rsa_locl.h" | 70 | #include "rsa_local.h" |
71 | 71 | ||
72 | #ifndef OPENSSL_NO_ENGINE | 72 | #ifndef OPENSSL_NO_ENGINE |
73 | #include <openssl/engine.h> | 73 | #include <openssl/engine.h> |
diff --git a/src/lib/libcrypto/rsa/rsa_depr.c b/src/lib/libcrypto/rsa/rsa_depr.c index 54a669ccc2..8a432b348b 100644 --- a/src/lib/libcrypto/rsa/rsa_depr.c +++ b/src/lib/libcrypto/rsa/rsa_depr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_depr.c,v 1.9 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: rsa_depr.c,v 1.10 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/bn.h> | 64 | #include <openssl/bn.h> |
65 | #include <openssl/rsa.h> | 65 | #include <openssl/rsa.h> |
66 | 66 | ||
67 | #include "bn_lcl.h" | 67 | #include "bn_local.h" |
68 | 68 | ||
69 | #ifndef OPENSSL_NO_DEPRECATED | 69 | #ifndef OPENSSL_NO_DEPRECATED |
70 | 70 | ||
diff --git a/src/lib/libcrypto/rsa/rsa_eay.c b/src/lib/libcrypto/rsa/rsa_eay.c index 0f8c324dcc..f6c3092dc4 100644 --- a/src/lib/libcrypto/rsa/rsa_eay.c +++ b/src/lib/libcrypto/rsa/rsa_eay.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_eay.c,v 1.54 2022/01/20 11:10:11 inoguchi Exp $ */ | 1 | /* $OpenBSD: rsa_eay.c,v 1.55 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -118,8 +118,8 @@ | |||
118 | #include <openssl/err.h> | 118 | #include <openssl/err.h> |
119 | #include <openssl/rsa.h> | 119 | #include <openssl/rsa.h> |
120 | 120 | ||
121 | #include "bn_lcl.h" | 121 | #include "bn_local.h" |
122 | #include "rsa_locl.h" | 122 | #include "rsa_local.h" |
123 | 123 | ||
124 | static int RSA_eay_public_encrypt(int flen, const unsigned char *from, | 124 | static int RSA_eay_public_encrypt(int flen, const unsigned char *from, |
125 | unsigned char *to, RSA *rsa, int padding); | 125 | unsigned char *to, RSA *rsa, int padding); |
diff --git a/src/lib/libcrypto/rsa/rsa_gen.c b/src/lib/libcrypto/rsa/rsa_gen.c index 5f062a7a24..7aefa7301c 100644 --- a/src/lib/libcrypto/rsa/rsa_gen.c +++ b/src/lib/libcrypto/rsa/rsa_gen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_gen.c,v 1.25 2022/01/20 11:11:17 inoguchi Exp $ */ | 1 | /* $OpenBSD: rsa_gen.c,v 1.26 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -69,8 +69,8 @@ | |||
69 | #include <openssl/err.h> | 69 | #include <openssl/err.h> |
70 | #include <openssl/rsa.h> | 70 | #include <openssl/rsa.h> |
71 | 71 | ||
72 | #include "bn_lcl.h" | 72 | #include "bn_local.h" |
73 | #include "rsa_locl.h" | 73 | #include "rsa_local.h" |
74 | 74 | ||
75 | static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb); | 75 | static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb); |
76 | 76 | ||
diff --git a/src/lib/libcrypto/rsa/rsa_lib.c b/src/lib/libcrypto/rsa/rsa_lib.c index 570bb6c05e..1720484952 100644 --- a/src/lib/libcrypto/rsa/rsa_lib.c +++ b/src/lib/libcrypto/rsa/rsa_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_lib.c,v 1.43 2022/06/27 12:30:28 tb Exp $ */ | 1 | /* $OpenBSD: rsa_lib.c,v 1.44 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -67,8 +67,8 @@ | |||
67 | #include <openssl/lhash.h> | 67 | #include <openssl/lhash.h> |
68 | #include <openssl/rsa.h> | 68 | #include <openssl/rsa.h> |
69 | 69 | ||
70 | #include "evp_locl.h" | 70 | #include "evp_local.h" |
71 | #include "rsa_locl.h" | 71 | #include "rsa_local.h" |
72 | 72 | ||
73 | #ifndef OPENSSL_NO_ENGINE | 73 | #ifndef OPENSSL_NO_ENGINE |
74 | #include <openssl/engine.h> | 74 | #include <openssl/engine.h> |
diff --git a/src/lib/libcrypto/rsa/rsa_locl.h b/src/lib/libcrypto/rsa/rsa_local.h index 1a2412ad80..b438ab4eec 100644 --- a/src/lib/libcrypto/rsa/rsa_locl.h +++ b/src/lib/libcrypto/rsa/rsa_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_locl.h,v 1.13 2022/07/04 12:23:30 tb Exp $ */ | 1 | /* $OpenBSD: rsa_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | 2 | ||
3 | __BEGIN_HIDDEN_DECLS | 3 | __BEGIN_HIDDEN_DECLS |
4 | 4 | ||
diff --git a/src/lib/libcrypto/rsa/rsa_meth.c b/src/lib/libcrypto/rsa/rsa_meth.c index d6be1ea006..a011927346 100644 --- a/src/lib/libcrypto/rsa/rsa_meth.c +++ b/src/lib/libcrypto/rsa/rsa_meth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_meth.c,v 1.5 2022/07/04 12:23:30 tb Exp $ */ | 1 | /* $OpenBSD: rsa_meth.c,v 1.6 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <openssl/err.h> | 21 | #include <openssl/err.h> |
22 | #include <openssl/rsa.h> | 22 | #include <openssl/rsa.h> |
23 | 23 | ||
24 | #include "rsa_locl.h" | 24 | #include "rsa_local.h" |
25 | 25 | ||
26 | RSA_METHOD * | 26 | RSA_METHOD * |
27 | RSA_meth_new(const char *name, int flags) | 27 | RSA_meth_new(const char *name, int flags) |
diff --git a/src/lib/libcrypto/rsa/rsa_oaep.c b/src/lib/libcrypto/rsa/rsa_oaep.c index 932695009f..083f4a6c80 100644 --- a/src/lib/libcrypto/rsa/rsa_oaep.c +++ b/src/lib/libcrypto/rsa/rsa_oaep.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_oaep.c,v 1.35 2022/02/20 19:16:34 tb Exp $ */ | 1 | /* $OpenBSD: rsa_oaep.c,v 1.36 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. | 3 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. |
4 | * | 4 | * |
@@ -79,9 +79,9 @@ | |||
79 | #include <openssl/rsa.h> | 79 | #include <openssl/rsa.h> |
80 | #include <openssl/sha.h> | 80 | #include <openssl/sha.h> |
81 | 81 | ||
82 | #include "constant_time_locl.h" | 82 | #include "constant_time.h" |
83 | #include "evp_locl.h" | 83 | #include "evp_local.h" |
84 | #include "rsa_locl.h" | 84 | #include "rsa_local.h" |
85 | 85 | ||
86 | int | 86 | int |
87 | RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, | 87 | RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, |
diff --git a/src/lib/libcrypto/rsa/rsa_pmeth.c b/src/lib/libcrypto/rsa/rsa_pmeth.c index 36a2a27727..0b3774bf6e 100644 --- a/src/lib/libcrypto/rsa/rsa_pmeth.c +++ b/src/lib/libcrypto/rsa/rsa_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_pmeth.c,v 1.33 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: rsa_pmeth.c,v 1.34 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -70,9 +70,9 @@ | |||
70 | #include <openssl/x509.h> | 70 | #include <openssl/x509.h> |
71 | #include <openssl/x509v3.h> | 71 | #include <openssl/x509v3.h> |
72 | 72 | ||
73 | #include "bn_lcl.h" | 73 | #include "bn_local.h" |
74 | #include "evp_locl.h" | 74 | #include "evp_local.h" |
75 | #include "rsa_locl.h" | 75 | #include "rsa_local.h" |
76 | 76 | ||
77 | /* RSA pkey context structure */ | 77 | /* RSA pkey context structure */ |
78 | 78 | ||
diff --git a/src/lib/libcrypto/rsa/rsa_pss.c b/src/lib/libcrypto/rsa/rsa_pss.c index cce38efa91..72c79e3b06 100644 --- a/src/lib/libcrypto/rsa/rsa_pss.c +++ b/src/lib/libcrypto/rsa/rsa_pss.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_pss.c,v 1.15 2022/01/07 09:55:32 tb Exp $ */ | 1 | /* $OpenBSD: rsa_pss.c,v 1.16 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2005. | 3 | * project 2005. |
4 | */ | 4 | */ |
@@ -66,8 +66,8 @@ | |||
66 | #include <openssl/rsa.h> | 66 | #include <openssl/rsa.h> |
67 | #include <openssl/sha.h> | 67 | #include <openssl/sha.h> |
68 | 68 | ||
69 | #include "evp_locl.h" | 69 | #include "evp_local.h" |
70 | #include "rsa_locl.h" | 70 | #include "rsa_local.h" |
71 | 71 | ||
72 | static const unsigned char zeroes[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; | 72 | static const unsigned char zeroes[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; |
73 | 73 | ||
diff --git a/src/lib/libcrypto/rsa/rsa_sign.c b/src/lib/libcrypto/rsa/rsa_sign.c index bd45a95d54..d517fcbcf2 100644 --- a/src/lib/libcrypto/rsa/rsa_sign.c +++ b/src/lib/libcrypto/rsa/rsa_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_sign.c,v 1.34 2022/01/07 11:13:55 tb Exp $ */ | 1 | /* $OpenBSD: rsa_sign.c,v 1.35 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,9 +65,9 @@ | |||
65 | #include <openssl/rsa.h> | 65 | #include <openssl/rsa.h> |
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | 67 | ||
68 | #include "asn1_locl.h" | 68 | #include "asn1_local.h" |
69 | #include "rsa_locl.h" | 69 | #include "rsa_local.h" |
70 | #include "x509_lcl.h" | 70 | #include "x509_local.h" |
71 | 71 | ||
72 | /* Size of an SSL signature: MD5+SHA1 */ | 72 | /* Size of an SSL signature: MD5+SHA1 */ |
73 | #define SSL_SIG_LENGTH 36 | 73 | #define SSL_SIG_LENGTH 36 |
diff --git a/src/lib/libcrypto/sha/sha1dgst.c b/src/lib/libcrypto/sha/sha1dgst.c index 583d1068ba..16580dcbdd 100644 --- a/src/lib/libcrypto/sha/sha1dgst.c +++ b/src/lib/libcrypto/sha/sha1dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sha1dgst.c,v 1.14 2015/09/13 21:09:56 doug Exp $ */ | 1 | /* $OpenBSD: sha1dgst.c,v 1.15 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | 66 | ||
67 | /* The implementation is in ../md32_common.h */ | 67 | /* The implementation is in ../md32_common.h */ |
68 | 68 | ||
69 | #include "sha_locl.h" | 69 | #include "sha_local.h" |
70 | 70 | ||
71 | #endif | 71 | #endif |
72 | 72 | ||
diff --git a/src/lib/libcrypto/sha/sha_locl.h b/src/lib/libcrypto/sha/sha_local.h index 5daab29fd7..97b980753c 100644 --- a/src/lib/libcrypto/sha/sha_locl.h +++ b/src/lib/libcrypto/sha/sha_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sha_locl.h,v 1.24 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: sha_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/sm2/sm2_crypt.c b/src/lib/libcrypto/sm2/sm2_crypt.c index 2bb3b8ff63..b51161d640 100644 --- a/src/lib/libcrypto/sm2/sm2_crypt.c +++ b/src/lib/libcrypto/sm2/sm2_crypt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm2_crypt.c,v 1.1.1.1 2021/08/18 16:04:32 tb Exp $ */ | 1 | /* $OpenBSD: sm2_crypt.c,v 1.2 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -26,7 +26,7 @@ | |||
26 | #include <openssl/evp.h> | 26 | #include <openssl/evp.h> |
27 | #include <openssl/sm2.h> | 27 | #include <openssl/sm2.h> |
28 | 28 | ||
29 | #include "sm2_locl.h" | 29 | #include "sm2_local.h" |
30 | 30 | ||
31 | typedef struct SM2_Ciphertext_st SM2_Ciphertext; | 31 | typedef struct SM2_Ciphertext_st SM2_Ciphertext; |
32 | 32 | ||
diff --git a/src/lib/libcrypto/sm2/sm2_locl.h b/src/lib/libcrypto/sm2/sm2_local.h index 2e1626824f..c934263190 100644 --- a/src/lib/libcrypto/sm2/sm2_locl.h +++ b/src/lib/libcrypto/sm2/sm2_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm2_locl.h,v 1.1.1.1 2021/08/18 16:04:32 tb Exp $ */ | 1 | /* $OpenBSD: sm2_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/sm2/sm2_pmeth.c b/src/lib/libcrypto/sm2/sm2_pmeth.c index af6e180a70..441f5475d1 100644 --- a/src/lib/libcrypto/sm2/sm2_pmeth.c +++ b/src/lib/libcrypto/sm2/sm2_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm2_pmeth.c,v 1.1.1.1 2021/08/18 16:04:32 tb Exp $ */ | 1 | /* $OpenBSD: sm2_pmeth.c,v 1.2 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -25,8 +25,8 @@ | |||
25 | #include <openssl/err.h> | 25 | #include <openssl/err.h> |
26 | #include <openssl/evp.h> | 26 | #include <openssl/evp.h> |
27 | 27 | ||
28 | #include "evp_locl.h" | 28 | #include "evp_local.h" |
29 | #include "sm2_locl.h" | 29 | #include "sm2_local.h" |
30 | 30 | ||
31 | /* SM2 pkey context structure */ | 31 | /* SM2 pkey context structure */ |
32 | 32 | ||
diff --git a/src/lib/libcrypto/sm2/sm2_sign.c b/src/lib/libcrypto/sm2/sm2_sign.c index b35de841b1..5d929e57aa 100644 --- a/src/lib/libcrypto/sm2/sm2_sign.c +++ b/src/lib/libcrypto/sm2/sm2_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm2_sign.c,v 1.2 2022/01/20 11:12:14 inoguchi Exp $ */ | 1 | /* $OpenBSD: sm2_sign.c,v 1.3 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -24,8 +24,8 @@ | |||
24 | #include <openssl/err.h> | 24 | #include <openssl/err.h> |
25 | #include <openssl/bn.h> | 25 | #include <openssl/bn.h> |
26 | 26 | ||
27 | #include "bn_lcl.h" | 27 | #include "bn_local.h" |
28 | #include "sm2_locl.h" | 28 | #include "sm2_local.h" |
29 | 29 | ||
30 | static BIGNUM * | 30 | static BIGNUM * |
31 | sm2_compute_msg_hash(const EVP_MD *digest, const EC_KEY *key, | 31 | sm2_compute_msg_hash(const EVP_MD *digest, const EC_KEY *key, |
diff --git a/src/lib/libcrypto/sm3/sm3.c b/src/lib/libcrypto/sm3/sm3.c index ff6240a0bb..1a96146807 100644 --- a/src/lib/libcrypto/sm3/sm3.c +++ b/src/lib/libcrypto/sm3/sm3.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm3.c,v 1.1 2018/11/11 06:53:31 tb Exp $ */ | 1 | /* $OpenBSD: sm3.c,v 1.2 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
4 | * | 4 | * |
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <openssl/sm3.h> | 20 | #include <openssl/sm3.h> |
21 | 21 | ||
22 | #include "sm3_locl.h" | 22 | #include "sm3_local.h" |
23 | 23 | ||
24 | int | 24 | int |
25 | SM3_Init(SM3_CTX *c) | 25 | SM3_Init(SM3_CTX *c) |
diff --git a/src/lib/libcrypto/sm3/sm3_locl.h b/src/lib/libcrypto/sm3/sm3_local.h index 6ecf8094f9..a941e59c39 100644 --- a/src/lib/libcrypto/sm3/sm3_locl.h +++ b/src/lib/libcrypto/sm3/sm3_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm3_locl.h,v 1.1 2018/11/11 06:53:31 tb Exp $ */ | 1 | /* $OpenBSD: sm3_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
4 | * | 4 | * |
diff --git a/src/lib/libcrypto/ts/ts_lib.c b/src/lib/libcrypto/ts/ts_lib.c index b6d50a36fa..ae715fb6c9 100644 --- a/src/lib/libcrypto/ts/ts_lib.c +++ b/src/lib/libcrypto/ts/ts_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts_lib.c,v 1.12 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: ts_lib.c,v 1.13 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -64,8 +64,8 @@ | |||
64 | #include <openssl/ts.h> | 64 | #include <openssl/ts.h> |
65 | #include <openssl/x509v3.h> | 65 | #include <openssl/x509v3.h> |
66 | 66 | ||
67 | #include "bn_lcl.h" | 67 | #include "bn_local.h" |
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | /* Local function declarations. */ | 70 | /* Local function declarations. */ |
71 | 71 | ||
diff --git a/src/lib/libcrypto/ts/ts_rsp_sign.c b/src/lib/libcrypto/ts/ts_rsp_sign.c index 5e152954bf..7ebadb1049 100644 --- a/src/lib/libcrypto/ts/ts_rsp_sign.c +++ b/src/lib/libcrypto/ts/ts_rsp_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts_rsp_sign.c,v 1.29 2022/07/24 20:02:04 tb Exp $ */ | 1 | /* $OpenBSD: ts_rsp_sign.c,v 1.30 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -65,9 +65,9 @@ | |||
65 | #include <openssl/pkcs7.h> | 65 | #include <openssl/pkcs7.h> |
66 | #include <openssl/ts.h> | 66 | #include <openssl/ts.h> |
67 | 67 | ||
68 | #include "evp_locl.h" | 68 | #include "evp_local.h" |
69 | #include "ts_local.h" | 69 | #include "ts_local.h" |
70 | #include "x509_lcl.h" | 70 | #include "x509_local.h" |
71 | 71 | ||
72 | /* Private function declarations. */ | 72 | /* Private function declarations. */ |
73 | 73 | ||
diff --git a/src/lib/libcrypto/ts/ts_rsp_verify.c b/src/lib/libcrypto/ts/ts_rsp_verify.c index a5829b35ca..dc467d8604 100644 --- a/src/lib/libcrypto/ts/ts_rsp_verify.c +++ b/src/lib/libcrypto/ts/ts_rsp_verify.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts_rsp_verify.c,v 1.28 2022/07/24 08:16:47 tb Exp $ */ | 1 | /* $OpenBSD: ts_rsp_verify.c,v 1.29 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -64,9 +64,9 @@ | |||
64 | #include <openssl/pkcs7.h> | 64 | #include <openssl/pkcs7.h> |
65 | #include <openssl/ts.h> | 65 | #include <openssl/ts.h> |
66 | 66 | ||
67 | #include "evp_locl.h" | 67 | #include "evp_local.h" |
68 | #include "ts_local.h" | 68 | #include "ts_local.h" |
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | /* Private function declarations. */ | 71 | /* Private function declarations. */ |
72 | 72 | ||
diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c index 0a0e11784d..f7398330e3 100644 --- a/src/lib/libcrypto/ui/ui_lib.c +++ b/src/lib/libcrypto/ui/ui_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui_lib.c,v 1.45 2022/11/12 13:16:10 beck Exp $ */ | 1 | /* $OpenBSD: ui_lib.c,v 1.46 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/ui.h> | 65 | #include <openssl/ui.h> |
66 | 66 | ||
67 | #include "ui_locl.h" | 67 | #include "ui_local.h" |
68 | 68 | ||
69 | static const UI_METHOD *default_UI_meth = NULL; | 69 | static const UI_METHOD *default_UI_meth = NULL; |
70 | 70 | ||
diff --git a/src/lib/libcrypto/ui/ui_locl.h b/src/lib/libcrypto/ui/ui_local.h index c424be6546..d62c628f8c 100644 --- a/src/lib/libcrypto/ui/ui_locl.h +++ b/src/lib/libcrypto/ui/ui_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui_locl.h,v 1.7 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: ui_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | 2 | ||
3 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 3 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
4 | * project 2001. | 4 | * project 2001. |
diff --git a/src/lib/libcrypto/ui/ui_openssl.c b/src/lib/libcrypto/ui/ui_openssl.c index 81d7b8de1c..0d2e6f1ac8 100644 --- a/src/lib/libcrypto/ui/ui_openssl.c +++ b/src/lib/libcrypto/ui/ui_openssl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui_openssl.c,v 1.26 2022/11/12 13:16:10 beck Exp $ */ | 1 | /* $OpenBSD: ui_openssl.c,v 1.27 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Richard Levitte (richard@levitte.org) and others | 2 | /* Written by Richard Levitte (richard@levitte.org) and others |
3 | * for the OpenSSL project 2001. | 3 | * for the OpenSSL project 2001. |
4 | */ | 4 | */ |
@@ -125,7 +125,7 @@ | |||
125 | #include <termios.h> | 125 | #include <termios.h> |
126 | #include <unistd.h> | 126 | #include <unistd.h> |
127 | 127 | ||
128 | #include "ui_locl.h" | 128 | #include "ui_local.h" |
129 | 129 | ||
130 | #ifndef NX509_SIG | 130 | #ifndef NX509_SIG |
131 | #define NX509_SIG 32 | 131 | #define NX509_SIG 32 |
diff --git a/src/lib/libcrypto/ui/ui_util.c b/src/lib/libcrypto/ui/ui_util.c index 808b294d76..347e4118bc 100644 --- a/src/lib/libcrypto/ui/ui_util.c +++ b/src/lib/libcrypto/ui/ui_util.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui_util.c,v 1.11 2022/11/12 13:16:10 beck Exp $ */ | 1 | /* $OpenBSD: ui_util.c,v 1.12 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -57,7 +57,7 @@ | |||
57 | 57 | ||
58 | #include <openssl/ui_compat.h> | 58 | #include <openssl/ui_compat.h> |
59 | 59 | ||
60 | #include "ui_locl.h" | 60 | #include "ui_local.h" |
61 | 61 | ||
62 | int | 62 | int |
63 | UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify) | 63 | UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify) |
diff --git a/src/lib/libcrypto/whrlpool/wp_block.c b/src/lib/libcrypto/whrlpool/wp_block.c index b2137d643d..ad814a3463 100644 --- a/src/lib/libcrypto/whrlpool/wp_block.c +++ b/src/lib/libcrypto/whrlpool/wp_block.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wp_block.c,v 1.14 2021/11/09 18:40:21 bcook Exp $ */ | 1 | /* $OpenBSD: wp_block.c,v 1.15 2022/11/26 16:08:54 tb Exp $ */ |
2 | /** | 2 | /** |
3 | * The Whirlpool hashing function. | 3 | * The Whirlpool hashing function. |
4 | * | 4 | * |
@@ -40,7 +40,7 @@ | |||
40 | #include <string.h> | 40 | #include <string.h> |
41 | #include <openssl/crypto.h> | 41 | #include <openssl/crypto.h> |
42 | 42 | ||
43 | #include "wp_locl.h" | 43 | #include "wp_local.h" |
44 | 44 | ||
45 | typedef unsigned char u8; | 45 | typedef unsigned char u8; |
46 | #if defined(_LP64) | 46 | #if defined(_LP64) |
diff --git a/src/lib/libcrypto/whrlpool/wp_dgst.c b/src/lib/libcrypto/whrlpool/wp_dgst.c index 663f2ef5de..fd074c181c 100644 --- a/src/lib/libcrypto/whrlpool/wp_dgst.c +++ b/src/lib/libcrypto/whrlpool/wp_dgst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wp_dgst.c,v 1.4 2014/07/12 11:25:25 miod Exp $ */ | 1 | /* $OpenBSD: wp_dgst.c,v 1.5 2022/11/26 16:08:54 tb Exp $ */ |
2 | /** | 2 | /** |
3 | * The Whirlpool hashing function. | 3 | * The Whirlpool hashing function. |
4 | * | 4 | * |
@@ -52,7 +52,7 @@ | |||
52 | * input. This is done for performance. | 52 | * input. This is done for performance. |
53 | */ | 53 | */ |
54 | 54 | ||
55 | #include "wp_locl.h" | 55 | #include "wp_local.h" |
56 | #include <openssl/crypto.h> | 56 | #include <openssl/crypto.h> |
57 | #include <string.h> | 57 | #include <string.h> |
58 | 58 | ||
diff --git a/src/lib/libcrypto/whrlpool/wp_locl.h b/src/lib/libcrypto/whrlpool/wp_local.h index 771c65e413..2d3bc9c6ec 100644 --- a/src/lib/libcrypto/whrlpool/wp_locl.h +++ b/src/lib/libcrypto/whrlpool/wp_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wp_locl.h,v 1.3 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: wp_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | 2 | ||
3 | #include <openssl/whrlpool.h> | 3 | #include <openssl/whrlpool.h> |
4 | 4 | ||
diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c index 2875a12c92..341c252ea9 100644 --- a/src/lib/libcrypto/x509/by_dir.c +++ b/src/lib/libcrypto/x509/by_dir.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: by_dir.c,v 1.42 2022/11/14 17:48:49 beck Exp $ */ | 1 | /* $OpenBSD: by_dir.c,v 1.43 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -70,7 +70,7 @@ | |||
70 | #include <openssl/err.h> | 70 | #include <openssl/err.h> |
71 | #include <openssl/x509.h> | 71 | #include <openssl/x509.h> |
72 | 72 | ||
73 | #include "x509_lcl.h" | 73 | #include "x509_local.h" |
74 | 74 | ||
75 | typedef struct lookup_dir_hashes_st { | 75 | typedef struct lookup_dir_hashes_st { |
76 | unsigned long hash; | 76 | unsigned long hash; |
diff --git a/src/lib/libcrypto/x509/by_file.c b/src/lib/libcrypto/x509/by_file.c index 747252d25b..70a2a62a97 100644 --- a/src/lib/libcrypto/x509/by_file.c +++ b/src/lib/libcrypto/x509/by_file.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: by_file.c,v 1.26 2022/11/14 17:48:49 beck Exp $ */ | 1 | /* $OpenBSD: by_file.c,v 1.27 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/pem.h> | 66 | #include <openssl/pem.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, | 71 | static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, |
72 | long argl, char **ret); | 72 | long argl, char **ret); |
diff --git a/src/lib/libcrypto/x509/by_mem.c b/src/lib/libcrypto/x509/by_mem.c index fe1ac24525..8f0a93fce3 100644 --- a/src/lib/libcrypto/x509/by_mem.c +++ b/src/lib/libcrypto/x509/by_mem.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: by_mem.c,v 1.6 2022/11/14 17:48:49 beck Exp $ */ | 1 | /* $OpenBSD: by_mem.c,v 1.7 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,7 +68,7 @@ | |||
68 | #include <openssl/lhash.h> | 68 | #include <openssl/lhash.h> |
69 | #include <openssl/x509.h> | 69 | #include <openssl/x509.h> |
70 | 70 | ||
71 | #include "x509_lcl.h" | 71 | #include "x509_local.h" |
72 | 72 | ||
73 | static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **); | 73 | static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **); |
74 | 74 | ||
diff --git a/src/lib/libcrypto/x509/pcy_cache.c b/src/lib/libcrypto/x509/pcy_cache.c index debca30286..6424160db8 100644 --- a/src/lib/libcrypto/x509/pcy_cache.c +++ b/src/lib/libcrypto/x509/pcy_cache.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pcy_cache.c,v 1.2 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: pcy_cache.c,v 1.3 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -60,7 +60,7 @@ | |||
60 | #include <openssl/x509v3.h> | 60 | #include <openssl/x509v3.h> |
61 | 61 | ||
62 | #include "pcy_int.h" | 62 | #include "pcy_int.h" |
63 | #include "x509_lcl.h" | 63 | #include "x509_local.h" |
64 | 64 | ||
65 | static int policy_data_cmp(const X509_POLICY_DATA * const *a, | 65 | static int policy_data_cmp(const X509_POLICY_DATA * const *a, |
66 | const X509_POLICY_DATA * const *b); | 66 | const X509_POLICY_DATA * const *b); |
diff --git a/src/lib/libcrypto/x509/pcy_map.c b/src/lib/libcrypto/x509/pcy_map.c index f2e5d32552..fe21ba14d1 100644 --- a/src/lib/libcrypto/x509/pcy_map.c +++ b/src/lib/libcrypto/x509/pcy_map.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pcy_map.c,v 1.2 2021/11/01 20:53:08 tb Exp $ */ | 1 | /* $OpenBSD: pcy_map.c,v 1.3 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -60,7 +60,7 @@ | |||
60 | #include <openssl/x509v3.h> | 60 | #include <openssl/x509v3.h> |
61 | 61 | ||
62 | #include "pcy_int.h" | 62 | #include "pcy_int.h" |
63 | #include "x509_lcl.h" | 63 | #include "x509_local.h" |
64 | 64 | ||
65 | /* Set policy mapping entries in cache. | 65 | /* Set policy mapping entries in cache. |
66 | * Note: this modifies the passed POLICY_MAPPINGS structure | 66 | * Note: this modifies the passed POLICY_MAPPINGS structure |
diff --git a/src/lib/libcrypto/x509/pcy_tree.c b/src/lib/libcrypto/x509/pcy_tree.c index 1df37c8776..be563d2677 100644 --- a/src/lib/libcrypto/x509/pcy_tree.c +++ b/src/lib/libcrypto/x509/pcy_tree.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pcy_tree.c,v 1.3 2022/11/14 17:48:49 beck Exp $ */ | 1 | /* $OpenBSD: pcy_tree.c,v 1.4 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -60,7 +60,7 @@ | |||
60 | #include <openssl/x509v3.h> | 60 | #include <openssl/x509v3.h> |
61 | 61 | ||
62 | #include "pcy_int.h" | 62 | #include "pcy_int.h" |
63 | #include "x509_lcl.h" | 63 | #include "x509_local.h" |
64 | 64 | ||
65 | /* Enable this to print out the complete policy tree at various point during | 65 | /* Enable this to print out the complete policy tree at various point during |
66 | * evaluation. | 66 | * evaluation. |
diff --git a/src/lib/libcrypto/x509/x509_addr.c b/src/lib/libcrypto/x509/x509_addr.c index ee4e285a77..510ea4e697 100644 --- a/src/lib/libcrypto/x509/x509_addr.c +++ b/src/lib/libcrypto/x509/x509_addr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_addr.c,v 1.84 2022/11/14 17:48:49 beck Exp $ */ | 1 | /* $OpenBSD: x509_addr.c,v 1.85 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Contributed to the OpenSSL Project by the American Registry for | 3 | * Contributed to the OpenSSL Project by the American Registry for |
4 | * Internet Numbers ("ARIN"). | 4 | * Internet Numbers ("ARIN"). |
@@ -73,9 +73,9 @@ | |||
73 | #include <openssl/x509.h> | 73 | #include <openssl/x509.h> |
74 | #include <openssl/x509v3.h> | 74 | #include <openssl/x509v3.h> |
75 | 75 | ||
76 | #include "asn1_locl.h" | 76 | #include "asn1_local.h" |
77 | #include "bytestring.h" | 77 | #include "bytestring.h" |
78 | #include "x509_lcl.h" | 78 | #include "x509_local.h" |
79 | 79 | ||
80 | #ifndef OPENSSL_NO_RFC3779 | 80 | #ifndef OPENSSL_NO_RFC3779 |
81 | 81 | ||
diff --git a/src/lib/libcrypto/x509/x509_asid.c b/src/lib/libcrypto/x509/x509_asid.c index c95816da04..3a37b002f2 100644 --- a/src/lib/libcrypto/x509/x509_asid.c +++ b/src/lib/libcrypto/x509/x509_asid.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_asid.c,v 1.37 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_asid.c,v 1.38 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Contributed to the OpenSSL Project by the American Registry for | 3 | * Contributed to the OpenSSL Project by the American Registry for |
4 | * Internet Numbers ("ARIN"). | 4 | * Internet Numbers ("ARIN"). |
@@ -73,7 +73,7 @@ | |||
73 | #include <openssl/x509.h> | 73 | #include <openssl/x509.h> |
74 | #include <openssl/x509v3.h> | 74 | #include <openssl/x509v3.h> |
75 | 75 | ||
76 | #include "x509_lcl.h" | 76 | #include "x509_local.h" |
77 | 77 | ||
78 | #ifndef OPENSSL_NO_RFC3779 | 78 | #ifndef OPENSSL_NO_RFC3779 |
79 | 79 | ||
diff --git a/src/lib/libcrypto/x509/x509_att.c b/src/lib/libcrypto/x509/x509_att.c index bff412173b..e769418fd3 100644 --- a/src/lib/libcrypto/x509/x509_att.c +++ b/src/lib/libcrypto/x509/x509_att.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_att.c,v 1.20 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_att.c,v 1.21 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | #include <openssl/x509v3.h> | 67 | #include <openssl/x509v3.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | int | 71 | int |
72 | X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) | 72 | X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) |
diff --git a/src/lib/libcrypto/x509/x509_cmp.c b/src/lib/libcrypto/x509/x509_cmp.c index 542ae76c17..b76c9ea660 100644 --- a/src/lib/libcrypto/x509/x509_cmp.c +++ b/src/lib/libcrypto/x509/x509_cmp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_cmp.c,v 1.40 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_cmp.c,v 1.41 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,8 +68,8 @@ | |||
68 | #include <openssl/x509.h> | 68 | #include <openssl/x509.h> |
69 | #include <openssl/x509v3.h> | 69 | #include <openssl/x509v3.h> |
70 | 70 | ||
71 | #include "evp_locl.h" | 71 | #include "evp_local.h" |
72 | #include "x509_lcl.h" | 72 | #include "x509_local.h" |
73 | 73 | ||
74 | int | 74 | int |
75 | X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) | 75 | X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) |
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c index def1441f3f..2b3274d04d 100644 --- a/src/lib/libcrypto/x509/x509_conf.c +++ b/src/lib/libcrypto/x509/x509_conf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_conf.c,v 1.3 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_conf.c,v 1.4 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | #include <openssl/x509v3.h> | 67 | #include <openssl/x509v3.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | static int v3_check_critical(const char **value); | 71 | static int v3_check_critical(const char **value); |
72 | static int v3_check_generic(const char **value); | 72 | static int v3_check_generic(const char **value); |
diff --git a/src/lib/libcrypto/x509/x509_cpols.c b/src/lib/libcrypto/x509/x509_cpols.c index 8d50c0545a..12e4a55c47 100644 --- a/src/lib/libcrypto/x509/x509_cpols.c +++ b/src/lib/libcrypto/x509/x509_cpols.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_cpols.c,v 1.5 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_cpols.c,v 1.6 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "pcy_int.h" | 68 | #include "pcy_int.h" |
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | /* Certificate policies extension support: this one is a bit complex... */ | 71 | /* Certificate policies extension support: this one is a bit complex... */ |
72 | 72 | ||
diff --git a/src/lib/libcrypto/x509/x509_crld.c b/src/lib/libcrypto/x509/x509_crld.c index 43150b21a9..ef9c82bb3f 100644 --- a/src/lib/libcrypto/x509/x509_crld.c +++ b/src/lib/libcrypto/x509/x509_crld.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_crld.c,v 1.3 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_crld.c,v 1.4 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | static void *v2i_crld(const X509V3_EXT_METHOD *method, | 70 | static void *v2i_crld(const X509V3_EXT_METHOD *method, |
71 | X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); | 71 | X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); |
diff --git a/src/lib/libcrypto/x509/x509_ext.c b/src/lib/libcrypto/x509/x509_ext.c index 95679265c3..c173b7c687 100644 --- a/src/lib/libcrypto/x509/x509_ext.c +++ b/src/lib/libcrypto/x509/x509_ext.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_ext.c,v 1.14 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_ext.c,v 1.15 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | #include <openssl/x509v3.h> | 66 | #include <openssl/x509v3.h> |
67 | 67 | ||
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | int | 70 | int |
71 | X509_CRL_get_ext_count(const X509_CRL *x) | 71 | X509_CRL_get_ext_count(const X509_CRL *x) |
diff --git a/src/lib/libcrypto/x509/x509_internal.h b/src/lib/libcrypto/x509/x509_internal.h index 472b417403..4ce6cd1e85 100644 --- a/src/lib/libcrypto/x509/x509_internal.h +++ b/src/lib/libcrypto/x509/x509_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_internal.h,v 1.22 2022/11/17 00:42:12 beck Exp $ */ | 1 | /* $OpenBSD: x509_internal.h,v 1.23 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -23,7 +23,7 @@ | |||
23 | #include <openssl/x509_verify.h> | 23 | #include <openssl/x509_verify.h> |
24 | 24 | ||
25 | #include "bytestring.h" | 25 | #include "bytestring.h" |
26 | #include "x509_lcl.h" | 26 | #include "x509_local.h" |
27 | 27 | ||
28 | /* Hard limits on structure size and number of signature checks. */ | 28 | /* Hard limits on structure size and number of signature checks. */ |
29 | #define X509_VERIFY_MAX_CHAINS 8 /* Max validated chains */ | 29 | #define X509_VERIFY_MAX_CHAINS 8 /* Max validated chains */ |
diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c index e209c055b6..f27e3315aa 100644 --- a/src/lib/libcrypto/x509/x509_lib.c +++ b/src/lib/libcrypto/x509/x509_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_lib.c,v 1.5 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_lib.c,v 1.6 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/x509v3.h> | 64 | #include <openssl/x509v3.h> |
65 | 65 | ||
66 | #include "ext_dat.h" | 66 | #include "ext_dat.h" |
67 | #include "x509_lcl.h" | 67 | #include "x509_local.h" |
68 | 68 | ||
69 | static STACK_OF(X509V3_EXT_METHOD) *ext_list = NULL; | 69 | static STACK_OF(X509V3_EXT_METHOD) *ext_list = NULL; |
70 | 70 | ||
diff --git a/src/lib/libcrypto/x509/x509_lcl.h b/src/lib/libcrypto/x509/x509_local.h index 8aa2db5946..1b1522acaa 100644 --- a/src/lib/libcrypto/x509/x509_lcl.h +++ b/src/lib/libcrypto/x509/x509_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_lcl.h,v 1.16 2022/08/15 11:52:37 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.1 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2013. | 3 | * project 2013. |
4 | */ | 4 | */ |
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c index 80ff1ed429..28cb85035b 100644 --- a/src/lib/libcrypto/x509/x509_lu.c +++ b/src/lib/libcrypto/x509/x509_lu.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_lu.c,v 1.56 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_lu.c,v 1.57 2022/11/26 16:08:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/lhash.h> | 63 | #include <openssl/lhash.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | #include <openssl/x509v3.h> | 65 | #include <openssl/x509v3.h> |
66 | #include "x509_lcl.h" | 66 | #include "x509_local.h" |
67 | 67 | ||
68 | X509_LOOKUP * | 68 | X509_LOOKUP * |
69 | X509_LOOKUP_new(X509_LOOKUP_METHOD *method) | 69 | X509_LOOKUP_new(X509_LOOKUP_METHOD *method) |
diff --git a/src/lib/libcrypto/x509/x509_ncons.c b/src/lib/libcrypto/x509/x509_ncons.c index a5d055ae9f..cc7f59cd0a 100644 --- a/src/lib/libcrypto/x509/x509_ncons.c +++ b/src/lib/libcrypto/x509/x509_ncons.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_ncons.c,v 1.6 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_ncons.c,v 1.7 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/err.h> | 64 | #include <openssl/err.h> |
65 | #include <openssl/x509v3.h> | 65 | #include <openssl/x509v3.h> |
66 | 66 | ||
67 | #include "x509_lcl.h" | 67 | #include "x509_local.h" |
68 | 68 | ||
69 | static void *v2i_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method, | 69 | static void *v2i_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method, |
70 | X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); | 70 | X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); |
diff --git a/src/lib/libcrypto/x509/x509_obj.c b/src/lib/libcrypto/x509/x509_obj.c index d27e59c741..f9323cf5bc 100644 --- a/src/lib/libcrypto/x509/x509_obj.c +++ b/src/lib/libcrypto/x509/x509_obj.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_obj.c,v 1.20 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_obj.c,v 1.21 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -65,7 +65,7 @@ | |||
65 | #include <openssl/objects.h> | 65 | #include <openssl/objects.h> |
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | 67 | ||
68 | #include "x509_lcl.h" | 68 | #include "x509_local.h" |
69 | 69 | ||
70 | char * | 70 | char * |
71 | X509_NAME_oneline(const X509_NAME *a, char *buf, int len) | 71 | X509_NAME_oneline(const X509_NAME *a, char *buf, int len) |
diff --git a/src/lib/libcrypto/x509/x509_prn.c b/src/lib/libcrypto/x509/x509_prn.c index b7db631500..89cd555fc5 100644 --- a/src/lib/libcrypto/x509/x509_prn.c +++ b/src/lib/libcrypto/x509/x509_prn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_prn.c,v 1.3 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_prn.c,v 1.4 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/conf.h> | 62 | #include <openssl/conf.h> |
63 | #include <openssl/x509v3.h> | 63 | #include <openssl/x509v3.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | /* Extension printing routines */ | 67 | /* Extension printing routines */ |
68 | 68 | ||
diff --git a/src/lib/libcrypto/x509/x509_purp.c b/src/lib/libcrypto/x509/x509_purp.c index d5027377bf..4faf83b975 100644 --- a/src/lib/libcrypto/x509/x509_purp.c +++ b/src/lib/libcrypto/x509/x509_purp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_purp.c,v 1.17 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_purp.c,v 1.18 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/x509_vfy.h> | 66 | #include <openssl/x509_vfy.h> |
67 | 67 | ||
68 | #include "x509_internal.h" | 68 | #include "x509_internal.h" |
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | #define V1_ROOT (EXFLAG_V1|EXFLAG_SS) | 71 | #define V1_ROOT (EXFLAG_V1|EXFLAG_SS) |
72 | #define ku_reject(x, usage) \ | 72 | #define ku_reject(x, usage) \ |
diff --git a/src/lib/libcrypto/x509/x509_r2x.c b/src/lib/libcrypto/x509/x509_r2x.c index e69b54fc5b..a8ffbdc65b 100644 --- a/src/lib/libcrypto/x509/x509_r2x.c +++ b/src/lib/libcrypto/x509/x509_r2x.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_r2x.c,v 1.14 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_r2x.c,v 1.15 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/objects.h> | 66 | #include <openssl/objects.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | X509 * | 71 | X509 * |
72 | X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) | 72 | X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) |
diff --git a/src/lib/libcrypto/x509/x509_req.c b/src/lib/libcrypto/x509/x509_req.c index 5155d743ab..32415979e9 100644 --- a/src/lib/libcrypto/x509/x509_req.c +++ b/src/lib/libcrypto/x509/x509_req.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_req.c,v 1.30 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_req.c,v 1.31 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -70,8 +70,8 @@ | |||
70 | #include <openssl/pem.h> | 70 | #include <openssl/pem.h> |
71 | #include <openssl/x509.h> | 71 | #include <openssl/x509.h> |
72 | 72 | ||
73 | #include "evp_locl.h" | 73 | #include "evp_local.h" |
74 | #include "x509_lcl.h" | 74 | #include "x509_local.h" |
75 | 75 | ||
76 | X509_REQ * | 76 | X509_REQ * |
77 | X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) | 77 | X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) |
diff --git a/src/lib/libcrypto/x509/x509_set.c b/src/lib/libcrypto/x509/x509_set.c index 91d6483a3b..f07f0ec5f2 100644 --- a/src/lib/libcrypto/x509/x509_set.c +++ b/src/lib/libcrypto/x509/x509_set.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_set.c,v 1.21 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_set.c,v 1.22 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "x509_lcl.h" | 66 | #include "x509_local.h" |
67 | 67 | ||
68 | const STACK_OF(X509_EXTENSION) * | 68 | const STACK_OF(X509_EXTENSION) * |
69 | X509_get0_extensions(const X509 *x) | 69 | X509_get0_extensions(const X509 *x) |
diff --git a/src/lib/libcrypto/x509/x509_skey.c b/src/lib/libcrypto/x509/x509_skey.c index 813a8de199..d4212a64a1 100644 --- a/src/lib/libcrypto/x509/x509_skey.c +++ b/src/lib/libcrypto/x509/x509_skey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_skey.c,v 1.3 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_skey.c,v 1.4 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/x509v3.h> | 63 | #include <openssl/x509v3.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method, | 67 | static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method, |
68 | X509V3_CTX *ctx, char *str); | 68 | X509V3_CTX *ctx, char *str); |
diff --git a/src/lib/libcrypto/x509/x509_trs.c b/src/lib/libcrypto/x509/x509_trs.c index c4d371446c..10995801b1 100644 --- a/src/lib/libcrypto/x509/x509_trs.c +++ b/src/lib/libcrypto/x509/x509_trs.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_trs.c,v 1.29 2022/11/17 00:42:12 beck Exp $ */ | 1 | /* $OpenBSD: x509_trs.c,v 1.30 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/err.h> | 62 | #include <openssl/err.h> |
63 | #include <openssl/x509v3.h> | 63 | #include <openssl/x509v3.h> |
64 | 64 | ||
65 | #include "x509_lcl.h" | 65 | #include "x509_local.h" |
66 | 66 | ||
67 | static int tr_cmp(const X509_TRUST * const *a, const X509_TRUST * const *b); | 67 | static int tr_cmp(const X509_TRUST * const *a, const X509_TRUST * const *b); |
68 | static void trtable_free(X509_TRUST *p); | 68 | static void trtable_free(X509_TRUST *p); |
diff --git a/src/lib/libcrypto/x509/x509_v3.c b/src/lib/libcrypto/x509/x509_v3.c index 4f66524f51..27f670c450 100644 --- a/src/lib/libcrypto/x509/x509_v3.c +++ b/src/lib/libcrypto/x509/x509_v3.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_v3.c,v 1.19 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_v3.c,v 1.20 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/x509.h> | 66 | #include <openssl/x509.h> |
67 | #include <openssl/x509v3.h> | 67 | #include <openssl/x509v3.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | int | 71 | int |
72 | X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) | 72 | X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) |
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 0a9965ae30..9b7f371cea 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.c,v 1.106 2022/11/17 00:42:12 beck Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.107 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -73,7 +73,7 @@ | |||
73 | #include <openssl/objects.h> | 73 | #include <openssl/objects.h> |
74 | #include <openssl/x509.h> | 74 | #include <openssl/x509.h> |
75 | #include <openssl/x509v3.h> | 75 | #include <openssl/x509v3.h> |
76 | #include "asn1_locl.h" | 76 | #include "asn1_local.h" |
77 | #include "vpm_int.h" | 77 | #include "vpm_int.h" |
78 | #include "x509_internal.h" | 78 | #include "x509_internal.h" |
79 | 79 | ||
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c index 56e2c34127..724a28fc1b 100644 --- a/src/lib/libcrypto/x509/x509_vpm.c +++ b/src/lib/libcrypto/x509/x509_vpm.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vpm.c,v 1.31 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509_vpm.c,v 1.32 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2004. | 3 | * project 2004. |
4 | */ | 4 | */ |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/x509v3.h> | 67 | #include <openssl/x509v3.h> |
68 | 68 | ||
69 | #include "vpm_int.h" | 69 | #include "vpm_int.h" |
70 | #include "x509_lcl.h" | 70 | #include "x509_local.h" |
71 | 71 | ||
72 | /* X509_VERIFY_PARAM functions */ | 72 | /* X509_VERIFY_PARAM functions */ |
73 | 73 | ||
diff --git a/src/lib/libcrypto/x509/x509cset.c b/src/lib/libcrypto/x509/x509cset.c index 7002238394..a75a63b03b 100644 --- a/src/lib/libcrypto/x509/x509cset.c +++ b/src/lib/libcrypto/x509/x509cset.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509cset.c,v 1.17 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509cset.c,v 1.18 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "x509_lcl.h" | 66 | #include "x509_local.h" |
67 | 67 | ||
68 | int | 68 | int |
69 | X509_CRL_up_ref(X509_CRL *x) | 69 | X509_CRL_up_ref(X509_CRL *x) |
diff --git a/src/lib/libcrypto/x509/x509name.c b/src/lib/libcrypto/x509/x509name.c index 88f4efa149..14e2deb84f 100644 --- a/src/lib/libcrypto/x509/x509name.c +++ b/src/lib/libcrypto/x509/x509name.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509name.c,v 1.28 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509name.c,v 1.29 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -66,7 +66,7 @@ | |||
66 | #include <openssl/stack.h> | 66 | #include <openssl/stack.h> |
67 | #include <openssl/x509.h> | 67 | #include <openssl/x509.h> |
68 | 68 | ||
69 | #include "x509_lcl.h" | 69 | #include "x509_local.h" |
70 | 70 | ||
71 | int | 71 | int |
72 | X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) | 72 | X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) |
diff --git a/src/lib/libcrypto/x509/x509rset.c b/src/lib/libcrypto/x509/x509rset.c index 6fb622e3cb..640a850800 100644 --- a/src/lib/libcrypto/x509/x509rset.c +++ b/src/lib/libcrypto/x509/x509rset.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509rset.c,v 1.10 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509rset.c,v 1.11 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | #include "x509_lcl.h" | 66 | #include "x509_local.h" |
67 | 67 | ||
68 | int | 68 | int |
69 | X509_REQ_set_version(X509_REQ *x, long version) | 69 | X509_REQ_set_version(X509_REQ *x, long version) |
diff --git a/src/lib/libcrypto/x509/x509type.c b/src/lib/libcrypto/x509/x509type.c index 2d80434d95..7e10fb540d 100644 --- a/src/lib/libcrypto/x509/x509type.c +++ b/src/lib/libcrypto/x509/x509type.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509type.c,v 1.16 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x509type.c,v 1.17 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,8 +62,8 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | #include "evp_locl.h" | 65 | #include "evp_local.h" |
66 | #include "x509_lcl.h" | 66 | #include "x509_local.h" |
67 | 67 | ||
68 | int | 68 | int |
69 | X509_certificate_type(const X509 *x, const EVP_PKEY *pkey) | 69 | X509_certificate_type(const X509 *x, const EVP_PKEY *pkey) |
diff --git a/src/lib/libcrypto/x509/x_all.c b/src/lib/libcrypto/x509/x_all.c index 442a27bc7f..819162dc31 100644 --- a/src/lib/libcrypto/x509/x_all.c +++ b/src/lib/libcrypto/x509/x_all.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_all.c,v 1.28 2022/11/14 17:48:50 beck Exp $ */ | 1 | /* $OpenBSD: x_all.c,v 1.29 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -73,7 +73,7 @@ | |||
73 | #include <openssl/rsa.h> | 73 | #include <openssl/rsa.h> |
74 | #endif | 74 | #endif |
75 | 75 | ||
76 | #include "x509_lcl.h" | 76 | #include "x509_local.h" |
77 | 77 | ||
78 | X509 * | 78 | X509 * |
79 | d2i_X509_bio(BIO *bp, X509 **x509) | 79 | d2i_X509_bio(BIO *bp, X509 **x509) |
diff --git a/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c index d6974cdb24..98a730d110 100644 --- a/src/lib/libssl/bio_ssl.c +++ b/src/lib/libssl/bio_ssl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio_ssl.c,v 1.36 2022/11/11 11:25:18 beck Exp $ */ | 1 | /* $OpenBSD: bio_ssl.c,v 1.37 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -67,7 +67,7 @@ | |||
67 | #include <openssl/ssl.h> | 67 | #include <openssl/ssl.h> |
68 | 68 | ||
69 | #include "bio_local.h" | 69 | #include "bio_local.h" |
70 | #include "ssl_locl.h" | 70 | #include "ssl_local.h" |
71 | 71 | ||
72 | static int ssl_write(BIO *h, const char *buf, int num); | 72 | static int ssl_write(BIO *h, const char *buf, int num); |
73 | static int ssl_read(BIO *h, char *buf, int size); | 73 | static int ssl_read(BIO *h, char *buf, int size); |
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 4f7f8be6ce..e94761e5d3 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_both.c,v 1.82 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.83 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -123,9 +123,9 @@ | |||
123 | #include <openssl/x509.h> | 123 | #include <openssl/x509.h> |
124 | 124 | ||
125 | #include "bytestring.h" | 125 | #include "bytestring.h" |
126 | #include "dtls_locl.h" | 126 | #include "dtls_local.h" |
127 | #include "pqueue.h" | 127 | #include "pqueue.h" |
128 | #include "ssl_locl.h" | 128 | #include "ssl_local.h" |
129 | 129 | ||
130 | #define RSMBLY_BITMASK_SIZE(msg_len) (((msg_len) + 7) / 8) | 130 | #define RSMBLY_BITMASK_SIZE(msg_len) (((msg_len) + 7) / 8) |
131 | 131 | ||
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index fe51769530..ae6a6650ab 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_lib.c,v 1.63 2022/11/11 17:15:26 jsing Exp $ */ | 1 | /* $OpenBSD: d1_lib.c,v 1.64 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -67,9 +67,9 @@ | |||
67 | 67 | ||
68 | #include <openssl/objects.h> | 68 | #include <openssl/objects.h> |
69 | 69 | ||
70 | #include "dtls_locl.h" | 70 | #include "dtls_local.h" |
71 | #include "pqueue.h" | 71 | #include "pqueue.h" |
72 | #include "ssl_locl.h" | 72 | #include "ssl_local.h" |
73 | 73 | ||
74 | void dtls1_hm_fragment_free(hm_fragment *frag); | 74 | void dtls1_hm_fragment_free(hm_fragment *frag); |
75 | 75 | ||
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index 4b33685aba..5409d3923b 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_pkt.c,v 1.126 2022/11/23 07:31:12 tb Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.127 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -122,9 +122,9 @@ | |||
122 | #include <openssl/evp.h> | 122 | #include <openssl/evp.h> |
123 | 123 | ||
124 | #include "bytestring.h" | 124 | #include "bytestring.h" |
125 | #include "dtls_locl.h" | 125 | #include "dtls_local.h" |
126 | #include "pqueue.h" | 126 | #include "pqueue.h" |
127 | #include "ssl_locl.h" | 127 | #include "ssl_local.h" |
128 | #include "tls_content.h" | 128 | #include "tls_content.h" |
129 | 129 | ||
130 | /* mod 128 saturating subtract of two 64-bit values in big-endian order */ | 130 | /* mod 128 saturating subtract of two 64-bit values in big-endian order */ |
diff --git a/src/lib/libssl/d1_srtp.c b/src/lib/libssl/d1_srtp.c index 1c23409736..6073f0d2d4 100644 --- a/src/lib/libssl/d1_srtp.c +++ b/src/lib/libssl/d1_srtp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_srtp.c,v 1.31 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: d1_srtp.c,v 1.32 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -123,8 +123,8 @@ | |||
123 | #ifndef OPENSSL_NO_SRTP | 123 | #ifndef OPENSSL_NO_SRTP |
124 | 124 | ||
125 | #include "bytestring.h" | 125 | #include "bytestring.h" |
126 | #include "dtls_locl.h" | 126 | #include "dtls_local.h" |
127 | #include "ssl_locl.h" | 127 | #include "ssl_local.h" |
128 | #include "srtp.h" | 128 | #include "srtp.h" |
129 | 129 | ||
130 | static const SRTP_PROTECTION_PROFILE srtp_known_profiles[] = { | 130 | static const SRTP_PROTECTION_PROFILE srtp_known_profiles[] = { |
diff --git a/src/lib/libssl/dtls_locl.h b/src/lib/libssl/dtls_local.h index 784d397f7d..27d32105b7 100644 --- a/src/lib/libssl/dtls_locl.h +++ b/src/lib/libssl/dtls_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dtls_locl.h,v 1.11 2022/11/11 17:15:26 jsing Exp $ */ | 1 | /* $OpenBSD: dtls_local.h,v 1.1 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | #include <openssl/dtls1.h> | 65 | #include <openssl/dtls1.h> |
66 | 66 | ||
67 | #include "ssl_locl.h" | 67 | #include "ssl_local.h" |
68 | #include "tls_content.h" | 68 | #include "tls_content.h" |
69 | 69 | ||
70 | __BEGIN_HIDDEN_DECLS | 70 | __BEGIN_HIDDEN_DECLS |
diff --git a/src/lib/libssl/s3_cbc.c b/src/lib/libssl/s3_cbc.c index e0289d894b..32b7460870 100644 --- a/src/lib/libssl/s3_cbc.c +++ b/src/lib/libssl/s3_cbc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s3_cbc.c,v 1.25 2021/12/09 17:45:49 tb Exp $ */ | 1 | /* $OpenBSD: s3_cbc.c,v 1.26 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2012 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2012 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -56,7 +56,7 @@ | |||
56 | #include <openssl/md5.h> | 56 | #include <openssl/md5.h> |
57 | #include <openssl/sha.h> | 57 | #include <openssl/sha.h> |
58 | 58 | ||
59 | #include "ssl_locl.h" | 59 | #include "ssl_local.h" |
60 | 60 | ||
61 | /* MAX_HASH_BIT_COUNT_BYTES is the maximum number of bytes in the hash's length | 61 | /* MAX_HASH_BIT_COUNT_BYTES is the maximum number of bytes in the hash's length |
62 | * field. (SHA-384/512 have 128-bit length.) */ | 62 | * field. (SHA-384/512 have 128-bit length.) */ |
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index 87092069df..9e76cf93d8 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s3_lib.c,v 1.241 2022/11/11 17:15:26 jsing Exp $ */ | 1 | /* $OpenBSD: s3_lib.c,v 1.242 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -159,8 +159,8 @@ | |||
159 | #include <openssl/opensslconf.h> | 159 | #include <openssl/opensslconf.h> |
160 | 160 | ||
161 | #include "bytestring.h" | 161 | #include "bytestring.h" |
162 | #include "dtls_locl.h" | 162 | #include "dtls_local.h" |
163 | #include "ssl_locl.h" | 163 | #include "ssl_local.h" |
164 | #include "ssl_sigalgs.h" | 164 | #include "ssl_sigalgs.h" |
165 | #include "ssl_tlsext.h" | 165 | #include "ssl_tlsext.h" |
166 | #include "tls_content.h" | 166 | #include "tls_content.h" |
diff --git a/src/lib/libssl/ssl_algs.c b/src/lib/libssl/ssl_algs.c index 5ecbb3460c..ab23f4bc45 100644 --- a/src/lib/libssl/ssl_algs.c +++ b/src/lib/libssl/ssl_algs.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_algs.c,v 1.30 2022/01/14 08:38:48 tb Exp $ */ | 1 | /* $OpenBSD: ssl_algs.c,v 1.31 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,7 +62,7 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/opensslconf.h> | 63 | #include <openssl/opensslconf.h> |
64 | 64 | ||
65 | #include "ssl_locl.h" | 65 | #include "ssl_local.h" |
66 | 66 | ||
67 | int | 67 | int |
68 | SSL_library_init(void) | 68 | SSL_library_init(void) |
diff --git a/src/lib/libssl/ssl_asn1.c b/src/lib/libssl/ssl_asn1.c index 6095a7370c..7684602129 100644 --- a/src/lib/libssl/ssl_asn1.c +++ b/src/lib/libssl/ssl_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_asn1.c,v 1.65 2022/06/07 17:53:42 tb Exp $ */ | 1 | /* $OpenBSD: ssl_asn1.c,v 1.66 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <openssl/x509.h> | 21 | #include <openssl/x509.h> |
22 | 22 | ||
23 | #include "bytestring.h" | 23 | #include "bytestring.h" |
24 | #include "ssl_locl.h" | 24 | #include "ssl_local.h" |
25 | 25 | ||
26 | #define SSLASN1_TAG (CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC) | 26 | #define SSLASN1_TAG (CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC) |
27 | #define SSLASN1_TIME_TAG (SSLASN1_TAG | 1) | 27 | #define SSLASN1_TIME_TAG (SSLASN1_TAG | 1) |
diff --git a/src/lib/libssl/ssl_both.c b/src/lib/libssl/ssl_both.c index 93f7384762..3feedc18f2 100644 --- a/src/lib/libssl/ssl_both.c +++ b/src/lib/libssl/ssl_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_both.c,v 1.44 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_both.c,v 1.45 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -124,8 +124,8 @@ | |||
124 | #include <openssl/x509.h> | 124 | #include <openssl/x509.h> |
125 | 125 | ||
126 | #include "bytestring.h" | 126 | #include "bytestring.h" |
127 | #include "dtls_locl.h" | 127 | #include "dtls_local.h" |
128 | #include "ssl_locl.h" | 128 | #include "ssl_local.h" |
129 | 129 | ||
130 | /* | 130 | /* |
131 | * Send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or | 131 | * Send s->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or |
diff --git a/src/lib/libssl/ssl_cert.c b/src/lib/libssl/ssl_cert.c index d102e2e29d..4fe805212b 100644 --- a/src/lib/libssl/ssl_cert.c +++ b/src/lib/libssl/ssl_cert.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_cert.c,v 1.104 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_cert.c,v 1.105 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -128,7 +128,7 @@ | |||
128 | #include <openssl/pem.h> | 128 | #include <openssl/pem.h> |
129 | #include <openssl/x509v3.h> | 129 | #include <openssl/x509v3.h> |
130 | 130 | ||
131 | #include "ssl_locl.h" | 131 | #include "ssl_local.h" |
132 | 132 | ||
133 | int | 133 | int |
134 | SSL_get_ex_data_X509_STORE_CTX_idx(void) | 134 | SSL_get_ex_data_X509_STORE_CTX_idx(void) |
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c index f39cd2f098..a71c5042c7 100644 --- a/src/lib/libssl/ssl_ciph.c +++ b/src/lib/libssl/ssl_ciph.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_ciph.c,v 1.134 2022/09/08 15:31:12 millert Exp $ */ | 1 | /* $OpenBSD: ssl_ciph.c,v 1.135 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -149,7 +149,7 @@ | |||
149 | #include <openssl/engine.h> | 149 | #include <openssl/engine.h> |
150 | #endif | 150 | #endif |
151 | 151 | ||
152 | #include "ssl_locl.h" | 152 | #include "ssl_local.h" |
153 | 153 | ||
154 | #define CIPHER_ADD 1 | 154 | #define CIPHER_ADD 1 |
155 | #define CIPHER_KILL 2 | 155 | #define CIPHER_KILL 2 |
diff --git a/src/lib/libssl/ssl_ciphers.c b/src/lib/libssl/ssl_ciphers.c index 09b4805820..4ec1b099bc 100644 --- a/src/lib/libssl/ssl_ciphers.c +++ b/src/lib/libssl/ssl_ciphers.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_ciphers.c,v 1.16 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_ciphers.c,v 1.17 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015-2017 Doug Hogan <doug@openbsd.org> | 3 | * Copyright (c) 2015-2017 Doug Hogan <doug@openbsd.org> |
4 | * Copyright (c) 2015-2018, 2020 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2015-2018, 2020 Joel Sing <jsing@openbsd.org> |
@@ -20,7 +20,7 @@ | |||
20 | #include <openssl/safestack.h> | 20 | #include <openssl/safestack.h> |
21 | 21 | ||
22 | #include "bytestring.h" | 22 | #include "bytestring.h" |
23 | #include "ssl_locl.h" | 23 | #include "ssl_local.h" |
24 | 24 | ||
25 | int | 25 | int |
26 | ssl_cipher_in_list(STACK_OF(SSL_CIPHER) *ciphers, const SSL_CIPHER *cipher) | 26 | ssl_cipher_in_list(STACK_OF(SSL_CIPHER) *ciphers, const SSL_CIPHER *cipher) |
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c index 9cedc084ab..64085b953f 100644 --- a/src/lib/libssl/ssl_clnt.c +++ b/src/lib/libssl/ssl_clnt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_clnt.c,v 1.156 2022/10/20 15:18:54 tb Exp $ */ | 1 | /* $OpenBSD: ssl_clnt.c,v 1.157 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -169,8 +169,8 @@ | |||
169 | #endif | 169 | #endif |
170 | 170 | ||
171 | #include "bytestring.h" | 171 | #include "bytestring.h" |
172 | #include "dtls_locl.h" | 172 | #include "dtls_local.h" |
173 | #include "ssl_locl.h" | 173 | #include "ssl_local.h" |
174 | #include "ssl_sigalgs.h" | 174 | #include "ssl_sigalgs.h" |
175 | #include "ssl_tlsext.h" | 175 | #include "ssl_tlsext.h" |
176 | 176 | ||
diff --git a/src/lib/libssl/ssl_err.c b/src/lib/libssl/ssl_err.c index 31925026d4..59d8119e10 100644 --- a/src/lib/libssl/ssl_err.c +++ b/src/lib/libssl/ssl_err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_err.c,v 1.44 2022/08/21 19:18:57 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_err.c,v 1.45 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -59,7 +59,7 @@ | |||
59 | #include <openssl/opensslconf.h> | 59 | #include <openssl/opensslconf.h> |
60 | #include <openssl/ssl.h> | 60 | #include <openssl/ssl.h> |
61 | 61 | ||
62 | #include "ssl_locl.h" | 62 | #include "ssl_local.h" |
63 | 63 | ||
64 | #ifndef OPENSSL_NO_ERR | 64 | #ifndef OPENSSL_NO_ERR |
65 | 65 | ||
diff --git a/src/lib/libssl/ssl_init.c b/src/lib/libssl/ssl_init.c index b521d22d07..65f38e25db 100644 --- a/src/lib/libssl/ssl_init.c +++ b/src/lib/libssl/ssl_init.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_init.c,v 1.2 2018/03/30 14:59:46 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_init.c,v 1.3 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include <openssl/objects.h> | 23 | #include <openssl/objects.h> |
24 | 24 | ||
25 | #include "ssl_locl.h" | 25 | #include "ssl_local.h" |
26 | 26 | ||
27 | static pthread_t ssl_init_thread; | 27 | static pthread_t ssl_init_thread; |
28 | 28 | ||
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index c9c63e9d3f..de4ef3fb5e 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_lib.c,v 1.307 2022/11/07 11:58:45 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.308 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -159,8 +159,8 @@ | |||
159 | #endif | 159 | #endif |
160 | 160 | ||
161 | #include "bytestring.h" | 161 | #include "bytestring.h" |
162 | #include "dtls_locl.h" | 162 | #include "dtls_local.h" |
163 | #include "ssl_locl.h" | 163 | #include "ssl_local.h" |
164 | #include "ssl_sigalgs.h" | 164 | #include "ssl_sigalgs.h" |
165 | #include "ssl_tlsext.h" | 165 | #include "ssl_tlsext.h" |
166 | #include "tls12_internal.h" | 166 | #include "tls12_internal.h" |
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_local.h index 8387513d99..8590243884 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.432 2022/11/11 17:15:26 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_local.h,v 1.1 2022/11/26 16:08:55 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
diff --git a/src/lib/libssl/ssl_methods.c b/src/lib/libssl/ssl_methods.c index d8ffbb7b51..dac28011f4 100644 --- a/src/lib/libssl/ssl_methods.c +++ b/src/lib/libssl/ssl_methods.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_methods.c,v 1.28 2021/07/26 03:17:38 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_methods.c,v 1.29 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,8 +56,8 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "dtls_locl.h" | 59 | #include "dtls_local.h" |
60 | #include "ssl_locl.h" | 60 | #include "ssl_local.h" |
61 | #include "tls13_internal.h" | 61 | #include "tls13_internal.h" |
62 | 62 | ||
63 | static const SSL_METHOD DTLS_method_data = { | 63 | static const SSL_METHOD DTLS_method_data = { |
diff --git a/src/lib/libssl/ssl_packet.c b/src/lib/libssl/ssl_packet.c index b2c3d0f2a0..70017b4664 100644 --- a/src/lib/libssl/ssl_packet.c +++ b/src/lib/libssl/ssl_packet.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_packet.c,v 1.14 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_packet.c,v 1.15 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -16,7 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "bytestring.h" | 18 | #include "bytestring.h" |
19 | #include "ssl_locl.h" | 19 | #include "ssl_local.h" |
20 | 20 | ||
21 | static int | 21 | static int |
22 | ssl_is_sslv2_client_hello(CBS *header) | 22 | ssl_is_sslv2_client_hello(CBS *header) |
diff --git a/src/lib/libssl/ssl_pkt.c b/src/lib/libssl/ssl_pkt.c index 4d79981484..728ac141e5 100644 --- a/src/lib/libssl/ssl_pkt.c +++ b/src/lib/libssl/ssl_pkt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_pkt.c,v 1.64 2022/11/11 17:15:26 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_pkt.c,v 1.65 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -117,8 +117,8 @@ | |||
117 | #include <openssl/evp.h> | 117 | #include <openssl/evp.h> |
118 | 118 | ||
119 | #include "bytestring.h" | 119 | #include "bytestring.h" |
120 | #include "dtls_locl.h" | 120 | #include "dtls_local.h" |
121 | #include "ssl_locl.h" | 121 | #include "ssl_local.h" |
122 | #include "tls_content.h" | 122 | #include "tls_content.h" |
123 | 123 | ||
124 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, | 124 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, |
diff --git a/src/lib/libssl/ssl_rsa.c b/src/lib/libssl/ssl_rsa.c index 70c29359f0..f84315ba3e 100644 --- a/src/lib/libssl/ssl_rsa.c +++ b/src/lib/libssl/ssl_rsa.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_rsa.c,v 1.48 2022/08/31 20:49:37 tb Exp $ */ | 1 | /* $OpenBSD: ssl_rsa.c,v 1.49 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -64,7 +64,7 @@ | |||
64 | #include <openssl/pem.h> | 64 | #include <openssl/pem.h> |
65 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
66 | 66 | ||
67 | #include "ssl_locl.h" | 67 | #include "ssl_local.h" |
68 | 68 | ||
69 | static int ssl_get_password_cb_and_arg(SSL_CTX *ctx, SSL *ssl, | 69 | static int ssl_get_password_cb_and_arg(SSL_CTX *ctx, SSL *ssl, |
70 | pem_password_cb **passwd_cb, void **passwd_arg); | 70 | pem_password_cb **passwd_cb, void **passwd_arg); |
diff --git a/src/lib/libssl/ssl_seclevel.c b/src/lib/libssl/ssl_seclevel.c index 7026b330cf..1869c8108d 100644 --- a/src/lib/libssl/ssl_seclevel.c +++ b/src/lib/libssl/ssl_seclevel.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_seclevel.c,v 1.26 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_seclevel.c,v 1.27 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020-2022 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2020-2022 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -28,7 +28,7 @@ | |||
28 | #include <openssl/x509v3.h> | 28 | #include <openssl/x509v3.h> |
29 | 29 | ||
30 | #include "bytestring.h" | 30 | #include "bytestring.h" |
31 | #include "ssl_locl.h" | 31 | #include "ssl_local.h" |
32 | 32 | ||
33 | static int | 33 | static int |
34 | ssl_security_normalize_level(const SSL_CTX *ctx, const SSL *ssl, int *out_level) | 34 | ssl_security_normalize_level(const SSL_CTX *ctx, const SSL *ssl, int *out_level) |
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c index dcf9b103da..5847a43dcd 100644 --- a/src/lib/libssl/ssl_sess.c +++ b/src/lib/libssl/ssl_sess.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_sess.c,v 1.120 2022/10/20 15:22:51 tb Exp $ */ | 1 | /* $OpenBSD: ssl_sess.c,v 1.121 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -142,7 +142,7 @@ | |||
142 | #include <openssl/engine.h> | 142 | #include <openssl/engine.h> |
143 | #endif | 143 | #endif |
144 | 144 | ||
145 | #include "ssl_locl.h" | 145 | #include "ssl_local.h" |
146 | 146 | ||
147 | static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s); | 147 | static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s); |
148 | static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *s); | 148 | static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *s); |
diff --git a/src/lib/libssl/ssl_sigalgs.c b/src/lib/libssl/ssl_sigalgs.c index c3e07e5c65..f59beb4320 100644 --- a/src/lib/libssl/ssl_sigalgs.c +++ b/src/lib/libssl/ssl_sigalgs.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_sigalgs.c,v 1.47 2022/07/02 16:31:04 tb Exp $ */ | 1 | /* $OpenBSD: ssl_sigalgs.c,v 1.48 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018-2020 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018-2020 Bob Beck <beck@openbsd.org> |
4 | * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> |
@@ -23,7 +23,7 @@ | |||
23 | #include <openssl/opensslconf.h> | 23 | #include <openssl/opensslconf.h> |
24 | 24 | ||
25 | #include "bytestring.h" | 25 | #include "bytestring.h" |
26 | #include "ssl_locl.h" | 26 | #include "ssl_local.h" |
27 | #include "ssl_sigalgs.h" | 27 | #include "ssl_sigalgs.h" |
28 | #include "tls13_internal.h" | 28 | #include "tls13_internal.h" |
29 | 29 | ||
diff --git a/src/lib/libssl/ssl_srvr.c b/src/lib/libssl/ssl_srvr.c index 098e82e339..efb71bb717 100644 --- a/src/lib/libssl/ssl_srvr.c +++ b/src/lib/libssl/ssl_srvr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_srvr.c,v 1.151 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_srvr.c,v 1.152 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -167,8 +167,8 @@ | |||
167 | #endif | 167 | #endif |
168 | 168 | ||
169 | #include "bytestring.h" | 169 | #include "bytestring.h" |
170 | #include "dtls_locl.h" | 170 | #include "dtls_local.h" |
171 | #include "ssl_locl.h" | 171 | #include "ssl_local.h" |
172 | #include "ssl_sigalgs.h" | 172 | #include "ssl_sigalgs.h" |
173 | #include "ssl_tlsext.h" | 173 | #include "ssl_tlsext.h" |
174 | 174 | ||
diff --git a/src/lib/libssl/ssl_stat.c b/src/lib/libssl/ssl_stat.c index e4303e171a..b423033e43 100644 --- a/src/lib/libssl/ssl_stat.c +++ b/src/lib/libssl/ssl_stat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_stat.c,v 1.19 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_stat.c,v 1.20 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -84,7 +84,7 @@ | |||
84 | 84 | ||
85 | #include <stdio.h> | 85 | #include <stdio.h> |
86 | 86 | ||
87 | #include "ssl_locl.h" | 87 | #include "ssl_local.h" |
88 | 88 | ||
89 | const char * | 89 | const char * |
90 | SSL_state_string_long(const SSL *s) | 90 | SSL_state_string_long(const SSL *s) |
diff --git a/src/lib/libssl/ssl_tlsext.c b/src/lib/libssl/ssl_tlsext.c index 647a95e485..e576384118 100644 --- a/src/lib/libssl/ssl_tlsext.c +++ b/src/lib/libssl/ssl_tlsext.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_tlsext.c,v 1.130 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.c,v 1.131 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> | 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> |
@@ -28,7 +28,7 @@ | |||
28 | #include <openssl/opensslconf.h> | 28 | #include <openssl/opensslconf.h> |
29 | 29 | ||
30 | #include "bytestring.h" | 30 | #include "bytestring.h" |
31 | #include "ssl_locl.h" | 31 | #include "ssl_local.h" |
32 | #include "ssl_sigalgs.h" | 32 | #include "ssl_sigalgs.h" |
33 | #include "ssl_tlsext.h" | 33 | #include "ssl_tlsext.h" |
34 | 34 | ||
diff --git a/src/lib/libssl/ssl_transcript.c b/src/lib/libssl/ssl_transcript.c index e4a041f67d..22cd6c3cfa 100644 --- a/src/lib/libssl/ssl_transcript.c +++ b/src/lib/libssl/ssl_transcript.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_transcript.c,v 1.8 2022/07/22 19:54:46 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_transcript.c,v 1.9 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <openssl/ssl.h> | 18 | #include <openssl/ssl.h> |
19 | 19 | ||
20 | #include "ssl_locl.h" | 20 | #include "ssl_local.h" |
21 | #include "tls_internal.h" | 21 | #include "tls_internal.h" |
22 | 22 | ||
23 | int | 23 | int |
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c index 33b067a73b..270e60a389 100644 --- a/src/lib/libssl/ssl_txt.c +++ b/src/lib/libssl/ssl_txt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_txt.c,v 1.35 2022/06/07 17:55:08 tb Exp $ */ | 1 | /* $OpenBSD: ssl_txt.c,v 1.36 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -86,7 +86,7 @@ | |||
86 | 86 | ||
87 | #include <openssl/buffer.h> | 87 | #include <openssl/buffer.h> |
88 | 88 | ||
89 | #include "ssl_locl.h" | 89 | #include "ssl_local.h" |
90 | 90 | ||
91 | int | 91 | int |
92 | SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x) | 92 | SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x) |
diff --git a/src/lib/libssl/ssl_versions.c b/src/lib/libssl/ssl_versions.c index 3cd6db01ca..fbc0004f4b 100644 --- a/src/lib/libssl/ssl_versions.c +++ b/src/lib/libssl/ssl_versions.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_versions.c,v 1.25 2022/10/02 16:36:41 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_versions.c,v 1.26 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -15,7 +15,7 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "ssl_locl.h" | 18 | #include "ssl_local.h" |
19 | 19 | ||
20 | static uint16_t | 20 | static uint16_t |
21 | ssl_dtls_to_tls_version(uint16_t dtls_ver) | 21 | ssl_dtls_to_tls_version(uint16_t dtls_ver) |
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c index dc627c5a8b..c6140e9b34 100644 --- a/src/lib/libssl/t1_enc.c +++ b/src/lib/libssl/t1_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_enc.c,v 1.156 2022/11/07 11:58:45 jsing Exp $ */ | 1 | /* $OpenBSD: t1_enc.c,v 1.157 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -143,8 +143,8 @@ | |||
143 | #include <openssl/md5.h> | 143 | #include <openssl/md5.h> |
144 | #include <openssl/opensslconf.h> | 144 | #include <openssl/opensslconf.h> |
145 | 145 | ||
146 | #include "dtls_locl.h" | 146 | #include "dtls_local.h" |
147 | #include "ssl_locl.h" | 147 | #include "ssl_local.h" |
148 | 148 | ||
149 | void | 149 | void |
150 | tls1_cleanup_key_block(SSL *s) | 150 | tls1_cleanup_key_block(SSL *s) |
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c index c326575231..85d5eaa633 100644 --- a/src/lib/libssl/t1_lib.c +++ b/src/lib/libssl/t1_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_lib.c,v 1.196 2022/10/02 16:36:42 jsing Exp $ */ | 1 | /* $OpenBSD: t1_lib.c,v 1.197 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -117,7 +117,7 @@ | |||
117 | #include <openssl/ocsp.h> | 117 | #include <openssl/ocsp.h> |
118 | 118 | ||
119 | #include "bytestring.h" | 119 | #include "bytestring.h" |
120 | #include "ssl_locl.h" | 120 | #include "ssl_local.h" |
121 | #include "ssl_sigalgs.h" | 121 | #include "ssl_sigalgs.h" |
122 | #include "ssl_tlsext.h" | 122 | #include "ssl_tlsext.h" |
123 | 123 | ||
diff --git a/src/lib/libssl/tls12_key_schedule.c b/src/lib/libssl/tls12_key_schedule.c index e603e2c222..6d714c1183 100644 --- a/src/lib/libssl/tls12_key_schedule.c +++ b/src/lib/libssl/tls12_key_schedule.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls12_key_schedule.c,v 1.2 2022/11/07 11:58:45 jsing Exp $ */ | 1 | /* $OpenBSD: tls12_key_schedule.c,v 1.3 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -20,7 +20,7 @@ | |||
20 | #include <openssl/evp.h> | 20 | #include <openssl/evp.h> |
21 | 21 | ||
22 | #include "bytestring.h" | 22 | #include "bytestring.h" |
23 | #include "ssl_locl.h" | 23 | #include "ssl_local.h" |
24 | #include "tls12_internal.h" | 24 | #include "tls12_internal.h" |
25 | 25 | ||
26 | struct tls12_key_block { | 26 | struct tls12_key_block { |
diff --git a/src/lib/libssl/tls12_lib.c b/src/lib/libssl/tls12_lib.c index 14c8fd53cb..96b3abcd2a 100644 --- a/src/lib/libssl/tls12_lib.c +++ b/src/lib/libssl/tls12_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls12_lib.c,v 1.5 2022/06/07 17:19:09 tb Exp $ */ | 1 | /* $OpenBSD: tls12_lib.c,v 1.6 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -15,7 +15,7 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "ssl_locl.h" | 18 | #include "ssl_local.h" |
19 | 19 | ||
20 | static int | 20 | static int |
21 | tls12_finished_verify_data(SSL *s, const char *finished_label, | 21 | tls12_finished_verify_data(SSL *s, const char *finished_label, |
diff --git a/src/lib/libssl/tls12_record_layer.c b/src/lib/libssl/tls12_record_layer.c index a65906697d..59f5d32452 100644 --- a/src/lib/libssl/tls12_record_layer.c +++ b/src/lib/libssl/tls12_record_layer.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls12_record_layer.c,v 1.37 2022/11/11 17:15:26 jsing Exp $ */ | 1 | /* $OpenBSD: tls12_record_layer.c,v 1.38 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <openssl/evp.h> | 21 | #include <openssl/evp.h> |
22 | 22 | ||
23 | #include "ssl_locl.h" | 23 | #include "ssl_local.h" |
24 | 24 | ||
25 | #define TLS12_RECORD_SEQ_NUM_LEN 8 | 25 | #define TLS12_RECORD_SEQ_NUM_LEN 8 |
26 | #define TLS12_AEAD_FIXED_NONCE_MAX_LEN 12 | 26 | #define TLS12_AEAD_FIXED_NONCE_MAX_LEN 12 |
diff --git a/src/lib/libssl/tls13_client.c b/src/lib/libssl/tls13_client.c index 746447cc13..3555ebadd1 100644 --- a/src/lib/libssl/tls13_client.c +++ b/src/lib/libssl/tls13_client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_client.c,v 1.100 2022/10/02 16:36:42 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_client.c,v 1.101 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -18,7 +18,7 @@ | |||
18 | #include <openssl/ssl3.h> | 18 | #include <openssl/ssl3.h> |
19 | 19 | ||
20 | #include "bytestring.h" | 20 | #include "bytestring.h" |
21 | #include "ssl_locl.h" | 21 | #include "ssl_local.h" |
22 | #include "ssl_sigalgs.h" | 22 | #include "ssl_sigalgs.h" |
23 | #include "ssl_tlsext.h" | 23 | #include "ssl_tlsext.h" |
24 | #include "tls13_handshake.h" | 24 | #include "tls13_handshake.h" |
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index c40442fdf9..9723edfea4 100644 --- a/src/lib/libssl/tls13_handshake.c +++ b/src/lib/libssl/tls13_handshake.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_handshake.c,v 1.71 2022/04/19 17:01:43 tb Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.72 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018-2021 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018-2021 Theo Buehler <tb@openbsd.org> |
4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> |
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <stddef.h> | 19 | #include <stddef.h> |
20 | 20 | ||
21 | #include "ssl_locl.h" | 21 | #include "ssl_local.h" |
22 | #include "tls13_handshake.h" | 22 | #include "tls13_handshake.h" |
23 | #include "tls13_internal.h" | 23 | #include "tls13_internal.h" |
24 | 24 | ||
diff --git a/src/lib/libssl/tls13_key_schedule.c b/src/lib/libssl/tls13_key_schedule.c index abc35c4e83..05bcf0f006 100644 --- a/src/lib/libssl/tls13_key_schedule.c +++ b/src/lib/libssl/tls13_key_schedule.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_key_schedule.c,v 1.17 2022/11/07 11:53:39 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_key_schedule.c,v 1.18 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018, Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <openssl/hkdf.h> | 21 | #include <openssl/hkdf.h> |
22 | 22 | ||
23 | #include "bytestring.h" | 23 | #include "bytestring.h" |
24 | #include "ssl_locl.h" | 24 | #include "ssl_local.h" |
25 | #include "tls13_internal.h" | 25 | #include "tls13_internal.h" |
26 | 26 | ||
27 | int | 27 | int |
diff --git a/src/lib/libssl/tls13_legacy.c b/src/lib/libssl/tls13_legacy.c index 57fb84cefb..1d6a5a1299 100644 --- a/src/lib/libssl/tls13_legacy.c +++ b/src/lib/libssl/tls13_legacy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_legacy.c,v 1.39 2022/10/02 16:36:42 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_legacy.c,v 1.40 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <limits.h> | 18 | #include <limits.h> |
19 | 19 | ||
20 | #include "ssl_locl.h" | 20 | #include "ssl_local.h" |
21 | #include "tls13_internal.h" | 21 | #include "tls13_internal.h" |
22 | 22 | ||
23 | static ssize_t | 23 | static ssize_t |
diff --git a/src/lib/libssl/tls13_lib.c b/src/lib/libssl/tls13_lib.c index 3bb6d3d3db..05f125adc8 100644 --- a/src/lib/libssl/tls13_lib.c +++ b/src/lib/libssl/tls13_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_lib.c,v 1.75 2022/11/07 11:53:39 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_lib.c,v 1.76 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2019 Bob Beck <beck@openbsd.org> | 4 | * Copyright (c) 2019 Bob Beck <beck@openbsd.org> |
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <openssl/evp.h> | 21 | #include <openssl/evp.h> |
22 | 22 | ||
23 | #include "ssl_locl.h" | 23 | #include "ssl_local.h" |
24 | #include "ssl_tlsext.h" | 24 | #include "ssl_tlsext.h" |
25 | #include "tls13_internal.h" | 25 | #include "tls13_internal.h" |
26 | 26 | ||
diff --git a/src/lib/libssl/tls13_quic.c b/src/lib/libssl/tls13_quic.c index bb7317d4c5..e5c386ea36 100644 --- a/src/lib/libssl/tls13_quic.c +++ b/src/lib/libssl/tls13_quic.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_quic.c,v 1.6 2022/08/30 18:23:40 tb Exp $ */ | 1 | /* $OpenBSD: tls13_quic.c,v 1.7 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -15,8 +15,7 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <ssl_locl.h> | 18 | #include "ssl_local.h" |
19 | |||
20 | #include "tls13_internal.h" | 19 | #include "tls13_internal.h" |
21 | 20 | ||
22 | static ssize_t | 21 | static ssize_t |
diff --git a/src/lib/libssl/tls13_server.c b/src/lib/libssl/tls13_server.c index 7bbc541c82..75510a9085 100644 --- a/src/lib/libssl/tls13_server.c +++ b/src/lib/libssl/tls13_server.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_server.c,v 1.104 2022/10/02 16:36:42 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_server.c,v 1.105 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 4 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <openssl/x509v3.h> | 19 | #include <openssl/x509v3.h> |
20 | 20 | ||
21 | #include "ssl_locl.h" | 21 | #include "ssl_local.h" |
22 | #include "ssl_sigalgs.h" | 22 | #include "ssl_sigalgs.h" |
23 | #include "ssl_tlsext.h" | 23 | #include "ssl_tlsext.h" |
24 | #include "tls13_handshake.h" | 24 | #include "tls13_handshake.h" |
diff --git a/src/lib/libssl/tls_key_share.c b/src/lib/libssl/tls_key_share.c index 048db25bd5..cf7b1da262 100644 --- a/src/lib/libssl/tls_key_share.c +++ b/src/lib/libssl/tls_key_share.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_key_share.c,v 1.7 2022/07/02 16:00:12 tb Exp $ */ | 1 | /* $OpenBSD: tls_key_share.c,v 1.8 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -23,7 +23,7 @@ | |||
23 | #include <openssl/evp.h> | 23 | #include <openssl/evp.h> |
24 | 24 | ||
25 | #include "bytestring.h" | 25 | #include "bytestring.h" |
26 | #include "ssl_locl.h" | 26 | #include "ssl_local.h" |
27 | #include "tls_internal.h" | 27 | #include "tls_internal.h" |
28 | 28 | ||
29 | struct tls_key_share { | 29 | struct tls_key_share { |
diff --git a/src/lib/libssl/tls_lib.c b/src/lib/libssl/tls_lib.c index eb5ed380e0..db734c34e4 100644 --- a/src/lib/libssl/tls_lib.c +++ b/src/lib/libssl/tls_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_lib.c,v 1.2 2022/08/20 21:48:25 tb Exp $ */ | 1 | /* $OpenBSD: tls_lib.c,v 1.3 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019, 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019, 2021 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -15,7 +15,7 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "ssl_locl.h" | 18 | #include "ssl_local.h" |
19 | 19 | ||
20 | int | 20 | int |
21 | tls_process_peer_certs(SSL *s, STACK_OF(X509) *peer_certs) | 21 | tls_process_peer_certs(SSL *s, STACK_OF(X509) *peer_certs) |
diff --git a/src/regress/lib/libcrypto/asn1/asn1basic.c b/src/regress/lib/libcrypto/asn1/asn1basic.c index 45f61ed859..1703ba964b 100644 --- a/src/regress/lib/libcrypto/asn1/asn1basic.c +++ b/src/regress/lib/libcrypto/asn1/asn1basic.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1basic.c,v 1.12 2022/09/05 21:06:31 tb Exp $ */ | 1 | /* $OpenBSD: asn1basic.c,v 1.13 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -22,7 +22,7 @@ | |||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | #include <string.h> | 23 | #include <string.h> |
24 | 24 | ||
25 | #include "asn1_locl.h" | 25 | #include "asn1_local.h" |
26 | 26 | ||
27 | static void | 27 | static void |
28 | hexdump(const unsigned char *buf, size_t len) | 28 | hexdump(const unsigned char *buf, size_t len) |
diff --git a/src/regress/lib/libcrypto/asn1/asn1object.c b/src/regress/lib/libcrypto/asn1/asn1object.c index 3452a713a0..539c6aa950 100644 --- a/src/regress/lib/libcrypto/asn1/asn1object.c +++ b/src/regress/lib/libcrypto/asn1/asn1object.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1object.c,v 1.9 2022/09/05 21:06:31 tb Exp $ */ | 1 | /* $OpenBSD: asn1object.c,v 1.10 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2021, 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017, 2021, 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -22,7 +22,7 @@ | |||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | #include <string.h> | 23 | #include <string.h> |
24 | 24 | ||
25 | #include "asn1_locl.h" | 25 | #include "asn1_local.h" |
26 | 26 | ||
27 | static void | 27 | static void |
28 | hexdump(const unsigned char *buf, size_t len) | 28 | hexdump(const unsigned char *buf, size_t len) |
diff --git a/src/regress/lib/libcrypto/bn/general/bn_isqrt.c b/src/regress/lib/libcrypto/bn/general/bn_isqrt.c index b9939dc59c..8ea9cead77 100644 --- a/src/regress/lib/libcrypto/bn/general/bn_isqrt.c +++ b/src/regress/lib/libcrypto/bn/general/bn_isqrt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_isqrt.c,v 1.7 2022/10/11 13:51:41 tb Exp $ */ | 1 | /* $OpenBSD: bn_isqrt.c,v 1.8 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include <openssl/bn.h> | 22 | #include <openssl/bn.h> |
23 | 23 | ||
24 | #include "bn_lcl.h" | 24 | #include "bn_local.h" |
25 | 25 | ||
26 | #define N_TESTS 400 | 26 | #define N_TESTS 400 |
27 | 27 | ||
diff --git a/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c b/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c index 5f8cc20d74..20a385588e 100644 --- a/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c +++ b/src/regress/lib/libcrypto/evp/evp_pkey_cleanup.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_pkey_cleanup.c,v 1.1 2022/03/30 08:57:26 tb Exp $ */ | 1 | /* $OpenBSD: evp_pkey_cleanup.c,v 1.2 2022/11/26 16:08:56 tb Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <openssl/evp.h> | 21 | #include <openssl/evp.h> |
22 | 22 | ||
23 | #include "evp_locl.h" | 23 | #include "evp_local.h" |
24 | 24 | ||
25 | struct pkey_cleanup_test { | 25 | struct pkey_cleanup_test { |
26 | const char *name; | 26 | const char *name; |
diff --git a/src/regress/lib/libcrypto/evp/evp_test.c b/src/regress/lib/libcrypto/evp/evp_test.c index c4721cc365..dbfe442377 100644 --- a/src/regress/lib/libcrypto/evp/evp_test.c +++ b/src/regress/lib/libcrypto/evp/evp_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_test.c,v 1.2 2022/11/09 17:15:59 jsing Exp $ */ | 1 | /* $OpenBSD: evp_test.c,v 1.3 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -18,7 +18,7 @@ | |||
18 | #include <openssl/evp.h> | 18 | #include <openssl/evp.h> |
19 | #include <openssl/ossl_typ.h> | 19 | #include <openssl/ossl_typ.h> |
20 | 20 | ||
21 | #include "evp_locl.h" | 21 | #include "evp_local.h" |
22 | 22 | ||
23 | static int | 23 | static int |
24 | evp_asn1_method_test(void) | 24 | evp_asn1_method_test(void) |
diff --git a/src/regress/lib/libcrypto/sm2/sm2crypttest.c b/src/regress/lib/libcrypto/sm2/sm2crypttest.c index 30a03b21c9..80dcb935b7 100644 --- a/src/regress/lib/libcrypto/sm2/sm2crypttest.c +++ b/src/regress/lib/libcrypto/sm2/sm2crypttest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm2crypttest.c,v 1.1.1.1 2021/08/18 16:06:56 tb Exp $ */ | 1 | /* $OpenBSD: sm2crypttest.c,v 1.2 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -34,7 +34,7 @@ int main(int argc, char *argv[]) | |||
34 | } | 34 | } |
35 | #else | 35 | #else |
36 | #include <openssl/sm2.h> | 36 | #include <openssl/sm2.h> |
37 | #include "sm2_locl.h" | 37 | #include "sm2_local.h" |
38 | 38 | ||
39 | static EC_GROUP * | 39 | static EC_GROUP * |
40 | create_EC_group(const char *p_hex, const char *a_hex, const char *b_hex, | 40 | create_EC_group(const char *p_hex, const char *a_hex, const char *b_hex, |
diff --git a/src/regress/lib/libcrypto/sm2/sm2sigtest.c b/src/regress/lib/libcrypto/sm2/sm2sigtest.c index bd156799b8..2ded5c45ba 100644 --- a/src/regress/lib/libcrypto/sm2/sm2sigtest.c +++ b/src/regress/lib/libcrypto/sm2/sm2sigtest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sm2sigtest.c,v 1.1.1.1 2021/08/18 16:06:56 tb Exp $ */ | 1 | /* $OpenBSD: sm2sigtest.c,v 1.2 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2019 Ribose Inc | 3 | * Copyright (c) 2017, 2019 Ribose Inc |
4 | * | 4 | * |
@@ -35,7 +35,7 @@ main(int argc, char *argv[]) | |||
35 | } | 35 | } |
36 | #else | 36 | #else |
37 | #include <openssl/sm2.h> | 37 | #include <openssl/sm2.h> |
38 | #include "sm2_locl.h" | 38 | #include "sm2_local.h" |
39 | 39 | ||
40 | static EC_GROUP * | 40 | static EC_GROUP * |
41 | create_EC_group(const char *p_hex, const char *a_hex, const char *b_hex, | 41 | create_EC_group(const char *p_hex, const char *a_hex, const char *b_hex, |
diff --git a/src/regress/lib/libcrypto/utf8/utf8test.c b/src/regress/lib/libcrypto/utf8/utf8test.c index e3a47d5adf..26477e882c 100644 --- a/src/regress/lib/libcrypto/utf8/utf8test.c +++ b/src/regress/lib/libcrypto/utf8/utf8test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: utf8test.c,v 1.4 2018/07/17 17:06:50 tb Exp $ */ | 1 | /* $OpenBSD: utf8test.c,v 1.5 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Philip Guenther <guenther@openbsd.org> | 3 | * Copyright (c) 2014 Philip Guenther <guenther@openbsd.org> |
4 | * | 4 | * |
@@ -24,7 +24,7 @@ | |||
24 | #include <err.h> | 24 | #include <err.h> |
25 | 25 | ||
26 | #include <openssl/asn1.h> | 26 | #include <openssl/asn1.h> |
27 | #include "asn1_locl.h" /* peek into the internals */ | 27 | #include "asn1_local.h" /* peek into the internals */ |
28 | 28 | ||
29 | #define UNCHANGED 0xfedcba98 | 29 | #define UNCHANGED 0xfedcba98 |
30 | 30 | ||
diff --git a/src/regress/lib/libssl/asn1/asn1test.c b/src/regress/lib/libssl/asn1/asn1test.c index 4cb905a86e..6e9362b3e5 100644 --- a/src/regress/lib/libssl/asn1/asn1test.c +++ b/src/regress/lib/libssl/asn1/asn1test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1test.c,v 1.11 2022/06/07 18:00:51 tb Exp $ */ | 1 | /* $OpenBSD: asn1test.c,v 1.12 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014, 2016 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014, 2016 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -23,7 +23,7 @@ | |||
23 | #include <openssl/ssl.h> | 23 | #include <openssl/ssl.h> |
24 | #include <openssl/tls1.h> | 24 | #include <openssl/tls1.h> |
25 | 25 | ||
26 | #include "ssl_locl.h" | 26 | #include "ssl_local.h" |
27 | 27 | ||
28 | int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); | 28 | int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); |
29 | SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, | 29 | SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, |
diff --git a/src/regress/lib/libssl/dtls/dtlstest.c b/src/regress/lib/libssl/dtls/dtlstest.c index 2d0d6cf5e8..a749bcf0ed 100644 --- a/src/regress/lib/libssl/dtls/dtlstest.c +++ b/src/regress/lib/libssl/dtls/dtlstest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dtlstest.c,v 1.17 2022/10/26 20:31:38 tb Exp $ */ | 1 | /* $OpenBSD: dtlstest.c,v 1.18 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -28,7 +28,7 @@ | |||
28 | #include <openssl/ssl.h> | 28 | #include <openssl/ssl.h> |
29 | 29 | ||
30 | #include "bio_local.h" | 30 | #include "bio_local.h" |
31 | #include "ssl_locl.h" | 31 | #include "ssl_local.h" |
32 | 32 | ||
33 | const char *server_ca_file; | 33 | const char *server_ca_file; |
34 | const char *server_cert_file; | 34 | const char *server_cert_file; |
diff --git a/src/regress/lib/libssl/exporter/exportertest.c b/src/regress/lib/libssl/exporter/exportertest.c index d8606fc027..66155bde57 100644 --- a/src/regress/lib/libssl/exporter/exportertest.c +++ b/src/regress/lib/libssl/exporter/exportertest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: exportertest.c,v 1.1 2022/11/05 21:58:24 jsing Exp $ */ | 1 | /* $OpenBSD: exportertest.c,v 1.2 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -22,7 +22,7 @@ | |||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | #include <string.h> | 23 | #include <string.h> |
24 | 24 | ||
25 | #include "ssl_locl.h" | 25 | #include "ssl_local.h" |
26 | 26 | ||
27 | static void | 27 | static void |
28 | hexdump(const unsigned char *buf, size_t len) | 28 | hexdump(const unsigned char *buf, size_t len) |
diff --git a/src/regress/lib/libssl/key_schedule/key_schedule.c b/src/regress/lib/libssl/key_schedule/key_schedule.c index 2746bb593d..f937d042c4 100644 --- a/src/regress/lib/libssl/key_schedule/key_schedule.c +++ b/src/regress/lib/libssl/key_schedule/key_schedule.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: key_schedule.c,v 1.9 2019/11/18 02:09:58 beck Exp $ */ | 1 | /* $OpenBSD: key_schedule.c,v 1.10 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018-2019 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018-2019 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <err.h> | 18 | #include <err.h> |
19 | 19 | ||
20 | #include "ssl_locl.h" | 20 | #include "ssl_local.h" |
21 | 21 | ||
22 | #include "bytestring.h" | 22 | #include "bytestring.h" |
23 | #include "ssl_tlsext.h" | 23 | #include "ssl_tlsext.h" |
diff --git a/src/regress/lib/libssl/record_layer/record_layer_test.c b/src/regress/lib/libssl/record_layer/record_layer_test.c index 95f13b8cc7..2db0c10f83 100644 --- a/src/regress/lib/libssl/record_layer/record_layer_test.c +++ b/src/regress/lib/libssl/record_layer/record_layer_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: record_layer_test.c,v 1.5 2022/06/10 22:00:15 tb Exp $ */ | 1 | /* $OpenBSD: record_layer_test.c,v 1.6 2022/11/26 16:08:56 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -18,7 +18,7 @@ | |||
18 | #include <err.h> | 18 | #include <err.h> |
19 | #include <string.h> | 19 | #include <string.h> |
20 | 20 | ||
21 | #include "ssl_locl.h" | 21 | #include "ssl_local.h" |
22 | #include "tls13_internal.h" | 22 | #include "tls13_internal.h" |
23 | #include "tls13_record.h" | 23 | #include "tls13_record.h" |
24 | 24 | ||
diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c index ff5a584d6c..c72551cf52 100644 --- a/src/regress/lib/libssl/ssl/ssltest.c +++ b/src/regress/lib/libssl/ssl/ssltest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssltest.c,v 1.35 2022/07/07 13:10:22 tb Exp $ */ | 1 | /* $OpenBSD: ssltest.c,v 1.36 2022/11/26 16:08:57 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -176,7 +176,7 @@ | |||
176 | #include <openssl/dh.h> | 176 | #include <openssl/dh.h> |
177 | #include <openssl/bn.h> | 177 | #include <openssl/bn.h> |
178 | 178 | ||
179 | #include "ssl_locl.h" | 179 | #include "ssl_local.h" |
180 | 180 | ||
181 | #define TEST_SERVER_CERT "../apps/server.pem" | 181 | #define TEST_SERVER_CERT "../apps/server.pem" |
182 | #define TEST_CLIENT_CERT "../apps/client.pem" | 182 | #define TEST_CLIENT_CERT "../apps/client.pem" |
diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index dd5eeec1f5..923c50d5aa 100644 --- a/src/regress/lib/libssl/tlsext/tlsexttest.c +++ b/src/regress/lib/libssl/tlsext/tlsexttest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tlsexttest.c,v 1.78 2022/10/21 14:58:53 tb Exp $ */ | 1 | /* $OpenBSD: tlsexttest.c,v 1.79 2022/11/26 16:08:57 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> | 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> |
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include <openssl/tls1.h> | 23 | #include <openssl/tls1.h> |
24 | 24 | ||
25 | #include "ssl_locl.h" | 25 | #include "ssl_local.h" |
26 | 26 | ||
27 | #include "bytestring.h" | 27 | #include "bytestring.h" |
28 | #include "ssl_tlsext.h" | 28 | #include "ssl_tlsext.h" |
diff --git a/src/regress/lib/libssl/unit/cipher_list.c b/src/regress/lib/libssl/unit/cipher_list.c index 543db41c24..a63c5ae69f 100644 --- a/src/regress/lib/libssl/unit/cipher_list.c +++ b/src/regress/lib/libssl/unit/cipher_list.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cipher_list.c,v 1.12 2022/10/02 16:38:23 jsing Exp $ */ | 1 | /* $OpenBSD: cipher_list.c,v 1.13 2022/11/26 16:08:57 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> | 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> |
4 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> |
@@ -39,7 +39,7 @@ | |||
39 | #include <stdio.h> | 39 | #include <stdio.h> |
40 | #include <string.h> | 40 | #include <string.h> |
41 | 41 | ||
42 | #include "ssl_locl.h" | 42 | #include "ssl_local.h" |
43 | 43 | ||
44 | #include "tests.h" | 44 | #include "tests.h" |
45 | 45 | ||
diff --git a/src/regress/lib/libssl/unit/ssl_versions.c b/src/regress/lib/libssl/unit/ssl_versions.c index e9bcecafe5..261bed3a7a 100644 --- a/src/regress/lib/libssl/unit/ssl_versions.c +++ b/src/regress/lib/libssl/unit/ssl_versions.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_versions.c,v 1.18 2022/10/02 16:38:23 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_versions.c,v 1.19 2022/11/26 16:08:57 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <openssl/ssl.h> | 18 | #include <openssl/ssl.h> |
19 | 19 | ||
20 | #include "ssl_locl.h" | 20 | #include "ssl_local.h" |
21 | 21 | ||
22 | struct version_range_test { | 22 | struct version_range_test { |
23 | const long options; | 23 | const long options; |
diff --git a/src/regress/lib/libssl/unit/tls_ext_alpn.c b/src/regress/lib/libssl/unit/tls_ext_alpn.c index f0e4894557..d00f3efb5f 100644 --- a/src/regress/lib/libssl/unit/tls_ext_alpn.c +++ b/src/regress/lib/libssl/unit/tls_ext_alpn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_ext_alpn.c,v 1.8 2022/10/02 16:38:23 jsing Exp $ */ | 1 | /* $OpenBSD: tls_ext_alpn.c,v 1.9 2022/11/26 16:08:57 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> | 3 | * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <stdio.h> | 21 | #include <stdio.h> |
22 | #include <openssl/ssl.h> | 22 | #include <openssl/ssl.h> |
23 | 23 | ||
24 | #include "ssl_locl.h" | 24 | #include "ssl_local.h" |
25 | #include "ssl_tlsext.h" | 25 | #include "ssl_tlsext.h" |
26 | 26 | ||
27 | #include "tests.h" | 27 | #include "tests.h" |
diff --git a/src/regress/lib/libssl/unit/tls_prf.c b/src/regress/lib/libssl/unit/tls_prf.c index bf0de1f044..a22d0e70d0 100644 --- a/src/regress/lib/libssl/unit/tls_prf.c +++ b/src/regress/lib/libssl/unit/tls_prf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_prf.c,v 1.7 2022/06/10 22:00:15 tb Exp $ */ | 1 | /* $OpenBSD: tls_prf.c,v 1.8 2022/11/26 16:08:57 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <err.h> | 18 | #include <err.h> |
19 | 19 | ||
20 | #include "ssl_locl.h" | 20 | #include "ssl_local.h" |
21 | 21 | ||
22 | int tls1_PRF(SSL *s, const unsigned char *secret, size_t secret_len, | 22 | int tls1_PRF(SSL *s, const unsigned char *secret, size_t secret_len, |
23 | const void *seed1, size_t seed1_len, const void *seed2, size_t seed2_len, | 23 | const void *seed1, size_t seed1_len, const void *seed2, size_t seed2_len, |