Re: [lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit controls over random data

2016-12-07 Thread Bill Fischofer
On Wed, Dec 7, 2016 at 8:21 AM, Savolainen, Petri (Nokia - FI/Espoo) wrote: > >> >> +int32_t odp_random_repeatable_data(uint8_t *buf, uint32_t len, >> >> +odp_random_kind_t kind, uint32_t >> *seed); >> >> >> > >> > If

Re: [lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit controls over random data

2016-12-07 Thread Savolainen, Petri (Nokia - FI/Espoo)
> >> +int32_t odp_random_repeatable_data(uint8_t *buf, uint32_t len, > >> +odp_random_kind_t kind, uint32_t > *seed); > >> > > > > If pseudo/deterministic is not a good term for this, then I think it's > better to profile it strictly for testing (all production

Re: [lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit controls over random data

2016-12-07 Thread Bill Fischofer
ber 05, 2016 11:29 PM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit >> controls over random data >> >> Rework the odp_random_data() API to replace the use_entropy with an >> explicit odp_random_kind para

Re: [lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit controls over random data

2016-12-07 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bill > Fischofer > Sent: Monday, December 05, 2016 11:29 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit > cont

Re: [lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit controls over random data

2016-12-05 Thread Bill Fischofer
Sorry about the typo in the patch subject. Obviously should be API-NEXT. I'll correct in v7 if that's needed. On Mon, Dec 5, 2016 at 3:28 PM, Bill Fischofer wrote: > Rework the odp_random_data() API to replace the use_entropy with an > explicit odp_random_kind

[lng-odp] [APO-NEXT PATCHv6 1/3] api: random: add explicit controls over random data

2016-12-05 Thread Bill Fischofer
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