diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2023-07-08 06:13:09 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2023-07-08 06:13:09 +0000 |
commit | 49a7e8477d7341cb67ca4f825053495f753d2288 (patch) | |
tree | 6c4db07ba173505949dbee1fefc8ffdf7a22f649 /lib/libcrypto/sm3 | |
parent | ae5685d5502e3fb3e8ee68b024a8df349ade5e31 (diff) |
Hide symbols in sm3
ok tb@ jsing@
Diffstat (limited to 'lib/libcrypto/sm3')
-rw-r--r-- | lib/libcrypto/sm3/sm3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/sm3/sm3.c b/lib/libcrypto/sm3/sm3.c index df4a4e82290..a787006434a 100644 --- a/lib/libcrypto/sm3/sm3.c +++ b/lib/libcrypto/sm3/sm3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sm3.c,v 1.4 2023/07/07 19:37:54 beck Exp $ */ +/* $OpenBSD: sm3.c,v 1.5 2023/07/08 06:13:08 beck Exp $ */ /* * Copyright (c) 2018, Ribose Inc * @@ -20,6 +20,8 @@ #include <openssl/sm3.h> #include "sm3_local.h" +LCRYPTO_ALIAS(SM3_Update); +LCRYPTO_ALIAS(SM3_Final); int SM3_Init(SM3_CTX *c) @@ -35,6 +37,7 @@ SM3_Init(SM3_CTX *c) c->H = SM3_H; return 1; } +LCRYPTO_ALIAS(SM3_Init); void SM3_block_data_order(SM3_CTX *ctx, const void *p, size_t num) |