开发者

Android bluetooth encryption technique

开发者 https://www.devze.com 2023-03-09 09:34 出处:网络
I want to set the encryption key size for Bluetooth in Android, but not able to find the files where the exact encryption happens. I have seen that BluetoothSocket class does take \"encryptio开发者_Py

I want to set the encryption key size for Bluetooth in Android, but not able to find the files where the exact encryption happens. I have seen that BluetoothSocket class does take "encryptio开发者_Python百科n" as a boolean argument in constructor, but when I followed it to the JNI layer, found that it just makes system call of "setSocketOpt" . But in kernel code i was not able to find the place where its happening.

If anyone have idea where the actual encryption happens and what is the key size used for encryption then please answer.


Encryption key size is set by the LMP layer. So, you will not be able to access it at the OS level (Host level). This is done in the Firmware (Controller level).

0

精彩评论

暂无评论...
验证码 换一张
取 消