Visit Mozilla.org

FC DigestUpdate

From MDC


[edit] Name

FC_DigestUpdate - process the next block of a multi-part digest operation.

[edit] Syntax

CK_RV FC_DigestUpdate(
  CK_SESSION_HANDLE hSession,
  CK_BYTE_PTR pPart,
  CK_ULONG usPartLen
);

[edit] Parameters

hSession
[in] session handle.
pPart
[in] pointer to the next block of data to be digested.
usPartLen
[in] length of data block in bytes.

[edit] Description

FC_DigestUpdate starts or continues a multi-part digest operation. One or more blocks may be part of the message digest operation. The digest for the entire message is returned by a call to FC_DigestFinal.

A user may call FC_DigestUpdate without logging into the token (to assume the NSS User role).

[edit] Return value

[edit] Examples

[edit] See also