Topic: Symmetric crypto on windows 10
I'm trying to cipher using AES with any possible mode, and here is what I get :
For all modes except CFB, wolfTPM2_CreateAndLoadKey returns an error 713 ("Mode of operation not supported").
Not pleasant, but at least, standard.
(I think this is because of my Infineon ship that implements CFB only...)
For CFB, wolfTPM2_CreateAndLoadKey is successful, but then, wolfTPM2_EncryptDecrypt returns an error 0x80280400 which is not even a standard TPM code!
After a while, I found out that it is a pure windows code for "blocked command".
So, if I haven't missed anything, I can't do any symmetric ciphering...
I'm using a code very similar to the bench exemple here : https://github.com/wolfSSL/wolfTPM/blob … nch.c#L149.
Any idea ?
Thanks in advance!