tfhe 0.11.0 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/package.json +1 -1
  2. package/tfhe.d.ts +151 -151
  3. package/tfhe.js +15 -15
  4. package/tfhe_bg.wasm +0 -0
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "tfhe",
3
3
  "type": "module",
4
4
  "description": "TFHE-rs is a fully homomorphic encryption (FHE) library that implements Zama's variant of TFHE.",
5
- "version": "0.11.0",
5
+ "version": "0.11.2",
6
6
  "license": "BSD-3-Clause-Clear",
7
7
  "repository": {
8
8
  "type": "git",
package/tfhe.d.ts CHANGED
@@ -18,43 +18,9 @@ export function initThreadPool(num_threads: number): Promise<any>;
18
18
  export function wbg_rayon_start_worker(receiver: number): void;
19
19
  /**
20
20
  */
21
- export enum ShortintPBSOrder {
22
- KeyswitchBootstrap = 0,
23
- BootstrapKeyswitch = 1,
24
- }
25
- /**
26
- */
27
- export enum FheTypes {
28
- Bool = 0,
29
- Uint2 = 1,
30
- Uint4 = 2,
31
- Uint6 = 3,
32
- Uint8 = 4,
33
- Uint10 = 5,
34
- Uint12 = 6,
35
- Uint14 = 7,
36
- Uint16 = 8,
37
- Uint32 = 9,
38
- Uint64 = 10,
39
- Uint128 = 11,
40
- Uint160 = 12,
41
- Uint256 = 13,
42
- Uint512 = 14,
43
- Uint1024 = 15,
44
- Uint2048 = 16,
45
- Int2 = 17,
46
- Int4 = 18,
47
- Int6 = 19,
48
- Int8 = 20,
49
- Int10 = 21,
50
- Int12 = 22,
51
- Int14 = 23,
52
- Int16 = 24,
53
- Int32 = 25,
54
- Int64 = 26,
55
- Int128 = 27,
56
- Int160 = 28,
57
- Int256 = 29,
21
+ export enum ShortintEncryptionKeyChoice {
22
+ Big = 0,
23
+ Small = 1,
58
24
  }
59
25
  /**
60
26
  */
@@ -134,17 +100,14 @@ export enum ShortintParametersName {
134
100
  }
135
101
  /**
136
102
  */
137
- export enum BooleanParameterSet {
138
- Default = 0,
139
- TfheLib = 1,
140
- DefaultKsPbs = 2,
141
- TfheLibKsPbs = 3,
103
+ export enum ShortintPBSOrder {
104
+ KeyswitchBootstrap = 0,
105
+ BootstrapKeyswitch = 1,
142
106
  }
143
107
  /**
144
108
  */
145
- export enum ShortintEncryptionKeyChoice {
146
- Big = 0,
147
- Small = 1,
109
+ export enum ShortintCompactPublicKeyEncryptionParametersName {
110
+ SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64 = 0,
148
111
  }
149
112
  /**
150
113
  */
@@ -154,8 +117,11 @@ export enum BooleanEncryptionKeyChoice {
154
117
  }
155
118
  /**
156
119
  */
157
- export enum ShortintCompactPublicKeyEncryptionParametersName {
158
- SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64 = 0,
120
+ export enum BooleanParameterSet {
121
+ Default = 0,
122
+ TfheLib = 1,
123
+ DefaultKsPbs = 2,
124
+ TfheLibKsPbs = 3,
159
125
  }
160
126
  /**
161
127
  */
@@ -165,6 +131,40 @@ export enum ZkComputeLoad {
165
131
  }
166
132
  /**
167
133
  */
134
+ export enum FheTypes {
135
+ Bool = 0,
136
+ Uint2 = 1,
137
+ Uint4 = 2,
138
+ Uint6 = 3,
139
+ Uint8 = 4,
140
+ Uint10 = 5,
141
+ Uint12 = 6,
142
+ Uint14 = 7,
143
+ Uint16 = 8,
144
+ Uint32 = 9,
145
+ Uint64 = 10,
146
+ Uint128 = 11,
147
+ Uint160 = 12,
148
+ Uint256 = 13,
149
+ Uint512 = 14,
150
+ Uint1024 = 15,
151
+ Uint2048 = 16,
152
+ Int2 = 17,
153
+ Int4 = 18,
154
+ Int6 = 19,
155
+ Int8 = 20,
156
+ Int10 = 21,
157
+ Int12 = 22,
158
+ Int14 = 23,
159
+ Int16 = 24,
160
+ Int32 = 25,
161
+ Int64 = 26,
162
+ Int128 = 27,
163
+ Int160 = 28,
164
+ Int256 = 29,
165
+ }
166
+ /**
167
+ */
168
168
  export class Boolean {
169
169
  free(): void;
170
170
  /**
@@ -3873,68 +3873,6 @@ export class wbg_rayon_PoolBuilder {
3873
3873
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
3874
3874
 
3875
3875
  export interface InitOutput {
3876
- readonly __wbg_shortintciphertext_free: (a: number, b: number) => void;
3877
- readonly __wbg_shortintcompressedciphertext_free: (a: number, b: number) => void;
3878
- readonly __wbg_shortintclientkey_free: (a: number, b: number) => void;
3879
- readonly __wbg_shortintpublickey_free: (a: number, b: number) => void;
3880
- readonly __wbg_shortintcompressedpublickey_free: (a: number, b: number) => void;
3881
- readonly __wbg_shortintcompressedserverkey_free: (a: number, b: number) => void;
3882
- readonly __wbg_shortint_free: (a: number, b: number) => void;
3883
- readonly __wbg_shortintparameters_free: (a: number, b: number) => void;
3884
- readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number, b: number) => void;
3885
- readonly shortintparameters_lwe_dimension: (a: number) => number;
3886
- readonly shortintparameters_set_lwe_dimension: (a: number, b: number) => void;
3887
- readonly shortintparameters_glwe_dimension: (a: number) => number;
3888
- readonly shortintparameters_set_glwe_dimension: (a: number, b: number) => void;
3889
- readonly shortintparameters_polynomial_size: (a: number) => number;
3890
- readonly shortintparameters_set_polynomial_size: (a: number, b: number) => void;
3891
- readonly shortintparameters_set_lwe_noise_distribution: (a: number, b: number) => void;
3892
- readonly shortintparameters_glwe_noise_distribution: (a: number) => number;
3893
- readonly shortintparameters_set_glwe_noise_distribution: (a: number, b: number) => void;
3894
- readonly shortintparameters_pbs_base_log: (a: number) => number;
3895
- readonly shortintparameters_set_pbs_base_log: (a: number, b: number) => void;
3896
- readonly shortintparameters_pbs_level: (a: number) => number;
3897
- readonly shortintparameters_set_pbs_level: (a: number, b: number) => void;
3898
- readonly shortintparameters_ks_base_log: (a: number) => number;
3899
- readonly shortintparameters_set_ks_base_log: (a: number, b: number) => void;
3900
- readonly shortintparameters_ks_level: (a: number) => number;
3901
- readonly shortintparameters_set_ks_level: (a: number, b: number) => void;
3902
- readonly shortintparameters_message_modulus: (a: number) => number;
3903
- readonly shortintparameters_set_message_modulus: (a: number, b: number) => void;
3904
- readonly shortintparameters_carry_modulus: (a: number) => number;
3905
- readonly shortintparameters_set_carry_modulus: (a: number, b: number) => void;
3906
- readonly shortintparameters_encryption_key_choice: (a: number) => number;
3907
- readonly shortintparameters_set_encryption_key_choice: (a: number, b: number) => void;
3908
- readonly __wbg_shortintnoisedistribution_free: (a: number, b: number) => void;
3909
- readonly shortintcompactpublickeyencryptionparameters_new: (a: number) => number;
3910
- readonly shortintcompactpublickeyencryptionparameters_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
3911
- readonly shortintparameters_new: (a: number) => number;
3912
- readonly shortint_new_gaussian_from_std_dev: (a: number) => number;
3913
- readonly shortint_try_new_t_uniform: (a: number, b: number) => void;
3914
- readonly shortint_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => number;
3915
- readonly shortint_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
3916
- readonly shortint_new_client_key: (a: number) => number;
3917
- readonly shortint_new_public_key: (a: number) => number;
3918
- readonly shortint_new_compressed_public_key: (a: number) => number;
3919
- readonly shortint_new_compressed_server_key: (a: number) => number;
3920
- readonly shortint_encrypt: (a: number, b: number) => number;
3921
- readonly shortint_encrypt_compressed: (a: number, b: number) => number;
3922
- readonly shortint_decompress_ciphertext: (a: number) => number;
3923
- readonly shortint_encrypt_with_public_key: (a: number, b: number) => number;
3924
- readonly shortint_encrypt_with_compressed_public_key: (a: number, b: number) => number;
3925
- readonly shortint_decrypt: (a: number, b: number) => number;
3926
- readonly shortint_serialize_ciphertext: (a: number, b: number) => void;
3927
- readonly shortint_deserialize_ciphertext: (a: number, b: number, c: number) => void;
3928
- readonly shortint_serialize_compressed_ciphertext: (a: number, b: number) => void;
3929
- readonly shortint_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
3930
- readonly shortint_serialize_client_key: (a: number, b: number) => void;
3931
- readonly shortint_deserialize_client_key: (a: number, b: number, c: number) => void;
3932
- readonly shortint_serialize_public_key: (a: number, b: number) => void;
3933
- readonly shortint_deserialize_public_key: (a: number, b: number, c: number) => void;
3934
- readonly shortint_serialize_compressed_public_key: (a: number, b: number) => void;
3935
- readonly shortint_deserialize_compressed_public_key: (a: number, b: number, c: number) => void;
3936
- readonly shortint_serialize_compressed_server_key: (a: number, b: number) => void;
3937
- readonly shortint_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
3938
3876
  readonly __wbg_tfheconfig_free: (a: number, b: number) => void;
3939
3877
  readonly __wbg_tfheconfigbuilder_free: (a: number, b: number) => void;
3940
3878
  readonly tfheconfigbuilder_default: () => number;
@@ -3942,48 +3880,6 @@ export interface InitOutput {
3942
3880
  readonly tfheconfigbuilder_use_custom_parameters: (a: number, b: number) => number;
3943
3881
  readonly tfheconfigbuilder_use_dedicated_compact_public_key_parameters: (a: number, b: number) => number;
3944
3882
  readonly tfheconfigbuilder_build: (a: number) => number;
3945
- readonly shortintparameters_lwe_noise_distribution: (a: number) => number;
3946
- readonly __wbg_booleanciphertext_free: (a: number, b: number) => void;
3947
- readonly __wbg_booleancompressedciphertext_free: (a: number, b: number) => void;
3948
- readonly __wbg_booleanclientkey_free: (a: number, b: number) => void;
3949
- readonly __wbg_booleanpublickey_free: (a: number, b: number) => void;
3950
- readonly __wbg_booleancompressedserverkey_free: (a: number, b: number) => void;
3951
- readonly __wbg_boolean_free: (a: number, b: number) => void;
3952
- readonly __wbg_booleanparameters_free: (a: number, b: number) => void;
3953
- readonly __wbg_booleannoisedistribution_free: (a: number, b: number) => void;
3954
- readonly boolean_get_parameters: (a: number, b: number) => void;
3955
- readonly boolean_new_gaussian_from_std_dev: (a: number) => number;
3956
- readonly boolean_try_new_t_uniform: (a: number, b: number) => void;
3957
- readonly boolean_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
3958
- readonly boolean_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
3959
- readonly boolean_new_client_key: (a: number) => number;
3960
- readonly boolean_new_public_key: (a: number) => number;
3961
- readonly boolean_new_compressed_server_key: (a: number) => number;
3962
- readonly boolean_encrypt: (a: number, b: number) => number;
3963
- readonly boolean_encrypt_compressed: (a: number, b: number) => number;
3964
- readonly boolean_decompress_ciphertext: (a: number) => number;
3965
- readonly boolean_encrypt_with_public_key: (a: number, b: number) => number;
3966
- readonly boolean_trivial_encrypt: (a: number) => number;
3967
- readonly boolean_decrypt: (a: number, b: number) => number;
3968
- readonly boolean_serialize_ciphertext: (a: number, b: number) => void;
3969
- readonly boolean_deserialize_ciphertext: (a: number, b: number, c: number) => void;
3970
- readonly boolean_serialize_compressed_ciphertext: (a: number, b: number) => void;
3971
- readonly boolean_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
3972
- readonly boolean_serialize_client_key: (a: number, b: number) => void;
3973
- readonly boolean_deserialize_client_key: (a: number, b: number, c: number) => void;
3974
- readonly boolean_serialize_public_key: (a: number, b: number) => void;
3975
- readonly boolean_deserialize_public_key: (a: number, b: number, c: number) => void;
3976
- readonly boolean_serialize_compressed_server_key: (a: number, b: number) => void;
3977
- readonly boolean_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
3978
- readonly __wbg_compactpkecrs_free: (a: number, b: number) => void;
3979
- readonly compactpkecrs_serialize: (a: number, b: number, c: number) => void;
3980
- readonly compactpkecrs_deserialize: (a: number, b: number, c: number) => void;
3981
- readonly compactpkecrs_safe_serialize: (a: number, b: number, c: number) => void;
3982
- readonly compactpkecrs_safe_deserialize: (a: number, b: number, c: number, d: number) => void;
3983
- readonly compactpkecrs_from_config: (a: number, b: number, c: number) => void;
3984
- readonly compactpkecrs_deserialize_from_public_params: (a: number, b: number, c: number) => void;
3985
- readonly compactpkecrs_safe_deserialize_from_public_params: (a: number, b: number, c: number, d: number) => void;
3986
- readonly __wbg_tfhe_free: (a: number, b: number) => void;
3987
3883
  readonly fheuint128_encrypt_with_client_key: (a: number, b: number, c: number) => void;
3988
3884
  readonly fheuint128_encrypt_with_public_key: (a: number, b: number, c: number) => void;
3989
3885
  readonly fheuint128_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
@@ -4598,6 +4494,110 @@ export interface InitOutput {
4598
4494
  readonly __wbg_compressedfheint32_free: (a: number, b: number) => void;
4599
4495
  readonly __wbg_compressedfheint64_free: (a: number, b: number) => void;
4600
4496
  readonly fheuint256_decrypt: (a: number, b: number, c: number) => void;
4497
+ readonly __wbg_booleanciphertext_free: (a: number, b: number) => void;
4498
+ readonly __wbg_booleancompressedciphertext_free: (a: number, b: number) => void;
4499
+ readonly __wbg_booleanclientkey_free: (a: number, b: number) => void;
4500
+ readonly __wbg_booleanpublickey_free: (a: number, b: number) => void;
4501
+ readonly __wbg_booleancompressedserverkey_free: (a: number, b: number) => void;
4502
+ readonly __wbg_boolean_free: (a: number, b: number) => void;
4503
+ readonly __wbg_booleanparameters_free: (a: number, b: number) => void;
4504
+ readonly __wbg_booleannoisedistribution_free: (a: number, b: number) => void;
4505
+ readonly boolean_get_parameters: (a: number, b: number) => void;
4506
+ readonly boolean_new_gaussian_from_std_dev: (a: number) => number;
4507
+ readonly boolean_try_new_t_uniform: (a: number, b: number) => void;
4508
+ readonly boolean_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
4509
+ readonly boolean_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
4510
+ readonly boolean_new_client_key: (a: number) => number;
4511
+ readonly boolean_new_public_key: (a: number) => number;
4512
+ readonly boolean_new_compressed_server_key: (a: number) => number;
4513
+ readonly boolean_encrypt: (a: number, b: number) => number;
4514
+ readonly boolean_encrypt_compressed: (a: number, b: number) => number;
4515
+ readonly boolean_decompress_ciphertext: (a: number) => number;
4516
+ readonly boolean_encrypt_with_public_key: (a: number, b: number) => number;
4517
+ readonly boolean_trivial_encrypt: (a: number) => number;
4518
+ readonly boolean_decrypt: (a: number, b: number) => number;
4519
+ readonly boolean_serialize_ciphertext: (a: number, b: number) => void;
4520
+ readonly boolean_deserialize_ciphertext: (a: number, b: number, c: number) => void;
4521
+ readonly boolean_serialize_compressed_ciphertext: (a: number, b: number) => void;
4522
+ readonly boolean_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
4523
+ readonly boolean_serialize_client_key: (a: number, b: number) => void;
4524
+ readonly boolean_deserialize_client_key: (a: number, b: number, c: number) => void;
4525
+ readonly boolean_serialize_public_key: (a: number, b: number) => void;
4526
+ readonly boolean_deserialize_public_key: (a: number, b: number, c: number) => void;
4527
+ readonly boolean_serialize_compressed_server_key: (a: number, b: number) => void;
4528
+ readonly boolean_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
4529
+ readonly __wbg_tfhe_free: (a: number, b: number) => void;
4530
+ readonly __wbg_shortintciphertext_free: (a: number, b: number) => void;
4531
+ readonly __wbg_shortintcompressedciphertext_free: (a: number, b: number) => void;
4532
+ readonly __wbg_shortintclientkey_free: (a: number, b: number) => void;
4533
+ readonly __wbg_shortintpublickey_free: (a: number, b: number) => void;
4534
+ readonly __wbg_shortintcompressedpublickey_free: (a: number, b: number) => void;
4535
+ readonly __wbg_shortintcompressedserverkey_free: (a: number, b: number) => void;
4536
+ readonly __wbg_shortint_free: (a: number, b: number) => void;
4537
+ readonly __wbg_shortintparameters_free: (a: number, b: number) => void;
4538
+ readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number, b: number) => void;
4539
+ readonly shortintparameters_lwe_dimension: (a: number) => number;
4540
+ readonly shortintparameters_set_lwe_dimension: (a: number, b: number) => void;
4541
+ readonly shortintparameters_glwe_dimension: (a: number) => number;
4542
+ readonly shortintparameters_set_glwe_dimension: (a: number, b: number) => void;
4543
+ readonly shortintparameters_polynomial_size: (a: number) => number;
4544
+ readonly shortintparameters_set_polynomial_size: (a: number, b: number) => void;
4545
+ readonly shortintparameters_set_lwe_noise_distribution: (a: number, b: number) => void;
4546
+ readonly shortintparameters_glwe_noise_distribution: (a: number) => number;
4547
+ readonly shortintparameters_set_glwe_noise_distribution: (a: number, b: number) => void;
4548
+ readonly shortintparameters_pbs_base_log: (a: number) => number;
4549
+ readonly shortintparameters_set_pbs_base_log: (a: number, b: number) => void;
4550
+ readonly shortintparameters_pbs_level: (a: number) => number;
4551
+ readonly shortintparameters_set_pbs_level: (a: number, b: number) => void;
4552
+ readonly shortintparameters_ks_base_log: (a: number) => number;
4553
+ readonly shortintparameters_set_ks_base_log: (a: number, b: number) => void;
4554
+ readonly shortintparameters_ks_level: (a: number) => number;
4555
+ readonly shortintparameters_set_ks_level: (a: number, b: number) => void;
4556
+ readonly shortintparameters_message_modulus: (a: number) => number;
4557
+ readonly shortintparameters_set_message_modulus: (a: number, b: number) => void;
4558
+ readonly shortintparameters_carry_modulus: (a: number) => number;
4559
+ readonly shortintparameters_set_carry_modulus: (a: number, b: number) => void;
4560
+ readonly shortintparameters_encryption_key_choice: (a: number) => number;
4561
+ readonly shortintparameters_set_encryption_key_choice: (a: number, b: number) => void;
4562
+ readonly __wbg_shortintnoisedistribution_free: (a: number, b: number) => void;
4563
+ readonly shortintcompactpublickeyencryptionparameters_new: (a: number) => number;
4564
+ readonly shortintcompactpublickeyencryptionparameters_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
4565
+ readonly shortintparameters_new: (a: number) => number;
4566
+ readonly shortint_new_gaussian_from_std_dev: (a: number) => number;
4567
+ readonly shortint_try_new_t_uniform: (a: number, b: number) => void;
4568
+ readonly shortint_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => number;
4569
+ readonly shortint_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
4570
+ readonly shortint_new_client_key: (a: number) => number;
4571
+ readonly shortint_new_public_key: (a: number) => number;
4572
+ readonly shortint_new_compressed_public_key: (a: number) => number;
4573
+ readonly shortint_new_compressed_server_key: (a: number) => number;
4574
+ readonly shortint_encrypt: (a: number, b: number) => number;
4575
+ readonly shortint_encrypt_compressed: (a: number, b: number) => number;
4576
+ readonly shortint_decompress_ciphertext: (a: number) => number;
4577
+ readonly shortint_encrypt_with_public_key: (a: number, b: number) => number;
4578
+ readonly shortint_encrypt_with_compressed_public_key: (a: number, b: number) => number;
4579
+ readonly shortint_decrypt: (a: number, b: number) => number;
4580
+ readonly shortint_serialize_ciphertext: (a: number, b: number) => void;
4581
+ readonly shortint_deserialize_ciphertext: (a: number, b: number, c: number) => void;
4582
+ readonly shortint_serialize_compressed_ciphertext: (a: number, b: number) => void;
4583
+ readonly shortint_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
4584
+ readonly shortint_serialize_client_key: (a: number, b: number) => void;
4585
+ readonly shortint_deserialize_client_key: (a: number, b: number, c: number) => void;
4586
+ readonly shortint_serialize_public_key: (a: number, b: number) => void;
4587
+ readonly shortint_deserialize_public_key: (a: number, b: number, c: number) => void;
4588
+ readonly shortint_serialize_compressed_public_key: (a: number, b: number) => void;
4589
+ readonly shortint_deserialize_compressed_public_key: (a: number, b: number, c: number) => void;
4590
+ readonly shortint_serialize_compressed_server_key: (a: number, b: number) => void;
4591
+ readonly shortint_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
4592
+ readonly __wbg_compactpkecrs_free: (a: number, b: number) => void;
4593
+ readonly compactpkecrs_serialize: (a: number, b: number, c: number) => void;
4594
+ readonly compactpkecrs_deserialize: (a: number, b: number, c: number) => void;
4595
+ readonly compactpkecrs_safe_serialize: (a: number, b: number, c: number) => void;
4596
+ readonly compactpkecrs_safe_deserialize: (a: number, b: number, c: number, d: number) => void;
4597
+ readonly compactpkecrs_from_config: (a: number, b: number, c: number) => void;
4598
+ readonly compactpkecrs_deserialize_from_public_params: (a: number, b: number, c: number) => void;
4599
+ readonly compactpkecrs_safe_deserialize_from_public_params: (a: number, b: number, c: number, d: number) => void;
4600
+ readonly shortintparameters_lwe_noise_distribution: (a: number) => number;
4601
4601
  readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
4602
4602
  readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
4603
4603
  readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
package/tfhe.js CHANGED
@@ -246,28 +246,28 @@ export function wbg_rayon_start_worker(receiver) {
246
246
 
247
247
  /**
248
248
  */
249
- export const ShortintPBSOrder = Object.freeze({ KeyswitchBootstrap:0,"0":"KeyswitchBootstrap",BootstrapKeyswitch:1,"1":"BootstrapKeyswitch", });
250
- /**
251
- */
252
- export const FheTypes = Object.freeze({ Bool:0,"0":"Bool",Uint2:1,"1":"Uint2",Uint4:2,"2":"Uint4",Uint6:3,"3":"Uint6",Uint8:4,"4":"Uint8",Uint10:5,"5":"Uint10",Uint12:6,"6":"Uint12",Uint14:7,"7":"Uint14",Uint16:8,"8":"Uint16",Uint32:9,"9":"Uint32",Uint64:10,"10":"Uint64",Uint128:11,"11":"Uint128",Uint160:12,"12":"Uint160",Uint256:13,"13":"Uint256",Uint512:14,"14":"Uint512",Uint1024:15,"15":"Uint1024",Uint2048:16,"16":"Uint2048",Int2:17,"17":"Int2",Int4:18,"18":"Int4",Int6:19,"19":"Int6",Int8:20,"20":"Int8",Int10:21,"21":"Int10",Int12:22,"22":"Int12",Int14:23,"23":"Int14",Int16:24,"24":"Int16",Int32:25,"25":"Int32",Int64:26,"26":"Int64",Int128:27,"27":"Int128",Int160:28,"28":"Int160",Int256:29,"29":"Int256", });
249
+ export const ShortintEncryptionKeyChoice = Object.freeze({ Big:0,"0":"Big",Small:1,"1":"Small", });
253
250
  /**
254
251
  */
255
252
  export const ShortintParametersName = Object.freeze({ V0_11_PARAM_MESSAGE_1_CARRY_0_KS_PBS_GAUSSIAN_2M64:0,"0":"V0_11_PARAM_MESSAGE_1_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_1_KS_PBS_GAUSSIAN_2M64:1,"1":"V0_11_PARAM_MESSAGE_1_CARRY_1_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_0_KS_PBS_GAUSSIAN_2M64:2,"2":"V0_11_PARAM_MESSAGE_2_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_2_KS_PBS_GAUSSIAN_2M64:3,"3":"V0_11_PARAM_MESSAGE_1_CARRY_2_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_1_KS_PBS_GAUSSIAN_2M64:4,"4":"V0_11_PARAM_MESSAGE_2_CARRY_1_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_0_KS_PBS_GAUSSIAN_2M64:5,"5":"V0_11_PARAM_MESSAGE_3_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_3_KS_PBS_GAUSSIAN_2M64:6,"6":"V0_11_PARAM_MESSAGE_1_CARRY_3_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_2_KS_PBS_GAUSSIAN_2M64:7,"7":"V0_11_PARAM_MESSAGE_2_CARRY_2_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_1_KS_PBS_GAUSSIAN_2M64:8,"8":"V0_11_PARAM_MESSAGE_3_CARRY_1_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_0_KS_PBS_GAUSSIAN_2M64:9,"9":"V0_11_PARAM_MESSAGE_4_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_4_KS_PBS_GAUSSIAN_2M64:10,"10":"V0_11_PARAM_MESSAGE_1_CARRY_4_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_3_KS_PBS_GAUSSIAN_2M64:11,"11":"V0_11_PARAM_MESSAGE_2_CARRY_3_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_2_KS_PBS_GAUSSIAN_2M64:12,"12":"V0_11_PARAM_MESSAGE_3_CARRY_2_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_1_KS_PBS_GAUSSIAN_2M64:13,"13":"V0_11_PARAM_MESSAGE_4_CARRY_1_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_5_CARRY_0_KS_PBS_GAUSSIAN_2M64:14,"14":"V0_11_PARAM_MESSAGE_5_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_5_KS_PBS_GAUSSIAN_2M64:15,"15":"V0_11_PARAM_MESSAGE_1_CARRY_5_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_4_KS_PBS_GAUSSIAN_2M64:16,"16":"V0_11_PARAM_MESSAGE_2_CARRY_4_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_3_KS_PBS_GAUSSIAN_2M64:17,"17":"V0_11_PARAM_MESSAGE_3_CARRY_3_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_2_KS_PBS_GAUSSIAN_2M64:18,"18":"V0_11_PARAM_MESSAGE_4_CARRY_2_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_5_CARRY_1_KS_PBS_GAUSSIAN_2M64:19,"19":"V0_11_PARAM_MESSAGE_5_CARRY_1_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_6_CARRY_0_KS_PBS_GAUSSIAN_2M64:20,"20":"V0_11_PARAM_MESSAGE_6_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_6_KS_PBS_GAUSSIAN_2M64:21,"21":"V0_11_PARAM_MESSAGE_1_CARRY_6_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_5_KS_PBS_GAUSSIAN_2M64:22,"22":"V0_11_PARAM_MESSAGE_2_CARRY_5_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_4_KS_PBS_GAUSSIAN_2M64:23,"23":"V0_11_PARAM_MESSAGE_3_CARRY_4_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_3_KS_PBS_GAUSSIAN_2M64:24,"24":"V0_11_PARAM_MESSAGE_4_CARRY_3_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_5_CARRY_2_KS_PBS_GAUSSIAN_2M64:25,"25":"V0_11_PARAM_MESSAGE_5_CARRY_2_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_6_CARRY_1_KS_PBS_GAUSSIAN_2M64:26,"26":"V0_11_PARAM_MESSAGE_6_CARRY_1_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_7_CARRY_0_KS_PBS_GAUSSIAN_2M64:27,"27":"V0_11_PARAM_MESSAGE_7_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_7_KS_PBS_GAUSSIAN_2M64:28,"28":"V0_11_PARAM_MESSAGE_1_CARRY_7_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_6_KS_PBS_GAUSSIAN_2M64:29,"29":"V0_11_PARAM_MESSAGE_2_CARRY_6_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_5_KS_PBS_GAUSSIAN_2M64:30,"30":"V0_11_PARAM_MESSAGE_3_CARRY_5_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_4_KS_PBS_GAUSSIAN_2M64:31,"31":"V0_11_PARAM_MESSAGE_4_CARRY_4_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_5_CARRY_3_KS_PBS_GAUSSIAN_2M64:32,"32":"V0_11_PARAM_MESSAGE_5_CARRY_3_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_6_CARRY_2_KS_PBS_GAUSSIAN_2M64:33,"33":"V0_11_PARAM_MESSAGE_6_CARRY_2_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_7_CARRY_1_KS_PBS_GAUSSIAN_2M64:34,"34":"V0_11_PARAM_MESSAGE_7_CARRY_1_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_8_CARRY_0_KS_PBS_GAUSSIAN_2M64:35,"35":"V0_11_PARAM_MESSAGE_8_CARRY_0_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_1_PBS_KS_GAUSSIAN_2M64:36,"36":"V0_11_PARAM_MESSAGE_1_CARRY_1_PBS_KS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_2_PBS_KS_GAUSSIAN_2M64:37,"37":"V0_11_PARAM_MESSAGE_2_CARRY_2_PBS_KS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_3_PBS_KS_GAUSSIAN_2M64:38,"38":"V0_11_PARAM_MESSAGE_3_CARRY_3_PBS_KS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_4_PBS_KS_GAUSSIAN_2M64:39,"39":"V0_11_PARAM_MESSAGE_4_CARRY_4_PBS_KS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:40,"40":"V0_11_PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:41,"41":"V0_11_PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:42,"42":"V0_11_PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:43,"43":"V0_11_PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:44,"44":"V0_11_PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:45,"45":"V0_11_PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:46,"46":"V0_11_PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:47,"47":"V0_11_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:48,"48":"V0_11_PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:49,"49":"V0_11_PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:50,"50":"V0_11_PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:51,"51":"V0_11_PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:52,"52":"V0_11_PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:53,"53":"V0_11_PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:54,"54":"V0_11_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:55,"55":"V0_11_PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:56,"56":"V0_11_PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:57,"57":"V0_11_PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:58,"58":"V0_11_PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:59,"59":"V0_11_PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:60,"60":"V0_11_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:61,"61":"V0_11_PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:62,"62":"V0_11_PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:63,"63":"V0_11_PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:64,"64":"V0_11_PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:65,"65":"V0_11_PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64:66,"66":"V0_11_PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_1_CARRY_1_COMPACT_PK_PBS_KS_GAUSSIAN_2M64:67,"67":"V0_11_PARAM_MESSAGE_1_CARRY_1_COMPACT_PK_PBS_KS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M64:68,"68":"V0_11_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M64:69,"69":"V0_11_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M64",V0_11_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M64:70,"70":"V0_11_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M64",PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64:71,"71":"PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64", });
256
253
  /**
257
254
  */
258
- export const BooleanParameterSet = Object.freeze({ Default:0,"0":"Default",TfheLib:1,"1":"TfheLib",DefaultKsPbs:2,"2":"DefaultKsPbs",TfheLibKsPbs:3,"3":"TfheLibKsPbs", });
255
+ export const ShortintPBSOrder = Object.freeze({ KeyswitchBootstrap:0,"0":"KeyswitchBootstrap",BootstrapKeyswitch:1,"1":"BootstrapKeyswitch", });
259
256
  /**
260
257
  */
261
- export const ShortintEncryptionKeyChoice = Object.freeze({ Big:0,"0":"Big",Small:1,"1":"Small", });
258
+ export const ShortintCompactPublicKeyEncryptionParametersName = Object.freeze({ SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64:0,"0":"SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64", });
262
259
  /**
263
260
  */
264
261
  export const BooleanEncryptionKeyChoice = Object.freeze({ Big:0,"0":"Big",Small:1,"1":"Small", });
265
262
  /**
266
263
  */
267
- export const ShortintCompactPublicKeyEncryptionParametersName = Object.freeze({ SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64:0,"0":"SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64", });
264
+ export const BooleanParameterSet = Object.freeze({ Default:0,"0":"Default",TfheLib:1,"1":"TfheLib",DefaultKsPbs:2,"2":"DefaultKsPbs",TfheLibKsPbs:3,"3":"TfheLibKsPbs", });
268
265
  /**
269
266
  */
270
267
  export const ZkComputeLoad = Object.freeze({ Proof:0,"0":"Proof",Verify:1,"1":"Verify", });
268
+ /**
269
+ */
270
+ export const FheTypes = Object.freeze({ Bool:0,"0":"Bool",Uint2:1,"1":"Uint2",Uint4:2,"2":"Uint4",Uint6:3,"3":"Uint6",Uint8:4,"4":"Uint8",Uint10:5,"5":"Uint10",Uint12:6,"6":"Uint12",Uint14:7,"7":"Uint14",Uint16:8,"8":"Uint16",Uint32:9,"9":"Uint32",Uint64:10,"10":"Uint64",Uint128:11,"11":"Uint128",Uint160:12,"12":"Uint160",Uint256:13,"13":"Uint256",Uint512:14,"14":"Uint512",Uint1024:15,"15":"Uint1024",Uint2048:16,"16":"Uint2048",Int2:17,"17":"Int2",Int4:18,"18":"Int4",Int6:19,"19":"Int6",Int8:20,"20":"Int8",Int10:21,"21":"Int10",Int12:22,"22":"Int12",Int14:23,"23":"Int14",Int16:24,"24":"Int16",Int32:25,"25":"Int32",Int64:26,"26":"Int64",Int128:27,"27":"Int128",Int160:28,"28":"Int160",Int256:29,"29":"Int256", });
271
271
 
272
272
  const BooleanFinalization = (typeof FinalizationRegistry === 'undefined')
273
273
  ? { register: () => {}, unregister: () => {} }
@@ -15168,6 +15168,14 @@ function __wbg_get_imports() {
15168
15168
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
15169
15169
  takeObject(arg0);
15170
15170
  };
15171
+ imports.wbg.__wbindgen_bigint_from_u128 = function(arg0, arg1) {
15172
+ const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1);
15173
+ return addHeapObject(ret);
15174
+ };
15175
+ imports.wbg.__wbindgen_bigint_from_i128 = function(arg0, arg1) {
15176
+ const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1);
15177
+ return addHeapObject(ret);
15178
+ };
15171
15179
  imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
15172
15180
  const ret = new Error(getStringFromWasm0(arg0, arg1));
15173
15181
  return addHeapObject(ret);
@@ -15220,14 +15228,6 @@ function __wbg_get_imports() {
15220
15228
  const ret = getObject(arg0) < getObject(arg1);
15221
15229
  return ret;
15222
15230
  };
15223
- imports.wbg.__wbindgen_bigint_from_i128 = function(arg0, arg1) {
15224
- const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1);
15225
- return addHeapObject(ret);
15226
- };
15227
- imports.wbg.__wbindgen_bigint_from_u128 = function(arg0, arg1) {
15228
- const ret = BigInt.asUintN(64, arg0) << BigInt(64) | BigInt.asUintN(64, arg1);
15229
- return addHeapObject(ret);
15230
- };
15231
15231
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
15232
15232
  const ret = new Error();
15233
15233
  return addHeapObject(ret);
package/tfhe_bg.wasm CHANGED
Binary file