Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Bluetooth Security.pdf
Скачиваний:
115
Добавлен:
17.08.2013
Размер:
1.57 Mб
Скачать

Broadcast Encryption

85

 

 

the master can decide which is the greatest common key length supported and request this to be used.

The encryption mode parameter of the LMP encryption mode req

PDU determines whether to use encryption or not. If this mode is set to 0x1 or 0x2, encryption applies to individually addressed messages (point-to-point traffic). Additionally, if a temporary link key is used, broadcast messages are also encrypted; if a semipermanent link key is used, broadcast messages are not encrypted. Note that setting the encryption mode to 0x2 is not recommended from version 1.2. The mode is still part of the specification only to allow for backward compatibility with 1.1-compliant devices.

Consequently, the encryption mode parameter written by the HCI Write Encryption Mode command can only take the values 0x0 and

0x1.

Figure 5.1 depicts a message sequence chart describing different steps in setting up broadcast encryption as well as returning from broadcast to individual link encryption. For enabling of the master link key, the HCI Master Link Key command with Key_Flag set to 0x01 is issued by the master host.

The same random number must be used in all the LMP start encryption req commands; otherwise, different ciphering initialization values will cause problems once encryption is switched on. It is up to the host to decide whether to attempt broadcasting encrypted data when not all slaves are set to receive encrypted broadcast data, but the recommendation is not to do so.

If, for some rare necessary reason, the mutual authentication following the LMP temp rand and LMP temp key fails, the LM of the verifier should issue the detach procedure for that link. This will allow the procedure to succeed even though one of the devices may be erroneous.

References

[1]Bluetooth Special Interest Group, The Bluetooth Wireless Specification, Version 1.1, February 2001.

[2]Bluetooth Special Interest Group, Specification of the Bluetooth System, Version 1.2, Core System Package, November 2003.