diff options
| author | 2011-01-25 07:45:07 -0800 | |
|---|---|---|
| committer | 2011-01-25 07:45:07 -0800 | |
| commit | b134223f91c8801d577cb72e92a37cb65fec717a (patch) | |
| tree | e5837efbb3306dca2f31e899d938b1baae9d09d2 /libs/utils/Unicode.cpp | |
| parent | cc019c0caa0dd984404dea4d6623ae9d7b8474f1 (diff) | |
Make Mifare Classic increment/decrement operands little endian
Also make sure they are non-negative.
This is not documented in Mifare Classic spec, but based on findings from NXP:
- Operand should be stored in little-endian format in the transceive buffer
- Tag ignores the sign bit on the operand, its effectively 31-bit unsigned
- Overflow and underflow generates an error.
Change-Id: Id3389b3894ded732c4b00d564ca53f5df651359e
Diffstat (limited to 'libs/utils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions