bluez/unit
Lukasz Rymanowski 87f79a9c7d shared/crypto: Extend bt_crypto_sign_att with sign counter
Sign counter is use in two places during att signing:
1) Shall be concatenated with message to be sign as specified in BT spec
4.1, Vol[3], Part H, chapter 2.4.5

2) Shall be a part of signature send in the att packet as specified in
BT spec 4.1 Vol[3], Part C, chapter 10.4.1

With this patch, bt_crypto_sign_att returns signature as specified in 2)

This patch also updates unit tests so now it uses sign counter 0. Note
that test vectors no longer match that one from  NIST Special
Publication 800-38B
2014-05-26 10:27:21 +02:00
..
test-avctp.c android/avctp: Make avctp_send_vendor_req to take struct iovec 2014-04-15 11:13:38 +03:00
test-avdtp.c unit/avdtp: trivial: Remove empty line 2014-01-27 11:30:12 -08:00
test-avrcp.c unit/test-avrcp: Add /TP/VLH/BI-02-C test 2014-05-19 16:12:54 +03:00
test-crc.c unit: Add test case for link layer CRC functions 2013-08-21 23:14:18 -07:00
test-crypto.c shared/crypto: Extend bt_crypto_sign_att with sign counter 2014-05-26 10:27:21 +02:00
test-eir.c eir: Use unsigned int for flags in struct eir_data 2014-03-22 21:49:53 +02:00
test-gdbus-client.c unit: Add test for g_dbus_client_set_ready_watch() 2014-03-20 20:03:06 +02:00
test-gobex-apparam.c unit: Fix memory leaks in gobex tests 2014-02-12 11:49:31 +02:00
test-gobex-header.c unit: Fix gobex GPL version reference 2013-02-15 16:19:54 +02:00
test-gobex-packet.c unit: Fix gobex GPL version reference 2013-02-15 16:19:54 +02:00
test-gobex-transfer.c unit/test-gobex-transfer: Add /gobex/test_packet_get_req_suspend_resume 2014-02-20 13:43:08 +02:00
test-gobex.c unit/test-gobex: Add test for OBEX authentication fail 2014-03-31 17:30:59 +03:00
test-hfp.c unit: Fix removing invalid source in test-hfp 2014-04-25 11:12:58 +03:00
test-lib.c unit: Check ntoh64 and htob64 against shared conversion functions 2014-01-24 21:35:35 -08:00
test-mgmt.c unit: Replace g_test_fail() with g_assert_not_reached() 2013-01-09 11:13:59 +02:00
test-queue.c unit/test-queue: Add /queue/foreach_remove_all test 2014-05-23 16:40:29 +03:00
test-ringbuf.c shared: Fix undefined behavior when calculating next power of two 2014-01-27 09:55:27 -08:00
test-sdp.c unit: prevent unintended use of glibc's error(3) 2014-03-14 13:29:33 +02:00
test-textfile.c unit: Convert test-textfile utility into a real unit test 2012-12-09 14:27:30 +01:00
test-uhid.c unit/test-uhid: Add /uhid/event/feature test 2014-05-23 16:40:29 +03:00
test-uuid.c unit: Fix 128-bit UUID format 2014-03-24 22:06:42 +02:00
util.c unit: Fix test failures with glib 2.39.0 2014-01-06 21:27:31 +02:00
util.h unit: Fix test failures with glib 2.39.0 2014-01-06 21:27:31 +02:00