Android-cuttlefish cvd tool
Functions
tpm_ffi.h File Reference
#include <stdint.h>
Include dependency graph for tpm_ffi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint32_t tpm_hmac (void *trm, const uint8_t *data, uint32_t data_len, uint8_t *tag, uint32_t tag_len)
 
void secure_env_log (const char *file, unsigned int line, int severity, const char *tag, const char *msg)
 

Function Documentation

◆ secure_env_log()

void secure_env_log ( const char *  file,
unsigned int  line,
int  severity,
const char *  tag,
const char *  msg 
)

◆ tpm_hmac()

uint32_t tpm_hmac ( void *  trm,
const uint8_t *  data,
uint32_t  data_len,
uint8_t *  tag,
uint32_t  tag_len 
)

Provide an FFI-accessible version of TpmHmacWithContext. Returns 0 on success, 1 on error.