Bluetooth & BLE · Study deck
BLE Encryption: Key Management
Bluetooth encryption scrambles data so only a device with the right key can read it.
Radio Remi is your guide for this deck.

After studying this chapter
Learning objectives
You will be able to:
- Explain BLE Encryption Architecture: Describe how AES-CCM-128 encryption and key generation methods work together in BLE
- Analyze Key Hierarchy: Distinguish the roles of LTK, IRK, and CSRK in BLE security and justify when each is applied
- Apply Security Decision Framework: Select appropriate security levels for different IoT application contexts
- Implement Best Practices: Configure secure pairing and key storage for IoT deployments
Major section
In 60 Seconds
BLE encryption uses AES-CCM with 128-bit keys, but security depends on how keys are generated during pairing.
- A home health device pairs with a nurse's tablet and sends private readings.
- Strong encryption cannot rescue a key that was given to the wrong party or never removed.
- IRK supports address privacy and CSRK supports data signing.
Major section
BLE Key Management Pattern
Encryption protects traffic only after the link has agreed on keys.
- Bonding stores long-term keys so devices can reconnect without repeating pairing.
- IRK supports privacy by resolving rotating private addresses for bonded devices.
- CSRK supports signed data on unencrypted links, but it does not replace encryption for sensitive traffic.
Major section
BLE Encryption Architecture
The comparison connects protocol choice to threat evidence: modern derivation protects against passive capture, while MITM resistance still depends on the authenticated association method.
- This provides basic protection but can be vulnerable if the temporary key has low entropy or the pairing exchange is captured.
- P-256 ECDH protects the pairing exchange against passive eavesdropping.
Major section
BLE Key Hierarchy
In an implementation record, map each role to its actual storage owner, creation event, allowed use, reset behavior, and deletion proof.
- That prose-to-inventory connection is what prevents a technically correct key name from becoming an unmanaged credential.
- TK (Temporary Key): Generated during pairing, depends on pairing method.
Major section
Security Decision Framework
Device has no display, keyboard, or NFC.
- Data is already encrypted at application layer.
- Risk acceptance: Anyone can read data (that's the intent).
- Device has display OR keyboard (not both).
- Both devices have displays.
Major section
Security Decision Framework (continued)
User can verify 6-digit code.
- Security: 1 million codes + user comparison (provides MITM protection when the numeric-comparison procedure is used correctly; pairing-method confusion can still expose it).
- Device has NFC or can display QR code.
- Security: Attacker must compromise both channels (Bluetooth + NFC/QR).
- Displayless products still need an authenticated commissioning choice.
Major section
Security Decision Framework (continued)
Passkey Entry: A 6-digit passkey gives about 20 bits of user-authenticated entropy when the passkey is random and protected from observation.
- Method selection begins with the consequence of impersonation and the I/O that both endpoints can actually support.
- Public, read-only broadcasts may accept an unauthenticated path; owner control, safety-relevant commands, or sensitive records need user-authenticated proof.
- Security depends on that channel being hard for the attacker to observe or modify.
Deck summary
Key takeaways
BLE encryption uses AES-CCM with 128-bit keys, but security depends on how keys are generated during pairing.
- Encryption protects traffic only after the link has agreed on keys.
- The comparison connects protocol choice to threat evidence: modern derivation protects against passive capture, while MITM resistance still depends on the authenticated association method.
- In an implementation record, map each role to its actual storage owner, creation event, allowed use, reset behavior, and deletion proof.
- Device has no display, keyboard, or NFC.
Retrieval practice
Recall check 1 of 3

Radio Remi says: answer from memory, then check your reasoning.
Q1A BLE link is encrypted, yet pairing used an unauthenticated method. What remains at risk?
Show answer
Answer: A Link encryption alone does not prove authenticated key exchange.
Retrieval practice
Recall check 2 of 3

Radio Remi says: answer from memory, then check your reasoning.
Q2A reviewer is checking the Bluetooth security decision for this topic. Which evidence keeps the claim bounded?
Show answer
Answer: A Bluetooth security review should separate pairing, encryption, key management, authorization, and recovery evidence.
Retrieval practice
Recall check 3 of 3

Radio Remi says: answer from memory, then check your reasoning.
Q3In BLE legacy pairing, which two values are used by the Central to identify and retrieve the correct LTK during reconnection?
Show answer
Answer: B In legacy pairing, the Peripheral distributes the LTK together with its EDIV and Rand.
Q4A sensor keeps bond keys in readable app storage. What should change before release?
Show answer
Answer: A The bond keys should be held in a protected keystore or secure element.
Print reference
Answers
Answer key.
- A · Link encryption alone does not prove authenticated key exchange.
- A · Bluetooth security review should separate pairing, encryption, key management, authorization, and recovery evidence.
- B · In legacy pairing, the Peripheral distributes the LTK together with its EDIV and Rand.
- A · The bond keys should be held in a protected keystore or secure element.