Skip to content

CryptoPenguin15/tfhe-rs-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tfhe-rs examples

Examples for the tfhe-rs lib

aes_128

Performance

aes_128_perf_hist

For aes_128_threads, each thread evaluates one boolean gate at a time.

Log mand bc-format

$ cargo run --release Compiling aes_128_threads v0.1.0 (/home/tfhe-rs-examples/aes_128_threads)
Finished release [optimized] target(s) in 2.55s
Running target/release/aes_128_threads
ref AES-ECB 17d614f379a9359077e95577fd31c20a
CPU:s physical 56
CPU:s logical 112
file bc read time 3.97ms
parse file time 13.26ms
gen keys time 200.78ms

client_key time || 4.69ms
at step 36662 out of 36663
bc time || 19.17s
out time 147.01ms
cloud AES 17d614f379a9359077e95577fd31c20a

tfhe version = "0.2.5" gives
bc time || 13.87s

About

Examples for the tfhe-rs lib, using boolean circuits.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages