Skip to content

Bug on seed and key internal code generator #140

Description

@mauro-ongaro

In the Diagnostic using this code for the seed & key with the built in generator (not using a dll) TSMaster returns [67 45 23 01] instead of [01 23 45 67].

u32 ROOT_KEY_1 = 0x01234567;
u32 localKey = 0;
localKey = (ROOT_KEY_1);
*AKey = localKey;
return 0;

Checked both on the internal Seed&Key Tester and on the CAN bus ( sends 27 02 67 45 23 01 instead 27 02 01 23 45 67).

Also using:

u32 ROOT_KEY_1 = 0x01234567;
u32 localKey = 0;
localKey = (0xFFFFFFFF * ROOT_KEY_1); // result 0x01234566FEDCBA99
*AKey = localKey;
return 0;

TSMasted returns [99 BA DC FE] instead of [FE DC BA 99]

Using this code with ASeed = 0x0123456, returns correctly 0x01234567.

*AKey = ASeed;
return 0;

I am using TSMaster V2025.5.21.1443.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions