Skip to content

Commit 3f689a8

Browse files
committed
fmt
1 parent e41d372 commit 3f689a8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/oracle_tests.nr

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
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
1412
unconstrained fn sanitize_bounded_vec<let N: u32>(input: BoundedVec<u8, N>) -> BoundedVec<u8, N> {

0 commit comments

Comments
 (0)