Closed vault-thirteen closed 7 months ago
_argon2_compare
is marked as a static
function with in argon2.c
which means it is only available within that source file, and not public symbol than can be exported.
Thank you. I forgot that static in C is not the same as in C++. My bad. Thank you.
I am trying to build a library for WASM and I set the list of functions to export. One function raises an error and this function is a static one.
Output:
What is wrong with it ? Does WASM support static functions ? https://github.com/vault-thirteen/argon2/blob/main/src/argon2.c#L239
P. S.
Without this function there are no errors, so this one is the reason.
Thank you.