Closed Aiosa closed 4 years ago
Hello,
Thanks for your feedback and sorry for the long delay!
Regarding the casting errors, it depends on the compilation toolchain that is used apparently. We will try to add these casts in the next release (coming soon!).
Regarding the unused 'RFU' variable: RFU stands for 'reserved for future use'. Due to simplifications in the interface, some initialization variables were deprecated but kept to maintain backward compatibility. These unused variables could be used again in the future if needed...
Regards,
The Satochip team
Thanks for the clarification. I am working on a javacard applet store, needed deterministic build to be able to let others verify the source by generating the same cap
output, your applet is included. You can check it out here (https://github.com/JavaCardSpot-dev/JCAppStore) and possibly include it in your readme :)
Hello, when compiling the cap file using ant, I get one error (error: org.satochip.applet.CardEdge: unsupported int type of intermediate value, must cast intermediate value to type short or byte) - the culprits are:
and
Also, when searching for missing short casts, I noticed there are some lines that make no sense, would be nice to comment them out... though it looks more like bug to me
you are rewriting the value of unused
RFU
(it is not accessed afterwards) variable, yet increasing the value in thebase
variable.Just reporting what I was forced to find out, hope it will be useful :) All the lines are from the Applet class file CardEdge.java