Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6c3b37e authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Fix CryptoToolboxTest.bt_spec_test_d_1_test am: effb3013 am: f8b66967

am: 1cf50c85

Change-Id: I17e7fec7ddffb2b2e90de06fba5373485f714046
parents 9585090f 1cf50c85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ TEST(CryptoToolboxTest, bt_spec_test_d_1_test) {
  aes_set_key(k, sizeof(k), &ctx);
  aes_encrypt(m, output, &ctx); /* outputs in byte 48 to byte 63 */

  EXPECT_TRUE(memcmp(output, aes_cmac_k_m, OCTET16_LEN));
  EXPECT_TRUE(memcmp(output, aes_cmac_k_m, OCTET16_LEN) == 0);

  // useful for debugging
  // LOG(INFO) << "k " << base::HexEncode(k, OCTET16_LEN);