Last active
May 22, 2018 03:59
-
-
Save laevandus/cc884470dd6148011cca0d5b4488878f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
@function CCHmac | |
@abstract Create the Message Authentication Code. | |
@param algorithm HMAC algorithm to perform. | |
@param key Raw key bytes. | |
@param keyLength Count of raw key bytes. It can also be zero. | |
@param data Raw data bytes. | |
@param dataLength Count of data bytes. | |
@param macOut Output buffer allocated by caller. | |
*/ | |
void CCHmac(CCHmacAlgorithm algorithm, const void *key, size_t keyLength, const void *data, size_t dataLength, void *macOut); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment