evict control had an issue where the default noauth session was being used alongisde the encrypted section. to fix this wolfTPM2_SetAuthSession needs to be called with index 0 to override the default session, it's possible we've made this mistake in many places
for forum post https://www.wolfssl.com/forums/topic2001-storing-key-in-nv-with-authentication-fails-createprimary-example.html
evict control had an issue where the default noauth session was being used alongisde the encrypted section. to fix this wolfTPM2_SetAuthSession needs to be called with index 0 to override the default session, it's possible we've made this mistake in many places