mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
Bluetooth: SMP: Add support for H7 crypto function and CT2 auth flag
Bluetooth 5.0 introduces a new H7 key generation function that's used when both sides of the pairing set the CT2 authentication flag to 1. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
0705f7b12b
commit
a62da6f14d
2 changed files with 69 additions and 17 deletions
|
@ -57,6 +57,7 @@ struct smp_cmd_pairing {
|
|||
#define SMP_AUTH_MITM 0x04
|
||||
#define SMP_AUTH_SC 0x08
|
||||
#define SMP_AUTH_KEYPRESS 0x10
|
||||
#define SMP_AUTH_CT2 0x20
|
||||
|
||||
#define SMP_CMD_PAIRING_CONFIRM 0x03
|
||||
struct smp_cmd_pairing_confirm {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue