Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2 00/12]  android/gatt: Add support for write signature command
@ 2014-05-22  8:07 Lukasz Rymanowski
  2014-05-22  8:07 ` [PATCH v2 01/12] shared/crypto: Extend bt_crypto_sign_att with sign counter Lukasz Rymanowski
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Lukasz Rymanowski @ 2014-05-22  8:07 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: szymon.janc, johan.hedberg, Lukasz Rymanowski

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


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

end of thread, other threads:[~2014-05-22 10:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22  8:07 [PATCH v2 00/12] android/gatt: Add support for write signature command Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 01/12] shared/crypto: Extend bt_crypto_sign_att with sign counter Lukasz Rymanowski
2014-05-22 10:28   ` Johan Hedberg
2014-05-22 10:59     ` Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 02/12] attrib: Add helpers to enc and dec signed write command Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 03/12] attrib/gatt: Add wrapper to send " Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 04/12] android/bluetooth: Expose API to get CSRK for device Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 05/12] android/bluetooth: Expose API to update sign counter Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 06/12] android/bluetooth: Add support to read CSRK from the kernel Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 07/12] android/bluetooth: Store CSRK Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 08/12] android/bluetooth: Read CSRK from the storage on startup Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 09/12] android/bluetooth: Store sign counter needed for aes-cmac sign Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 10/12] android/gatt: Add crypto needed for sign write Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 11/12] android/gatt: Add support for signed write command Lukasz Rymanowski
2014-05-22  8:07 ` [PATCH v2 12/12] android/gatt: Add handling signed write from remote device Lukasz Rymanowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox