forked from google/heir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See google#785 New Attributes & Types: ``` #generator = #polynomial.int_polynomial<1 + x**1024> #ring = #polynomial.ring<coefficientType = i32, coefficientModulus = 65536 : i32, polynomialModulus=#generator> // Application Data Information #preserve_overflow = #lwe.preserve_overflow<> #application_data = #lwe.application_data<message_type = i1, overflow = #preserve_overflow> // Plaintext Space Information #inverse_canonical_enc = #lwe.inverse_canonical_encoding<scaling_factor = 10000> #plaintext_space = #lwe.plaintext_space<plaintext_ring = #ring, plaintext_encoding = #inverse_canonical_enc> // Ciphertext Space Information #ciphertext_space = #lwe.ciphertext_space<ciphertext_ring = #ring, encryption_type = msb> // Modulus Chain info (for RLWE) #modulus_chain = #lwe.modulus_chain<chain = <65536 : i32>, current = 0> // Key Information #key = #lwe.key<id = "1234", size = 1> // New Types !secret_key = !lwe.new_lwe_secret_key<key = #key, ring = #ring> !public_key = !lwe.new_lwe_public_key<key = #key, ring = #ring> !new_lwe_plaintext = !lwe.new_lwe_plaintext<application_data = #application_data, plaintext_space = #plaintext_space> !new_lwe_ciphertext = !lwe.new_lwe_ciphertext<application_data = #application_data, plaintext_space = #plaintext_space, key = #key, ciphertext_space = #ciphertext_space, modulus_chain = #modulus_chain> ``` PiperOrigin-RevId: 684108448
- Loading branch information
1 parent
5280ed3
commit 2fb6474
Showing
10 changed files
with
630 additions
and
14 deletions.
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
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
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
Oops, something went wrong.