1KCAPI_MD_FINAL(3) Programming Interface KCAPI_MD_FINAL(3)
2
3
4
6 kcapi_md_final - message digest finalization function (stream)
7
9 int32_t kcapi_md_final(struct kcapi_handle * handle, uint8_t * buffer,
10 uint32_t len);
11
13 handle
14 [in] cipher handle
15
16 buffer
17 [out] filled with the message digest
18
19 len
20 [in] buffer length
21
23 return size of message digest upon success; -EIO - data cannot be
24 obtained; -ENOMEM - buffer is too small for the complete message
25 digest, the buffer is filled with the truncated message digest
26
28 Stephan Mueller <smueller@chronox.de>
29 Author.
30
32libkcapi Manual 1.1.5 January 2020 KCAPI_MD_FINAL(3)