test vectors for CTR DRBG

2011-09-12 Thread Jiri Hladky
Hello,

I'm looking for the test vectors for CTR DRBG random number generator. I got
test vectors from

 http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip

which contains  CTR_DRBG.rsp file. However, I'm looking for the following
scenario which is not covered right now:

[AES-128 no df]
[PredictionResistance = False]
[EntropyInputLen = 256]
[NonceLen = 0]
[PersonalizationStringLen = 0]
[AdditionalInputLen = 0]

Can anybody please provide such testing vectors?

Thanks a lot!
Jiri


Re: test vectors for CTR DRBG

2011-10-19 Thread nimou


Jiri Hladky-2 wrote:
> 
> Hello,
> 
> I'm looking for the test vectors for CTR DRBG random number generator. I
> got
> test vectors from
> 
>  http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
> 
> which contains  CTR_DRBG.rsp file. However, I'm looking for the following
> scenario which is not covered right now:
> 
> [AES-128 no df]
> [PredictionResistance = False]
> [EntropyInputLen = 256]
> [NonceLen = 0]
> [PersonalizationStringLen = 0]
> [AdditionalInputLen = 0]
> 
> Can anybody please provide such testing vectors?
> 
> Thanks a lot!
> Jiri
> 
> 

Actually, you can use vectors from the following scenario : 

[AES-128 no df]
[PredictionResistance = False]
[EntropyInputLen = 256]
[NonceLen = 64]
[PersonalizationStringLen = 0]
[AdditionalInputLen = 0]

Here, it says that there is a nonce of length 64, but it is not used as
there is no nonce used when DF is not used... So even though this scenario
provides a nonce value, it is never used.

Trust me I tested it myself ! (you can also verify in SP800-90 that no nonce
is used when no df..)

Cheers !



Julien

-- 
View this message in context: 
http://old.nabble.com/test-vectors-for-CTR-DRBG-tp32446997p32683724.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: test vectors for CTR DRBG

2011-11-07 Thread Jiri Hladky
Hi Julien,

thanks for the hint, I'm going to try it!

Sorry for the long delay in response, I was quite sometime off-line and now
I'm going through all the e-mails...

Thanks!

Jirka

On Wed, Oct 19, 2011 at 7:06 PM, nimou  wrote:

>
>
> Jiri Hladky-2 wrote:
> >
> > Hello,
> >
> > I'm looking for the test vectors for CTR DRBG random number generator. I
> > got
> > test vectors from
> >
> >  http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
> >
> > which contains  CTR_DRBG.rsp file. However, I'm looking for the following
> > scenario which is not covered right now:
> >
> > [AES-128 no df]
> > [PredictionResistance = False]
> > [EntropyInputLen = 256]
> > [NonceLen = 0]
> > [PersonalizationStringLen = 0]
> > [AdditionalInputLen = 0]
> >
> > Can anybody please provide such testing vectors?
> >
> > Thanks a lot!
> > Jiri
> >
> >
>
> Actually, you can use vectors from the following scenario :
>
> [AES-128 no df]
> [PredictionResistance = False]
> [EntropyInputLen = 256]
> [NonceLen = 64]
> [PersonalizationStringLen = 0]
> [AdditionalInputLen = 0]
>
> Here, it says that there is a nonce of length 64, but it is not used as
> there is no nonce used when DF is not used... So even though this scenario
> provides a nonce value, it is never used.
>
> Trust me I tested it myself ! (you can also verify in SP800-90 that no
> nonce
> is used when no df..)
>
> Cheers !
>
>
>
> Julien
>
> --
> View this message in context:
> http://old.nabble.com/test-vectors-for-CTR-DRBG-tp32446997p32683724.html
> Sent from the OpenSSL - User mailing list archive at Nabble.com.
> __
> OpenSSL Project http://www.openssl.org
> User Support Mailing Listopenssl-users@openssl.org
> Automated List Manager   majord...@openssl.org
>