diff --git a/README.md b/README.md index 25912db..12e41c5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # RF24Signing [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1080/badge)](https://bestpractices.coreinfrastructure.org/projects/1080) -A transparent signing library for RF24Mesh. +A transparent signing library for RF24Mesh. Requires modified version of RF24Network to function and ATSHA204 library that provides the necessary cryptographic functions. \ No newline at end of file diff --git a/RF24Signing.h b/RF24Signing.h index d07cd83..0b5a2cc 100644 --- a/RF24Signing.h +++ b/RF24Signing.h @@ -92,7 +92,7 @@ void hash_data(void * payload, size_t payload_size) { Serial.println((uint8_t) payload); Serial.println(payload_size); for (uint8_t i = 0; i < payload_size; i++) { //Read the payload from the - Serial.print(F("Writing... ")); //the payload byte by byte to the crypto + Serial.print(F("Writing... ")); //the payload byte by byte to the crypto uint8_t * pload = (uint8_t*) payload; uint8_t * pload_shifted = pload + i; Serial.print((uint8_t) *pload_shifted, DEC); @@ -102,7 +102,7 @@ void hash_data(void * payload, size_t payload_size) { Serial.println(); } -void hash_print(uint8_t * hash) { +void hash_print(uint8_t * hash) { //TODO: UNREQUIRED for (uint8_t i = 0; i < 32; i++) { Serial.print("0123456789abcdef"[hash[i] >> 4]); Serial.print("0123456789abcdef"[hash[i] & 0xf]); diff --git a/docs/.doxygen b/docs/.doxygen new file mode 100644 index 0000000..e69de29