SPA with HMAC SHA256 and SHA384 now works
authorMichael Rash <mbr@cipherdyne.org>
Sun, 10 Mar 2013 18:26:05 +0000 (14:26 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Sun, 10 Mar 2013 18:26:05 +0000 (14:26 -0400)
commit22dde8eb351fb2ad01e0f6d532c787a19e1e44ae
tree661398d3e2c31c240f0d63ce93823d050e86d125
parent6f45b2c3b15c40ab57e503cb148d6e9781cae240
SPA with HMAC SHA256 and SHA384 now works

This is a fairly significant commit that lays the groundwork for getting
selectable HMAC modes working for both the client and server.  One libfko API
change was required so that the hmac_type is passed into fko_new_with_data().
This allows the server to set the hmac_type via access.conf stanzas.  The
effort in this commit will be extended to allow HMAC MD5, SHA1, and SHA512
also function properly.
client/fwknop.c
lib/fko.h
lib/fko_error.c
lib/fko_funcs.c
lib/fko_hmac.c
server/access.c
server/incoming_spa.c
test/conf/hmac_sha1_access.conf
test/conf/hmac_sha384_access.conf
test/test-fwknop.pl
test/tests/rijndael_hmac.pl