Skip to content

Commit

Permalink
Add OpenFHE CKKS backend (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeho authored and jaeho committed Jan 11, 2024
1 parent ce7897f commit 87d1a17
Show file tree
Hide file tree
Showing 2 changed files with 669 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/twc/terminator/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ public static void main(String[] args) {
if (scheme_ == ENC_TYPE.ENC_INT) {
dsl_compiler = new T2_2_OpenFHE(symbol_table, config, word_sz_, ring_dim_);
} else if (scheme_ == ENC_TYPE.ENC_DOUBLE) {
throw new RuntimeException("TODO.");
// dsl_compiler = new T2_2_OpenFHE_CKKS(symbol_table, config, ring_dim_);
dsl_compiler = new T2_2_OpenFHE_CKKS(symbol_table, config, ring_dim_);
}
break;
case HELIB:
Expand Down
Loading

0 comments on commit 87d1a17

Please sign in to comment.