SVC_CompareSHA1

Syntax

#include <twl/os/common/systemCall.h>
int SVC_CompareSHA1( const void* decedHash,
                       const void* digest );

Arguments

decedHash SHA-1 value 1
digest SHA-1 value 2

Return Values

Returns TRUE if the SHA-1 values match after comparison. Returns FALSE if they do not match, or if NULL was passed to one of the arguments.

Description

Compares the results of two SHA-1 values.

Internally, this compares the 20 bytes starting at the areas indicated by decedHash and digest.

See Also

SVC_CalcSHA1

Revision History

2007/10/19 Initial version.


CONFIDENTIAL