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

Commit f8b66967 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

Change-Id: Ia2e928cfb293434450426b77b7081681b304f8d8
parents b2215fd3 effb3013
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);