Topic: wc_Sha256Final(sha256, hash) - who frees hash?
I'm using this function when creating a sha256 hash. my questions is, who frees the memory for hash, which is a byte*?
The examples in the doc don't show how this is allocated. Would I be OK assuming that if I do the following, it will be allocated on the stack and deleted when it goes out of scope?
Sha256 sha256; // call init and update here char hash; int ret = wc_Sha256Final(sha256, hash);