summaryrefslogtreecommitdiff
path: root/src/rfid_reader_rc632_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfid_reader_rc632_common.c')
-rw-r--r--src/rfid_reader_rc632_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rfid_reader_rc632_common.c b/src/rfid_reader_rc632_common.c
index 4a41f15..101c1f8 100644
--- a/src/rfid_reader_rc632_common.c
+++ b/src/rfid_reader_rc632_common.c
@@ -117,6 +117,12 @@ _rdr_rc632_mifare_setkey(struct rfid_reader_handle *rh, const u_int8_t *key)
}
int
+_rdr_rc632_mifare_setkey_ee(struct rfid_reader_handle *rh, unsigned int addr)
+{
+ return rh->ah->asic->priv.rc632.fn.mifare_classic.setkey_ee(rh->ah, addr);
+}
+
+int
_rdr_rc632_mifare_auth(struct rfid_reader_handle *rh, u_int8_t cmd,
u_int32_t serno, u_int8_t block)
{
personal git repositories of Harald Welte. Your mileage may vary