mbedtls-integration

Solid

Use when integrating, porting, configuring, or debugging mbedTLS on MCU projects, TLS handshakes, certificates, entropy, RNG, memory, or secure embedded transports

AI & Automation 22 stars 2 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
45
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# mbedTLS Integration ## Overview Use this skill to integrate mbedTLS on embedded targets by proving entropy/RNG, time, certificate storage, transport I/O, and memory configuration before debugging application protocols. TLS failures often come from platform hooks rather than cryptography logic. ## When To Use Use this skill when: - The user wants TLS, HTTPS, MQTT over TLS, DTLS, X.509, crypto, or secure boot-related primitives using mbedTLS. - The issue involves handshake failure, certificate validation, entropy source, RNG, memory allocation, time validity, or socket callbacks. - The target is resource-constrained or has hardware crypto/TRNG. Do not use this skill for generic networking before TCP/IP works. Use `lwip-integration` first when connectivity is unproven. For lightweight ECC-only operations, use `micro-ecc-integration` or `tinycrypt-integration`. ## First Questions Ask for: - mbedTLS version, target MCU/RTOS, compiler, and network stack. - Use case: TLS client, TLS server, DTLS, crypto only, MQTT TLS, HTTPS, or certificate parsing. - `mbedtls_config.h`, enabled features, heap/static allocation policy, and hardware crypto use. - Entropy/RNG source and time source. - Certificate chain model, CA storage, SNI/hostname verification, and current error code. ## Integration Checklist 1. Prove entropy and RNG. TLS requires a real entropy source. Do not ship deterministic test entropy. 1. Configure time. Certificate validation needs valid time or an expli...

Details

Author
easyzoom
Repository
easyzoom/aix-skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category