Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Fix crypto hmac to accept binary keys + add test cases from rfc 2202 and #1027

Closed
wants to merge 1 commit into from
Closed

Fix crypto hmac to accept binary keys + add test cases from rfc 2202 and #1027

wants to merge 1 commit into from

Conversation

stbuehler
Copy link

Fix crypto hmac to accept binary keys + add test cases from rfc 2202 and 4231

Fixes #324

Instead of converting buffers to strings and back again to char array
directly use the buffer data in hmac_init (same as in hmac_update).

…and 4231

Fixes #324

Instead of converting buffers to strings and back again to char array
directly use the buffer data in hmac_init (same as in hmac_update).
@stbuehler
Copy link
Author

Although the original reporter closed the bug, the bug is still not fixed. I just rebased my patch (no changes necessary).

@koichik
Copy link

koichik commented Jul 24, 2011

Can you sign the CLA?

@stbuehler
Copy link
Author

Done

@koichik koichik closed this in db99395 Jul 24, 2011
@koichik
Copy link

koichik commented Jul 24, 2011

I modified format a little. Thanks!

@stbuehler stbuehler deleted the fix-crypto-hmac-to-accept-binary-keys branch January 7, 2014 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants