Hi,
I tried to use one of the WolfTPM example: create_primary to create and store in NV the key. Example works for non authentication run settings but when I use aes or xor option the TPM2_EvictControl fails returning following error:
TPM2_EvictControl failed 2690: TPM_RC_ATTRIBUTES: Inconsistent attributes
arguments that I use:
create_primary -rsa -oh -aes -store=0x81000000I use WolfSSL and WolfTPM, WolfTPM build with WOLFTPM2_USE_HW_RNG (to use TPM random number generator).
Same test but without aes works:
create_primary -rsa -oh -store=0x81000000
result:
TPM2_EvictControl Auth 0x40000001, Key 0x80000000, Persistent 0x81000000Is it my configuration/build issue WolfSSL/WolfTPM or TPM2_EvictControl cannot be run with authentication?
looking at your image you got an error because of missing period and maxim. You might have missed it so it will be an error. you can reduce 1 view to understand better