constants.h 429 B

1234567891011
  1. #pragma once
  2. #define CRYPTO_IV_LENGTH (16)
  3. // According to this explanation: https://github.com/flipperdevices/flipperzero-firmware/issues/2885#issuecomment-1646664666
  4. // disabling usage of any key which is "the same across all devices"
  5. #define ACCEPTABLE_CRYPTO_KEY_SLOT_START (12)
  6. #define ACCEPTABLE_CRYPTO_KEY_SLOT_END (100)
  7. #define DEFAULT_CRYPTO_KEY_SLOT ACCEPTABLE_CRYPTO_KEY_SLOT_START
  8. #define CRYPTO_LATEST_VERSION (2)