shishi_authenticator_add_cksum3
Api function
Usage
#include <shishi.h>
int shishi_authenticator_add_cksum(Shishi * handle, Shishi_asn1 authenticator, Shishi_key * key, int keyusage, char * data, size_t datalen);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 authenticator
|
authenticator as allocated by |
Shishi_key * key
|
key to to use for encryption. |
int keyusage
|
cryptographic key usage value to use in encryption. |
char * data
|
input array with data to calculate checksum on. |
size_t datalen
|
size of input array with data to calculate checksum on. |
Overview
Calculate checksum for data and store it in the authenticator.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.