From aac95eda6b1b817af65f183341c86144c7fed286 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 7 Feb 2013 05:32:39 +0000 Subject: naming conventions for keystore git-svn-id: https://svn.spreadspace.org/avr/trunk@185 aa12f405-d877-488e-9caf-2d797e2a1cc7 --- usb-i2c-sl018/keystore.c | 4 ++-- usb-i2c-sl018/keystore.h | 4 ++-- usb-i2c-sl018/tuer-rfid.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'usb-i2c-sl018') diff --git a/usb-i2c-sl018/keystore.c b/usb-i2c-sl018/keystore.c index c37dfb3..645f25a 100644 --- a/usb-i2c-sl018/keystore.c +++ b/usb-i2c-sl018/keystore.c @@ -34,7 +34,7 @@ typedef uint8_t keyslot_t[8]; keyslot_t EEMEM keystore[EEPROM_SIZE/sizeof(keyslot_t)]; -void flash_keystore_from_stdio(void) +void keystore_flash_from_stdio(void) { keyslot_t ks; uint8_t byte_pos=0; @@ -62,7 +62,7 @@ void flash_keystore_from_stdio(void) led_off(); } -void dump_keystore_to_stdio(void) +void keystore_dump_to_stdio(void) { keyslot_t ks; for(uint8_t ks_pos=0;ks_pos -void flash_keystore_from_stdio(void); -void dump_keystore_to_stdio(void); +void keystore_flash_from_stdio(void); +void keystore_dump_to_stdio(void); uint8_t keystore_check_card(const uint8_t * uid, uint8_t uid_len); #endif diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c index dcb1224..f3cf21b 100644 --- a/usb-i2c-sl018/tuer-rfid.c +++ b/usb-i2c-sl018/tuer-rfid.c @@ -63,10 +63,10 @@ void handle_cmd(uint8_t cmd) break; } case 'e': //flash eeprom - flash_keystore_from_stdio(); + keystore_flash_from_stdio(); break; case 'd': //dump eeprom - this breaks security! - dump_keystore_to_stdio(); + keystore_dump_to_stdio(); break; case 'o': eventqueue_push(cmd_open); -- cgit v1.2.3