Computes the HMAC value of an entire message.
IppStatus ippsHMACSHA224MessageDigest(const Ipp8u *pSrcMesg, int mesgLen, const Ipp8u *pKey, int keyLen, Ipp8u *pMAC, int macLen);
pSrcMesg |
Pointer to the input message. |
mesgLen |
Message length in bytes. |
pKey |
Pointer to the user-supplied key. |
keyLen |
Key length in bytes. |
pMAC |
Pointer to the resultant HMAC value. |
macLen |
Specified HMAC length. |
This function is declared in the ippcp.h file. The function takes the input key pKey of the specified key length keyLen and applies the keyed hash-based message authentication code scheme to transform the input message into the respective message authentication code pMAC of the specified length macLen.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsLengthErr |
Indicates an error condition if msgLen is less than zero and macLen is less than one or greater than the length of the hash value. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.