MCPcopy Create free account
hub / github.com/BitVM/BitVM / test_sha256_two_blocks

Function test_sha256_two_blocks

bitvm/src/hash/sha256_u4_stack.rs:867–874  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

865
866 #[test]
867 fn test_sha256_two_blocks() {
868 let hex = "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaaaaaaa";
869 test_sha256(hex, true, true);
870 let hex = "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001122334455667788";
871 test_sha256(hex, true, true);
872 let hex = "7788ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaaaaaaaaaaaaaaa001122334455667788";
873 test_sha256(hex, true, true);
874 }
875
876 #[test]
877 fn test_padding() {

Callers

nothing calls this directly

Calls 1

test_sha256Function · 0.70

Tested by

no test coverage detected