Skip to content
Development
Skill

/tinycrypt-integration

Use when integrating, porting, configuring, or debugging TinyCrypt cryptographic primitives, AES, SHA, HMAC, ECC, CTR/CCM, RNG, or embedded security code

From plugin
aix-skills
3976 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill tinycrypt-integration --agent claude-code

SKILL.md

tinycrypt-integration.SKILL.md
name: tinycrypt-integration
description: Use when integrating, porting, configuring, or debugging TinyCrypt cryptographic primitives, AES, SHA, HMAC, ECC, CTR/CCM, RNG, or embedded security code

TinyCrypt Integration

Overview

Use this skill to integrate TinyCrypt primitives safely. Cryptographic code needs test vectors, correct modes, nonce/IV discipline, key handling, and explicit threat boundaries before being used in products.

When To Use

Use this skill when:

  • The user wants lightweight crypto primitives on an MCU using TinyCrypt.
  • The task involves AES, SHA, HMAC, CTR, CCM, ECC, RNG, key storage, message authentication, or encrypted firmware/data.
  • Outputs do not match known vectors or peer devices.

Do not use this skill for TLS session integration. Use `mbedtls-integration` for full TLS. For standalone ECDH/ECDSA operations, use `micro-ecc-integration`.

First Questions

Ask for:

  • Primitive/mode: AES-CTR, AES-CCM, SHA, HMAC, ECC, or RNG.
  • Protocol or data format consuming the primitive.
  • Key, IV/nonce, tag length, AAD, and message framing policy without exposing secrets.
  • Target MCU/compiler and hardware crypto availability.
  • Known test vector or peer output.

Integration Checklist

1. Use test vectors first. Validate primitive and mode with public vectors before product payloads.

1. Define nonce/IV rules. Nonce reuse can break security. Make generation and storage explicit.

1. Separate encryption and authentication. Know whether the mode authenticates data or only encrypts it.

1. Protect key material. Avoid logging keys, IV secrets, raw plaintext, or derived secrets.

1. Handle failures securely. Authentication failure must reject data, not fall back to plaintext.

Common Failures

  • AES mode mismatch with peer.
  • Nonce/IV reused after reboot.
  • Tag length or AAD differs from peer implementation.
  • Hash/HMAC input framing differs.
  • Test code logs secrets or accepts authentication failures.

Verification

Before claiming TinyCrypt works:

  • State primitive/mode, nonce policy, tag length, and framing.
  • Confirm public test vectors pass.
  • Confirm modified ciphertext/tag fails verification.
  • Confirm secrets are not printed or stored insecurely.

Example

User:

TinyCrypt AES-CCM 加密后对端验签失败。

Agent:

1. Asks for mode parameters, nonce, tag length, AAD, framing, and test vector. 1. Checks nonce and AAD consistency before payload logic. 1. Verifies that modified tags are rejected.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
39
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about tinycrypt-integration.

Which coding agents can use tinycrypt-integration?
tinycrypt-integration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.