shishi_authenticator_cksum3
Api function
Usage
#include <shishi.h>
int shishi_authenticator_cksum(Shishi * handle, Shishi_asn1 authenticator, int32_t * cksumtype, char ** cksum, size_t * cksumlen);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 authenticator
|
authenticator as allocated by |
int32_t * cksumtype
|
output checksum type. |
char ** cksum
|
newly allocated output checksum data from authenticator. |
size_t * cksumlen
|
on output, actual size of allocated output checksum data buffer. |
Overview
Read checksum value from authenticator. cksum is allocated by this function, and it is the responsibility of caller to deallocate it.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.