- code cleaned up

This commit is contained in:
Jan Hutter
2005-12-06 15:10:11 +00:00
parent ca4468addf
commit 1e7d52a611
6 changed files with 66 additions and 53 deletions
+11 -8
View File
@@ -32,10 +32,13 @@ typedef struct prf_plus_t prf_plus_t;
/**
* @brief Implementation of the prf+ function described in IKEv2 draft.
*
* This class implements the prf+ algorithm. Internalliy it uses a pseudo random
* This class implements the prf+ algorithm. Internally it uses a pseudo random
* function, which implements the prf_t interface.
*
* @see IKEv2 draft 2.13
*
* See IKEv2 draft 2.13.
*
* @b Constructors:
* - prf_plus_create()
*
* @ingroup transforms
*/
@@ -46,7 +49,7 @@ struct prf_plus_t {
* Get the next few bytes of the prf+ output. Space
* must be allocated by the caller.
*
* @param this calling prf_plus
* @param this calling object
* @param length number of bytes to get
* @param[out] buffer pointer where the generated bytes will be written
*/
@@ -58,7 +61,7 @@ struct prf_plus_t {
* Get the next few bytes of the prf+ output. This function
* will allocate the required space.
*
* @param this calling prf_plus
* @param this calling object
* @param length number of bytes to get
* @param[out] chunk chunk which will hold generated bytes
*/
@@ -67,7 +70,7 @@ struct prf_plus_t {
/**
* @brief Destroys a prf_plus_t object.
*
* @param this prf_plus_t object to destroy
* @param this calling object
*/
void (*destroy) (prf_plus_t *this);
};
@@ -77,11 +80,11 @@ struct prf_plus_t {
*
* Seed will be cloned. prf will
* not be cloned, must be destroyed outside after
* prf_plus usage.
* prf_plus_t usage.
*
* @param prf prf object to use
* @param seed input seed for prf
* @return created prf_plus_t
* @return prf_plus_t object
*
* @ingroup transforms
*/