Commit Graph

21092 Commits (feature-secure-time)

Author SHA1 Message Date
Michael Schwarcz 0024733ea0 Add update/get APIs for RTC time.
- rtc_update API does nothing if no RTC.
- rtc_get API returns 0 if no RTC.
2018-12-04 16:24:58 -06:00
Danny Shavit be1bc94a0b Fix secure_time_get_impl
We now handle the case of  invalid boot_time, returning stored_time + secs_since_boot
2018-12-04 16:24:58 -06:00
Michael Schwarcz 493f1fc006 Disable secure-time on EV_COG_AD3029LZ due to small RAM size (64KB) and fix replay_blob test 2018-12-04 16:24:58 -06:00
Michael Schwarcz fdfe8aed38 Disable secure-time on KL82Z due to small flash size (128KB) 2018-12-04 16:24:58 -06:00
Michael Schwarcz 4174cb37d9 Add include for mbed.h in tests main file 2018-12-04 16:24:58 -06:00
Michael Schwarcz bdf2055144 Increase tests timeout for Realtek tests 2018-12-04 16:24:58 -06:00
Michael Schwarcz 4580c0aa83 tests: dynamic allocation of blob2 2018-12-04 16:24:58 -06:00
Michael Schwarcz 6cd9af7070 Review fixes 2018-12-04 16:24:58 -06:00
Michael Schwarcz 9e2e2248f0 Adjust timeout in replay_blob() test 2018-12-04 16:24:58 -06:00
Michael Schwarcz f9719195ac Revert unintended lines from previous commit 2018-12-04 16:24:58 -06:00
Michael Schwarcz 139ce3891b Disable secure-time on NUCLEO_F410RB due to small flash size (128KB) 2018-12-04 16:24:58 -06:00
Michael Schwarcz bc86f4c3dd Fix K22F build 2018-12-04 16:24:57 -06:00
Michael Schwarcz 0dd966dd0d Build secure-time only on platform with NVSTORE and DEVICE_TRNG
- Add mbed_lib.json with SECURE_TIME_ENABLED macro defaulted to 1.
- Disable SECURE_TIME_ENABLED if NVSTORE or DEVICE_TRNG are disabled.
- Compile secure-time sources only if SECURE_TIME_ENABLED is enabled.
2018-12-04 16:24:57 -06:00
Michael Schwarcz 0476b21c69 CR fixes 2018-12-04 16:24:57 -06:00
Michael Schwarcz 53a86fb9b3 Use mbedtls_entropy_* for random bytes generation 2018-12-04 16:24:57 -06:00
Michael Schwarcz e381a5f40e Fix travis build 2018-12-04 16:24:57 -06:00
Michael Schwarcz 44f6b8a07c Add secure_time library implementation 2018-12-04 16:24:57 -06:00
Cruz Monrreal a1625895c3
Merge pull request #8097 from JammuKekkonen/fix_bootloader_build_for_nrf52
Add support for nrf52_dk bootloader
2018-12-04 16:10:15 -06:00
Cruz Monrreal 53c03f9835
Merge pull request #8934 from yossi2le/yossi_kvstore_k64F_FileSystem
Setting K64F to use KVStore FileSystem configuration
2018-12-04 12:25:06 -06:00
Cruz Monrreal b03a8a37bb
Merge pull request #8947 from SeppoTakalo/patch-1
ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
2018-12-04 12:23:16 -06:00
Cruz Monrreal 3325070701
Merge pull request #8936 from RonEld/reduce_default_mpi_max_size
Reduce default MBEDTLS_MPI_MAX_SIZE
2018-12-04 12:22:15 -06:00
Cruz Monrreal b32151bbe0
Merge pull request #8860 from ithinuel/aconno-port
Add the port for the ACONNO ACN52832 module on MTB's form factor
2018-12-04 11:52:14 -06:00
Cruz Monrreal b3b050170e
Merge pull request #8879 from pan-/ble-extended-advertising-doc-fixes
Ble extended advertising doc fixes
2018-12-04 11:51:44 -06:00
Cruz Monrreal 0f0e63aaac
Merge pull request #8900 from OpenNuvoton/nuvoton_refine_uart
Nuvoton: Refine UART init/deinit
2018-12-04 11:51:16 -06:00
Cruz Monrreal 0b1b8e0cc3
Merge pull request #8908 from kfnta/alzix_fix_its
Fix PSA internal storage configuration
2018-12-04 11:51:04 -06:00
Martin Kojtal 6edc81ddae
Merge pull request #8873 from kfnta/psa_spm_docs
PSA-SPM documentation follow-up
2018-12-04 15:38:45 +01:00
Martin Kojtal e02a8ab2f1
Merge pull request #8925 from Patater/crypto-storage-config-fixes
Fix PSA storage typo
2018-12-04 14:34:15 +01:00
Martin Kojtal 403405c44c
Merge pull request #8953 from ARMmbed/yennster-patch-1
Update FEATURE_BLE README
2018-12-04 14:32:14 +01:00
Martin Kojtal 4dfb97c60f
Merge pull request #8899 from TomoYamanaka/master
Renesas : Add the setting of SD as components
2018-12-04 13:29:33 +01:00
Alexander Zilberkant 44ec2aa49a Better PID handling
PSA PID is of int32_t type - use native type during the whole flow for better readability.
Convert PID to unsigned for calculations only.
Add dedicated inline function for logic shift right.
2018-12-04 14:08:14 +02:00
Alexander Zilberkant 9f7752b1f9 Replace PID and UID order in file name
PID should come first to create - to prevent timing attacks. Each partition can only request its own files. Thus starting lookup from the PID makes more sence.
2018-12-04 14:08:14 +02:00
Alexander Zilberkant e7df8583d6 Optimize error handling 2018-12-04 14:08:14 +02:00
Alexander Zilberkant 9d59ed8c60 Fix PSA internal storage misconfiguration
Use internal TDBStore instance instead of default one
2018-12-04 14:08:14 +02:00
Martin Kojtal 6ae3501a66 spm spe: remove space 2018-12-04 11:50:14 +00:00
Martin Kojtal 3411e5e095
Merge pull request #8952 from c1728p9/psoc6_mpu
Turn off MPU for PSOC 6
2018-12-04 12:45:25 +01:00
Mel W 56e3dd9a7f
Grammatical and capitalization changes 2018-12-04 13:03:21 +02:00
Mel W f92cc7b30b
Capitalization and punctuation 2018-12-04 12:34:48 +02:00
Martin Kojtal c1c94c83c5
Merge pull request #8904 from pan-/ble-extended-advertising-fixes
Ble extended advertising fixes
2018-12-04 09:50:36 +01:00
Martin Kojtal 992bcbafdb
Merge pull request #8926 from Patater/mbedtls-2.15.1
mbedtls: Update Mbed TLS to 2.15.1
2018-12-04 09:32:30 +01:00
Seppo Takalo c384119576 ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
2018-12-04 10:27:17 +02:00
Cruz Monrreal 69c534d4c0
Merge pull request #8920 from juhoeskeli/odin_mpu_workaround
MODULE_UBLOX_ODIN_W2: disable MPU code until target properly supported
2018-12-03 21:16:08 -06:00
Cruz Monrreal f82014e1af
Merge pull request #8922 from juhoeskeli/wise_1570_mpu_disable
MTB_ADV_WISE_1570: disable MPU code until target properly supported
2018-12-03 21:15:21 -06:00
Cruz Monrreal 6749a8a321
Merge pull request #8932 from orenc17/tools_fix
Fix target handling in build.py
2018-12-03 21:14:32 -06:00
Cruz Monrreal 3d6dd46948
Merge pull request #8946 from juhoeskeli/STM32L4_aes_set_key_fix
STM32L4: before calling HAL_CRYP_DeInit initialize the Instance member
2018-12-03 21:13:29 -06:00
Cruz Monrreal e30194fb31
Merge pull request #8949 from KariHaapalehto/target_wiced_update
TARGET_WICED updated.
2018-12-03 21:12:14 -06:00
Cruz Monrreal 36bdf0f59d
Merge pull request #8951 from jeromecoutant/PR_NVSTORE
Remove NVSTORE enabled from NUCLEO_F410RB
2018-12-03 21:10:51 -06:00
TomoYamanaka 9060bf884c Renesas : Add the setting of SD as components 2018-12-04 10:10:23 +09:00
Russ Butler 0bacb9adad Turn off MPU for PSOC 6
Turn off  the MPU for the PSOC 6 since it has a non-standard memory
map. This fixes crashes on boot for this target.
2018-12-03 14:27:36 -06:00
Russ Butler c48d3de85a Add rather than override PSOC 6 macros
Use "macros_add" rather than "marcos" so any macros defined by
MCU_PSOC6 are not overwritten.
2018-12-03 14:27:08 -06:00
Jenny Plunkett fa191259b7
Update FEATURE_BLE README
Remove all outdated information including supported services and old documentation links
2018-12-03 13:09:01 -06:00