- added ability to append data
This commit is contained in:
@@ -37,6 +37,11 @@ struct hmac_s {
|
||||
/**
|
||||
* @brief Generate message authentication code.
|
||||
*
|
||||
* If buffer is NULL, no result is given back. A next call will
|
||||
* append the data to already supplied. If buffer is not NULL,
|
||||
* the mac of all apended data is calculated, returned and the
|
||||
* state of the hmac_t reset;
|
||||
*
|
||||
* @param this calling hmac
|
||||
* @param data chunk of data to authenticate
|
||||
* @param [out]buffer pointer where the generated bytes will be written
|
||||
@@ -49,6 +54,11 @@ struct hmac_s {
|
||||
* @brief Generates message authentication code and
|
||||
* allocate space for them.
|
||||
*
|
||||
* If chunk is NULL, no result is given back. A next call will
|
||||
* append the data to already supplied. If chunk is not NULL,
|
||||
* the mac of all apended data is calculated, returned and the
|
||||
* state of the hmac_t reset;
|
||||
*
|
||||
* @param this calling hmac
|
||||
* @param data chunk of data to authenticate
|
||||
* @param [out]chunk chunk which will hold generated bytes
|
||||
|
||||
Reference in New Issue
Block a user