KCAPI_AEAD_GETDATA_O(3) | Programming Interface | KCAPI_AEAD_GETDATA_O(3) |
kcapi_aead_getdata_output - get the pointers into output buffer
void kcapi_aead_getdata_output(struct kcapi_handle * handle, uint8_t * encdata, uint32_t encdatalen, int enc, uint8_t ** aad, uint32_t * aadlen, uint8_t ** data, uint32_t * datalen, uint8_t ** tag, uint32_t * taglen);
handle
encdata
encdatalen
enc
aad
aadlen
data
datalen
tag
taglen
This function is a service function to the consumer to locate the right ciphertext buffer offset holding the authentication tag. In addition, it provides the consumer with the length of the tag and the length of the ciphertext.
Stephan Mueller <smueller@chronox.de>
November 2020 | libkcapi Manual 1.2.1 |