[PATCH v2 00/12] android/gatt: Add support for write signature command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set add support for write signature command for android part.
* handling CSRK and signCounter in android/bluetooth - storage
* exchanging CSRK and signCounter between android/bluetooth and gatt
* handling incoming and outgoing write signature command.

Some common part has been updated (attrib, crypto)

In next patches error handling will be added.

Note: If you run on Nexus devices there is need to update kernel which
needs to support CRYPTO_CSRK, CRYPTO_USER_API, CRYPTO_USER_API_HASH,
CRYPTO_USER_API_SKCIPHER. All the information available on
https://code.google.com/p/aosp-bluez/

v2:
* handled Johan comments

Lukasz Rymanowski (12):
  shared/crypto: Extend bt_crypto_sign_att with sign counter
  attrib: Add helpers to enc and dec signed write command
  attrib/gatt: Add wrapper to send signed write command
  android/bluetooth: Expose API to get CSRK for device
  android/bluetooth: Expose API to update sign counter
  android/bluetooth: Add support to read CSRK from the kernel
  android/bluetooth: Store CSRK
  android/bluetooth: Read CSRK from the storage on startup
  android/bluetooth: Store sign counter needed for aes-cmac sign
  android/gatt: Add crypto needed for sign write
  android/gatt: Add support for signed write command
  android/gatt: Add handling signed write from remote device

 android/Android.mk  |   1 +
 android/Makefile.am |   1 +
 android/bluetooth.c | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 android/bluetooth.h |  10 +++
 android/gatt.c      |  89 ++++++++++++++++++++++++-
 attrib/att.c        |  55 ++++++++++++++++
 attrib/att.h        |  11 ++++
 attrib/gatt.c       |  16 +++++
 attrib/gatt.h       |   5 ++
 src/shared/crypto.c |  24 +++++--
 src/shared/crypto.h |   1 +
 unit/test-crypto.c  |   2 +-
 12 files changed, 394 insertions(+), 6 deletions(-)

-- 
1.8.4

--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux