tpm2: allow tpm2_make_encryption_session() without bind key
authorDan Streetman <ddstreet@ieee.org>
Fri, 30 Jun 2023 16:57:23 +0000 (12:57 -0400)
committerDan Streetman <ddstreet@ieee.org>
Tue, 3 Oct 2023 16:56:55 +0000 (12:56 -0400)
commit73592a7cca194a375d78e15df9e33c2d40f2ea74
treea7c01d510926a589062b1450ab5789fb3e978ef2
parentdb5d86f5b9fd86231e841df5dc8d0fd993e00761
tpm2: allow tpm2_make_encryption_session() without bind key

Allow providing no bind key, and use ESYS_TR_NONE instead.
src/shared/tpm2-util.c