Forum Replies Created

  • Re: Reply To: What's differences are between the TDEA -Desfire and the TDEA-ISO10116(crc16) -k

    6. February 2017 at 10:30
    in reply to: What's differences are between the TDEA -Desfire and the TDEA-ISO10116(crc16) -k
    If I use below steps in the AuthenticateHost (key type= TDEA-ISO10116(crc16):
    STEPS:
    1.send initial authentication request to the SAM - 80 A4 00 00 02 00 01 00
    2.get encrypted (randB) from response
    3.16 bytes default key (known key value)
    4. Keys for 3DES
    5. decrypt encoded randB
    6. generate randA
    7. decrypt randA
    8. shift randB 1 byte left and get randB'
    9. XOR randB' with randA and decrypt
    10. concat (randB' + randA)
    11. send (randB' + randA) to the SAM - 80 A4 00 00 10 xx xx ... xx

    But result is (sw1 and sw2 = 90 1E) ?

    So, something wrong must be in decrypt -methods ? (cipherMode.CBC or ?) or what means crc16 in the key type ?

    + 0  |  - 0

    Re: Reply To: What's differences are between the TDEA -Desfire and the TDEA-ISO10116(crc16) -k

    4. February 2017 at 12:49
    in reply to: What's differences are between the TDEA -Desfire and the TDEA-ISO10116(crc16) -k
    Yes,but how must take attention the crc16 (in the algorithm) when create the response for the SAM (80 a4 00 00 10 10 xx xx ... xx) ?
    ..because the same function works ok when key type is TDEA-Desfire, but not when key type is TDEA-ISO10116(crc16) ?
    + 0  |  - 0
Viewing 2 posts - 1 through 2 (of 2 total)