Re[2]: [openssl.org #748] bug in speed.c

2004-01-06 Thread Kirill Kochetkov via RT

Hello Lutz,
It's me again :)

bug in speed.c:

insead
#ifndef OPENSSL_NO_DSA
if (strcmp(*argv,dsa) == 0)
{
dsa_doit[R_DSA_512]=1;
dsa_doit[R_DSA_1024]=1;
}
else

probably must be
#ifndef OPENSSL_NO_DSA
if (strcmp(*argv,dsa) == 0)
{
dsa_doit[R_DSA_512]=1;
dsa_doit[R_DSA_1024]=1;
dsa_doit[R_DSA_2048]=1;
}
else

dsa is equal dsa512 dsa1024 dsa2048 ?

-- 
Best regards,
 Kirillmailto:[EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: [openssl.org #748] bug in speed.c

2003-12-11 Thread Lutz Jaenicke via RT

On Tue, Dec 09, 2003 at 07:55:32PM +0100, Kirill Kochetkov via RT wrote:
 type/block size in openssl speed is just buffer size for calling cbc
 routines.
 and block size is fixed for different algorithms (as 8 bytes for DES).
 but now I don't clear about type. Is it simply input data size and can be
 not only 16,64,256,1024,8192 bytes and even more?
 and openssl can work with files not only in memory and they can be any size?

The block cipher algorithms do work in memory. It is however not necessary
that the data to be handled is a power of 2. It just has to be a multiple
of the block size. For DES, it can be 8, 16, 24, 32, etc. (padding is
required to reach the full multiple).
The algorithms themselves do work in memory, so if you have data too large
to be held in memory, you have to work in chunks. In CBC (cipher block
chaining mode), the IV (initial value) coming out of the last crypto operation
has to be used as the starting point for the next one.

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: [openssl.org #748] bug in speed.c

2003-12-09 Thread Kirill Kochetkov via RT

Hello Lutz,

Last month I try find answer for:
What block (I mean what are long the block) is standard for cbc's like des/idea/aes 
and using in SSH/SSL and
other well known applications?
openssl speed dive me too many results and I want to choose major.
Can You help me?

-- 
Best regards,
 Kirillmailto:[EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


Re: [openssl.org #748] bug in speed.c

2003-12-09 Thread Kirill Kochetkov via RT

Hello Lutz,
seems to be I find answer :)
type/block size in openssl speed is just buffer size for calling cbc
routines.
and block size is fixed for different algorithms (as 8 bytes for DES).
but now I don't clear about type. Is it simply input data size and can be
not only 16,64,256,1024,8192 bytes and even more?
and openssl can work with files not only in memory and they can be any size?
-- 
Best regards,
 Kirillmailto:[EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #748] bug in speed.c

2003-11-18 Thread Lutz Jaenicke via RT

[EMAIL PROTECTED] - Wed Oct 29 08:34:31 2003]:

 Hello!
 
 It's me agaig :)
 I change speed.c for benchmarking AES methods too.
 It was easy :)
 May be it will help you.


Thanks, I have applied your changes to CVS.

Best regards,
   Lutz

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]