Re: RNG using AES CTR as encryption algorithm

2009-09-14 Thread Damien Miller
On Mon, 14 Sep 2009, Peter Gutmann wrote: > Damien Miller writes: > > >The seems unlikely, since we don't use OpenSSL for AES-CTR in OpenSSH. I > >don't think OpenSSL even supports a CTR mode through its EVP API. > > I first saw it reported on the Putty bugs list [0], a good place to track > in

Re: RNG using AES CTR as encryption algorithm

2009-09-14 Thread Peter Gutmann
Damien Miller writes: >The seems unlikely, since we don't use OpenSSL for AES-CTR in OpenSSH. I >don't think OpenSSL even supports a CTR mode through its EVP API. I first saw it reported on the Putty bugs list [0], a good place to track interop problems with implementations since it's so widely

Re: RNG using AES CTR as encryption algorithm

2009-09-14 Thread Damien Miller
On Wed, 9 Sep 2009, Peter Gutmann wrote: > I was just going to reply with a variation of this, if you're implementing a > full protocol that uses AES-CTR (or any algorithm/mode for that matter), find > other implementations that do it too and make sure that you can talk to them. > In theory everyo

Re: RNG using AES CTR as encryption algorithm

2009-09-09 Thread Zooko Wilcox-O'Hearn
And while you are at it, please implement these test vectors and report to Niels Ferguson: http://blogs.msdn.com/si_team/archive/2006/05/19/aes-test-vectors.aspx Regards, Zooko - The Cryptography Mailing List Unsubscribe by

Re: RNG using AES CTR as encryption algorithm

2009-09-09 Thread Matt Ball
On Tue, Sep 1, 2009 at 11:28 PM, priya yelgar wrote: > I have implemented RNG using AES algorithm in CTR mode. > > To test my implementation I needed some test vectors. > > How ever I searched on the CSRC site, but found the test vectors for AES_CBC > not for AES CTR. > > Please  can any one tell

Re: RNG using AES CTR as encryption algorithm

2009-09-09 Thread Peter Gutmann
David Johnston writes: >Convincing yourself that you have implemented AES-CTR correctly usually >involves first checking that your AES-ECB is correct, then putting the output >of you counter construction into some other known good AES-CTR implementation >and comparing the results with your implem

Re: RNG using AES CTR as encryption algorithm

2009-09-08 Thread David Johnston
NIST doesn't provide specific KAT vectors for AES-CTR because the results depend on your specific counter construction. When you interact with a FIPS test lab, you will provide them with your counter construction, they will provide you with the KATs and you will then test to those KATs. This i

Re: RNG using AES CTR as encryption algorithm

2009-09-08 Thread Jack Lloyd
On Wed, Sep 02, 2009 at 10:58:03AM +0530, priya yelgar wrote: > Hi all, > > I have implemented RNG using AES algorithm in CTR mode. > > To test my implementation I needed some test vectors. > > How ever I searched on the CSRC site, but found the test vectors for AES_CBC > not for AES CTR. > >

Re: RNG using AES CTR as encryption algorithm

2009-09-08 Thread Nicolas Williams
On Wed, Sep 02, 2009 at 10:58:03AM +0530, priya yelgar wrote: > How ever I searched on the CSRC site, but found the test vectors for > AES_CBC not for AES CTR. > > Please  can any one tell me where to look for the test vectors to test > RNG using  AES CTR. They are trivially constructed from the

RNG using AES CTR as encryption algorithm

2009-09-04 Thread priya yelgar
Hi all, I have implemented RNG using AES algorithm in CTR mode. To test my implementation I needed some test vectors. How ever I searched on the CSRC site, but found the test vectors for AES_CBC not for AES CTR. Please  can any one tell me where to look for the test vectors to test RNG using