Enhanced System API

## Topics

| Esys Context ESYS_CONTEXT
| Esys Tpm Resource ESYS_TR
| Esys TPM Commands
| Internals of Enhanced System API

## Detailed Description

Enhanced System API (ESAPI) as described in the TSS 2.0 Enhanced System API (ESAPI) Specification. This API is a 1-to-1 mapping of the TPM2 commands documented in Part 3 of the TPM2 specification. Additionally there are asynchronous versions of each command. In addition to SAPI, the ESAPI performs tracking of meta data for TPM object and automatic calculation of session based authorization and encryption values. Both the synchronous and asynchronous API are exposed through a single library: libtss2-esys.