sancus-tee / sancus-core

Minimal OpenMSP430 hardware extensions for isolation and attestation
BSD 3-Clause "New" or "Revised" License
20 stars 13 forks source link

Clear SM data section on sancus_enable #6

Open jovanbulck opened 7 years ago

jovanbulck commented 7 years ago

Currently, the data section doesn't seem to be cleared when enabling protection for an SM.

jovanbulck commented 7 years ago

This probably requires a straightforward change in the crypto_control state machine.