Skip to content

NXP P71D321 · contactless-d321

Everything measured on this card: identity and protocol signals, free memory, algorithm support, and computation, memory and cryptography performance. Card overview · Cross-card comparison · Methodology

Card signals

Identity and interface

FieldValue
IDcontactless-d321
Chip (inferred from CPLC ICType)NXP P71D321
CPLC ICTypeD321
Interfacecontactless
ReaderACS ACR1552 1S CL Reader PICC 0
ATR3B8C80015432433134504A34313890009A
AIDF04A4342454E434801
Applet protocol5
Applet version10
Java Card getVersion()0x0300
Measured at2026-11-03T04:01:56.798Z

Production identifiers that point to one specific card — serial number, batch, pre-personalizer, KDD and SSC — are redacted and not published.

ATR structure

A contactless reader returns a PC/SC pseudo-ATR: a fixed 4-byte header, the card’s ATS/historical bytes, and a checksum. It can change with the reader or the card configuration, so it cannot identify the chip.

FieldValue
Length17 B
TS3B
T08C
TA180
Historical byte count (low nibble of T0)12
Historical bytes01 54 32 43 31 34 50 4A 34 31 38 90
Historical bytes (printable ASCII)T2C14PJ418
Trailing bytes00 9A
Checksum (XOR)9A — matches

Raw CPLC fields

The CPLC is programmed by the chip manufacturer during production, is read-only, and does not depend on any applet. Date decoding differs between tools, so only raw values are shown here; fields that identify a single card are omitted.

FieldValue
IC fabricator4790
IC typeD321
OS ID4700
OS release date0000 (invalid date format)
OS release level0000
IC fabrication date3129 (2023-05-09)

GlobalPlatform data

FieldValue
GP version2.3
SCPSCP2 i=55
JavaCard tagv3

Memory and objects

`JCSystem.getAvailableMemory` reports card-wide free space, not a per-applet budget. The values below are read in the benchmark applet’s constructor, before it allocates its own test buffers, so they describe how much the card can still allocate; at that point nothing but the ISD, the GlobalPlatform support package and the benchmark applet is installed. The transient RESET and DESELECT numbers are two views of the same transient memory and are not additive.

PersistentTransient RESETTransient DESELECT
155,124 B3,974 B3,968 B

The benchmark applet itself holds 4,316 B persistent and 1,184 B transient (one copy per view), so readings taken while it runs are lower than the values above.

Commit capacity5,120 B
Transaction depth0
Object deletion supported✓

Algorithm support

33/58 probes available

FieldValue
Cipher AES-192 ECB03 NO_SUCH_ALGORITHM
Cipher AES-256 ECB03 NO_SUCH_ALGORITHM
Signature HMAC-SHA-25603 NO_SUCH_ALGORITHM
HMAC-SHA-256 functional (16 B key)03 NO_SUCH_ALGORITHM
HMAC key build03 NO_SUCH_ALGORITHM
HMAC setKey 16 B03 NO_SUCH_ALGORITHM
HMAC init 16 B key03 NO_SUCH_ALGORITHM
HMAC sign 16 B key03 NO_SUCH_ALGORITHM
AEADCipher ALG_AES_GCM (getInstance)03 NO_SUCH_ALGORITHM
AES-GCM functional03 NO_SUCH_ALGORITHM
built-in EC key pair (default curve)01 ILLEGAL_VALUE
built-in EC key pair + ECDSA sign01 ILLEGAL_VALUE
built-in EC key pair + ECDH01 ILLEGAL_VALUE
HMAC functional (64 B key)03 NO_SUCH_ALGORITHM
AEADCipher CIPHER_AES_GCM (getInstance)03 NO_SUCH_ALGORITHM
KeyPair + explicit P-256 + genKeyPair01 ILLEGAL_VALUE
EC step 5: setG (64 B x||y)01 ILLEGAL_VALUE
HMAC setKey 32 B03 NO_SUCH_ALGORITHM
Cipher AES-192 CBC03 NO_SUCH_ALGORITHM
Cipher AES-256 CBC03 NO_SUCH_ALGORITHM
HMAC key from LENGTH_HMAC_SHA_256_BLOCK_64 + setKey 8 B03 NO_SUCH_ALGORITHM
HMAC key from LENGTH_HMAC_SHA_256_BLOCK_64 + setKey 16 B03 NO_SUCH_ALGORITHM
Signature HMAC-SHA-103 NO_SUCH_ALGORITHM
Signature HMAC-SHA-51203 NO_SUCH_ALGORITHM
HMAC-SHA-512 functional (64 B key)03 NO_SUCH_ALGORITHM
All probes
FieldValue
AES key 12800 available
AES key 19200 available
AES key 25600 available
Cipher AES-128 ECB00 available
Cipher AES-128 CBC00 available
Cipher AES-192 ECB03 NO_SUCH_ALGORITHM
Cipher AES-256 ECB03 NO_SUCH_ALGORITHM
AES-128 ECB functional00 available
DES key00 available
3DES key00 available
Cipher DES ECB00 available
MessageDigest SHA-100 available
MessageDigest SHA-25600 available
MessageDigest SHA-51200 available
Signature HMAC-SHA-25603 NO_SUCH_ALGORITHM
HMAC-SHA-256 functional (16 B key)03 NO_SUCH_ALGORITHM
Signature RSA-SHA-256 PKCS#100 available
RSA public key00 available
RSA CRT private key00 available
Cipher RSA PKCS#100 available
Signature ECDSA-SHA-25600 available
EC public key build00 available
EC private key build00 available
KeyAgreement ECDH00 available
RandomData00 available
HMAC key build03 NO_SUCH_ALGORITHM
HMAC setKey 16 B03 NO_SUCH_ALGORITHM
HMAC init 16 B key03 NO_SUCH_ALGORITHM
HMAC sign 16 B key03 NO_SUCH_ALGORITHM
AEADCipher ALG_AES_GCM (getInstance)03 NO_SUCH_ALGORITHM
AES-GCM functional03 NO_SUCH_ALGORITHM
Cipher AES-CTR (getInstance)00 available
built-in EC key pair (default curve)01 ILLEGAL_VALUE
built-in EC key pair + ECDSA sign01 ILLEGAL_VALUE
built-in EC key pair + ECDH01 ILLEGAL_VALUE
HMAC functional (64 B key)03 NO_SUCH_ALGORITHM
AEADCipher CIPHER_AES_GCM (getInstance)03 NO_SUCH_ALGORITHM
KeyPair + explicit P-256 + genKeyPair01 ILLEGAL_VALUE
EC step 1: build key00 available
EC step 2: setFieldFP00 available
EC step 3: setA00 available
EC step 4: setB00 available
EC step 5: setG (64 B x||y)01 ILLEGAL_VALUE
EC step 6: setG (65 B 0x04||x||y)00 available
EC step 7: setR00 available
EC step 8: setK00 available
explicit P-256 pair + genKeyPair00 available
RSA sign + verify in one command00 available
AES-CTR functional00 available
HMAC setKey 32 B03 NO_SUCH_ALGORITHM
Cipher AES-192 CBC03 NO_SUCH_ALGORITHM
Cipher AES-256 CBC03 NO_SUCH_ALGORITHM
RSA sign + verify in one command (persistent pair)00 available
HMAC key from LENGTH_HMAC_SHA_256_BLOCK_64 + setKey 8 B03 NO_SUCH_ALGORITHM
HMAC key from LENGTH_HMAC_SHA_256_BLOCK_64 + setKey 16 B03 NO_SUCH_ALGORITHM
Signature HMAC-SHA-103 NO_SUCH_ALGORITHM
Signature HMAC-SHA-51203 NO_SUCH_ALGORITHM
HMAC-SHA-512 functional (64 B key)03 NO_SUCH_ALGORITHM

Performance

Transport cost

An empty command round trip costs about 3–4 ms. Longer payloads need more frames, so the round trip grows; every test removes that fixed cost through the fitted intercept.

PayloadMedianMinMax
0 B3.33 ms3.21 ms3.42 ms
8 B3.85 ms3.77 ms3.98 ms
32 B4.91 ms4.86 ms5.03 ms
64 B6.54 ms6.45 ms6.69 ms

Key pair generation

RSA-2048 generation is dominated by the prime search and varies widely; P-256 is stable around 135 ms. The first sample of each pair, which also creates the key objects, is excluded.

Key pairStatusMedianMinMax
P-256 key pair generationsupported142.0 ms138.9 ms148.3 ms
RSA-2048 key pair generationsupported7.03 s2.11 s8.85 s

Computation

Each unit of n performs 1000 operations. Java Card 3.0.5 classic has no int, so loops and accumulators are short and one command can run at most 32767 units.

TestStatusPer operationThroughputAPDU overheadR²Max CVVerified
16-bit additionsupported35.5 µs28.1 k/s9.87 ms1.00000.4%✓
16-bit multiply-addsupported50.0 µs20.0 k/s9.94 ms1.00000.1%✓
16-bit divisionsupported47.3 µs21.1 k/s9.73 ms1.00000.4%✓
byte array readsupported86.8 µs11.5 k/s9.87 ms1.00000.3%✓
byte array writesupported82.4 µs12.1 k/s9.72 ms1.00000.4%✓
method callsupported66.5 µs15.0 k/s9.96 ms1.00000.1%✓
short array readsupported88.3 µs11.3 k/s9.76 ms1.00000.1%✓
short array writesupported83.4 µs12.0 k/s9.82 ms1.00000.4%✓

Memory

Single-byte accesses are already close to the interpreter loop cost, so the arrayCopy and transaction rows say more about the storage medium.

TestStatusPer operationThroughputAPDU overheadR²Max CVVerified
persistent byte writesupported2.91 ms343 /s12.6 ms1.00002.2%✓
persistent short writesupported2.92 ms343 /s12.5 ms1.00000.1%✓
persistent byte readsupported84.6 µs11.8 k/s9.63 ms1.00000.4%✓
persistent short readsupported86.5 µs11.6 k/s9.71 ms1.00000.6%✓
transient byte writesupported89.3 µs11.2 k/s9.73 ms1.00000.7%✓
transient byte readsupported86.2 µs11.6 k/s9.77 ms1.00000.8%✓
atomic arrayCopy, 64 Bsupported3.34 ms300 /s1.31 s1.00000.0%✓
non-atomic arrayCopy, 64 Bsupported3.29 ms304 /s1.31 s1.00000.0%✓
transaction per byte writesupported3.19 ms313 /s12.8 ms1.00000.3%✓
allocate 32-byte arraysupported9.43 ms106 /s8.27 ms0.99961.9%✓
allocate 32 B + requestObjectDeletionsupported17.1 ms58.6 /s28.2 ms0.9244 †0.4%✓
persistent block write, 16 B, one transactionsupported6.90 ms145 /s13.2 ms1.00000.3%✓
persistent block write, 32 B, one transactionsupported10.5 ms95.2 /s13.2 ms1.00000.3%✓
persistent block write, 64 B, one transactionsupported18.0 ms55.5 /s12.6 ms1.00000.2%✓
non-atomic arrayCopy, 16 Bsupported3.07 ms326 /s1.31 s1.00000.0%✓
non-atomic arrayCopy, 32 Bsupported3.14 ms319 /s1.31 s1.00000.0%✓

Cryptography

All block operations use 16-byte input (8 bytes for DES), hashes use a 32-byte message, plus one SHA-256 over 1 KiB.

TestStatusPer operationThroughputAPDU overheadR²Max CVVerified
AES-128 ECB encryptsupported1.64 ms612 /s10.5 ms0.99990.5%✓
AES-128 ECB decryptsupported1.65 ms605 /s10.4 ms1.00000.1%✓
AES-192 ECB encryptunsupportedprobe Cipher AES-192 ECB: NO_SUCH_ALGORITHM—————
AES-256 ECB encryptunsupportedprobe Cipher AES-256 ECB: NO_SUCH_ALGORITHM—————
AES-128 CBC encrypt (zero IV)supported1.67 ms599 /s11.0 ms1.00000.2%✓
AES-128 ECB init + encryptsupported7.97 ms125 /s4.43 ms1.00000.8%✓
DES ECB encryptsupported1.61 ms621 /s10.6 ms1.00000.4%✓
3DES ECB encryptsupported1.65 ms606 /s10.4 ms1.00000.5%✓
AES-128 CTR encrypt (zero IV)supported1.57 ms636 /s11.0 ms1.00000.2%✓
SHA-256, 32 B messagesupported2.38 ms421 /s4.40 ms1.00000.8%✓
SHA-256, 1 KiB messagesupported26.0 ms38.5 /s4.46 ms1.00000.6%✓
SHA-1, 32 B messagesupported1.88 ms533 /s4.25 ms1.00000.6%✓
SHA-512, 32 B messagesupported3.71 ms270 /s4.35 ms1.00000.5%✓
HMAC-SHA-256unsupportedprobe HMAC-SHA-256 functional (16 B key): NO_SUCH_ALGORITHM—————
TRNG, 32 Bsupported757.7 µs1.32 k/s4.43 ms1.00000.4%✓
ECDSA P-256 SHA-256 signsupported53.5 ms18.7 /s19.4 ms0.99992.4%✓
ECDSA P-256 SHA-256 verifynot reportedSame cross-command verify defect as RSA: the card returns false for a signature made in an earlier command with a persisted key pair.—————
ECDH P-256, peer = Gsupported38.1 ms26.2 /s7.97 ms1.00000.4%✓
RSA-2048 SHA-256 signsupported105.8 ms9.5 /s33.9 ms1.00000.1%✓
RSA-2048 SHA-256 verifynot reportedSignature.verify() returns false on this card for key pairs generated in an earlier command; sign + verify inside one command succeeds, so a verify-only measurement is not trustworthy.—————
RSA-2048 PKCS#1 encryptsupported8.13 ms123 /s36.7 ms0.99990.3%✓
RSA-2048 PKCS#1 decryptsupported102.7 ms9.7 /s10.8 ms1.00000.4%✓

† R² below 0.99: cost is not linear in the iteration count (EEPROM page effects or garbage collection), so the slope is only a local estimate.

Other cards: NXP P71D600 · contactless-d600