generated from olivmath/template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,669 changed files
with
411,913 additions
and
3 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rustc --crate-type cdylib libmerkle_root.rs -o libmerkle_root.dylib |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
use std::slice; | ||
|
||
/// # Safety | ||
/// | ||
#[no_mangle] | ||
pub unsafe extern "C" fn free_32(ptr: *mut u8) { | ||
unsafe { | ||
let _ = Box::from_raw(slice::from_raw_parts_mut(ptr, 32)); | ||
} | ||
} | ||
|
||
/// # Safety | ||
/// | ||
#[no_mangle] | ||
pub unsafe extern "C" fn make_root( | ||
callback: extern "C" fn(input: *const u8, output: *mut u8), | ||
leafs_ptr: *const *const u8, | ||
len: usize, | ||
) -> *mut u8 { | ||
let leafs = unsafe { slice::from_raw_parts(leafs_ptr, len) } | ||
.iter() | ||
.map(|&ptr| unsafe { Vec::from(slice::from_raw_parts(ptr, 1)) }) | ||
.collect::<Vec<Vec<u8>>>(); | ||
|
||
|
||
let mut nodes = leafs.clone(); | ||
while nodes.len() > 1 { | ||
nodes = nodes | ||
.chunks(2) | ||
.map(|chunk| { | ||
let result = if chunk.len() == 2 { | ||
let concat = [chunk[0].as_slice(), chunk[1].as_slice()].concat(); | ||
let mut buffer: [u8; 32] = [0; 32]; | ||
callback(concat.as_ptr(), buffer.as_mut_ptr()); | ||
buffer.to_vec() | ||
} else { | ||
chunk[0].to_vec() | ||
}; | ||
result | ||
}) | ||
.collect() | ||
} | ||
|
||
let root = nodes.into_iter().next().unwrap_or_default(); | ||
let boxed_array = root.into_boxed_slice(); | ||
Box::into_raw(boxed_array) as *mut u8 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[package] | ||
name = "libmerkle_root" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
||
[lib] | ||
type = "cdylib" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
use std::slice; | ||
|
||
/// # Safety | ||
/// | ||
#[no_mangle] | ||
pub unsafe extern "C" fn free_32(ptr: *mut u8) { | ||
unsafe { | ||
let _ = Box::from_raw(slice::from_raw_parts_mut(ptr, 32)); | ||
} | ||
} | ||
|
||
/// # Safety | ||
/// | ||
#[no_mangle] | ||
pub unsafe extern "C" fn make_root( | ||
callback: extern "C" fn(input: *const u8, output: *mut u8), | ||
leafs_ptr: *const *const u8, | ||
len: usize, | ||
) -> *mut u8 { | ||
let leafs = unsafe { slice::from_raw_parts(leafs_ptr, len) } | ||
.iter() | ||
.map(|&ptr| unsafe { Vec::from(slice::from_raw_parts(ptr, 32)) }) | ||
.collect::<Vec<Vec<u8>>>(); | ||
|
||
let mut nodes = leafs.clone(); | ||
while nodes.len() > 1 { | ||
nodes = nodes | ||
.chunks(2) | ||
.map(|chunk| { | ||
if chunk.len() == 2 { | ||
let concat = [chunk[0].as_slice(), chunk[1].as_slice()].concat(); | ||
let mut buffer: [u8; 32] = [0; 32]; | ||
callback(concat.as_ptr(), buffer.as_mut_ptr()); | ||
return buffer.to_vec(); | ||
} else { | ||
return chunk[0].to_vec(); | ||
}; | ||
}) | ||
.collect() | ||
} | ||
|
||
let root = nodes.into_iter().next().unwrap_or_default(); | ||
let boxed_array = root.into_boxed_slice(); | ||
Box::into_raw(boxed_array) as *mut u8 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc_fingerprint":2383946568438019878,"outputs":{"15481046163696847946":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/olivmath/.rustup/toolchains/stable-aarch64-apple-darwin\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"aes\"\ntarget_feature=\"crc\"\ntarget_feature=\"dit\"\ntarget_feature=\"dotprod\"\ntarget_feature=\"dpb\"\ntarget_feature=\"dpb2\"\ntarget_feature=\"fcma\"\ntarget_feature=\"fhm\"\ntarget_feature=\"flagm\"\ntarget_feature=\"fp16\"\ntarget_feature=\"frintts\"\ntarget_feature=\"jsconv\"\ntarget_feature=\"lor\"\ntarget_feature=\"lse\"\ntarget_feature=\"neon\"\ntarget_feature=\"paca\"\ntarget_feature=\"pacg\"\ntarget_feature=\"pan\"\ntarget_feature=\"pmuv3\"\ntarget_feature=\"ras\"\ntarget_feature=\"rcpc\"\ntarget_feature=\"rcpc2\"\ntarget_feature=\"rdm\"\ntarget_feature=\"sb\"\ntarget_feature=\"sha2\"\ntarget_feature=\"sha3\"\ntarget_feature=\"ssbs\"\ntarget_feature=\"vh\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.72.1 (d5c2e9c34 2023-09-13)\nbinary: rustc\ncommit-hash: d5c2e9c342b358556da91d61ed4133f6f50fc0c3\ncommit-date: 2023-09-13\nhost: aarch64-apple-darwin\nrelease: 1.72.1\nLLVM version: 16.0.5\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/olivmath/.rustup/toolchains/stable-aarch64-apple-darwin\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"aes\"\ntarget_feature=\"crc\"\ntarget_feature=\"dit\"\ntarget_feature=\"dotprod\"\ntarget_feature=\"dpb\"\ntarget_feature=\"dpb2\"\ntarget_feature=\"fcma\"\ntarget_feature=\"fhm\"\ntarget_feature=\"flagm\"\ntarget_feature=\"fp16\"\ntarget_feature=\"frintts\"\ntarget_feature=\"jsconv\"\ntarget_feature=\"lor\"\ntarget_feature=\"lse\"\ntarget_feature=\"neon\"\ntarget_feature=\"paca\"\ntarget_feature=\"pacg\"\ntarget_feature=\"pan\"\ntarget_feature=\"pmuv3\"\ntarget_feature=\"ras\"\ntarget_feature=\"rcpc\"\ntarget_feature=\"rcpc2\"\ntarget_feature=\"rdm\"\ntarget_feature=\"sb\"\ntarget_feature=\"sha2\"\ntarget_feature=\"sha3\"\ntarget_feature=\"ssbs\"\ntarget_feature=\"vh\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""}},"successes":{}} |
Binary file added
BIN
+23 Bytes
...kle_root/target/debug/.fingerprint/libmerkle_root-609819427e5e50ec/dep-lib-libmerkle_root
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ibmerkle_root/target/debug/.fingerprint/libmerkle_root-609819427e5e50ec/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...bmerkle_root/target/debug/.fingerprint/libmerkle_root-609819427e5e50ec/lib-libmerkle_root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3e9ee6cfee97481a |
1 change: 1 addition & 0 deletions
1
...le_root/target/debug/.fingerprint/libmerkle_root-609819427e5e50ec/lib-libmerkle_root.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":15699327122048238920,"features":"[]","target":14212015080961893296,"profile":237655285757591511,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libmerkle_root-609819427e5e50ec/dep-lib-libmerkle_root"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
Binary file added
BIN
+23 Bytes
...kle_root/target/debug/.fingerprint/libmerkle_root-a127695c2afe5bc3/dep-lib-libmerkle_root
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ibmerkle_root/target/debug/.fingerprint/libmerkle_root-a127695c2afe5bc3/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...bmerkle_root/target/debug/.fingerprint/libmerkle_root-a127695c2afe5bc3/lib-libmerkle_root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
50fac16352fd4033 |
1 change: 1 addition & 0 deletions
1
...le_root/target/debug/.fingerprint/libmerkle_root-a127695c2afe5bc3/lib-libmerkle_root.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":15699327122048238920,"features":"[]","target":14212015080961893296,"profile":13396965805329499462,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libmerkle_root-a127695c2afe5bc3/dep-lib-libmerkle_root"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
Binary file added
BIN
+23 Bytes
...oot/target/debug/.fingerprint/libmerkle_root-cc456d9e613e2a16/dep-test-lib-libmerkle_root
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ibmerkle_root/target/debug/.fingerprint/libmerkle_root-cc456d9e613e2a16/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...le_root/target/debug/.fingerprint/libmerkle_root-cc456d9e613e2a16/test-lib-libmerkle_root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b31a33733f0d9c77 |
1 change: 1 addition & 0 deletions
1
...ot/target/debug/.fingerprint/libmerkle_root-cc456d9e613e2a16/test-lib-libmerkle_root.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":15699327122048238920,"features":"[]","target":14212015080961893296,"profile":6823863257117401121,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libmerkle_root-cc456d9e613e2a16/dep-test-lib-libmerkle_root"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
Binary file added
BIN
+23 Bytes
...oot/target/debug/.fingerprint/libmerkle_root-f8b0ececa86b90d9/dep-test-lib-libmerkle_root
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...ibmerkle_root/target/debug/.fingerprint/libmerkle_root-f8b0ececa86b90d9/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...le_root/target/debug/.fingerprint/libmerkle_root-f8b0ececa86b90d9/test-lib-libmerkle_root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0c398f6cfdb186f5 |
1 change: 1 addition & 0 deletions
1
...ot/target/debug/.fingerprint/libmerkle_root-f8b0ececa86b90d9/test-lib-libmerkle_root.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":15699327122048238920,"features":"[]","target":14212015080961893296,"profile":13053956386274884697,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libmerkle_root-f8b0ececa86b90d9/dep-test-lib-libmerkle_root"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} |
Binary file added
BIN
+510 KB
merkly/accelerator/libmerkle_root/target/debug/deps/liblibmerkle_root-609819427e5e50ec.rlib
Binary file not shown.
Binary file added
BIN
+9.33 KB
merkly/accelerator/libmerkle_root/target/debug/deps/liblibmerkle_root-609819427e5e50ec.rmeta
Binary file not shown.
Binary file added
BIN
+3.65 KB
merkly/accelerator/libmerkle_root/target/debug/deps/liblibmerkle_root-a127695c2afe5bc3.rmeta
Binary file not shown.
Empty file.
Binary file added
BIN
+6.22 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.116uv8vccxu807yd.rcgu.o
Binary file not shown.
Binary file added
BIN
+2.77 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.1ate79qeqzc8412p.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.7 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.1e7fxhs9zssle0t5.rcgu.o
Binary file not shown.
Binary file added
BIN
+4.91 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.1gcplpalj8ese60m.rcgu.o
Binary file not shown.
Binary file added
BIN
+7.73 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.1hnu1y4fyriyg0i3.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.74 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.1wupq9zs5cmos8wf.rcgu.o
Binary file not shown.
Binary file added
BIN
+66.7 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.206h5i00gbgfybn.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.86 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.2dmgbgnq77y9ero6.rcgu.o
Binary file not shown.
Binary file added
BIN
+50.4 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.2gedv8wr3mty4h60.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.56 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.2u9acbpjvtx1eq8q.rcgu.o
Binary file not shown.
Binary file added
BIN
+13.9 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.2wwdlzh2z1v0r6ae.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.16 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.31pcdyjginr68kqh.rcgu.o
Binary file not shown.
Binary file added
BIN
+11.4 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.375qayi6zlzjyqyj.rcgu.o
Binary file not shown.
Binary file added
BIN
+20.3 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.38vwlwctmn2m7toq.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.1 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.3w56pvea64kbjmi7.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.48 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.3xma82rcr3j3qc3x.rcgu.o
Binary file not shown.
Binary file added
BIN
+36.5 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.3zrrz0d4xwyf7dag.rcgu.o
Binary file not shown.
Binary file added
BIN
+9.31 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.4875ae6zchc0wzui.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.23 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.4ho8wmbl6suaks8u.rcgu.o
Binary file not shown.
Binary file added
BIN
+28.7 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.4iz4bxszsr312yf2.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.07 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.4wf6c26q0f86w3t9.rcgu.o
Binary file not shown.
Binary file added
BIN
+38 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.4x6fvacpt1rfumdb.rcgu.o
Binary file not shown.
Binary file added
BIN
+4.16 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.54vqnaddmjzgrlmd.rcgu.o
Binary file not shown.
Binary file added
BIN
+88 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.5dddrcdzjmktdh5f.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.81 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.72vm43wmorsd0cy.rcgu.o
Binary file not shown.
7 changes: 7 additions & 0 deletions
7
merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.rmeta: src/lib.rs | ||
|
||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/liblibmerkle_root-609819427e5e50ec.rlib: src/lib.rs | ||
|
||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.d: src/lib.rs | ||
|
||
src/lib.rs: |
Binary file added
BIN
+13.5 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.hv6g3sp4bf42v5c.rcgu.o
Binary file not shown.
Binary file added
BIN
+4.33 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.j197lqtzrrbnv19.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.25 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-609819427e5e50ec.xwz2jmu4t993gy5.rcgu.o
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-a127695c2afe5bc3.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-a127695c2afe5bc3.rmeta: src/lib.rs | ||
|
||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-a127695c2afe5bc3.d: src/lib.rs | ||
|
||
src/lib.rs: |
Binary file added
BIN
+1.24 MB
merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16
Binary file not shown.
Binary file added
BIN
+3.48 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.11gte0iv5e4z8m6m.rcgu.o
Binary file not shown.
Binary file added
BIN
+41.1 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.134o7w07bvbbf03t.rcgu.o
Binary file not shown.
Binary file added
BIN
+38.4 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.19kam0utf5i6quqv.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.04 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.1bxnftd0p43ts3el.rcgu.o
Binary file not shown.
Binary file added
BIN
+20.3 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.1fnzzprxdooscpd5.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.23 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.1hiommyz5h8l3dfx.rcgu.o
Binary file not shown.
Binary file added
BIN
+2.81 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.1j5muv973o2pd7a1.rcgu.o
Binary file not shown.
Binary file added
BIN
+69.5 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.1t840ymqtacuyacj.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.8 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.235a1l1ddj12o18s.rcgu.o
Binary file not shown.
Binary file added
BIN
+14.4 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.240029ztm5jgrcdj.rcgu.o
Binary file not shown.
Binary file added
BIN
+99.7 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.24085ez8gjs3opl7.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.07 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.267pewnge3tf9k1v.rcgu.o
Binary file not shown.
Binary file added
BIN
+7.22 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.27vdrohnb5rqcdkx.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.02 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.2a19hifneoek6kdh.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.7 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.2cninvxvnahrz4fz.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.46 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.2gea5anoi6q7liyy.rcgu.o
Binary file not shown.
Binary file added
BIN
+9.52 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.2ki3xa9qkawwqsce.rcgu.o
Binary file not shown.
Binary file added
BIN
+28.7 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.2mg85y40pd7lg4jt.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.62 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.2obyt0rtqx0htme6.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.35 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.2skpv6s52tugkwcs.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.98 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.300cigv47oec1wel.rcgu.o
Binary file not shown.
Binary file added
BIN
+12.7 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.3fm2idareggq9o79.rcgu.o
Binary file not shown.
Binary file added
BIN
+15.3 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.3g61tr4m5u6pw72j.rcgu.o
Binary file not shown.
Binary file added
BIN
+10.1 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.44i5adwfp3vedij9.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.16 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.472br0c3gp2rwaj2.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.79 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.47gbxfjitzmdpvyd.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.25 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.49qbxnwqvfumjby1.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.99 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.4ep58uens277nq39.rcgu.o
Binary file not shown.
Binary file added
BIN
+70.1 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.4hu09c5sivwee5x5.rcgu.o
Binary file not shown.
Binary file added
BIN
+3.49 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.4q4qsb447g0bc06m.rcgu.o
Binary file not shown.
Binary file added
BIN
+9.22 KB
.../libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.4w1bcg5560r07s6o.rcgu.o
Binary file not shown.
Binary file added
BIN
+11.4 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.5by4fptvldljw9y.rcgu.o
Binary file not shown.
Binary file added
BIN
+15.1 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.9cavfn4u1sdc9tm.rcgu.o
Binary file not shown.
Binary file added
BIN
+8.22 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.9drm4asduuvxia2.rcgu.o
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16: src/lib.rs | ||
|
||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.d: src/lib.rs | ||
|
||
src/lib.rs: |
Binary file added
BIN
+2.77 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.ks0ispdl57p7kxk.rcgu.o
Binary file not shown.
Binary file added
BIN
+5.56 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.o0yfi52jfgmml97.rcgu.o
Binary file not shown.
Binary file added
BIN
+15 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.qeo72tmrhnd9ihe.rcgu.o
Binary file not shown.
Binary file added
BIN
+4.16 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.qho42zv5gjff26r.rcgu.o
Binary file not shown.
Binary file added
BIN
+6.73 KB
...r/libmerkle_root/target/debug/deps/libmerkle_root-cc456d9e613e2a16.rpz4p19h0p4b2ym.rcgu.o
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-f8b0ececa86b90d9.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-f8b0ececa86b90d9.rmeta: src/lib.rs | ||
|
||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/deps/libmerkle_root-f8b0ececa86b90d9.d: src/lib.rs | ||
|
||
src/lib.rs: |
Binary file added
BIN
+6.22 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/116uv8vccxu807yd.o
Binary file not shown.
Binary file added
BIN
+2.77 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/1ate79qeqzc8412p.o
Binary file not shown.
Binary file added
BIN
+8.7 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/1e7fxhs9zssle0t5.o
Binary file not shown.
Binary file added
BIN
+4.91 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/1gcplpalj8ese60m.o
Binary file not shown.
Binary file added
BIN
+7.73 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/1hnu1y4fyriyg0i3.o
Binary file not shown.
Binary file added
BIN
+6.74 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/1wupq9zs5cmos8wf.o
Binary file not shown.
Binary file added
BIN
+66.7 KB
...erkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/206h5i00gbgfybn.o
Binary file not shown.
Binary file added
BIN
+6.86 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/2dmgbgnq77y9ero6.o
Binary file not shown.
Binary file added
BIN
+50.4 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/2gedv8wr3mty4h60.o
Binary file not shown.
Binary file added
BIN
+5.56 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/2u9acbpjvtx1eq8q.o
Binary file not shown.
Binary file added
BIN
+13.9 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/2wwdlzh2z1v0r6ae.o
Binary file not shown.
Binary file added
BIN
+5.16 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/31pcdyjginr68kqh.o
Binary file not shown.
Binary file added
BIN
+11.4 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/375qayi6zlzjyqyj.o
Binary file not shown.
Binary file added
BIN
+20.3 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/38vwlwctmn2m7toq.o
Binary file not shown.
Binary file added
BIN
+8.1 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/3w56pvea64kbjmi7.o
Binary file not shown.
Binary file added
BIN
+3.48 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/3xma82rcr3j3qc3x.o
Binary file not shown.
Binary file added
BIN
+36.5 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/3zrrz0d4xwyf7dag.o
Binary file not shown.
Binary file added
BIN
+9.31 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/4875ae6zchc0wzui.o
Binary file not shown.
Binary file added
BIN
+8.23 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/4ho8wmbl6suaks8u.o
Binary file not shown.
Binary file added
BIN
+28.7 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/4iz4bxszsr312yf2.o
Binary file not shown.
Binary file added
BIN
+5.07 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/4wf6c26q0f86w3t9.o
Binary file not shown.
Binary file added
BIN
+38 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/4x6fvacpt1rfumdb.o
Binary file not shown.
Binary file added
BIN
+4.16 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/54vqnaddmjzgrlmd.o
Binary file not shown.
Binary file added
BIN
+88 KB
...rkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/5dddrcdzjmktdh5f.o
Binary file not shown.
Binary file added
BIN
+8.81 KB
...erkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/72vm43wmorsd0cy.o
Binary file not shown.
Binary file added
BIN
+926 KB
...libmerkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+13.5 KB
...erkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/hv6g3sp4bf42v5c.o
Binary file not shown.
Binary file added
BIN
+4.33 KB
...erkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/j197lqtzrrbnv19.o
Binary file not shown.
Binary file added
BIN
+1.61 KB
...erkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/work-products.bin
Binary file not shown.
Binary file added
BIN
+6.25 KB
...erkle_root-12x3wrwca7ux8/s-gr1riwaqnh-18t9bel-a9cmj88h1oudpx459bwp8gc51/xwz2jmu4t993gy5.o
Binary file not shown.
Binary file added
BIN
+232 KB
...libmerkle_root-1ar4gddrxpwly/s-gr1suze3tg-1n2pngf-71ucmv3fjtfabz2quhla3ou9s/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+37 Bytes
...erkle_root-1ar4gddrxpwly/s-gr1suze3tg-1n2pngf-71ucmv3fjtfabz2quhla3ou9s/work-products.bin
Binary file not shown.
Binary file added
BIN
+3.48 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/11gte0iv5e4z8m6m.o
Binary file not shown.
Binary file added
BIN
+41.1 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/134o7w07bvbbf03t.o
Binary file not shown.
Binary file added
BIN
+38.4 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/19kam0utf5i6quqv.o
Binary file not shown.
Binary file added
BIN
+6.04 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/1bxnftd0p43ts3el.o
Binary file not shown.
Binary file added
BIN
+20.3 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/1fnzzprxdooscpd5.o
Binary file not shown.
Binary file added
BIN
+8.23 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/1hiommyz5h8l3dfx.o
Binary file not shown.
Binary file added
BIN
+2.81 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/1j5muv973o2pd7a1.o
Binary file not shown.
Binary file added
BIN
+69.5 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/1t840ymqtacuyacj.o
Binary file not shown.
Binary file added
BIN
+6.8 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/235a1l1ddj12o18s.o
Binary file not shown.
Binary file added
BIN
+14.4 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/240029ztm5jgrcdj.o
Binary file not shown.
Binary file added
BIN
+99.7 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/24085ez8gjs3opl7.o
Binary file not shown.
Binary file added
BIN
+5.07 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/267pewnge3tf9k1v.o
Binary file not shown.
Binary file added
BIN
+7.22 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/27vdrohnb5rqcdkx.o
Binary file not shown.
Binary file added
BIN
+3.02 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/2a19hifneoek6kdh.o
Binary file not shown.
Binary file added
BIN
+8.7 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/2cninvxvnahrz4fz.o
Binary file not shown.
Binary file added
BIN
+6.46 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/2gea5anoi6q7liyy.o
Binary file not shown.
Binary file added
BIN
+9.52 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/2ki3xa9qkawwqsce.o
Binary file not shown.
Binary file added
BIN
+28.7 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/2mg85y40pd7lg4jt.o
Binary file not shown.
Binary file added
BIN
+6.62 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/2obyt0rtqx0htme6.o
Binary file not shown.
Binary file added
BIN
+3.35 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/2skpv6s52tugkwcs.o
Binary file not shown.
Binary file added
BIN
+8.98 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/300cigv47oec1wel.o
Binary file not shown.
Binary file added
BIN
+12.7 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/3fm2idareggq9o79.o
Binary file not shown.
Binary file added
BIN
+15.3 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/3g61tr4m5u6pw72j.o
Binary file not shown.
Binary file added
BIN
+10.1 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/44i5adwfp3vedij9.o
Binary file not shown.
Binary file added
BIN
+5.16 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/472br0c3gp2rwaj2.o
Binary file not shown.
Binary file added
BIN
+5.79 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/47gbxfjitzmdpvyd.o
Binary file not shown.
Binary file added
BIN
+6.25 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/49qbxnwqvfumjby1.o
Binary file not shown.
Binary file added
BIN
+5.99 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/4ep58uens277nq39.o
Binary file not shown.
Binary file added
BIN
+70.1 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/4hu09c5sivwee5x5.o
Binary file not shown.
Binary file added
BIN
+3.49 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/4q4qsb447g0bc06m.o
Binary file not shown.
Binary file added
BIN
+9.22 KB
...erkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/4w1bcg5560r07s6o.o
Binary file not shown.
Binary file added
BIN
+11.4 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/5by4fptvldljw9y.o
Binary file not shown.
Binary file added
BIN
+15.1 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/9cavfn4u1sdc9tm.o
Binary file not shown.
Binary file added
BIN
+8.22 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/9drm4asduuvxia2.o
Binary file not shown.
Binary file added
BIN
+1.09 MB
.../libmerkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+2.77 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/ks0ispdl57p7kxk.o
Binary file not shown.
Binary file added
BIN
+5.56 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/o0yfi52jfgmml97.o
Binary file not shown.
Binary file added
BIN
+15 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/qeo72tmrhnd9ihe.o
Binary file not shown.
Binary file added
BIN
+4.16 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/qho42zv5gjff26r.o
Binary file not shown.
Binary file added
BIN
+6.73 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/rpz4p19h0p4b2ym.o
Binary file not shown.
Binary file added
BIN
+2.23 KB
...merkle_root-2xthspx4ca8uw/s-gr1riwaqnh-1caixp6-68685cow0kjz8p71lfcy0uk7/work-products.bin
Binary file not shown.
Binary file added
BIN
+241 KB
...l/libmerkle_root-31r8fc05g6o6l/s-gr1suze3tj-cy73w-1tejcnopdzwndvxy79876tcqr/dep-graph.bin
Binary file not shown.
Binary file added
BIN
+37 Bytes
...bmerkle_root-31r8fc05g6o6l/s-gr1suze3tj-cy73w-1tejcnopdzwndvxy79876tcqr/work-products.bin
Binary file not shown.
1 change: 1 addition & 0 deletions
1
merkly/accelerator/libmerkle_root/target/debug/liblibmerkle_root.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/target/debug/liblibmerkle_root.rlib: /Users/olivmath/Documents/dev/personal/merkly/merkly/accelerator/libmerkle_root/src/lib.rs |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
from ctypes import ( | ||
CDLL, | ||
CFUNCTYPE, | ||
c_ubyte, | ||
c_size_t, | ||
POINTER, | ||
cast, | ||
memmove, | ||
) | ||
from typing import List | ||
from Crypto.Hash import keccak as cryptodome_keccak | ||
Check failure Code scanning / Bandit The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library. Error
The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library.
|
||
|
||
|
||
class MTreers: | ||
def __init__(self) -> None: | ||
callback_function = CFUNCTYPE(None, POINTER(c_ubyte), POINTER(c_ubyte)) | ||
|
||
@callback_function | ||
def python_callback(ptr, output_ptr): | ||
print("PYTHON FROM RUST") | ||
data = bytes(ptr[:64]) | ||
|
||
keccak_256 = cryptodome_keccak.new(digest_bits=256) | ||
keccak_256.update(data) | ||
|
||
memmove(output_ptr, keccak_256.digest(), 32) | ||
|
||
self.keccak = python_callback | ||
|
||
self.lib = CDLL("./merkly/accelerator/libmerkle_root.dylib") | ||
self.lib.make_root.argtypes = ( | ||
callback_function, | ||
POINTER(POINTER(c_ubyte)), | ||
c_size_t, | ||
) | ||
self.lib.make_root.restype = POINTER(c_ubyte) | ||
|
||
self.lib.free_32.argtypes = [POINTER(c_ubyte)] | ||
self.lib.free_32.restype = None | ||
|
||
def make_root(self, leafs: List[bytes]) -> bytes: | ||
pointer_array_type = POINTER(c_ubyte) * len(leafs) | ||
pointers = pointer_array_type( | ||
*[ | ||
cast((c_ubyte * 32).from_buffer_copy(leaf), POINTER(c_ubyte)) | ||
for leaf in leafs | ||
] | ||
) | ||
|
||
result_ptr = self.lib.make_root(self.keccak, pointers, len(leafs)) | ||
result = bytes(result_ptr[:32]) | ||
self.lib.free_32(result_ptr) | ||
|
||
return result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import hashlib | ||
|
||
|
||
def hash_function(data): | ||
return hashlib.sha256(data).digest() | ||
|
||
|
||
def merkle_tree_root(leaves): | ||
# Converte as folhas para hashed leaves se necessário | ||
hashed_leaves = [hash_function(leaf.encode()) for leaf in leaves] | ||
|
||
# Constrói as camadas da árvore | ||
while len(hashed_leaves) > 1: | ||
# Se o número de nós for ímpar, duplica o último nó | ||
if len(hashed_leaves) % 2 == 1: | ||
hashed_leaves.append(hashed_leaves[-1]) | ||
|
||
# Combina cada par de nós consecutivos | ||
hashed_leaves = [ | ||
hash_function(hashed_leaves[i] + hashed_leaves[i + 1]) | ||
for i in range(0, len(hashed_leaves), 2) | ||
] | ||
|
||
# Retorna a raiz da Merkle | ||
return hashed_leaves[0] | ||
|
||
|
||
# Exemplo de uso | ||
leaves = ["a", "b", "c", "d", "e", "f", "g"] | ||
root = merkle_tree_root(leaves) | ||
print(root.hex()) # Retorna a raiz da Merkle em formato hexadecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const { MerkleTree } = require('merkletreejs') | ||
const web3 = require("web3") | ||
const SHA256 = require('crypto-js/sha256') | ||
|
||
|
||
// const keccak = (data) => web3.utils.keccak256(data) | ||
|
||
|
||
const leaves = ['a', 'b', 'c', 'd', 'e', 'f', 'g'].map(SHA256) | ||
const tree = new MerkleTree(leaves, SHA256, {}) | ||
const root = tree.getRoot().toString('hex') | ||
|
||
// console.log(leaves) | ||
console.log(root) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
from Crypto.Hash import keccak | ||
Check failure Code scanning / Bandit The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library. Error test
The pyCrypto library and its module keccak are no longer actively maintained and have been deprecated. Consider using pyca/cryptography library.
|
||
|
||
import hashlib | ||
|
||
def hashing(data): | ||
return hashlib.sha256(data.encode()).hexdigest() | ||
|
||
def hashing2(data: str): | ||
keccak_256 = keccak.new(digest_bits=256) | ||
keccak_256.update(data.encode()) | ||
return keccak_256.hexdigest() | ||
|
||
class MerkleTree: | ||
def __init__(self, leaves): | ||
self.leaves = [hashing2(leaf) for leaf in leaves] | ||
self.tree = self.build_tree(self.leaves) | ||
|
||
def build_tree(self, leaves): | ||
tree = [leaves] | ||
while len(tree[-1]) > 1: | ||
layer = tree[-1] | ||
next_layer = [] | ||
for i in range(0, len(layer), 2): | ||
left = layer[i] | ||
right = layer[i + 1] if i + 1 < len(layer) else left | ||
next_layer.append(hashing2(left + right)) | ||
tree.append(next_layer) | ||
return tree | ||
|
||
def get_merkle_root(self): | ||
return self.tree[-1][0] if self.tree else None | ||
|
||
|
||
|
||
leaves = ['a', 'b', 'c', 'd'] | ||
tree = MerkleTree(leaves) | ||
|
||
root = tree.get_merkle_root() | ||
leafs = tree.leaves | ||
|
||
for i in leafs: print(i) | ||
print(root) |
Oops, something went wrong.