Android-cuttlefish cvd tool
Namespaces | Functions | Variables
encrypted_serializable.cpp File Reference
#include "encrypted_serializable.h"
#include <vector>
#include <android-base/logging.h>
#include "cuttlefish/host/commands/secure_env/tpm_auth.h"
#include "cuttlefish/host/commands/secure_env/tpm_encrypt_decrypt.h"
#include "cuttlefish/host/commands/secure_env/tpm_random_source.h"
#include "cuttlefish/host/commands/secure_env/tpm_serialize.h"
Include dependency graph for encrypted_serializable.cpp:

Namespaces

namespace  cuttlefish
 

Functions

static bool cuttlefish::CreateKey (TpmResourceManager &resource_manager, ESYS_TR parent_key, TPM2B_PUBLIC *key_public_out, TPM2B_PRIVATE *key_private_out, TpmObjectSlot *key_slot_out)
 
static TpmObjectSlot cuttlefish::LoadKey (TpmResourceManager &resource_manager, ESYS_TR parent_key, const TPM2B_PUBLIC *key_public, const TPM2B_PRIVATE *key_private)
 
static uint32_t cuttlefish::RoundUpToBlockSize (uint32_t num)
 

Variables

static constexpr uint32_t cuttlefish::BLOCK_SIZE = 16