summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2025-04-21 15:54:32 +0000
committerjsing <>2025-04-21 15:54:32 +0000
commit1c0efc8280713824e8dcbf6ffff13ab3e175a292 (patch)
tree32c0b6ad236f54316bc557509a808ff87bdfbeb8 /src
parente66fd50b80dc444eecc875f61de9cdfd63bf8ad7 (diff)
downloadopenbsd-1c0efc8280713824e8dcbf6ffff13ab3e175a292.tar.gz
openbsd-1c0efc8280713824e8dcbf6ffff13ab3e175a292.tar.bz2
openbsd-1c0efc8280713824e8dcbf6ffff13ab3e175a292.zip
Tidy includes.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/modes/cbc128.c6
-rw-r--r--src/lib/libcrypto/modes/ccm128.c6
-rw-r--r--src/lib/libcrypto/modes/cfb128.c6
-rw-r--r--src/lib/libcrypto/modes/ctr128.c6
-rw-r--r--src/lib/libcrypto/modes/ofb128.c6
-rw-r--r--src/lib/libcrypto/modes/xts128.c9
6 files changed, 25 insertions, 14 deletions
diff --git a/src/lib/libcrypto/modes/cbc128.c b/src/lib/libcrypto/modes/cbc128.c
index f8ebf79a87..a1f17d7ca4 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.8 2023/07/08 14:56:54 beck Exp $ */ 1/* $OpenBSD: cbc128.c,v 1.9 2025/04/21 15:54:32 jsing 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 *
@@ -49,9 +49,11 @@
49 * 49 *
50 */ 50 */
51 51
52#include <string.h>
53
52#include <openssl/crypto.h> 54#include <openssl/crypto.h>
55
53#include "modes_local.h" 56#include "modes_local.h"
54#include <string.h>
55 57
56#ifndef MODES_DEBUG 58#ifndef MODES_DEBUG
57# ifndef NDEBUG 59# ifndef NDEBUG
diff --git a/src/lib/libcrypto/modes/ccm128.c b/src/lib/libcrypto/modes/ccm128.c
index 68c5cce5da..8ea0cba77e 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.8 2023/07/08 14:56:54 beck Exp $ */ 1/* $OpenBSD: ccm128.c,v 1.9 2025/04/21 15:54:32 jsing 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 *
@@ -48,9 +48,11 @@
48 * ==================================================================== 48 * ====================================================================
49 */ 49 */
50 50
51#include <string.h>
52
51#include <openssl/crypto.h> 53#include <openssl/crypto.h>
54
52#include "modes_local.h" 55#include "modes_local.h"
53#include <string.h>
54 56
55#ifndef MODES_DEBUG 57#ifndef MODES_DEBUG
56# ifndef NDEBUG 58# ifndef NDEBUG
diff --git a/src/lib/libcrypto/modes/cfb128.c b/src/lib/libcrypto/modes/cfb128.c
index 931353a620..e6bacee890 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.7 2023/07/08 14:56:54 beck Exp $ */ 1/* $OpenBSD: cfb128.c,v 1.8 2025/04/21 15:54:32 jsing 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 *
@@ -49,9 +49,11 @@
49 * 49 *
50 */ 50 */
51 51
52#include <string.h>
53
52#include <openssl/crypto.h> 54#include <openssl/crypto.h>
55
53#include "modes_local.h" 56#include "modes_local.h"
54#include <string.h>
55 57
56#ifndef MODES_DEBUG 58#ifndef MODES_DEBUG
57# ifndef NDEBUG 59# ifndef NDEBUG
diff --git a/src/lib/libcrypto/modes/ctr128.c b/src/lib/libcrypto/modes/ctr128.c
index 6d507dfc3a..0eff5b7296 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.11 2023/07/08 14:56:54 beck Exp $ */ 1/* $OpenBSD: ctr128.c,v 1.12 2025/04/21 15:54:32 jsing 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 *
@@ -49,9 +49,11 @@
49 * 49 *
50 */ 50 */
51 51
52#include <string.h>
53
52#include <openssl/crypto.h> 54#include <openssl/crypto.h>
55
53#include "modes_local.h" 56#include "modes_local.h"
54#include <string.h>
55 57
56#ifndef MODES_DEBUG 58#ifndef MODES_DEBUG
57# ifndef NDEBUG 59# ifndef NDEBUG
diff --git a/src/lib/libcrypto/modes/ofb128.c b/src/lib/libcrypto/modes/ofb128.c
index 42afd29d58..d8b3b6b8f4 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.7 2023/07/08 14:56:54 beck Exp $ */ 1/* $OpenBSD: ofb128.c,v 1.8 2025/04/21 15:54:32 jsing 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 *
@@ -49,9 +49,11 @@
49 * 49 *
50 */ 50 */
51 51
52#include <string.h>
53
52#include <openssl/crypto.h> 54#include <openssl/crypto.h>
55
53#include "modes_local.h" 56#include "modes_local.h"
54#include <string.h>
55 57
56#ifndef MODES_DEBUG 58#ifndef MODES_DEBUG
57# ifndef NDEBUG 59# ifndef NDEBUG
diff --git a/src/lib/libcrypto/modes/xts128.c b/src/lib/libcrypto/modes/xts128.c
index 7516acf850..eb635ef088 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.12 2023/07/08 14:56:54 beck Exp $ */ 1/* $OpenBSD: xts128.c,v 1.13 2025/04/21 15:54:32 jsing 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 *
@@ -48,12 +48,13 @@
48 * ==================================================================== 48 * ====================================================================
49 */ 49 */
50 50
51#include <openssl/crypto.h>
52#include "modes_local.h"
53
54#include <endian.h> 51#include <endian.h>
55#include <string.h> 52#include <string.h>
56 53
54#include <openssl/crypto.h>
55
56#include "modes_local.h"
57
57#ifndef MODES_DEBUG 58#ifndef MODES_DEBUG
58# ifndef NDEBUG 59# ifndef NDEBUG
59# define NDEBUG 60# define NDEBUG