linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brian Gix <bgix@codeaurora.org>
To: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: SM Key Distribution
Date: Tue, 08 Feb 2011 15:29:34 -0800	[thread overview]
Message-ID: <4D51D1DE.7010309@codeaurora.org> (raw)
In-Reply-To: <4D517EE1.8040408@codeaurora.org>

Hi Vinicius,

More on Key Distribution:


When we are an SM responder, we are suppose to AND the requested key 
distribution values with our values (what we expect, and what we 
generate).  So for instance, if we have 07 07 as our prefered key 
distribution values, and we receive 00 01, then we should mask 
everything out except for the Responder LTK distribution PRIOR to 
responding with the Pairing Response, and then of course only distribute 
that one LTK key after link encryption.


Currently, we are always responding with 07 07 regardless of what the 
Initiator requested, and then always distribute all possible keys.


Regards,


-- 
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

      reply	other threads:[~2011-02-08 23:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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       ` Brian Gix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D51D1DE.7010309@codeaurora.org \
    --to=bgix@codeaurora.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=vinicius.gomes@openbossa.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).