1. 13 2月, 2014 3 次提交
    • M
      Bluetooth: Add support for handling P-256 derived link keys · 66138ce8
      Marcel Holtmann 提交于
      Before being able to enable Secure Connections support, the core needs
      to know on how to handle P-256 derived link keys. The difference between
      authenticated and unauthenticated P-256 derived link keys is the same as
      its P-192 counter parts.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      66138ce8
    • M
      Bluetooth: Add definitions for new link key types · 11015c79
      Marcel Holtmann 提交于
      With the introduction of Secure Connections, the list of link key types
      got extended by P-256 versions of authenticated and unauthenticated
      link keys.
      
      To avoid any confusion the previous authenticated and unauthenticated
      link key types got ammended with a P912 postfix. And the two new keys
      have a P256 postfix now. Existing code using the previous definitions
      has been adjusted.
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      11015c79
    • J
      Bluetooth: Fix outgoing authentication requirement check · 264b8b4e
      Johan Hedberg 提交于
      The check for HIGH security level dates back to pre-mgmt times when a
      raw L2CAP socket with HIGH security level was used to trigger dedicated
      bonding. For legacy pairing checking for the security level was the only
      way to catch the need to authenticate in all scenarios. With mgmt
      however, the pair_device command does not use HIGH security but MEDIUM
      security. Therefore, the existing code would never trigger
      authentication for a non-SSP connection without an MITM requirement
      (e.g. if user space provided a NoInputNoOutput IO capability). In such a
      scenario the mgmt_pair_device command would return success without
      actually triggering any kind of pairing.
      
      This patch updates the authentication requirement check to also consider
      MEDIUM security level, and thereby ensures that mgmt_pair_device will
      always trigger authentication.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      264b8b4e
  2. 08 2月, 2014 3 次提交
  3. 06 2月, 2014 3 次提交
  4. 05 2月, 2014 31 次提交