diff options
author | beck <> | 2024-04-09 13:52:42 +0000 |
---|---|---|
committer | beck <> | 2024-04-09 13:52:42 +0000 |
commit | b8c1a99fdb41738feb7a1352029c5f5aa42fed86 (patch) | |
tree | b9ee99887d6be79187ba476e0f6ac92f0820775f /src/lib/libcrypto/evp/evp_key.c | |
parent | 94d86681cdef7dae37d5ce494a200523ce63b70c (diff) | |
download | openbsd-b8c1a99fdb41738feb7a1352029c5f5aa42fed86.tar.gz openbsd-b8c1a99fdb41738feb7a1352029c5f5aa42fed86.tar.bz2 openbsd-b8c1a99fdb41738feb7a1352029c5f5aa42fed86.zip |
Hide public symbols in evp.h
largely mechanically done by the guentherizer 9000
ok tb@
Diffstat (limited to 'src/lib/libcrypto/evp/evp_key.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_key.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_key.c b/src/lib/libcrypto/evp/evp_key.c index da103c853f..e7c7ec3294 100644 --- a/src/lib/libcrypto/evp/evp_key.c +++ b/src/lib/libcrypto/evp/evp_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_key.c,v 1.35 2024/03/25 10:58:06 joshua Exp $ */ | 1 | /* $OpenBSD: evp_key.c,v 1.36 2024/04/09 13:52:41 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -78,6 +78,7 @@ EVP_set_pw_prompt(const char *prompt) | |||
78 | else | 78 | else |
79 | strlcpy(prompt_string, prompt, sizeof(prompt_string)); | 79 | strlcpy(prompt_string, prompt, sizeof(prompt_string)); |
80 | } | 80 | } |
81 | LCRYPTO_ALIAS(EVP_set_pw_prompt); | ||
81 | 82 | ||
82 | char * | 83 | char * |
83 | EVP_get_pw_prompt(void) | 84 | EVP_get_pw_prompt(void) |
@@ -87,12 +88,14 @@ EVP_get_pw_prompt(void) | |||
87 | 88 | ||
88 | return prompt_string; | 89 | return prompt_string; |
89 | } | 90 | } |
91 | LCRYPTO_ALIAS(EVP_get_pw_prompt); | ||
90 | 92 | ||
91 | int | 93 | int |
92 | EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) | 94 | EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) |
93 | { | 95 | { |
94 | return EVP_read_pw_string_min(buf, 0, len, prompt, verify); | 96 | return EVP_read_pw_string_min(buf, 0, len, prompt, verify); |
95 | } | 97 | } |
98 | LCRYPTO_ALIAS(EVP_read_pw_string); | ||
96 | 99 | ||
97 | int | 100 | int |
98 | EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, | 101 | EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, |
@@ -129,6 +132,7 @@ EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, | |||
129 | 132 | ||
130 | return ret; | 133 | return ret; |
131 | } | 134 | } |
135 | LCRYPTO_ALIAS(EVP_read_pw_string_min); | ||
132 | 136 | ||
133 | int | 137 | int |
134 | EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md, | 138 | EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md, |
@@ -216,3 +220,4 @@ err: | |||
216 | explicit_bzero(md_buf, sizeof md_buf); | 220 | explicit_bzero(md_buf, sizeof md_buf); |
217 | return rv; | 221 | return rv; |
218 | } | 222 | } |
223 | LCRYPTO_ALIAS(EVP_BytesToKey); | ||