diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-24 11:41:30 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-24 11:41:30 +0000 |
commit | 4ed9966524c41a006a755695e8d4fdb54daee33c (patch) | |
tree | 735b47b7909ad9ac32fa29a893c1044b114fb88e /Source/charon/transforms | |
parent | 7a09fceae03666d04e5048194746069fb91dc0a9 (diff) | |
download | strongswan-4ed9966524c41a006a755695e8d4fdb54daee33c.tar.bz2 strongswan-4ed9966524c41a006a755695e8d4fdb54daee33c.tar.xz |
- fixed some docu issues
Diffstat (limited to 'Source/charon/transforms')
-rw-r--r-- | Source/charon/transforms/hmac.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/charon/transforms/hmac.h b/Source/charon/transforms/hmac.h index 329c64340..6b71a5570 100644 --- a/Source/charon/transforms/hmac.h +++ b/Source/charon/transforms/hmac.h @@ -70,7 +70,7 @@ struct hmac_t { * @param data chunk of data to authenticate * @param [out]chunk chunk which will hold generated bytes * @return - * - SUCCESS in any case + * - SUCCESS, or * - OUT_OF_RES if space could not be allocated */ 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 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. |