removed trailing spaces ([[:space:]]+$)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup prf_plus prf_plus
|
||||
* @{ @ingroup crypto
|
||||
@@ -36,26 +36,26 @@ typedef struct prf_plus_t prf_plus_t;
|
||||
struct prf_plus_t {
|
||||
/**
|
||||
* Get pseudo random bytes.
|
||||
*
|
||||
*
|
||||
* Get the next few bytes of the prf+ output. Space
|
||||
* must be allocated by the caller.
|
||||
*
|
||||
*
|
||||
* @param length number of bytes to get
|
||||
* @param buffer pointer where the generated bytes will be written
|
||||
*/
|
||||
void (*get_bytes) (prf_plus_t *this, size_t length, u_int8_t *buffer);
|
||||
|
||||
|
||||
/**
|
||||
* Allocate pseudo random bytes.
|
||||
*
|
||||
*
|
||||
* Get the next few bytes of the prf+ output. This function
|
||||
* will allocate the required space.
|
||||
*
|
||||
*
|
||||
* @param length number of bytes to get
|
||||
* @param chunk chunk which will hold generated bytes
|
||||
*/
|
||||
void (*allocate_bytes) (prf_plus_t *this, size_t length, chunk_t *chunk);
|
||||
|
||||
|
||||
/**
|
||||
* Destroys a prf_plus_t object.
|
||||
*/
|
||||
@@ -64,11 +64,11 @@ struct prf_plus_t {
|
||||
|
||||
/**
|
||||
* Creates a new prf_plus_t object.
|
||||
*
|
||||
*
|
||||
* Seed will be cloned. prf will
|
||||
* not be cloned, must be destroyed outside after
|
||||
* prf_plus_t usage.
|
||||
*
|
||||
*
|
||||
* @param prf prf object to use
|
||||
* @param seed input seed for prf
|
||||
* @return prf_plus_t object
|
||||
|
||||
Reference in New Issue
Block a user