Android-cuttlefish cvd tool
Namespaces | Functions
tpm_encrypt_decrypt.h File Reference
#include <keymaster/android_keymaster_utils.h>
#include <tss2/tss2_esys.h>
#include "cuttlefish/host/commands/secure_env/tpm_auth.h"
Include dependency graph for tpm_encrypt_decrypt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

bool cuttlefish::TpmEncrypt (ESYS_CONTEXT *esys, ESYS_TR key_handle, TpmAuth auth, const TPM2B_IV &iv, uint8_t *data_in, uint8_t *data_out, size_t data_size)
 
bool cuttlefish::TpmDecrypt (ESYS_CONTEXT *esys, ESYS_TR key_handle, TpmAuth auth, const TPM2B_IV &iv, uint8_t *data_in, uint8_t *data_out, size_t data_size)