Dear all,

        Sorry to bother you again. The following table shows the time
recorded for each process. The program basically can be categorized as
follows:

1. host get id number from ring
2. host get random number generated in the ring from ring
3. host get the hash (sha-1) generated in the ring from ring


Instruction             Max Time(ms)    Average Time(ms)
--------------------------------------------------------
host get id number
from the ring           1652            1648
--------------------------------------------------------
ring generate
random number
and send to host
(host ask for it)       1713            1684
--------------------------------------------------------
ring generate
SHA-1 with id 
and random number
and send to host
(host ask for it)       1672            1657
---------------------------------------------------------

        I have several questions:

1. Does that mean that:
        sending a command APDU and getting back a response APDU 
   needs about 1.6 seconds (shown in host get id number from ring)?

2. Does that mean that ring needs about 1684-1648= 36 miliseconds to
   generate the random number (of 4 bytes)?

3. Does that mean that ring needs about 1657-1648= 9 miliseconds to
   generate the SHA-1 message (taking 64 bytes input and produce a digest
   message of 20 bytes)?

        I do hope that you could help me with these kind of
measurements. Thousand thanks for your kindness and help. Wish you all the
best.

Best regards,
Cheun Ngen CHONG





---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to