2012/10/31 Theodore Ts'o :
> On Tue, Oct 30, 2012 at 08:12:39PM +0900, Akinobu Mita wrote:
>> >>
>> >> How about prandom32_get_bytes_state() and prandom32_get_bytes() instead?
>> >
>> > I agree with your suggestion. I'll rename them and try again.
>> >
>> > By the way, should we also rename the
2012/10/31 Theodore Ts'o ty...@mit.edu:
On Tue, Oct 30, 2012 at 08:12:39PM +0900, Akinobu Mita wrote:
How about prandom32_get_bytes_state() and prandom32_get_bytes() instead?
I agree with your suggestion. I'll rename them and try again.
By the way, should we also rename the existing
On Tue, Oct 30, 2012 at 08:12:39PM +0900, Akinobu Mita wrote:
> >>
> >> How about prandom32_get_bytes_state() and prandom32_get_bytes() instead?
> >
> > I agree with your suggestion. I'll rename them and try again.
> >
> > By the way, should we also rename the existing random32() and
> >
2012/10/30 Akinobu Mita :
> 2012/10/30 Theodore Ts'o :
>> On Sun, Oct 28, 2012 at 04:18:58PM +0900, Akinobu Mita wrote:
>>> /**
>>> + * prandom32_get_bytes - get the requested number of pseudo-random bytes
>>> + * @state: pointer to state structure holding seeded state.
>>> + * @buf: where
2012/10/30 Theodore Ts'o :
> On Sun, Oct 28, 2012 at 04:18:58PM +0900, Akinobu Mita wrote:
>> /**
>> + * prandom32_get_bytes - get the requested number of pseudo-random bytes
>> + * @state: pointer to state structure holding seeded state.
>> + * @buf: where to copy the pseudo-random bytes
2012/10/30 Theodore Ts'o ty...@mit.edu:
On Sun, Oct 28, 2012 at 04:18:58PM +0900, Akinobu Mita wrote:
/**
+ * prandom32_get_bytes - get the requested number of pseudo-random bytes
+ * @state: pointer to state structure holding seeded state.
+ * @buf: where to copy the pseudo-random
2012/10/30 Akinobu Mita akinobu.m...@gmail.com:
2012/10/30 Theodore Ts'o ty...@mit.edu:
On Sun, Oct 28, 2012 at 04:18:58PM +0900, Akinobu Mita wrote:
/**
+ * prandom32_get_bytes - get the requested number of pseudo-random bytes
+ * @state: pointer to state structure holding seeded state.
On Tue, Oct 30, 2012 at 08:12:39PM +0900, Akinobu Mita wrote:
How about prandom32_get_bytes_state() and prandom32_get_bytes() instead?
I agree with your suggestion. I'll rename them and try again.
By the way, should we also rename the existing random32() and
prandom32() in the
On Sun, Oct 28, 2012 at 04:18:58PM +0900, Akinobu Mita wrote:
> /**
> + * prandom32_get_bytes - get the requested number of pseudo-random bytes
> + * @state: pointer to state structure holding seeded state.
> + * @buf: where to copy the pseudo-random bytes to
> + * @bytes: the requested
On Sun, Oct 28, 2012 at 04:18:58PM +0900, Akinobu Mita wrote:
/**
+ * prandom32_get_bytes - get the requested number of pseudo-random bytes
+ * @state: pointer to state structure holding seeded state.
+ * @buf: where to copy the pseudo-random bytes to
+ * @bytes: the requested number
Add functions to get the requested number of pseudo-random bytes.
The difference from get_random_bytes() is that it uses pseudo-random
numbers generated by random32. It is fast, suitable for generating
random bytes for testing, and reproducible if prandom32 interface is used.
Signed-off-by:
Add functions to get the requested number of pseudo-random bytes.
The difference from get_random_bytes() is that it uses pseudo-random
numbers generated by random32. It is fast, suitable for generating
random bytes for testing, and reproducible if prandom32 interface is used.
Signed-off-by:
12 matches
Mail list logo