mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-10 05:59:08 -07:00
14 lines
560 B
C
14 lines
560 B
C
#pragma once
|
|
|
|
#include "polyfills.h"
|
|
|
|
#define CRYPTO_IV_LENGTH (16)
|
|
#define CRYPTO_SALT_LENGTH (16)
|
|
|
|
// According to this explanation: https://github.com/flipperdevices/flipperzero-firmware/issues/2885#issuecomment-1646664666
|
|
// disabling usage of any key which is "the same across all devices"
|
|
#define ACCEPTABLE_CRYPTO_KEY_SLOT_START FURI_HAL_CRYPTO_ENCLAVE_USER_KEY_SLOT_START
|
|
#define ACCEPTABLE_CRYPTO_KEY_SLOT_END FURI_HAL_CRYPTO_ENCLAVE_USER_KEY_SLOT_END
|
|
|
|
#define DEFAULT_CRYPTO_KEY_SLOT ACCEPTABLE_CRYPTO_KEY_SLOT_START
|
|
#define CRYPTO_LATEST_VERSION (3) |