- fixed some docu issues

This commit is contained in:
Martin Willi
2005-11-24 11:41:30 +00:00
parent 7a09fceae0
commit 4ed9966524
+4 -3
View File
@@ -70,7 +70,7 @@ struct hmac_t {
* @param data chunk of data to authenticate * @param data chunk of data to authenticate
* @param [out]chunk chunk which will hold generated bytes * @param [out]chunk chunk which will hold generated bytes
* @return * @return
* - SUCCESS in any case * - SUCCESS, or
* - OUT_OF_RES if space could not be allocated * - OUT_OF_RES if space could not be allocated
*/ */
status_t (*allocate_mac) (hmac_t *this, chunk_t data, chunk_t *chunk); status_t (*allocate_mac) (hmac_t *this, chunk_t data, chunk_t *chunk);
@@ -90,9 +90,10 @@ struct hmac_t {
* *
* @param this calling hmac * @param this calling hmac
* @param key key to set * @param key key to set
* @return block size in bytes * @return
* - SUCCESS in any case
*/ */
size_t (*set_key) (hmac_t *this, chunk_t key); status_t (*set_key) (hmac_t *this, chunk_t key);
/** /**
* @brief Destroys a hmac object. * @brief Destroys a hmac object.