Apply fixes and speedups

This commit is contained in:
Justine Tunney 2021-10-04 03:23:31 -07:00
parent 7521bf9e73
commit 725f4d79f6
36 changed files with 682 additions and 334 deletions

View file

@ -74,7 +74,7 @@ TEST(memmove, bighug) {
rngset(a, 6291456, 0, 0);
memcpy(b, a, 6291456);
ASSERT_EQ(a + o2, golden(a + o2, a + o1, N[i]));
ASSERT_EQ(b + o2, memmove(b + o2, b + o1, N[i]));
ASSERT_EQ(b + o2, memmove(b + o2, b + o1, N[i]), "%d", N[i]);
ASSERT_EQ(0, timingsafe_bcmp(a, b, 6291456), "%d %d %d", o1, o2, i);
}
}