Skip to content
petrs edited this page Jul 25, 2017 · 24 revisions

Welcome to the JCMathLib wiki!

  • Main components of JCMathLib:
    • Functional: Bignat, Integer, ECPoint and ECCurve
    • Supportive: Memory allocator and locker, Performance profiler
    • Examples & tests
  • Prerequisities of used smart cards: JavaCard API, EC / RSA / memory
  • Compilation, upload, dependencies
    • ant-javacard
    • GlobalPlatformPro
  • Performance on real cards (table)
  • Example use for ECPoint operations
  • Example use for Bignat and Integer operations
  • Memory management of shared objects and logical locking
    • Easy to set RAM or EEPROM placement for array
    • Allows for nuanced tradeoff between resource consumption (RAM is very limited, usually less than 3kB) and speed performance (data in RAM are written faster)
  • Performance profiler
    • Prerequisities and caveats
    • Setup and execution
    • How to intepret results
Clone this wiki locally