I'm using the function ippsHMACSHA1MessageDigest(const Ipp8u *pSrcMesg, int mesgLen, const Ipp8u *pKey, int keyLen, Ipp8u *pMAC, int macLen) and it fails with ippStsLengthErr.
The parameters are : mesgLen = 176, keyLen = 20, macLen = 10.
What could be the reason for ippStsLengthErr?
Thanks for the help!
according to the manual:
ippStsLengthErr - Indicates an error condition if msgLen is less than zero or macLen is less than one or greater than the length of the hash value.