hmac_sha256 icon indicating copy to clipboard operation
hmac_sha256 copied to clipboard

hmac: Remove dynamic memory allocation

Open cminyard opened this issue 2 years ago • 1 comments

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.

cminyard avatar Sep 16 '23 17:09 cminyard

This PR is a nice improvement to the "library"

cdaven avatar Oct 01 '25 08:10 cdaven