
UpdatedDecryp
Dependencies: BahlDecrypModified CyaSSL mbed nRF51822
Fork of Decryptulator by
Diff: Hashes/LookupTable.h
- Revision:
- 13:8b706583610a
diff -r dbbf0ddc9b12 -r 8b706583610a Hashes/LookupTable.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Hashes/LookupTable.h Tue May 09 03:06:55 2017 +0000 @@ -0,0 +1,21 @@ +#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); +}; \ No newline at end of file