selftests/tpm2: Open tpm dev in unbuffered mode
In order to have control over how many bytes are read or written the device needs to be opened in unbuffered mode. Signed-off-by: NTadeusz Struk <tadeusz.struk@intel.com> Reviewed-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: NJames Morris <james.morris@microsoft.com>
Showing
想要评论请 注册 或 登录