Initial import of Brizzi HCE project

This commit is contained in:
2026-05-03 10:23:41 +07:00
commit 9994823fb3
693 changed files with 51541 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# format: APDU_HEX = EXPECTED_RESPONSE_HEX
905A00000303000000 = 9100
900A0000010000 = 5B907A2C398EFC91AF
90AF00001009B2D1F3B54A9F9B0CA3F33CC0B5321D00 = 56192EA6E27939539100
6C00 = A08601009100
90DC000004A0860100 = 000000009100
DC000004A0860100 = 000000009100
90A7000000 = 9100

View File

@ -0,0 +1,4 @@
# Invalid SELECT variants: malformed lengths must return wrong length (6700)
00A40400075A0000030300000000 = 6700
00A40400085A000003030000000000 = 6700
00A40400075A0000030300 = 6700

View File

@ -0,0 +1,8 @@
# BRIZZI deduct-like flow: select AID3, auth, debit, commit
905A00000303000000 = 9100
900A0000010000 = 5B907A2C398EFC91AF
90AF00001009B2D1F3B54A9F9B0CA3F33CC0B5321D00 = 56192EA6E27939539100
90DC000004A0860100 = 000000009100
90C7000000 = 9100
6C00 = 000000009100
90BD0000070300000007000000 = 151117A08601009100

View File

@ -0,0 +1,10 @@
# BRIZZI topup-like flow: select AID3, auth, credit, write log, commit
905A00000303000000 = 9100
900A0000010000 = 5B907A2C398EFC91AF
90AF00001009B2D1F3B54A9F9B0CA3F33CC0B5321D00 = 56192EA6E27939539100
900C000004A0BB0D0000 = 40420F009100
3B0100000020000000000019384600003130303030303030151117151112EFA0BB0DA0860140420F = 9100
3D03000000070000151117A0860100 = 9100
90C7000000 = 9100
6C00 = 40420F009100
90BD0000070300000007000000 = 151117A08601009100

View File

@ -0,0 +1,9 @@
# Negative flow: commands sent before routing/auth
90DC000004A0860100 = 6985
90C7000000 = 9100
3B0100000020000000000019384600003130303030303030151117151112EFA0BB0DA0860140420F = 6985
903D03000000070000151117A0860100 = 6985
900C000004A0BB0D0000 = 6985
90A7000000 = 9100
900A0000010000 = 6985
00A40400085A00009999000000 = 6A82

View File

@ -0,0 +1,4 @@
# ISO SELECT variants expected to route
00A40400085A00000303000000 = 9100
00A4040C085A00000303000000 = 9100
00A40400085A0000030300000000 = 9100

View File

@ -0,0 +1,12 @@
# Negative flow: AID3 selected but authentication skipped.
905A00000303000000 = 9100
900C000004A0BB0D00 = 6985
90DC000004A0860100 = 6985
0C000004A0BB0D00 = 6985
DC000004A0860100 = 6985
906C0000010000 = 6985
90BD0000070300000007000000 = 6985
3B0100000020000000000019384600003130303030303030151117151112EFA0BB0DA0860140420F = 6985
3D0300000007000015111711A0860100 = 6985
90A7000000 = 9100
90C7000000 = 9100