mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-23 10:01:58 +03:00
Apply required TOTP changes
This commit is contained in:
parent
a7a51b76f3
commit
0f8ca0a563
@ -89,8 +89,11 @@ CryptoSeedIVResult
|
|||||||
} else {
|
} else {
|
||||||
max_i = uid_size;
|
max_i = uid_size;
|
||||||
}
|
}
|
||||||
|
#if TOTP_TARGET_FIRMWARE == TOTP_FIRMWARE_UL_XFW
|
||||||
|
const uint8_t* uid = furi_hal_version_uid_default();
|
||||||
|
#else
|
||||||
const uint8_t* uid = furi_hal_version_uid();
|
const uint8_t* uid = furi_hal_version_uid();
|
||||||
|
#endif
|
||||||
for(uint8_t i = 0; i < max_i; i++) {
|
for(uint8_t i = 0; i < max_i; i++) {
|
||||||
plugin_state->iv[i] = plugin_state->iv[i] ^ uid[i];
|
plugin_state->iv[i] = plugin_state->iv[i] ^ uid[i];
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
entry,status,name,type,params
|
entry,status,name,type,params
|
||||||
Version,+,28.3,,
|
Version,+,28.2,,
|
||||||
Header,+,applications/services/bt/bt_service/bt.h,,
|
Header,+,applications/services/bt/bt_service/bt.h,,
|
||||||
Header,+,applications/services/cli/cli.h,,
|
Header,+,applications/services/cli/cli.h,,
|
||||||
Header,+,applications/services/cli/cli_vcp.h,,
|
Header,+,applications/services/cli/cli_vcp.h,,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user