Messages in this thread | | | Date | Fri, 10 Feb 2017 10:52:56 +0200 | From | Jarkko Sakkinen <> | Subject | Re: [PATCH 6/6] tpm2: add session handle context saving and restoring to the space code |
| |
On Wed, Feb 08, 2017 at 01:07:08PM +0200, Jarkko Sakkinen wrote: > + rc = tpm2_load_context(chip, space->session_buf, > + &offset, &handle); > + if (rc == -ENOENT) { > + /* load failed, just forget session */ > + space->session_tbl[i] = 0;
This is my only concern in this commit. Should we also in this case just flush the space or not?
/Jarkko
| |