-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't perform AES encryption in context of session #2
Comments
It fails on attempt to load created key with error = TPM_RC::SIZE |
I realised, that EncryptDecrypt command can't be crypted, because it doesn't have TPM2B parameter first.
Here program fails on RSA_Encrypt command with code BAD_AUTH. |
Hello, @Prakhar314 and @sicario001 . Your project is really useful to dive into TPM2 API, it has a really lot of nice samples. But maybe you could help to understand what i am doing wrong here.
I want to create a session for encrypting/decrypting tpm commands and responses.
And in context of this session create aes key, make it persistent and perform some encryption/decryption with it. But unfortunately that doesn't work. Could you help me to figure it out?
Here is sample code of how I am trying to do it.
The text was updated successfully, but these errors were encountered: