Skip to content

Enable partial code encryption for larger binaries #2336

Open
@Slion

Description

@Slion

The encrypted bootloader example demonstrates how to encrypt your binaries and have them securely decrypted in place from SRAM. However, as it is, it only works for the smallest binaries below 448KB minus your stack and heap budget, unless I'm mistaken.

Luckily, as hinted by @kilograham in that forum thread, there could be ways to partially encrypt your binaries. Is there any chance that we could get tools support and an example to do just that?

Ideally, one should be able to encrypt only the application code and not all the SDK and other libraries it is calling. Though my understanding of the linker, ELF and linker scripts is currently far too limited to tell if that would be doable at all.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions