SHA1Init

Initializes user-supplied memory as IppsSHA1State context for future use.

Syntax

IppStatus ippsSHA1Init(IppsSHA1State* pCtx);

Parameters

pCtx

Pointer to the IppsSHA1State context being intialized.

Description

This function is declared in the ippcp.h file. The function initializes the memory pointed by pCtx as IppsSHA1State context.

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.

Submit feedback on this help topic

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