Initial snapshot: Aliro applet, harness, Nucleo NFC10A1 reader port

Three components, all bench-validated to varying depths:

- applet/: CSA Aliro v1.0 Java Card applet for J3R180. AUTH0 + AUTH1
  expedited-standard flow end-to-end green via PC/SC bench reader
  (aliro-bench-test). Userland AES-256-GCM and HMAC-SHA-256 layered
  on top of J3R180's primitives because the card lacks both natively.
  P-256 curve params seeded explicitly per J3R180's quirk.

- harness/: Python orchestrator (aliro-trustgen, aliro-personalize,
  aliro-bench-test) for trust-bundle generation, card personalization
  via PersonalizationApplet, and PC/SC AUTH0+AUTH1 transactions. 126
  pytest cases passing.

- reader/STM32CubeExpansion_ALIRO_V1_0_0/: ST X-CUBE-ALIRO V1.0.0
  with our NFC10A1 port (NUCLEO-U545RE-Q + X-NUCLEO-NFC10A1, ST25R200
  shared with NFC09A1). nfc10-only/ project, NFC10A1 BSP shim,
  ALIRO_TRUST_OVERRIDE include into vendor's provisioning.c, and an
  ALIRO_APDU_TRACE wrapper around demoTransceiveBlocking. Boots,
  detects the J3R180, completes SELECT + AUTH0; AUTH1 currently fails
  with RFAL ERR_PROTO (0xB) — under investigation, see
  docs/plans/2026-04-20-nucleo-nfc10a1-port.md and bench-notes/.

Excluded: x-cube-aliro.zip vendor archive, harness/.venv, build dirs,
generated aliro_trust.h (contains private reader scalar), all PEMs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-02 10:17:46 -07:00
commit 782074f6ae
8786 changed files with 2902373 additions and 0 deletions

View File

@@ -0,0 +1,697 @@
4b927fe1f781f9a199a0d6f8d15eb96dd6793538f1e73ac5bc4edd68a97bf32589dcb4c100995e21d67843bcf0ab3796e5450ca304d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 864104278d0cebc57b474e97bdaa848bfdb4f43a4fc7e854572747b807535b6426de4c9da61bf65ed304ca1f2cfec3d619fd5022e2008dc97fcd6b28aa18f7337c431c9000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e40e7d6aa8c46e9e7185a0dbebdb7a1696b53867d426cf4266ea03403a54d7661891a06c77acff3d1e0338142b916dcd37397b241f05dcf1d0c38bc35801e80effc00
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c020100874104698dbee3bdbdf6431aeba4bb0d3d2195a8d5a166cedf7e25ab89619b5ca1dcd13d842341307e922de9a5c6b9dd4379cb1136efe15ffae7668d52a5a8b0f1cc854c105cd62b6215e554cb8c39de3a03fd7d674d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 8641042ee319597d3a7e8d7fb80271d84af3efd5fe80a2f4d3dc23179638b5413bb4a21970bd2c36e13b94988037c28978c85682d7cdc8fad042a9a66fc74a51709f5f9000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
ret
************ TruELock ************
CSA Aliro demonstration using MCU crypto
Application: Aliro_nfc v0.9.3
Built at Apr 21 2026 - 18:36:39
Security: ACWG_Security v0.3.4
Built at Jan 12 2026 - 17:31:02
App Aliro spec.: v0.9.5
Lib Aliro spec.: v0.9.5
Based on STM32U5 + X-NUCLEO-NFC09A1/NFC10A1
MCUID: 004A000F4E31501500363343
CryptoInit() start
SM_initCryptoMCU()
No provisioning json in flash...
Provisioning info is valid
b1VendorSpecificExtension: "ST Rooms"
Board provisioning ok
CryptoInit() OK
Start AliroNfcHwInit()...
NFC AliroNfcIni() OK
aliro_init() OK
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c0201008741046b1ad7e94c5ac12715cba1a908606ca5d617c59e9270dbf35692f89481a808e07a04cc5daf283cd5d6464323bff7d835849612b4364d07f4a99c2979beeae1284c100a36e0a81cc69ba36e73ce94ac844ddd4d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 864104a8c734abf50a9653b71dde6c91bd1a01bf1916711759eec1456a5ec30e132f72737d614cba4cc8f967b93a4029f3e52126f4cb58bfa9c950cda406513220a8979000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e40113845ea55a9f5ec004c24820c3b62d13e104f1ed504ac0187b8a0bb085da6a77524e31a402fdb95f91e45bd9b1021821a0a6df943087bbf5bfedfbd208be37900
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c020100874104ac5a8b9b7fd57f9884131744e427b024314153dace7bb7e140d19ada6e17abecefa829b6292d7b8541240735ca2c75f1acc15ae5e591a421e257c868ecf3c8aa4c10f4ca7006ac43132fdfdc32327addc5414d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 8641045771568aaedd4074a31c8215b4533f70cf4ddf87549913eaaaf2a53ddd59acc98820286f2fc98098aa3291b214cbf9e2e9d3b4c3000041a4cacf84a16d6dcf679000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e40773968a48bb9b2b9b8bcaa3f185926c4f917cd60108b8be2874cfb919a67e36ea4f2e7985ff99fe825dd2366cdea5c4ac26a362a45819fa0d581c284ca9146b100
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c020100874104135b7b98324e8176b4293f22f391ffa0f4a716efda3ad0f97c6c34e0fde51c405184c91eac7e7c8a6894108acfde59d406c0e9e0b7565e7550b4964b40f8508f4c10eb563d441ca6ff1c77f566c7a87c79cd4d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 86410480816ac16fb04f9ca7691d5e20bed5790ab6d164c2f68e2fcea39c10f8af52de8d5adc80dd38085edfe0075860cdcc65d3f63e2b08d16fdfc259250a099986d69000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e40aeb115c29717360f1ed1ac8584d1d7d52603101b4ce8279d6927d6e2c18117593e494009423f04de5df340bdf12e84823fa84d51572e0147756104616f66a63d00
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c0201008741041d4b6be53babf46244965a768de81fec8054af5b38483c247ebd29395abd9ebffc86cbefa3e3322d4cdffa2fd15fcacd1b97a689c64d58eafc10215e446bc6e44c1030105969d9bb0aa57402ebd8a1a731c44d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 864104a9ebb9b2a06fb943b174475288211fbc462e18c0c729064d0528aaf96eff508deab4b4ee74762edf3130bd1245203597aa51c051c5ddd75a3675d2f1385f16609000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e40b66cc37ed1c745c4a950ff4e6198012dee3b394faf9f7f542b9912785664c33306bcffd9aa528d80c121d0fa43fd8600e3e9ce10bd5daa1a43bbe2d24e4cf1ca00
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c02010087410489cbbdb3b10564fbfb9b197f55b387674c98268e4a7501d7c910d9a78eab654ab9ddda150bf7310b781f0425e420d65de97ed4b02a267a2bad84fc29fe2ffe3f4c10d79e07af6483164be1dc0e0dce27fee94d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 864104e05eea9b3b5d2dd75ecda4662181c827e33ff3d6b1e9051d91e809b356815dd778bc2eec9235eb5a1360afc8eaf8c157e040cbd79115ca1152e1ce08c1a1c48e9000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e402a330c3ca6b2cb8c72619299fe754498b978facd564d088e56966e7355baf94b08783b8c361c295a07b76355555e1bfb658c6e906093f096c60d95a861c72d4900
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c020100874104feec2f5618d05547004942c6b979b40a1ea095a055d0acd25b3d72d798e1a528e3ef54dd247f69fa9f789aff419a9bf2492f596ccfc37690d86a08215cc860ca4c10c9e66a304402f4ad45f5c07316c109614d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 8641040d8fdc892fb3b300b26ead1de3f8e4839a738c023c345dc1193bb3201e8a222592ac67ff45292168ce5e5d810705c3b20a152bd282fe69101cd2094acc05a7d79000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e404557083ffe3f0646e210c33ed3077cb8e2a5dd35f51c8a7ee838f4903c7b6a7b6f860ff60fc944ecdcf404b8c987d3cfea53798f8f489e9ebbdb102db584960f00
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c020100874104f36b63f96a437389018a63691ba1274c0977885f935baccfb9d2acfd72008c6659731c2884b82ce69d5e39b4db76dcc369a2c9e326b6b0789e72da68bf1f66fd4c10d99657fd95f0a4f6c5599ff0bca328354d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 864104cee8a0e2192c7675022fc03f7cfb91f2ab8e5c6c9c86de9a8f5d415ec2d3824c2084e80720f7b4abb7e2fd26685b82975614a01c3ba20328df9347c1a7cd7e729000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e407fc1baeb5ecf9d206982bada9f75448f4cef11d1a6173fc3722d293b19aafab1d743280addd47fd6bf92b4202716dcf770b92b1e2f2d2f644ee2cd6f9bd26be300
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c020100874104ed5e0e47609045414ebe9b7cb5152068a1b243c1318c926a04ec1416f4344b6c723187d1064938d2cb26562b1397898a9f26320c3756d547b6303c8101d3226e4c1051320e27f831cb91e86af1e520c8e3a74d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 86410405432089516df191bbe9f58ccd99ff9f8c7d77181bab234831d25b69b8c6dbd6886e9b20e277e7cc323991f38774cdc9e5de64f539efda2f54e2d0b3885df9fc9000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e400635263b0ab3ab43e9d381bbb3a8edcff8c5423126e374bf8f026fb843cf93f389eb1465fd016cd53f1412e81ccac44bf2554f38efbc83bcc60bdb6df368f7bb00
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c0201008741043ca75168a17a311612400e989bced35d2af859f8dfd500068662ec3bf9ced87490ac9ec48e95c88cdaae51a8aadb44a6618bdbc349538d4e0b562dc5feb0076c4c1053b0d120732c0a849d0711b158a508184d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 864104d5889e9c17e86e34061e531f48660b96a3aecbaa4609efe853edd4d9ce14f5a44913e3b682ce8e81c27dc01daa54c9b4ad5af43fa6c13f769ad7cdfe984518139000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e40c13795d815a8199cf7fdabd5e81f21c48de2a79787ff9c2fbf011cf58cf177223a616875079ea31c692dc485cceb9f234886784a768b63baf94d70740b630d2d00
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
DTBMARK-BEFORE
[APDU >] len=15 00a4040009a000000909acce550100
[APDU <] err=0x0 len=25 6f158409a000000909acce5501a508800200005c0201009000
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
DTBMARK-BEFORE
[APDU >] len=135 80800000814101004201015c020100874104405dd1b4413593c4c80729da52916c95994821f4fa8bda5489f3146b699b6c4570c50c89a4d54d1cd3659093a7092fcc9bd10a879783c1144bc12d613a9f79824c10a828ce103650f1a4d198ada472446c634d205f482297b784e7528d236c6348bde465bab2b60a9be7dcdff69a5234c448353900
[APDU <] err=0x0 len=69 864104bebfdadd3e8f813b47c14ed45b16b7b2da025d4a95975d91c5f5df7565cf36c26117430554c1ea74e6e3087c5dd1adbfa50342929ee536502d47ad4fc89a8d139000
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
DTBMARK-BEFORE
[APDU >] len=75 80810000454101019e4010e298dcb2390c1dbd054c1d1f1dc3794ee027565eaf8035bc745956605a7b7a764ff0e3173459e441b5e73b0e75bb57f6271e40a6a728a986dc63f3cfaaaf4900
demoTransceiveBlocking error (0xB)
[APDU <] err=0xB len=2 0000
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK

View File

@@ -0,0 +1,500 @@
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID:
************ TruELock ************
CSA Aliro demonstration using MCU crypto
Application: Aliro_nfc v0.9.3
Built at Apr 21 2026 - 16:11:33
Security: ACWG_Security v0.3.4
Built at Jan 12 2026 - 17:31:02
App Aliro spec.: v0.9.5
Lib Aliro spec.: v0.9.5
Based on STM32U5 + X-NUCLEO-NFC09A1/NFC10A1
MCUID: 004A000F4E31501500363343
CryptoInit() start
SM_initCryptoMCU()
No provisioning json in flash...
Provisioning info is valid
b1VendorSpecificExtension: "ST Rooms"
Board provisioning ok
CryptoInit() OK
Start AliroNfcHwInit()...
NFC AliroNfcIni() OK
aliro_init() OK
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
demoTransceiveBlocking error (0xB)
Returned 2 bytes
Two last values are: 00 00
Error code: 00 00

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK

View File

@@ -0,0 +1,21 @@
************ TruELock ************
CSA Aliro demonstration using MCU crypto
Application: Aliro_nfc v0.9.3
Built at Apr 21 2026 - 14:23:28
Security: ACWG_Security v0.3.4
Built at Jan 12 2026 - 17:31:02
App Aliro spec.: v0.9.5
Lib Aliro spec.: v0.9.5
Based on STM32U5 + X-NUCLEO-NFC09A1/NFC10A1
MCUID: 004A000F4E31501500363343
CryptoInit() start
SM_initCryptoMCU()
No provisioning json in flash...
Provisioning info is not valid

Board is not provisioned
Use 's' command to load default keys
Use 'c' command to convert keys from embedded json
Use '?' for help
CryptoInit() FAIL

View File

@@ -0,0 +1,405 @@
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
Returned 2 bytes
Two last values are: 6a 80
Error code: 6A 80

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
Returned 2 bytes
Two last values are: 6a 80
Error code: 6A 80

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
Returned 2 bytes
Two last values are: 6a 80
Error code: 6A 80

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
Returned 2 bytes
Two last values are: 6a 80
Error code: 6A
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
Returned 2 bytes
Two last values are: 6a 80
Error code: 6A 80

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
Received char ?

********************** STATUS ***********************
 Key Slot: not active
 Transaction: STANDARD
 Exchange: auto - based on signaling bitmap
 Stepup: auto - based on signaling bitmap
 Load Cert: certificate not available
 Not Verify Key: not active
 Authentication Policy: User device setting
 Vendor Specific Extension: not active
Protocol version: 0x0100
NFC FLOW: ENABLED
BLE FLOW: ENABLED
BLE-RKE FLOW: ENABLED
BLE-UWB FLOW: ENABLED
Access element is set to: matter1
*****************************************************
PROVISIONING_JSON_START_ADDRESS: 0x0807C000
PROVISIONING_START_ADDRESS: 0x0807E000
verbosity level set to: 5
********************* COMMANDS **********************
 0-6 Set verbosity level
? - System status and commands list
a - Set Authentication Policy
b - Toggle Vendor Specific Extension
f - Toggle Fast transaction
k - Toggle Key Slot activation
e - Toggle EXCHANGE
l - Set LOAD_CERT
u - Toggle STEPUP
v - Toggle Not Verify Key
d - Ranging Suspend/Resume Action (not active work in progress)
p - Provisioning status
s - Save default provisioning info
c - Convert provisioning info from json
w - NFC wakeup mode (LPCD)
n - Switch NFC only / NFC+BLE / NFC+BLE+UWB
z - Save last access credential PuBK
'date:' - Set system date
'time:' - Set system time
'settime-' - Set system date and time
'setRDiden-' - Set reader group identifier and sub identifier
'setRDprvk-' - Set reader private key
'setRDpubk-' - Set reader public key
'setRDgrrk-' - Set reader group resolving key
'setCrIspk-' - Set Credential issuer public key
'setDEVpbk-' - Set reader access credential public key
'setAccElm-' - Set access element name for stepup (session)
r - system restart
! - system pause
*****************************************************
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
Returned 2 bytes
Two last values are: 6a 80
Error code: 6A 80

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK
-------------End of NFC demoAPDU ---------
NFCA Passive ISO-DEP device found. UID: 0489255AF21890
ACWG_initSessionContext()
retval=ACWG_OK

**************************************
-- SELECT --
Returned 25 bytes
Two last values are: 90 00
Supported protocol version: 0x0100
OK


**************************************
-- AUTH0 --
-- USING Endpoint PubKey --
-- STD TRANSACTION REQUESTED --
ACWG_generateAUTH0CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH0CommandPayload() - OK

Generate AUTH0 DATA
Sending AUTH0 APDU
Returned 69 bytes
Two last values are: 90 00
ACWG_processAUTH0ResponsePayload()
retval=ACWG_OK
ACWG_processAUTH0ResponsePayload() - OK


**************************************
-- AUTH1 --
ACWG_generateAUTH1CommandPayload()
retval=ACWG_OK
ACWG_generateAUTH1CommandPayload() - OK

Generate AUTH1 DATA
Sending AUTH1 APDU
Returned 2 bytes
Two last values are: 6a 80
Error code: 6A 80

DOOR OPERATION FAILED
AliroPort_TRANSACTION_FAILURE
ACWG_prepareEphemeralKeypairAndTransactionId()
retval=ACWG_OK