aboutsummaryrefslogtreecommitdiff
path: root/helper.h
blob: bc74442ced7d208e2ba535b58dfd319553a29c23 (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);