Upravit

Sdílet prostřednictvím


A_SHAUpdate function

Adds data to a specified hash object.

Syntax

void RSA32API A_SHAUpdate(
  _Inout_ A_SHA_CTX     *Context,
  _In_    UNSIGNED CHAR *Buffer,
          UNSIGNED INT  BufferSize
);

Parameters

Context [in, out]

The SHA context.

Buffer [in]

A pointer to a buffer that contains the data to be added to the hash object.

BufferSize

The size of the buffer.

Return value

This function does not return a value.

Remarks

This function can be called multiple times to compute the hash on long data streams or discontinuous data streams. The A_SHAFinal function must be called before retrieving the hash value.

This function is very similar to SHAUpdate, but is called directly from the library, rather than being routed through the cryptography infrastructure. For more information, see Windows NTCryptographic Providers.

Requirements

Requirement Value
Header
Sha.h
Library
Ntdll.dll
DLL
Ntdll.dll