diff options
author | beck <> | 2023-07-08 06:13:08 +0000 |
---|---|---|
committer | beck <> | 2023-07-08 06:13:08 +0000 |
commit | e1ea593bb1fac828fbd14800422748eda7a2febd (patch) | |
tree | f544977528a6206be45abe2972a94adb7095aa0e /src/lib/libcrypto/sm3/sm3.c | |
parent | 9a67247dade8301b319163999154fc477bea9462 (diff) | |
download | openbsd-e1ea593bb1fac828fbd14800422748eda7a2febd.tar.gz openbsd-e1ea593bb1fac828fbd14800422748eda7a2febd.tar.bz2 openbsd-e1ea593bb1fac828fbd14800422748eda7a2febd.zip |
Hide symbols in sm3
ok tb@ jsing@
Diffstat (limited to 'src/lib/libcrypto/sm3/sm3.c')
-rw-r--r-- | src/lib/libcrypto/sm3/sm3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/sm3/sm3.c b/src/lib/libcrypto/sm3/sm3.c index df4a4e8229..a787006434 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.4 2023/07/07 19:37:54 beck Exp $ */ | 1 | /* $OpenBSD: sm3.c,v 1.5 2023/07/08 06:13:08 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018, Ribose Inc | 3 | * Copyright (c) 2018, Ribose Inc |
4 | * | 4 | * |
@@ -20,6 +20,8 @@ | |||
20 | #include <openssl/sm3.h> | 20 | #include <openssl/sm3.h> |
21 | 21 | ||
22 | #include "sm3_local.h" | 22 | #include "sm3_local.h" |
23 | LCRYPTO_ALIAS(SM3_Update); | ||
24 | LCRYPTO_ALIAS(SM3_Final); | ||
23 | 25 | ||
24 | int | 26 | int |
25 | SM3_Init(SM3_CTX *c) | 27 | SM3_Init(SM3_CTX *c) |
@@ -35,6 +37,7 @@ SM3_Init(SM3_CTX *c) | |||
35 | c->H = SM3_H; | 37 | c->H = SM3_H; |
36 | return 1; | 38 | return 1; |
37 | } | 39 | } |
40 | LCRYPTO_ALIAS(SM3_Init); | ||
38 | 41 | ||
39 | void | 42 | void |
40 | SM3_block_data_order(SM3_CTX *ctx, const void *p, size_t num) | 43 | SM3_block_data_order(SM3_CTX *ctx, const void *p, size_t num) |