NFC / RFID reader performance

3 years 6 months ago
6 1 0

Hi,

We are using a NFC SmartCard for electronic authentication and signature.

The application is working well with TC55  (even if it a bit slow).
With the TC75, it very very slower and at least not usable on the field.

The following table describes tests perform with TC55 and TC75 to compare and also with to kind of algorithm (SHA1 and SHA2)

With SHA1, the step "Sending Hash to card for encryption" goes from 0.7s with TC55 to 2.264 s with TC75. (both with same software and same SmartCard)
With SHA2, encryption failed on TC75.
   

Logs
Step description
API call
TC55 SHA1
TC55 SHA2
TC75 SHA1
TC75 SHA2

Une carte a été détectée et est connectée
NFC Card detection
NFC Intent
0
0
0
0

[NFC] - Vérification de la validité du pin
Checking PIN code
IsoDep.isConnected() && IsoDep.transceive(APDU)
1,1
1,1
1,304
1,295

[NFC] - Hash à signer : 60e9e180e48dfa99186c5d1ce8c81b0f1717e861
Generating File and Hash

0,435
0,482
0,595
0,54

[NFC] - Le hash est en attente de signature
Sending Hash to NFC card
IsoDep.isConnected() && IsoDep.transceive(APDU)
0,7
1,515
2,264
2,18
FAIL

[NFC] - Longueur du hash : 256
Get signed Hash
IsoDep.isConnected() && IsoDep.transceive(APDU)
0,049
0,068
0,059

Total

2,284
3,165
4,222
4,015

I'm available for further details.

This is a blocking issue for our business case.

Stéphane.

Please Register or Login to post a reply

1 Replies

 
Crash log with SHA2
 
2015-01-02 16:17:54,543;IPV;DEBUG;[IsoCardNfcNextGen];[NFC] - Hash à signer : c68f678dd7da9855801b3ff9946b764666ae9e9473101f8032c455444227362c
2015-01-02 16:17:56,723;IPV;ERROR;[IsoCardNfcNextGen];[NFC] - android.nfc.TagLostException: Tag was lost.
  android.nfc.TagLostException: Tag was lost.
             at android.nfc.TransceiveResult.getResponseOrThrow(TransceiveResult.java:48)
            at android.nfc.tech.BasicTagTechnology.transceive(BasicTagTechnology.java:151)
             at android.nfc.tech.IsoDep.transceive(IsoDep.java:172)
 

 

CONTACT
Can’t find what you’re looking for?