File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- use super:: {sha512 , sha384 };
1+ use super:: {sha384 , sha512 };
22
33/// This calls the typescript SHA512 implementation
44#[oracle(getSHA512)]
5- unconstrained fn get_sha512_hash <let N : u32 >(input : BoundedVec <u8 , N >) -> [u8 ; 64 ] {
6- }
5+ unconstrained fn get_sha512_hash <let N : u32 >(input : BoundedVec <u8 , N >) -> [u8 ; 64 ] {}
76
87/// This calls the typescript SHA384 implementation
98#[oracle(getSHA384)]
10- unconstrained fn get_sha384_hash <let N : u32 >(input : BoundedVec <u8 , N >) -> [u8 ; 48 ] {
11- }
9+ unconstrained fn get_sha384_hash <let N : u32 >(input : BoundedVec <u8 , N >) -> [u8 ; 48 ] {}
1210
1311/// sanitizes a BoundedVec by constraining its length since the fuzzer can generate invalid lengths
1412unconstrained fn sanitize_bounded_vec <let N : u32 >(input : BoundedVec <u8 , N >) -> BoundedVec <u8 , N > {
You can’t perform that action at this time.
0 commit comments