On Thu, Dec 8, 2016 at 2:05 AM, Savolainen, Petri (Nokia - FI/Espoo)
wrote:
>> /**
>> + * Random kind selector
>> + *
>> + * The kind of random denotes the statistical quality of the random data
>> + * returned. Basic random simply appears uniformly distributed,
>> Cryptographic
>> + * random is
> /**
> + * Random kind selector
> + *
> + * The kind of random denotes the statistical quality of the random data
> + * returned. Basic random simply appears uniformly distributed,
> Cryptographic
> + * random is statistically random and suitable for use by cryptographic
> + * functions. True ran
Rework the odp_random_data() API to replace the use_entropy with an
explicit odp_random_kind parameter that controls the type of random
desired. Two new APIs are also introduced:
- odp_random_max_kind() returns the maximum kind of random data available
- odp_random_repeatable_data() permits appli