From 01c76cf0b2d0bcd58b5755c809a3834b96dc9ffe Mon Sep 17 00:00:00 2001 From: Jamie Cui Date: Fri, 22 Nov 2024 19:28:12 +0800 Subject: [PATCH] fix(engine): sha256 circuit --- yacl/engine/plaintext/executor_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yacl/engine/plaintext/executor_test.cc b/yacl/engine/plaintext/executor_test.cc index 0fa13ff..72ed0c0 100644 --- a/yacl/engine/plaintext/executor_test.cc +++ b/yacl/engine/plaintext/executor_test.cc @@ -209,8 +209,7 @@ TEST(CryptoTest, Aes128Test) { TEST(CryptoTest, Sha256Test) { /* GIVEN */ - auto input = crypto::FastRandBytes(crypto::RandLtN(10)); - auto message = crypto::FastRandBytes(10); + auto message = crypto::FastRandBytes(crypto::RandLtN(10)); auto in_buf = io::BuiltinBFCircuit::PrepareSha256Input(message); /* WHEN */