DIY Generation of Password Debug Authentication OB Keys Data
Our current product uses the STM32H533 microcontroller and password based Debug Authentication.
We have a need to generate a large number of different DA passwords and corresponding OB Keys provisioning data.
This is possible by creating our own tool to generate OB Keys .xml files and passing those into the STM32TrustedPackageCreator_CLI.exe tool, but it would be nice to cut out the .xml files and need to use the Trusted Package Creator tool.
Given that the input .xml file contains a 'hash' tag and that output .obk file contains 512 bits of seemingly random data, I suspect this is a SHA-512 of the password, however I cannot manually re-create the same hash. I've attempted padding the password to various different lengths, with various different values, additionally including the additional bytes that are included in the created 'password.bin' file that accompanies the .obk file.
What process/data goes into creating the contents of the .obk file? Is this secret, or can I have the info so that I can just create that data with my own custom tool?
Thanks
