Home | History | Annotate | Download | only in tests

Lines Matching refs:salt

70     unsigned char salt[SALT_SIZE] = {0x01, 0x10, 0x55, 0xAA, 0xFF, 0x00, 0x5A, 0xA5};
71 EXPECT_TRUE(mObbFile->setSalt(salt, SALT_SIZE))
72 << "Salt should be successfully set";
91 EXPECT_EQ(sizeof(salt), saltLen)
92 << "salt sizes were not the same";
94 for (int i = 0; i < sizeof(salt); i++) {
95 EXPECT_EQ(salt[i], newSalt[i])
96 << "salt character " << i << " should be equal";
98 EXPECT_TRUE(memcmp(newSalt, salt, sizeof(salt)) == 0)