Page 1 of 1
How to verify that the RSA calculation process is under attack
Posted: Wed Apr 18, 2018 6:22 am
by BirdKing
Hello everyone
I have a problem with RSA on javacard. How to verify that the RSA calculation process is under attack ?
Again RSA ? Does anyone have a better way?
Re: How to verify that the RSA calculation process is under attack
Posted: Wed Apr 18, 2018 9:41 pm
by jennyvenus
The security of the algorithm is ensured by the javacard os platform. In the applet layer, you can catch the exception of the api
Re: How to verify that the RSA calculation process is under attack
Posted: Thu Apr 19, 2018 1:34 am
by wumindejia
Does not call rsa authentication interface(verify).You can decrypt rsa ciphertext, and then judge the decryption result.
Re: How to verify that the RSA calculation process is under attack
Posted: Mon May 14, 2018 6:28 am
by BirdKing
wumindejia wrote:Does not call rsa authentication interface(verify).You can decrypt rsa ciphertext, and then judge the decryption result.
your way is very interesting. But I mean is how to detect attack during the RSA process or after the RSA process.
Re: How to verify that the RSA calculation process is under attack
Posted: Mon May 14, 2018 12:45 pm
by rhino
I guess that his method maybe takes effect. If some attack is running, the final result might not be right. But the new question is how to assure that the decrypting process which isn't being attacked.
Re: How to verify that the RSA calculation process is under attack
Posted: Tue May 15, 2018 2:32 am
by BirdKing
In this way, the padding algorithm maybe premeditated. And, in algorithm library, cipher and signature is same.