Zen API

- Home
- Topics
- Types
- Files

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

  hash | Hash object.
  buffer | Receives the digest for the data.
  size | Size of the buffer in bytes.

Returns
  Operation status.