[erlang-patches] Crypto documentation enhancements for HMAC types

Daniel White daniel@REDACTED
Wed Sep 26 16:50:26 CEST 2012


Had a few surprises with the documentation, particularly with
HMAC-SHA256 being available but not realising until I dug into the
code.

The primary patch documents every type available to hmac_init.

I'm less sure about whether the second patch as it adds an entry for
each sha*_mac function.  Is there a desire to keep both types of
interface standard in the long run?  Or is the more general hmac_init
suitable enough?

Patch info:

git fetch git://github.com/danielwhite/otp.git enhance-crypto-hmac-documentation

https://github.com/danielwhite/otp/compare/enhance-crypto-hmac-documentation
https://github.com/danielwhite/otp/compare/enhance-crypto-hmac-documentation.patch

Regards,
-- 
Daniel White



More information about the erlang-patches mailing list