#include <stdint.h>
Go to the source code of this file.
|
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) |
|
◆ 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.