tiencr.c
/*
 * \brief Populate an array with random bytes, nothing special beyond that
 *
 * \param key Pointer to byte array
 * \param len Length of buffer
 */
\brief Populate an array with random bytes, nothing special beyond that
\param key Pointer to byte array
\param len Length of buffer
\ brief Populate an array with random bytes nothing special beyond that \ param key Pointer to byte array \ param len Length of buffer
void populate_key(uint8_t* key, size_t len)
{
	size_t i;
	for(i=0;i<len;i++)
	{
		key[i] = rand();
	}
}
void populate_key ( uint8_t * key , size_t len ) { size_t i ; for ( i = 0 ; i < len ; i ++ ) { key [ i ] = rand ( ) ; } }
\brief Populate an array with random bytes, nothing special beyond that
 \param key Pointer to byte array
 \param len Length of buffer
\ brief Populate an array with random bytes nothing special beyond that \ param key Pointer to byte array \ param len Length of buffer