除了前面文章Part 3介绍的LE Legacy pairing,LE Secure Connections是配对的另一种方式。
LE Secure Connections是蓝牙v4.2中引入的一个增强的安全特性。它使用Federal Information Processing Standards(FIPS)兼容的算法,称为Elliptic Curve Diffie Hellman (ECDH)密钥生成。对于LE Secure Connections,它支持四种相关模型:
- Just Works
- Numeric Comparison (Only for LE Secure Connections)
- Passkey Entry
- Out of Band (OOB)
其中Numeric Comparison只支持LE Secure Connections这种配对模式,而不支持LE Legacy pairing模式,这是一个较新的配对模式,下面我们分步骤的深入了解它。
第一阶段:配对特性交换
在Part 1中讨论过配对特性交换,在此我们回顾一下。下表是对请求/响应包的定义。在“AuthReq”字段中,有一个名为“SC”的位。如果设备支持LE Secure Connections 配对,则SC字段设置为1,否则设置为0。如果当两个设备都支持LE Secure Connections 配对,那么接下来的配对流程将会按LE Secure Connections pairing模式执行,否则将

本文深入探讨了蓝牙低功耗(LE)Secure Connections配对过程中的Numeric Comparison模式,该模式仅适用于LE Secure Connections。内容涵盖配对特性的交换、Key生成方法的选择和认证过程,强调了Numeric Comparison在防止中间人攻击和提供更强安全性方面的作用。
最低0.47元/天 解锁文章
3665





