UpdatedDecryp

Dependencies:   BahlDecrypModified CyaSSL mbed nRF51822

Fork of Decryptulator by Mobius IoT

Hashes/LookupTable.h

Committer:
vbahl2
Date:
2017-05-09
Revision:
13:8b706583610a

File content as of revision 13:8b706583610a:

#pragma once

#include <stdio.h>
#include "mbed.h"
#include "ble/BLE.h"
#include "ble/BLEProtocol.h"
#include <map>

using namespace std; 

class LookupTable{  
    private: 
        pair<BLEProtocol::AddressBytes_t, unsigned char *> ** LookupTableStruct; 
        void buildInitialLookupTable();
        void lookupValue();
        void clearLookupTable(void);
    public: 
        LookupTable(void);
        ~LookupTable(void);
        int insertValue(BLEProtocol::AddressBytes_t scanned_ble_address, unsigned char * encryptedCounter);
};