Return-Path: From: Lukasz Rymanowski To: linux-bluetooth@vger.kernel.org Cc: szymon.janc@tieto.com, Lukasz Rymanowski Subject: [PATCH 0/9] android: Fixes to sign write Date: Wed, 28 May 2014 16:44:28 +0200 Message-Id: <1401288283-13480-1-git-send-email-lukasz.rymanowski@tieto.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: This patch set brings couple of bug fixes founded during tests against PTS. Biggest change is that I had to move signing procedure down to att.c as not only payload need to be signed but also opcode and handle. Therefore it makes sense to generate signature in place where pdu is encoded With those patches PTS TC_GAW_CL_BV_02_C and TC_GAW_SR_BV_02_C are passing Lukasz Rymanowski (9): android/gatt: Verify signature counter from remote android/gatt: Fix handling signed write command from remote android/gatt: Fix signed write command encoding shared/crypto: Fix concatenate of sign counter into the msg shared/crypto: Fix byte order of sign counter added to signature shared/crypto: Change swap128 to swap_buf shared/crypto: Fix byte order of message unit/crypto: Update unit test vectors after changes in singing process android/pts: Update GATT PTS test results Makefile.am | 3 ++- Makefile.tools | 4 +++- android/gatt.c | 25 ++++++++++++------------- android/pts-gatt.txt | 21 +++++++++++++++++++-- attrib/att.c | 11 +++++++---- attrib/att.h | 6 +++++- attrib/gatt.c | 11 ++++++++--- attrib/gatt.h | 4 +++- src/shared/crypto.c | 26 +++++++++++++++----------- unit/test-crypto.c | 6 +++--- 10 files changed, 77 insertions(+), 40 deletions(-) -- 1.8.4