ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
ble_aes_ccm.h File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::ble_device_base
 

Functions

void esphome::ble_device_base::aes128_encrypt_block (const uint8_t key[16], const uint8_t in[16], uint8_t out[16])
 AES-128 single-block encrypt (the same software cipher CCM uses).
 
bool esphome::ble_device_base::aes_ccm_auth_decrypt (const uint8_t key[16], const uint8_t *nonce, size_t nonce_len, const uint8_t *aad, size_t aad_len, const uint8_t *ciphertext, size_t ct_len, uint8_t *plaintext, const uint8_t *tag, size_t tag_len)