diff --git a/lib/sha1_test.c b/lib/sha1_test.c index 802ba7b6..b239287b 100644 --- a/lib/sha1_test.c +++ b/lib/sha1_test.c @@ -206,6 +206,23 @@ t_sha1_hmac(void) }, .out = "e8e99d0f45237d786d6bbaa7965c7808bbff1a91", }, + { + .in = { + .key = { + 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, + 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, + 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, + 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, + 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, + 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, + 0x61, 0x61, 0x61, 0x61, + }, + .key_len = 64, + .data = "Test Using key 64 bytes sized", + .data_len = 29, + }, + .out = "a55d4fb80962a6b3d2e720705314bee417d68cf6", + }, }; bt_assert_fn_in_out(get_sha1_hmac, in_out, NULL, "'%s'");