summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/whrlpool
diff options
context:
space:
mode:
authortb <>2022-11-26 16:08:57 +0000
committertb <>2022-11-26 16:08:57 +0000
commitd0a21970fdc0fbbfc7ad31bc135f5a8fde1d3d49 (patch)
tree556ebf909e81599dc3d8da585217d1576eabe0e4 /src/lib/libcrypto/whrlpool
parentbcbac728558eebfaa4404c405e7dc22769585345 (diff)
downloadopenbsd-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
Diffstat (limited to 'src/lib/libcrypto/whrlpool')
-rw-r--r--src/lib/libcrypto/whrlpool/wp_block.c4
-rw-r--r--src/lib/libcrypto/whrlpool/wp_dgst.c4
-rw-r--r--src/lib/libcrypto/whrlpool/wp_local.h (renamed from src/lib/libcrypto/whrlpool/wp_locl.h)2
3 files changed, 5 insertions, 5 deletions
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
45typedef unsigned char u8; 45typedef 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