#include "layer2.h" void startProtocol() { //step 1 : Derive Device ID uint8_t* UDS_ID = calloc(1,sizeof(uint8_t)*SHA256_dig_t); readUDS(UDS_ID); //step 2 : Derive Firmware ID uint8_t* FW_ID = calloc(1,sizeof(uint8_t)*SHA256_dig_t); readFWID(FW_ID); // //setp 3 : Derive Composite Device ID // uint8_t* CD_ID = calloc(1,sizeof(uint8_t)*SHA256_dig_t); // calcCDID(CD_ID); //End block free(UDS_ID); free(FW_ID); // free(CD_ID); }