mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
make style
This commit is contained in:
parent
f0367ad2f7
commit
f3f3a5a270
5 changed files with 169 additions and 164 deletions
|
@ -27,11 +27,16 @@ uint8_t QConstant[CIPURSE_AES_KEY_LENGTH] = {0x74, 0x74, 0x74, 0x74, 0x74, 0x74,
|
||||||
|
|
||||||
uint8_t CipurseCSecurityLevelEnc(CipurseChannelSecurityLevel lvl) {
|
uint8_t CipurseCSecurityLevelEnc(CipurseChannelSecurityLevel lvl) {
|
||||||
switch (lvl) {
|
switch (lvl) {
|
||||||
case CPSNone: return 0x00;
|
case CPSNone:
|
||||||
case CPSPlain: return 0x00;
|
return 0x00;
|
||||||
case CPSMACed: return 0x01;
|
case CPSPlain:
|
||||||
case CPSEncrypted: return 0x02;
|
return 0x00;
|
||||||
default: return 0x00;
|
case CPSMACed:
|
||||||
|
return 0x01;
|
||||||
|
case CPSEncrypted:
|
||||||
|
return 0x02;
|
||||||
|
default:
|
||||||
|
return 0x00;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue