embedded-crypto

Solid

Embedded cryptographic operations and secure element integration. Expert skill for hardware crypto accelerators, secure key storage, TrustZone configuration, and side-channel attack mitigation.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Embedded Cryptographic Operations Skill Expert skill for cryptographic operations in embedded systems. Provides expertise in hardware crypto accelerators, secure key storage, TrustZone configuration, and security best practices. ## Overview The Embedded Crypto skill enables secure cryptographic implementation in embedded systems: - Hardware crypto accelerator usage - AES/SHA/ECC implementation - Secure key storage configuration - TrustZone configuration (Cortex-M33/M55) - Secure boot chain implementation - Certificate management - Random number generation (TRNG) - Side-channel attack mitigation ## Capabilities ### 1. Hardware Crypto Accelerator Integration Leverage hardware acceleration for cryptographic operations: ```c /** * @brief Initialize hardware crypto accelerator * * Enables clock and configures the crypto peripheral for * accelerated AES, SHA, and random number generation. * * @return CRYPTO_OK on success */ crypto_status_t crypto_hw_init(void) { // Enable peripheral clock RCC->AHB2ENR |= RCC_AHB2ENR_CRYPTEN; // Enable AES, SHA, and RNG modules CRYP->CR = CRYP_CR_ALGODIR | CRYP_CR_ALGOMODE_AES_CBC; // Configure for interrupt or DMA mode CRYP->CR |= CRYP_CR_CRYPEN; return CRYPTO_OK; } /** * @brief Hardware-accelerated AES-128 CBC encryption * * @param[in] key 128-bit encryption key * @param[in] iv 128-bit initialization vector * @param[in] plaintext Data to encrypt * @param[out] ciphertext Encry...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills