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