SWRA846
July 2025
CC2642R-Q1
1
Abstract
1
Analysis of Bluetooth Pairing Technology Principles
1.1
LE Legacy Pairing and LE Secure Connections Pairing
1.2
Analysis of Association Mode Security Characteristics
1.3
Privacy Protection and Address Management
2
Common Issues in Pairing Encryption
2.1
Integrity Check Fault—MIC Verification Failure (MIC failure)
2.2
Abnormal Key Negotiation—DHKey Verification Failure (DHKey check fail)
2.3
Key Management Defect—PIN/Key Loss (PIN or Key missing)
2.3.1
Key Missing During Pairing Phase
2.3.2
LTK Missing During Encryption Phase
3
A Solution for Encryption Resource Conflicts
3.1
Environment Selection and Configuration
3.2
Implementing AES-256 Encryption and Decryption Using TinyAES Library
3.3
System-Level Optimization Exploration
3.3.1
Memory Allocation Inspection
3.3.2
Padding Processing and Thread Safety
4
Conclusion
5
References
5
References
Bluetooth Core Specification v4.2
tiny-AES-c
CC13x2, CC26x2 SimpleLink Wireless MCU Technical Reference Manual (Rev. G)