We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d05709 commit cca6cc0Copy full SHA for cca6cc0
2 files changed
wolfssl/wolfcrypt/hmac.h
@@ -210,13 +210,14 @@ WOLFSSL_LOCAL int _InitHmac(Hmac* hmac, int type, void* heap);
210
211
#ifdef HAVE_HKDF
212
213
-WOLFSSL_LOCAL int wc_HKDF_Extract_ex(int type, const byte* salt, word32 saltSz,
214
- const byte* inKey, word32 inKeySz, byte* out, void* heap, int devId);
+WOLFSSL_API int wc_HKDF_Extract_ex(int type, const byte* salt, word32 saltSz,
+ const byte* inKey, word32 inKeySz, byte* out,
215
+ void* heap, int devId);
216
217
WOLFSSL_API int wc_HKDF_Extract(int type, const byte* salt, word32 saltSz,
218
const byte* inKey, word32 inKeySz, byte* out);
219
-WOLFSSL_LOCAL int wc_HKDF_Expand_ex(int type, const byte* inKey, word32 inKeySz,
220
+WOLFSSL_API int wc_HKDF_Expand_ex(int type, const byte* inKey, word32 inKeySz,
221
const byte* info, word32 infoSz,
222
byte* out, word32 outSz, void* heap, int devId);
223
WOLFSSL_API int wc_HKDF_Expand(int type, const byte* inKey, word32 inKeySz,
wolfssl/wolfcrypt/kdf.h
@@ -76,14 +76,14 @@ enum {
76
MAX_TLS13_HKDF_LABEL_SZ = 47 + WC_MAX_DIGEST_SIZE
77
};
78
79
-WOLFSSL_LOCAL int wc_Tls13_HKDF_Extract_ex(byte* prk, const byte* salt,
80
- word32 saltLen, byte* ikm, word32 ikmLen, int digest,
81
- void* heap, int devId);
+WOLFSSL_API int wc_Tls13_HKDF_Extract_ex(byte* prk, const byte* salt,
+ word32 saltLen, byte* ikm, word32 ikmLen, int digest,
82
83
WOLFSSL_API int wc_Tls13_HKDF_Extract(byte* prk, const byte* salt,
84
word32 saltLen, byte* ikm, word32 ikmLen, int digest);
85
86
-WOLFSSL_LOCAL int wc_Tls13_HKDF_Expand_Label_ex(byte* okm, word32 okmLen,
+WOLFSSL_API int wc_Tls13_HKDF_Expand_Label_ex(byte* okm, word32 okmLen,
87
const byte* prk, word32 prkLen,
88
const byte* protocol, word32 protocolLen,
89
const byte* label, word32 labelLen,
0 commit comments