Skip to content

Commit ea4436f

Browse files
authored
Advantages and potential drawbacks
1 parent 6f1e938 commit ea4436f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ package opencrypto.jcmathlib;
5050
**Q:** Sounds good, how can I start to fiddle with the JCMathLibrary library?<br>
5151
**A:** Buy [suitable](https://www.fi.muni.cz/~xsvenda/jcalgtest/) JavaCard for $10-20 with EC support ([buyers'guide](https://github.com/martinpaljak/GlobalPlatformPro/tree/master/docs/JavaCardBuyersGuide#javacard-buyers-guide-of-2015)), download this library source code, compile example project with [ant-javacard](https://github.com/martinpaljak/ant-javacard) and start playing. Don't forget to read [wiki](https://github.com/mavroudisv/JCMathLib/wiki) for examples and tutorials.
5252

53+
## Advantages and potential drawbacks
54+
**Advantages:**
55+
* Availability of low-level ECPoint operations (not included in standard javacard API) without a need to use a proprietary API (which usually requires signing a non-disclosure agreement).
56+
* Code portability between smart cards from different manufacturers.
57+
* Possibility to use open-source simulator [JCardSim](https://jcardsim.org/) instead of vendor-specific one.
58+
59+
**Potential drawbacks (in comparison to vendor-specific API):**
60+
* Slower speed for some EC operations like addition or scalar multiplication (see [wiki](https://github.com/OpenCryptoProject/JCMathLib/wiki#performance-and-memory-overhead) for times measured on real cards
61+
* RAM memory overhead (about 1kB for fastest performance). Is configurable with an option to place all temporary objects in EEPROM (slower performance).
62+
* Lower resilience against various side-channel and fault-induction attacks.
63+
5364
## Example applet, compilation, upload, and use
5465

5566
- Download ECExample project, open command line in project's root directory

0 commit comments

Comments
 (0)