Computes SHA-256 digest value of the input message.
IppStatus ippsSHA256MessageDigest(const Ipp8u *pSrcMsg, int mesglen, Ipp8u *pMD);
pSrcMesg |
Pointer to the input message. |
mesglen |
Message length in octets. |
pMD |
Pointer to the resultant digest. |
This function is declared in the ippcp.h file. The function uses the selected hash algorithm to compute the digest value of the entire (non-streaming) input message.
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 the input data stream length is less than zero. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.