paullouisageneau / libjuice

JUICE is a UDP Interactive Connectivity Establishment library
Mozilla Public License 2.0
434 stars 82 forks source link

[Question] Can we use something else than Nettle or OpenSSL for HMAC computation ? #42

Closed Nemirtingas closed 4 years ago

Nemirtingas commented 4 years ago

Hi, I feel like importing the whole Nettle or OpenSSL lib just for HMAC computation is a bit overkill. Can we use something lighter like https://github.com/kazuho/picohash ?

paullouisageneau commented 4 years ago

The rationale for depending for Nettle or OpenSSL was that libdatachannel itself depends either on GnuTLS (so indirectly Nettle) or OpenSSL. However, that's a good idea to make things easier for people using libjuice by itself.

Nemirtingas commented 4 years ago

Cool, thanks.