Oren Cohen
abd60fc341
[trusted-firmware-m]: Updated to 0101fd37
...
# Conflicts:
# components/TARGET_PSA/TARGET_TFM/COMPONENT_NSPE/interface/src/tfm_ns_lock_rtx.c
2019-04-24 17:25:14 +03:00
Oren Cohen
06f1a98326
Revert TF-M update PR
2019-04-24 17:20:10 +03:00
Oren Cohen
c84329a1c5
[trusted-firmware-m]: Updated to 0101fd37
2019-04-24 13:49:17 +01:00
Michael Schwarcz
2fbbf5c326
TF-M patch: Fix tfm_ns_lock_init issue (TF-M issue #239 )
...
- Link to bug tracking: https://developer.trustedfirmware.org/T239
(cherry picked from commit 5f2e4b3911
)
2019-04-24 13:46:36 +01:00
Michael Schwarcz
ce722f1253
TF-M patch: General modifications
...
- Remove un-needed files
- Disable printf and uart
- Modify include paths
- Guard macros from mbed_lib with ifndef
(cherry picked from commit 1f30b52488
)
(cherry picked from commit 71cd34df32
)
2019-04-24 13:44:46 +01:00
Kevin Bracey
c5bfb6afc2
Networking: Fix some ARMC6 warnings
...
Some int-versus-long and signed-versus-unsigned format string
mismatches, and missing `class` keyword.
2019-04-24 13:37:42 +01:00
Michal Paszta
6d3c973040
ESP8266: Timeout if chip keeps returning errors
...
The ESP chip returns timeout, but keeps trying to connect, so we want to
keep track of time ourselves, instead of relying on the chip's timeout.
This fixes failing WIFI-CONNECT-SECURE-FAIL test.
2019-04-24 13:37:42 +01:00
Michal Paszta
b3ef3db637
Perform disconnection regardless of the IP address
2019-04-24 13:37:42 +01:00
Oren Cohen
4d6dc137cf
Fix warnings on PSA secure builds
2019-04-24 13:37:42 +01:00
itayzafrir
62905b1dc3
Add message context cleanup helper function
2019-04-24 13:37:42 +01:00
itayzafrir
34aa2288f0
Rename internal function destroy_hash_clone to clear_hash_clone
2019-04-24 13:37:42 +01:00
itayzafrir
60c9f54810
Do not allocate zero sized buffers - generators
2019-04-24 13:37:42 +01:00
itayzafrir
10c36c781c
Do not allocate zero sized buffers - rng
2019-04-24 13:37:42 +01:00
itayzafrir
12cd1b1ff6
Do not allocate zero sized buffers - entropy
2019-04-24 13:37:42 +01:00
itayzafrir
b2731f100a
Do not allocate zero sized buffers - keys
2019-04-24 13:37:42 +01:00
itayzafrir
e3f9a7b93c
Do not allocate zero sized buffers - cipher
2019-04-24 13:37:42 +01:00
itayzafrir
3d8ea169ca
Do not allocate zero sized buffers - aead
2019-04-24 13:37:42 +01:00
itayzafrir
bbf7e77b2c
Do not allocate zero sized buffers - asymmetric
2019-04-24 13:37:42 +01:00
itayzafrir
0807687966
Do not allocate zero sized buffers - hash
2019-04-24 13:37:42 +01:00
itayzafrir
36265a5d47
Do not allocate zero sized buffers - mac
2019-04-24 13:37:42 +01:00
itayzafrir
5f997c2dc2
Fix crypto service abort functionality - generators
2019-04-24 13:37:42 +01:00
itayzafrir
28775e1c7a
Fix crypto service abort functionality - mac
2019-04-24 13:37:42 +01:00
itayzafrir
3085e7188c
Fix crypto service abort functionality - hash
2019-04-24 13:37:42 +01:00
itayzafrir
3233820b83
Fix crypto service abort functionality - cipher
...
Also refactor cipher setup function to one common function.
2019-04-24 13:37:42 +01:00
Michal Paszta
51bc848c62
Add INTERRUPTIN compilation guard for ESP8266
2019-04-05 15:55:56 +01:00
Ashok Rao
76cde7702a
Incorporating review comments Removing USBDEVICE since USB pins are NOT brought out on the MTB/MCB.
2019-04-05 13:59:48 +01:00
Oren Cohen
3acedd3c2d
Run autogen
2019-04-05 13:59:26 +01:00
junichi.katsu@uhuru.jp
6b2a219740
Add definition of RAVEN
2019-04-05 12:27:01 +01:00
Offir Kochalsky
1a48962a53
Update QSPIFBlockDevice.cpp
2019-04-05 12:26:58 +01:00
offirko
665a80f671
If QER is undefined: do nothing but log warning and continue
2019-04-05 12:26:58 +01:00
offirko
27a306b91b
Fixed Bus Mode bit mask to select best mode. When setting Quad Enable, either SR1, SR2 or CR setup is required. Either way register size is up to 2 bytes.
2019-04-05 12:26:57 +01:00
offirko
2386825946
Fix Bus mode mask and status register write size in some modes in quad enable
2019-04-05 12:26:57 +01:00
Arto Kinnunen
6b0897bc64
Nanostack 802.15.4 RF drivers update
...
Sync Nanostack RF drivers from master copy:
-MCR20A: v1.0.6
-S2LP: v0.0.5
2019-04-05 12:26:26 +01:00
itayzafrir
e53e8b9f94
Remove uneeded TODO comment from the code
2019-04-05 12:26:22 +01:00
itayzafrir
f45801a611
Unify code style
...
- Use designated initializers for IPC structs
- Unify variables declaration and initialization
2019-04-05 12:26:22 +01:00
itayzafrir
e2eea51eaa
Unify sections titles/comments & fix typo in comment
2019-04-05 12:26:22 +01:00
itayzafrir
0bd2275c04
Set handle to PSA_NULL_HANDLE when closing IPC connection
2019-04-05 12:26:22 +01:00
itayzafrir
8bc0c45d00
Use PSA_NULL_HANDLE when testing for invalid handles
2019-04-05 12:26:21 +01:00
itayzafrir
f8cdd41415
Use psa prefix for crypto.h include
2019-04-05 12:26:21 +01:00
itayzafrir
9a5839ab8f
Refactor crypto service proxy
2019-04-05 12:26:21 +01:00
Ari Parkkila
4d40487abe
SPIF: Fix SPI_FREQ for MTB_ADV_WISE_1570
2019-04-05 12:26:19 +01:00
Kevin Bracey
e16a275b68
Atmel RF: use system wait_ns
...
This driver's delay_ns was used as the basis of the system wait_ns -
migrate to that refined implementation.
2019-04-05 12:26:19 +01:00
Arto Kinnunen
54c8d5a0f5
Nanostack 802.15.4 RF drivers update
...
Sync Nanostack RF drivers from master copies:
-Atmel: v3.0.7
-MCR20A: v1.0.3
-S2LP: v0.0.4
2019-04-05 12:26:18 +01:00
Veijo Pesonen
de14f2dc77
ESP8266: astyle, remove from the .astyleignore-file
2019-04-05 12:26:07 +01:00
Amir Cohen
77b60f4e06
Add flashiap block device comment
2019-03-19 13:12:36 +00:00
Amir Cohen
43f4e25496
Fix functionality for FlashIAPBD & SlicingBD
...
Due to discovery of inconsistent sector sizes in devices storage the is_valid_erase function was adjusted,
For FlashIAPBD the 'code size' was included to the calculation, preventing faulty "virtual" addresses calculation.
For SlicingBD the same error was fixed and in all 3 validation functions that sent addresses for validation and program/read/erase
different addresses.
2019-03-19 13:12:36 +00:00
Michael Schwarcz
0ac2cd377f
TF-M patch: Handle extended stack frame in tfm_svcall_psa_call
...
- Fix failing attestation test on LPC55S69
- Link to bug tracking: https://developer.trustedfirmware.org/T276
2019-03-12 10:06:40 -05:00
Alexander Zilberkant
64530095b9
Rename psa_system_reset to mbed_psa_system_reset
...
add noreturn attributes
update lifecycle service to use psa/error.h
fix doxygen
2019-03-12 10:06:40 -05:00
itayzafrir
ef368937aa
Fix crypto compliance tests
...
Prevent passing null buffer with size which is non-zero.
2019-03-12 10:06:40 -05:00
Oren Cohen
2c49ae1cf1
Fix error codes for psa_attestation_inject_key
2019-03-12 10:06:40 -05:00