Generates a pseudorandom mask of the specified length using MD5 hash function.
IppStatus ippsMGF_MD5(const Ipp8u *pSeed, int seedLen, Ipp8u* pMask, int maskLen);
pSeed |
Pointer to the input octet string. |
seedLen |
Length of the input string. |
pMask |
Pointer to the output pseodorandom mask. |
maskLen |
Desired length of the output. |
This function is declared in the ippcp.h file. The function generates a pseudorandom mask of the specified length using MD5 hash algorithm.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if pMask pointer is NULL. |
ippStsLengthErr |
Indicates an error condition if any of the specified lengths is negative or zero. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.