Open firepear opened 2 years ago
Surrounding all HMAC-handling code with an if HMAC_CONST type situation, and adding a build tag const file
if HMAC_CONST
https://www.reddit.com/r/golang/comments/a8xb0x/comment/ecenc1c/?utm_source=reddit&utm_medium=web2x&context=3
Would make it possible to have the HMAC code not even exist if someone knows it isn't needed for their application.
Surrounding all HMAC-handling code with an
if HMAC_CONST
type situation, and adding a build tag const filehttps://www.reddit.com/r/golang/comments/a8xb0x/comment/ecenc1c/?utm_source=reddit&utm_medium=web2x&context=3
Would make it possible to have the HMAC code not even exist if someone knows it isn't needed for their application.