Hi, in the s_client application you can use "-engine tpm" and "tpm_tss.key". I would like to know if and how this is possible in C Code. I have already written an application in C that signs and verifies, and as well does mutual authentication. But now i want to use a tpm to store the secret key. Initializing etc. can be achieved by the command line arguments, but reading the key should be achieved in c code.
Hope you can help me with this problem as i have not found this topic in the documentation or in examples.