Automated testing tool for algorithms from JavaCard API supported by particular smart card. Performance testing of almost all available methods. The results for more than 100+ cards.
Thank you @nc-adnan for reporting, it will take longer to fix this issue due to need for re-measurement of existing results for these six values. So I'm leaving the issue open for now.
According to the Java Card 3.0.5 API, the
keyLength
parameter passed to theKeyBuilder.buildKey
method is the key size in bits.In the KeyBuilder tests configs, the key sizes are specified in bytes for
TYPE_HMAC
keys (64/128) which leads to incorrect results:see _JCAlgTest/AlgTestJClient/src/algtestjclient/SingleModeTest.java: