]> git.codecow.com Git - Monocypher.git/commitdiff
Fix tis-ci tests
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 29 Dec 2022 23:06:38 +0000 (00:06 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 29 Dec 2022 23:06:38 +0000 (00:06 +0100)
The Argon2 tests were failing because we were allocating too much memory
on 16-bit platforms.  Reducing the test from 4 lanes & 32KiB down to 2
lanes and 16KiB should fix it.

The main test suite of course still needs bigger parameters.

tests/tis-ci-vectors.h

index d5ef0694a16d3baa0bf38381459a890406bf6d21..84fd162e3e163cc7666d638a03eaf69b7ff3a664 100644 (file)
@@ -353,14 +353,14 @@ static const char *argon2i_vectors[]={
   "",
   "",
   "2a2ec585be2ec27c215f677e947c212b1b85de797167d4950e29987977c941117c4c5f6f6f547e62d76b88fa121781986a37ea14dc394917af5396ea58915d",
-  "2000000000000000",
+  "1000000000000000",
   "0300000000000000",
   "0101010101010101010101010101010101010101010101010101010101010101",
   "02020202020202020202020202020202",
-  "0400000000000000",
+  "0200000000000000",
   "0303030303030303",
   "040404040404040404040404",
-  "c814d9d1dc7f37aa13f0d77f2494bda1c8de6b016dd388d29952a4c4672b6ce8",
+  "a5a960b03adf92c4bc18628f1e23192d3544b91ab57024abc7dc3aed52b807d4",
 };
 static size_t nb_argon2i_vectors=16;
 static const char *edDSA_vectors[]={