mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 12:51:39 +03:00
1975868ed8
* add mdedtls for des3 implementation * add localss from RfidResearchGroup/proxmark3 * picopass reader app and rfal for communicating with picopass cards * always turn off field * close storage when keys are not found * Add mbedtls as submodule * add mbedtl_config * Switched to only including specific mbedtls files I need. Thank you @kevinwallace * cherry-pick kevinwallace sconsify * scons for mbedtls/loclass * Reset to ready state on error * unsigned FC/CN * clean FC/CN if not decoded Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
21 lines
379 B
Plaintext
21 lines
379 B
Plaintext
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/mbedtls",
|
|
"#/lib/mbedtls/include",
|
|
],
|
|
CPPDEFINES=[
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="mbedtls")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = ["mbedtls/library/des.c", "mbedtls/library/platform_util.c"]
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|