Testing of Shorter than 16 octet keys.
In smp_cmd_pairing_random() when the STK is generated, it needs to be
truncated to the MIN of conn->preq[4] and conn->pres[4].
This Min value may need to be saved for later as well, because it needs
to also limit the LTK key exchange.
This failure showed up with the PTS tool, and at least one other device
during the days testing. I have mocked up a fix, but have not had a
chance to test it yet.
--
Brian Gix
bgix@xxxxxxxxxxxxxx
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html