uvisor | mbed OS uVisor -- device security layer for ARMv7M | Security library
kandi X-RAY | uvisor Summary
kandi X-RAY | uvisor Summary
mbed OS uVisor -- device security layer for ARMv7M microcontrollers
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of uvisor
uvisor Key Features
uvisor Examples and Code Snippets
Community Discussions
Trending Discussions on uvisor
QUESTION
I have an aplication running on a K64F board with ARM Mbed OS. I takes advantage of the RTOS capabilities and is runnign some different threads to perform various actions. Communication between threads is done using queues defined as global variables on the first part of the code (as defined in the RTOS examples).
...ANSWER
Answered 2017-Mar-30 at 16:28You cannot share memory between boxes, uVisor boxes run in isolated memory spaces (which is the whole point of using uVisor).
The only way to communicate between boxes is through RPC channels. See this article under the 'Expose public secure entry points to the secure box' section.
I think you can only pass primitives and struct's (because they're fixed size) over the RPC channel, but that's worth an experiment.
QUESTION
I am trying to compile the mbed client example on a windows machine for the K64F board. I have installed all the required software as described in the guide https://github.com/ARMmbed/mbed-client-quickstart.
The commands I have run are the following commands:
...ANSWER
Answered 2017-Feb-20 at 12:18That's the old example code based on mbed OS 3. Use the example for mbed OS 5 instead.
QUESTION
I have a NXP FRDM-K64F board where I have uvisor running diferent modules in boxes. Is there a way to load the code of one box from an external file? Can uvisor handle boxes dynamically? I would want to create an aplication that can get a binary and set it on a box. Is that supported?
...ANSWER
Answered 2017-Feb-16 at 13:06uVisor at the moment does not support modular applications, where each box has its own firmware that can be loaded independently from others.
As Jan pointed out, boxes are determined at compile and link time and end up in a unique, monolithic firmware. Boxes' capabilities are expressed via static ACLs, which are enumerated at runtime and checked for consistency and compatibility (e.g. two boxes cannot claim exclusive ownership of the same peripheral).
A future implementation might allow a more modular setup, as there would be ways to check the integrity of a newly provided box firmware and to reconcile the new ACLs with the existing ones. We don't have plans for it yet, but the current implementation does not exclude that capability.
QUESTION
I am quite new to mbed and uvisor so maybe my problem is about understanding how things work. I have a NXP FRDM-K64F board where I am trying to learn about mbed and uvisor. I have succesfully compiled an run some basic examples of tasks running on different boxes. I am trying to connect to the net one of the boxes in uvisor but something is not working correctly.
This is the main file code:
...ANSWER
Answered 2017-Feb-09 at 16:41In your main box, change the value for UVISOR_SET_PAGE_HEAP
.
With UVISOR_SET_PAGE_HEAP(8 * 1024, 3)
in the main box; and 8K heap in the secure box and UVISOR_BOX_STACK_SIZE
stack size in the secure box it compiles and links for me (mbed OS 5.3, GCC ARM on K64F).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install uvisor
The uVisor threaded example demonstrates the configuration of multiple boxes containing secure threads.
The secure number store example demonstrates secure communication between boxes and implementation of secure APIs. The example shows how a called box can infer the caller's identity and ownership of secure objects across boots and firmware updates.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page