Page 1 of 1

who can help me to resolve the question and thanks

Posted: Thu Oct 25, 2018 10:36 pm
by happy123654
who can help me to resolve the question and thanks very much!

I write a applet to test my java cos. this applet can test algorithm and there have some command to implement the JCAPI: cipher.update and cipher.dofinal with the rsa std key(not rsa crt key). The rsa key is 2048 bit lenght and private rsa key .
the commands are as followed:
80048000c0 + ciphertext //the first half cipher text and the applet will call cipher.update
8004010040 + ciphertext//the second half cipher text and the applet will call cipher.dofinal

the first command cann't return anything from the java cos in TA protocol and the test is failure.

If i modify the command as followed:
80048000a0 + ciphertext //the first half cipher text and the applet will call cipher.update
8004010060 + ciphertext//the second half cipher text and the applet will call cipher.dofinal
the test case is right.

who can help me?

Re: who can help me to resolve the question and thanks

Posted: Thu Oct 25, 2018 10:40 pm
by later123654
I want to know the value of ATS. can you tell me?

Re: who can help me to resolve the question and thanks

Posted: Thu Oct 25, 2018 10:41 pm
by happy123654
My ATS: 78806102. thanks.

Re: who can help me to resolve the question and thanks

Posted: Thu Oct 25, 2018 10:42 pm
by later123654
I think you set the FWT too little and it make the frame wait time shorter.
You can set the FWT bigger and test again。

Re: who can help me to resolve the question and thanks

Posted: Fri Oct 26, 2018 2:35 am
by happy123654
I set FWT bigger and the test case is ok.
Now, I have a question: where I make the command data less, I can get the right response, why?

Re: who can help me to resolve the question and thanks

Posted: Fri Oct 26, 2018 2:40 am
by later123654
I think perhapse there are some datas needed to write into NVM and the less command data need less time.
Perhapse, you just change the time distribution framework and it just stagger the import time order of WTX sending and receiving.

Re: who can help me to resolve the question and thanks

Posted: Fri Oct 26, 2018 2:42 am
by happy123654
thanks and you are professional.