mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
clang-format-6.0
This commit is contained in:
parent
eb30bb1a52
commit
67d07534ea
1 changed files with 60 additions and 62 deletions
|
@ -336,8 +336,7 @@ static struct pbkdf2 {
|
|||
size_t iterations;
|
||||
unsigned char key[32];
|
||||
size_t key_len;
|
||||
} pbkdf2s[] = {
|
||||
{"password",
|
||||
} pbkdf2s[] = {{"password",
|
||||
8,
|
||||
"salt",
|
||||
4,
|
||||
|
@ -374,9 +373,8 @@ static struct pbkdf2 {
|
|||
"password", 8,
|
||||
"salt", 4,
|
||||
16777216,
|
||||
{ 0xee, 0xfe, 0x3d, 0x61, 0xcd, 0x4d, 0xa4, 0xe4, 0xe9, 0x94, 0x5b, 0x3d,
|
||||
0x6b, 0xa2, 0x15, 0x8c, 0x26, 0x34, 0xe9, 0x84 },
|
||||
20,
|
||||
{ 0xee, 0xfe, 0x3d, 0x61, 0xcd, 0x4d, 0xa4, 0xe4, 0xe9, 0x94,
|
||||
0x5b, 0x3d, 0x6b, 0xa2, 0x15, 0x8c, 0x26, 0x34, 0xe9, 0x84 }, 20,
|
||||
},
|
||||
*/
|
||||
{
|
||||
|
@ -395,8 +393,8 @@ static struct pbkdf2 {
|
|||
"sa\0lt",
|
||||
5,
|
||||
4096,
|
||||
{0x56, 0xfa, 0x6a, 0xa7, 0x55, 0x48, 0x09, 0x9d, 0xcc, 0x37, 0xd7, 0xf0,
|
||||
0x34, 0x25, 0xe0, 0xc3},
|
||||
{0x56, 0xfa, 0x6a, 0xa7, 0x55, 0x48, 0x09, 0x9d, 0xcc, 0x37,
|
||||
0xd7, 0xf0, 0x34, 0x25, 0xe0, 0xc3},
|
||||
16}};
|
||||
|
||||
void SecurityTest::testPBKDF2()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue