Hello,

I just started working on openssl. I am running make test and redirecting
the output to a log file. After that I am writing a parser that will scan
the log file and will show the count of tests passed, failed, warnings etc.

I have one doubt on this. I went throught the log file attached. In that it
shows the 2220 tests passed, but after that also there are some statements
like

----------->
test elliptic curves
SEC2 curve secp160r1 -- Generator:
 x = 0x4A96B5688EF573284664698968C38BB913CBFC82
 y = 0x23A628553168947D59DCC912042351377AC5FB32
verify degree ... ok
verify group order .... ok

testing ECDSA_sign() and ECDSA_verify() with some internal curves:
secp160k1: ....... ok
secp160r1: ....... ok
secp160r2: ....... ok
secp192k1: ....... ok


Testing key generation with NIST Prime-Curve P-192 .... ok
Testing key generation with NIST Prime-Curve P-224 .... ok

testing X509 conversions
p -> d
p -> n
p -> p
d -> d
n -> d
p -> d

PKCS #1 v1.5 encryption/decryption ok

Testing cipher AES-128-ECB(encrypt)
Key
0000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
Plaintext
0000 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff
Ciphertext
0000 69 c4 e0 d8 6a 7b 04 30 d8 cd b7 80 70 b4 c5 5a

test tls1 with 1024bit anonymous DH, multiple handshakes
Available compression methods:
 NONE
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
DONE via BIO pair: TLSv1, cipher TLSv1/SSLv3 ADH-AES256-SHA
10 handshakes of 256 bytes done ---------------------->

can anyone please tell me how to count the no. of tests?? is it like 2220 is
the count of all the tests?? or
all showed as 'Ok' or 'Done' or '10 handshakes of 256 bytes done' are
different tests or what??? how shall i count them?

please guild me on this, what's the format of the log file?? how can i
differentiate on no. of tests, no. of tests passed, failed , errors etc.

Thanks and Regards
Dharmesh.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to