linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Frequent SM test failure at UPF
@ 2011-02-08  0:26 Brian Gix
  2011-02-08  1:22 ` Brian Gix
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Gix @ 2011-02-08  0:26 UTC (permalink / raw)
  To: linux-bluetooth, vinicius.gomes


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@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-08 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08  0:26 Frequent SM test failure at UPF Brian Gix
2011-02-08  1:22 ` Brian Gix
2011-02-08 13:58   ` Vinicius Costa Gomes
2011-02-08 17:35     ` Brian Gix
2011-02-08 23:29       ` SM Key Distribution Brian Gix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).