MGF_MD5

Generates a pseudorandom mask of the specified length using MD5 hash function.

Syntax

IppStatus ippsMGF_MD5(const Ipp8u *pSeed, int seedLen, Ipp8u* pMask, int maskLen);

Parameters

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.

Description

This function is declared in the ippcp.h file. The function generates a pseudorandom mask of the specified length using MD5 hash algorithm.

Return Values

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.

Submit feedback on this help topic

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