Skip to content

Commit 5099815

Browse files
committed
Suqaring via RSA in simulator does not work on all numbers
1 parent 57b224c commit 5099815

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

applet/src/main/java/opencrypto/jcmathlib/OperationSupport.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public void setCard(short card_identifier) {
5757
EC_HW_ADD = true;
5858
EC_SW_DOUBLE = true;
5959
EC_PRECISE_BITLENGTH = false;
60+
RSA_SQ = false;
6061
break;
6162
case JCOP21:
6263
RSA_PUB = true;

0 commit comments

Comments
 (0)