Skip to content

Commit f0a2515

Browse files
committed
fmt
1 parent e41d372 commit f0a2515

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ target
22
export
33
gates_report.json
44

5-
# Node.js
65
node_modules/
76
dist/
8-
*.log
97

10-
# TypeScript
11-
*.tsbuildinfo

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)