aboutsummaryrefslogtreecommitdiff
path: root/helper.h
blob: 73bd05522b764430e809f7c42032a53efc8f52a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "trusted_module.h"
#include "crypto.h"

struct tm_cert cert_ru(struct trusted_module *tm,
                       const struct iomt_node *node, hash_t new_val,
                       const hash_t *comp, const int *orders, size_t n,
                       hash_t *hmac_out,
                       int b,
                       struct tm_cert *nonexist, hash_t *hmac_nonexist);

struct tm_cert cert_rv(struct trusted_module *tm,
                       const struct iomt_node *node,
                       const hash_t *comp, const int *orders, size_t n,
                       hash_t *hmac_out);