hmac_sha256
hmac_sha256 copied to clipboard
hmac: Remove dynamic memory allocation
Since the sha256 implementation can take partial inputs, there is no need to allocate a block of memory in the H() function. Just put the two pieces of data into the function in separate calls.
This PR is a nice improvement to the "library"