Computes the DAC value of the message.
IppStatus ippsDAABlowfishMessageDigest(const Ipp8u *pSrcMsg, int msgLen, const Ipp8u *pKey, int keyLen, Ipp8u *pMAC, int macLen);
pSrcMsg |
Pointer to the input message. |
msgLen |
Message length in bytes. |
pKey |
Pointer to the user-supplied key. |
keyLen |
Key length. |
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 applied 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, macLen is less than 1 or greater than cipher's data block length, keyLen value is illegal. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.