Fix mifare authentication for multiple blocks
authorHarald Welte <laforge@gnumonks.org>
Tue, 13 Jun 2006 09:32:06 +0000 (09:32 +0000)
committerHarald Welte <laforge@gnumonks.org>
Tue, 13 Jun 2006 09:32:06 +0000 (09:32 +0000)
commitdd150ecbe7859d1d7ffd25d902078cb5348e7813
treeafbaa6f949d0a882e87617f0f7a4452e84272f71
parent45c2ab4f26ab09f1ce2369e43f7ba7eace8dc9d9
Fix mifare authentication for multiple blocks

Around line 1320 in rfid_asic_rc632.c the CRYPTO1 bit in the
RC632 is disabled. The RC632 docs state that this bit can only be set
by a successfull AUTHENT2 command, but may be cleared by the user to
disable encryption thereafter (but they don't say why anyone would want
to do that). (Henryk Ploetz)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1814 e0336214-984f-0b4b-a45f-81c69e1f0ede
src/rfid_asic_rc632.c