mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 07:38:35 -07:00
Update totp
This commit is contained in:
42
applications/external/totp/config/app/config.h
vendored
Normal file
42
applications/external/totp/config/app/config.h
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
// Application automatic lock timeout if user IDLE. (ticks)
|
||||
#ifndef TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC
|
||||
#define TOTP_AUTO_LOCK_IDLE_TIMEOUT_SEC (60)
|
||||
#endif
|
||||
|
||||
// Enables\disables Bluetooth token input automation
|
||||
#ifndef TOTP_NO_BADBT_AUTOMATION
|
||||
#define TOTP_BADBT_AUTOMATION_ENABLED
|
||||
#endif
|
||||
|
||||
// Enables\disables backward compatibility with crypto algorithms v1
|
||||
#ifndef TOTP_NO_OBSOLETE_CRYPTO_V1_COMPATIBILITY
|
||||
#define TOTP_OBSOLETE_CRYPTO_V1_COMPATIBILITY_ENABLED
|
||||
#endif
|
||||
|
||||
// Enables\disables backward compatibility with crypto algorithms v2
|
||||
#ifndef TOTP_NO_OBSOLETE_CRYPTO_V2_COMPATIBILITY
|
||||
#define TOTP_OBSOLETE_CRYPTO_V2_COMPATIBILITY_ENABLED
|
||||
#endif
|
||||
|
||||
// Enables\disables userfriendly TOTP CLI help text
|
||||
// If disabled, it will print a link to a wiki page
|
||||
#ifndef TOTP_CLI_NO_RICH_HELP
|
||||
#define TOTP_CLI_RICH_HELP_ENABLED
|
||||
#endif
|
||||
|
||||
// Enables\disables "Add new token" UI
|
||||
// If disabled it will print a link to wiki page
|
||||
#ifndef TOTP_UI_NO_ADD_NEW_TOKEN
|
||||
#define TOTP_UI_ADD_NEW_TOKEN_ENABLED
|
||||
#endif
|
||||
|
||||
// List of compatible firmwares
|
||||
#define TOTP_FIRMWARE_OFFICIAL_STABLE (1)
|
||||
#define TOTP_FIRMWARE_OFFICIAL_DEV (2)
|
||||
#define TOTP_FIRMWARE_XTREME_UL (3)
|
||||
// End of list
|
||||
|
||||
// Target firmware
|
||||
#ifndef TOTP_TARGET_FIRMWARE
|
||||
#define TOTP_TARGET_FIRMWARE TOTP_FIRMWARE_XTREME_UL
|
||||
#endif
|
||||
34
applications/external/totp/config/wolfssl/config.h
vendored
Normal file
34
applications/external/totp/config/wolfssl/config.h
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
#define NO_OLD_SHA_NAMES
|
||||
#define WOLFCRYPT_ONLY
|
||||
#define NO_SIG_WRAPPER
|
||||
#define NO_AES
|
||||
#define NO_AES_CBC
|
||||
#define NO_DES3
|
||||
#define NO_DSA
|
||||
#define NO_RSA
|
||||
#define NO_DH
|
||||
#define NO_RC4
|
||||
#define NO_MD4
|
||||
#define NO_MD5
|
||||
#define NO_PKCS12
|
||||
#define NO_PKCS8
|
||||
#define WC_NO_RNG
|
||||
#define NO_FILESYSTEM
|
||||
#define NO_WRITEV
|
||||
#define NO_MAIN_DRIVER
|
||||
#define NO_DEV_RANDOM
|
||||
#define WOLFSSL_SHA512
|
||||
#define WOLFSSL_NOSHA512_224
|
||||
#define WOLFSSL_NOSHA512_256
|
||||
#define USE_SLOW_SHA512
|
||||
#define USE_SLOW_SHA256
|
||||
#define USE_SLOW_SHA
|
||||
#define NO_CERTS
|
||||
#define NO_WOLFSSL_MEMORY
|
||||
#define WOLFSSL_NO_PEM
|
||||
#define NO_PSK
|
||||
#define NO_ERROR_STRINGS
|
||||
#define NO_OLD_TLS
|
||||
#define SINGLE_THREADED
|
||||
Reference in New Issue
Block a user