Hello,
I'm using the Crypto driver from S32 Real-Time Drivers Version 4.0.2 P10 and configured keys in tresos. As a next step, I wanted to make use of the keys in my code.
To my surprise, it seems the Crypto driver generated code does not create programmatically addressable names for the keys that are configured in Tresos. Even worse - the only programmatically addressable constants (CryptoConf_CryptoKeyElement_.*) can't be used, because Tresos *enforces* the same CryptoKeyElementId:

...this limitation makes the resulting constants pretty useless, because they all have the same value...

In the documentation of the API - for example Crypto_KeyElementSet() - the parameter to pass to the function is the ID of the Key that is only visible visually, but not accessible programmatically through macros or constants.
This means that every key needs to be addressed through a hard-coded number in the code. If I wanted to address keys through user-friendly names, I have to create that myself and manually synchronize whenever the configuration in tresos changes. This is very impractical and not well maintainable.
Am I missing something, or is this indeed the intended way?