1 //-----------------------------------------------------------------------------
2 // (c) 2012 Roel Verdult
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // Hitag2 type prototyping
9 //-----------------------------------------------------------------------------
11 //-----------------------------------------------------------------------------
19 #define PACKED __attribute__((packed))
28 RHT2F_AUTHENTICATE
= 22,
31 RHT2F_TEST_AUTH_ATTEMPTS
= 25,
37 } PACKED rht2d_password
;
42 } PACKED rht2d_authenticate
;
47 } PACKED rht2d_crypto
;
51 rht2d_authenticate auth
;