Visible to Intel only — GUID: GUID-A30BD9A1-D2A5-438E-973F-3C957DF7CB5C
Visible to Intel only — GUID: GUID-A30BD9A1-D2A5-438E-973F-3C957DF7CB5C
HashMethodSet
Initializes IppsHashMethod structure by pre-defined hash algorithm parameters.
Syntax
const IppStatus ippsHashMethodSet_SHA1(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA1_NI(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA1_TT(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA256(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA256_NI(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA256_TT(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA224(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA224_NI(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA224_TT(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA512(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA384(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA512_224(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SHA512_256(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_MD5(IppsHashMethod* pMethod);
const IppStatus ippsHashMethodSet_SM3(IppsHashMethod* pMethod);
Include Files
ippcp.h
Parameters
IppsHashMethod* |
Pointer to the uninitialized hash method. |
Description
Each of these functions accepts a pointer to uninitialized memory of the size obtained using HashMethodGetSize, and initializes this memory tomethod-definedimplementation of a particular hash algorithm. Use these functionsin calls to HashInit and HashMessage.
Return Values
ippStsNoErr |
Indicates no errors. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |