mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Format
This commit is contained in:
@@ -85,7 +85,7 @@ test_scalar_from_string(void)
|
||||
{ 2, "abc", 3U, "test-dst", 8U,
|
||||
"cc954e2d86fdba2af74270642bd6375bdf13e485077bb56a648aaf243d4a8007" },
|
||||
{ 2, "", 0U, "", 0U,
|
||||
"c9fb227ffae5fa378f3e6cbbafe054989748daae21c9ebe907f7b68d14093a06" },
|
||||
"c9fb227ffae5fa378f3e6cbbafe054989748daae21c9ebe907f7b68d14093a06" }
|
||||
};
|
||||
unsigned char s_ed[crypto_core_ed25519_SCALARBYTES];
|
||||
unsigned char expected_s[crypto_core_ed25519_SCALARBYTES];
|
||||
|
||||
@@ -23,7 +23,7 @@ static TestData test_data[] = {
|
||||
"868c9140811d0dc38291c7bbc0bd8f301d0d4e8b15f65e442184a233b8791703" },
|
||||
/* VOPRF mode 1, RFC 9497 A.1.2, Test Vector 2 */
|
||||
{ 0x01, "5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a",
|
||||
"caff66fcdc41da4d87ccc72aaac70c6e267a4b55c3dc9489bb365a70a04f1a52" },
|
||||
"caff66fcdc41da4d87ccc72aaac70c6e267a4b55c3dc9489bb365a70a04f1a52" }
|
||||
};
|
||||
|
||||
static void
|
||||
@@ -46,7 +46,7 @@ test_scalar_from_string(void)
|
||||
{ 2, "abc", 3U, "test-dst", 8U,
|
||||
"cc954e2d86fdba2af74270642bd6375bdf13e485077bb56a648aaf243d4a8007" },
|
||||
{ 2, "", 0U, "", 0U,
|
||||
"c9fb227ffae5fa378f3e6cbbafe054989748daae21c9ebe907f7b68d14093a06" },
|
||||
"c9fb227ffae5fa378f3e6cbbafe054989748daae21c9ebe907f7b68d14093a06" }
|
||||
};
|
||||
unsigned char s[crypto_core_ristretto255_SCALARBYTES];
|
||||
unsigned char expected_s[crypto_core_ristretto255_SCALARBYTES];
|
||||
|
||||
Reference in New Issue
Block a user