diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/digest/argonish/ut/ut.cpp | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/digest/argonish/ut/ut.cpp')
-rw-r--r-- | library/cpp/digest/argonish/ut/ut.cpp | 212 |
1 files changed, 106 insertions, 106 deletions
diff --git a/library/cpp/digest/argonish/ut/ut.cpp b/library/cpp/digest/argonish/ut/ut.cpp index 12ef530a18..67840aacc5 100644 --- a/library/cpp/digest/argonish/ut/ut.cpp +++ b/library/cpp/digest/argonish/ut/ut.cpp @@ -4,130 +4,130 @@ Y_UNIT_TEST_SUITE(ArgonishTest) { const ui8 GenKatPassword[32] = { - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, - 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, + 0x01, }; const ui8 GenKatSalt[16] = { - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, - 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, + 0x02, }; const ui8 GenKatSecret[8] = { - 0x03, - 0x03, - 0x03, - 0x03, - 0x03, - 0x03, - 0x03, - 0x03, + 0x03, + 0x03, + 0x03, + 0x03, + 0x03, + 0x03, + 0x03, + 0x03, }; const ui8 FrPassword[13] = { - 'm', - 'e', - 'g', - 'a', - '_', - 'p', - 'a', - 's', - 's', - 'w', - 'o', - 'r', - 'd', + 'm', + 'e', + 'g', + 'a', + '_', + 'p', + 'a', + 's', + 's', + 'w', + 'o', + 'r', + 'd', }; const ui8 FrSecret[16] = { - 'm', - 'e', - 'g', - 'a', - '_', - 's', - 'e', - 'c', - 'r', - 'e', - 't', - '_', - 'k', - 'e', - 'y', - '2', + 'm', + 'e', + 'g', + 'a', + '_', + 's', + 'e', + 'c', + 'r', + 'e', + 't', + '_', + 'k', + 'e', + 'y', + '2', }; const ui8 FrSalt[9] = { - 'm', - 'e', - 'g', - 'a', - '_', - 's', - 'a', - 'l', - 't', + 'm', + 'e', + 'g', + 'a', + '_', + 's', + 'a', + 'l', + 't', }; const ui8 GenKatAAD[12] = { - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, - 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, + 0x04, }; Y_UNIT_TEST(Argon2_Fr_Test) { |