diff options
| author | jsing <> | 2024-03-28 08:04:27 +0000 |
|---|---|---|
| committer | jsing <> | 2024-03-28 08:04:27 +0000 |
| commit | b9b5d17a0a6df5129eaf243db6dd4167253a93a9 (patch) | |
| tree | 7d997eef045843cbd6cf8fa8b0d5eea91fdbf13e /src | |
| parent | ac1c15ddc3dee14bf3718e99c0c56528144b13e9 (diff) | |
| download | openbsd-b9b5d17a0a6df5129eaf243db6dd4167253a93a9.tar.gz openbsd-b9b5d17a0a6df5129eaf243db6dd4167253a93a9.tar.bz2 openbsd-b9b5d17a0a6df5129eaf243db6dd4167253a93a9.zip | |
Tidy includes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/sm3/sm3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sm3/sm3.c b/src/lib/libcrypto/sm3/sm3.c index 04fc9f29f2..5269655594 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.7 2024/03/28 08:01:01 jsing Exp $ */ | 1 | /* $OpenBSD: sm3.c,v 1.8 2024/03/28 08:04:27 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
| 4 | * | 4 | * |
| @@ -15,14 +15,14 @@ | |||
| 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 | #ifndef OPENSSL_NO_SM3 | ||
| 19 | |||
| 20 | #include <openssl/sm3.h> | ||
| 21 | |||
| 22 | #include <string.h> | 18 | #include <string.h> |
| 23 | 19 | ||
| 24 | #include <openssl/opensslconf.h> | 20 | #include <openssl/opensslconf.h> |
| 25 | 21 | ||
| 22 | #include <openssl/sm3.h> | ||
| 23 | |||
| 24 | #ifndef OPENSSL_NO_SM3 | ||
| 25 | |||
| 26 | #define DATA_ORDER_IS_BIG_ENDIAN | 26 | #define DATA_ORDER_IS_BIG_ENDIAN |
| 27 | 27 | ||
| 28 | #define HASH_LONG SM3_WORD | 28 | #define HASH_LONG SM3_WORD |
