Skip to content

Commit

Permalink
fix(engine): sha256 circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie-Cui committed Nov 22, 2024
1 parent 2d545d5 commit a14febe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yacl/engine/plaintext/executor_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a14febe

Please sign in to comment.