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

Commit 1cf50c85 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

Change-Id: Ic8c79ffb852a2226ebaa800c1f1b7e19dce1aa2d
parents ac0b4e59 f8b66967
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);