Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHash_Digest ( kHash  hash,
void *  buffer,
kSize  size 
)

Returns the digest.

The size of the buffer in bytes must be at least kHash_DigestSize(). A call of this function does not change the internal buffers.

Parameters
hashHash object.
bufferReceives the digest for the data.
sizeSize of the buffer in bytes.
Returns
Operation status.