8#ifndef NEXUS_ARCH_SECURITY_H
9#define NEXUS_ARCH_SECURITY_H
Reviewed CPU mechanisms and allocation-free result types.
nx_arch_result_t
Result of a validated local CPU mechanism operation.
nx_arch_security_state_t
Security state compiled for this firmware image.
nx_arch_result_t nx_arch_sau_clear(uint32_t index)
Disable one owned SAU region while the SAU is disabled.
nx_arch_security_state_t nx_arch_security_state(void)
Query this image's compiled security state.
nx_arch_result_t nx_arch_sau_encode(const nx_arch_sau_region_t *region, nx_arch_sau_words_t *words)
Encode an explicit SAU region without hardware access.
nx_arch_result_t nx_arch_sau_write(uint32_t index, const nx_arch_sau_region_t *region)
Program one owned SAU region while the SAU is disabled.
Exact 32-byte-aligned SAU region owned by the Secure caller.
Validated SAU words; encoding never changes hardware.