add menu, work only exit
This commit is contained in:
1 parent
103bed5f4d
commit
4a6afc4d11
3 files changed
+25
-9
No files matched your search
+4
-3
@@ -9,6 +9,7 @@
|
||||
// includes of red_crypto
|
||||
# include "kc_to_ascii.h"
|
||||
# include "utils.h"
|
||||
# include "red_menu.h"
|
||||
|
||||
// #ifdef USE_RED_KUZNECHIK_128
|
||||
// #include "kuznechik_128bit.h"
|
||||
@@ -41,6 +42,7 @@
|
||||
# define STORAGE_PASS_LEN 64
|
||||
# endif
|
||||
|
||||
|
||||
// example for encrypted 64 byte password
|
||||
// const uint8_t red_enc_pass[STORAGE_SIZE][STORAGE_PASS_LEN] = {
|
||||
// {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
@@ -51,6 +53,7 @@
|
||||
|
||||
enum red_crypto_keys {
|
||||
RED_CRY_M = SAFE_RANGE + 0x80, // added safe range offset
|
||||
RED_MENU,
|
||||
RED_RNG,
|
||||
RED_TEST,
|
||||
RED_PASS1,
|
||||
@@ -62,9 +65,7 @@ enum red_crypto_keys {
|
||||
RED_PASS7,
|
||||
RED_PASS8,
|
||||
RED_PASS9,
|
||||
RED_PASS10,
|
||||
RED_PASS11,
|
||||
RED_PASS12
|
||||
RED_PASS10
|
||||
};
|
||||
|
||||
uint8_t crypto_process_record_user(uint16_t keycode, keyrecord_t *record, const uint8_t encrypted_passwords[STORAGE_SIZE][STORAGE_PASS_LEN]);
|
||||
|
||||
Reference in new issue
Block a user