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

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@stbuehler

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).

@stbuehler stbuehler 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).
0e3894e
@stbuehler

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

@koichik
koichik commented Jul 24, 2011

Can you sign the CLA?

@stbuehler

Done

@koichik koichik added a commit that closed this pull request Jul 24, 2011
@stbuehler stbuehler Fix crypto hmac to accept binary keys + add test cases from rfc 2202 …
…and 4231

Fixes #324.
Fixes #1027.

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).
db99395
@koichik koichik closed this in db99395 Jul 24, 2011
@koichik
koichik commented Jul 24, 2011

I modified format a little. Thanks!

@stbuehler stbuehler deleted the unknown repository branch Jan 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment