Commit graph

5 commits

Author SHA1 Message Date
Simon Walton
da7298b8bd Support only HMAC - take out passing around of secret UUID
Also other clean-up for production use.
2018-03-19 15:28:44 -07:00
Simon Walton
af21cac0c2 Fixes for gcc 2018-03-19 12:53:16 -07:00
Simon Walton
db8a1ccb3e Set HMAC key once and reuse OpenSSL context
Store the HMAC wrapper in Node. Unfortunately requires a
lot of plumbing down to NLPacket. Added a mutex to the
wrapper since suspicious crashes occurred.
Authentication times seem to be comparable to existing MD5.
2018-03-16 18:03:13 -07:00
Simon Walton
480f76c21a Quick trial of HMAC-MD5 auth + timings 2018-03-16 11:50:03 -07:00
Simon Walton
82b68fce8d Quick attempt at using openssl HMAC in NLPacket 2018-03-15 18:32:48 -07:00