5 changed files with 51 additions and 4 deletions
@ -0,0 +1,20 @@ |
|||||
|
#include "daa-test-tpm.h" |
||||
|
|
||||
|
int test1(); |
||||
|
int test2(); |
||||
|
int test3(); |
||||
|
|
||||
|
int main(int argc, char **argv) { |
||||
|
if(0 != test1()) { |
||||
|
printf("test1 failed\n"); |
||||
|
return 0; |
||||
|
} else { |
||||
|
printf("test1 succeeded\n"); |
||||
|
} |
||||
|
|
||||
|
int test1() { |
||||
|
const char *pub_key_filename = "pub_key.txt"; |
||||
|
const char *handle_filename = "handle.txt"; |
||||
|
|
||||
|
return 0; |
||||
|
} |
||||
@ -0,0 +1,13 @@ |
|||||
|
|
||||
|
#ifndef ECDAA_TESTTPM_H |
||||
|
#define ECDAA_TESTTPM_H |
||||
|
#include <ecdaa.h> |
||||
|
#include "server.h" |
||||
|
#include "client.h" |
||||
|
#include "common.h" |
||||
|
#include <string.h> |
||||
|
|
||||
|
#include <ecdaa-tpm.h> |
||||
|
#include <tss2/tss2_sys.h> |
||||
|
#include <tss2/tss2_tcti.h> |
||||
|
#include <tss2/tss2_tcti_device.h> |
||||
Loading…
Reference in new issue