RadarFound by TEE Radar· 14 follow

cardlang: statically typed language for TrustZone and smart cards

Nov 24 find · published Nov 22
GHGitHub · cardlang · 2 min readRead original
TrustZone TEETrusted execution environment for microcontrollers

cardlang released a statically typed language compiler for writing secure applications on ARM TrustZone secure worlds and smart-card applets. The language enforces fixed-size data types (integers u8–u32, booleans, enums, structures, fixed arrays) with no heap, strings, or floating-point arithmetic, reducing attack surface on resource-constrained devices. Explicit atomic transactions and deterministic traps replace exceptions. The toolchain includes a C11 VM, VS Code debugger with real-time error checking, and example FIDO2 and PIV applications. The language prohibits recursion, allowing stack and transaction nesting to be verified before execution.

Comments

Sign in to join the conversation.

More from this batch

Confidential Containers patches TDX attestation InitData leakGitHub · confidential-containers/guest-componentsOP-TEE PKCS#11 shared memory leak on Jetson Thorforums.developer.nvidia.comSentez Cloud describes compartmentalized architecture for SEV-SNP, TDXGitHub · SidistrNymira launches testnet for private prepaid credits on NEARGitHub · nymiralabsSuper Protocol offers $5,000 confidential compute credits to AI startupsagihunt.infoRealm Ledger: NEAR game with TEE-signed AI agent movesGitHub · lopeselio
TEE RadarEverything in trusted execution environments and confidential computing: Intel SGX and TDX, AMD SEV-SNP, Arm CCA, confidential GPUs, attestation, TEEs in blockchains and private AI, new attacks and side channels, releases, products and funding.