Network wrapper protocol as part of the practical master thesis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
525 B

//
// Created by root on 11/5/19.
//
#ifndef ECDAA_MEMBER_TPM_H
#define ECDAA_MEMBER_TPM_H
#include <tss2/tss2_sys.h>
#include <tss2/tss2_tcti.h>
#include <tss2/tss2_tcti_device.h>
#include <ecdaa.h>
#include <ecdaa-tpm.h>
#include "server.h"
#include "client.h"
#include "common.h"
#define ECP_FP256BN_LENGTH 130
int process_member(char *buffer);
const char* member_public_key_file = "mpk.bin";
const char* member_credential_file = "mcred.bin";
const char* member_nonce_file = "mnonce.bin";
#endif //ECDAA_MEMBER_TPM_H