UDS SecurityAccess on AURIX™ TC275 | HSM TRNG + AES-128
UDS SecurityAccess Demo on Infineon AURIX™ TC275 with HSM
This demonstration showcases a custom implementation of the UDS (Unified Diagnostic Services) SecurityAccess service (ISO 14229, SID 0x27) on the Infineon AURIX™ TC275 LK platform, leveraging the on-chip Hardware Security Module (HSM) for secure cryptographic operations.
Features Demonstrated
UDS SecurityAccess Seed Request (0x27 0x01)
True Random Seed Generation using HSM TRNG
AES-128 Encryption using HSM Hardware Accelerator
Secure Key Verification inside the HSM
Implementation Overview
The ECU generates a 32-byte random seed using the HSM True Random Number Generator (TRNG). The seed is returned to the tester through the UDS SecurityAccess Request Seed service.
The tester computes the security key by performing AES-128 encryption using the shared secret key. Upon receiving the key, the ECU forwards the seed to the HSM, where AES-128 encryption is executed using a protected internal key. The generated result is compared against the key received from the tester. If the values match, SecurityAccess is granted and the ECU responds with a positive response (0x67 0x02).
Leave a Reply