diff options
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 |
