Technical Manual

East Wind Technologies, Inc.
Copyright ©
2022 East Wind Technologies, Inc. All rights reserved.
31/66
of authentification is controled by the module.
Host sends:
Frame
0x43
Key
Checksum
Key: 16 bytes UltraLight C key
Success:
Frame
0x43
Checksum
Failure:
Frame
0xBC
Checksum
3.5.5 MIFARE UltraLight C Ek (RndB) Read
Function: To read encrypted RndB this is generated by Ultralight C card. Command 0x44
and 0x45 are the separation commands to authenticate Ultralight C. Because the microcontroller
calculates 3DES is slower, so authentication will be more time-consuming, and therefore part of
the separation of authentication allows users to calculate 3DES to save authentication time.Users
could first consider using 0x43 to authenticate, if required authentication in speed, you could
contact us using separate authentication commands for technical support.
Host sends:
Frame
0x44
Checksum
Success:
Frame
0x44
Ek (RndB)
Checksum
Ek (RndB): the card returned RndB encrypted data. The RndB was done DES decryption via
using the card key. After be decrypted, byte shifted---the first byte is moved to the end, then got
RndB'. At this time Ek (RndB) is the subsequent 3DES CBC algorithm initial vector.
Failure:
Frame
0xBB
Checksum
3.5.6 MIFARE Ultralight C Ek (RndA + RndB') Authentication
Function: Input the "RndA + RndB'" which have already been encrypted.
Host sends:
Frame
0x45
Ek (RndARndB')
Checksum
Ek (RndARndB'): 16 bytes' result which "RndA + RndB'" be encrypted via using DES
CBC. RndA is 8bytes random number specified by the user. RndB is obtained by the 0x44
command. RndB obtained by decrypting the shift (the first byte to be shifted the last).
Success:
Frame
0x45
Ek(RndA)
Checksum
Failure:
Frame
0xBA
Checksum
Ek(RndA): The card returned encrypted RndA. After decrypted and shifted via using 3DES