Modify the project name and optimize the code for bk7239n#7176
Modify the project name and optimize the code for bk7239n#7176ewoodev merged 6 commits intoSamsung:masterfrom
Conversation
| /* Acquire TFM NSC interface lock; on failure log and return HAL_FAIL */ | ||
| #define TFM_NSC_LOCK_OR_RETURN() do { \ | ||
| int _tfm_lock_st = tfm_ns_interface_lock(); \ | ||
| if (_tfm_lock_st != PSA_SUCCESS) { \ | ||
| dbg("Failed to acquire NSC interface lock\n"); \ | ||
| return HAL_FAIL; \ | ||
| } \ | ||
| } while (0) | ||
|
|
||
| #define TFM_NSC_UNLOCK() do { \ | ||
| tfm_ns_interface_unlock(); \ | ||
| } while (0) | ||
|
|
There was a problem hiding this comment.
Is it okay if you don't add NSC lock on armino_hal_get_key / armino_hal_get_hash / armino_hal_get_hmac?
There was a problem hiding this comment.
Is it okay if you don't add NSC lock on
armino_hal_get_key/armino_hal_get_hash/armino_hal_get_hmac?
For these interfaces, they are protected uniformly in the tfm_ns_interface. c file's function tfm_ns_interface_dispatch(). @jylee9613
|
|
|
Please update your PR as there is a conflict due to a recent build-related commit. |
@seokhun-eom24 Thank you for your reminder, we are processing it. |
Add checks to make non-secure calls to secure interfaces to prevent reentrancy Signed-off-by: Poly-J <jun.pan@aclsemi.com>
The previous changes to this file introduced some unnecessary variables, reverting them keeps the logic consistent with before. Signed-off-by: Poly-J <jun.pan@aclsemi.com>
Modified the logic of some internal packaging scripts Signed-off-by: Poly-J <jun.pan@aclsemi.com>
Modify the project name and remove the 'mp' suffix Signed-off-by: Poly-J <jun.pan@aclsemi.com>
1cc312d to
482bb6b
Compare
- remove unused code - add pair bond callbacks implementation - Update internal library Signed-off-by: Poly-J <jun.pan@aclsemi.com>
Modify the project name and remove the 'mp' suffix Signed-off-by: Poly-J <jun.pan@aclsemi.com>
1.Modify the project name and remove the 'mp' suffix
2.Optimize some of the internal code at the board level
3.Optimize some configuration items
4.Some bug fix and modification according to the comments of PR review.