DAATDESMessageDigest

Computes the DAC value of the message.

Syntax

IppStatus ippsDAATDESMessageDigest(const Ipp8u *pSrcMsg, int msgLen, const Ipp8u *pKey1, const Ipp8u *pKey2, const Ipp8u *pKey3, Ipp8u *pMAC, int macLen);

Parameters

pSrcMsg

Pointer to the input message.

msgLen

Message length in bytes.

pKey1

Pointer to the user-supplied key.

pKey2

Pointer to the user-supplied key.

pKey3

Pointer to the user-supplied key.

pMAC

Pointer to the resultant HMAC value.

macLen

Specified HMAC length.

Description

This function is declared in the ippcp.h file. The function takes the input key pKey1, pKey2, and pKey3 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.

Return Values

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.

See Also

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.