Function to copy a particular context (md_context_t for example)
It will be nice to have a function that allows one to duplicate a particular context in it's current state ala
EVP_MD_CTX_copy() in OpenSSL.
This is a handy function to have if there are large amounts of data to be hashed where only a few bytes differ from each other. Alternatively, is there another way to accomplish this?
Agreed. I'll put it on the list..
There is no quick way to do it now without a non-generic switch with the different MD-type context sizes.