tfhe 0.7.2 → 0.7.3
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.
- package/package.json +1 -1
- package/tfhe.d.ts +216 -216
- package/tfhe.js +2021 -2016
- package/tfhe_bg.wasm +0 -0
package/package.json
CHANGED
package/tfhe.d.ts
CHANGED
|
@@ -14,12 +14,6 @@ export function initThreadPool(num_threads: number): Promise<any>;
|
|
|
14
14
|
export function wbg_rayon_start_worker(receiver: number): void;
|
|
15
15
|
/**
|
|
16
16
|
*/
|
|
17
|
-
export enum ShortintEncryptionKeyChoice {
|
|
18
|
-
Big = 0,
|
|
19
|
-
Small = 1,
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
*/
|
|
23
17
|
export enum BooleanParameterSet {
|
|
24
18
|
Default = 0,
|
|
25
19
|
TfheLib = 1,
|
|
@@ -28,23 +22,6 @@ export enum BooleanParameterSet {
|
|
|
28
22
|
}
|
|
29
23
|
/**
|
|
30
24
|
*/
|
|
31
|
-
export enum ShortintCompactPublicKeyEncryptionParametersName {
|
|
32
|
-
SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64 = 0,
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
|
-
export enum BooleanEncryptionKeyChoice {
|
|
37
|
-
Big = 0,
|
|
38
|
-
Small = 1,
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
*/
|
|
42
|
-
export enum ZkComputeLoad {
|
|
43
|
-
Proof = 0,
|
|
44
|
-
Verify = 1,
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
*/
|
|
48
25
|
export enum ShortintParametersName {
|
|
49
26
|
PARAM_MESSAGE_1_CARRY_0_KS_PBS = 0,
|
|
50
27
|
PARAM_MESSAGE_1_CARRY_1_KS_PBS = 1,
|
|
@@ -161,6 +138,29 @@ export enum ShortintParametersName {
|
|
|
161
138
|
}
|
|
162
139
|
/**
|
|
163
140
|
*/
|
|
141
|
+
export enum ShortintEncryptionKeyChoice {
|
|
142
|
+
Big = 0,
|
|
143
|
+
Small = 1,
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
*/
|
|
147
|
+
export enum ZkComputeLoad {
|
|
148
|
+
Proof = 0,
|
|
149
|
+
Verify = 1,
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
*/
|
|
153
|
+
export enum ShortintCompactPublicKeyEncryptionParametersName {
|
|
154
|
+
SHORTINT_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M64 = 0,
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
*/
|
|
158
|
+
export enum BooleanEncryptionKeyChoice {
|
|
159
|
+
Big = 0,
|
|
160
|
+
Small = 1,
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
*/
|
|
164
164
|
export class Boolean {
|
|
165
165
|
free(): void;
|
|
166
166
|
/**
|
|
@@ -3705,105 +3705,6 @@ export class wbg_rayon_PoolBuilder {
|
|
|
3705
3705
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
3706
3706
|
|
|
3707
3707
|
export interface InitOutput {
|
|
3708
|
-
readonly __wbg_booleanciphertext_free: (a: number) => void;
|
|
3709
|
-
readonly __wbg_booleancompressedciphertext_free: (a: number) => void;
|
|
3710
|
-
readonly __wbg_booleanclientkey_free: (a: number) => void;
|
|
3711
|
-
readonly __wbg_booleanpublickey_free: (a: number) => void;
|
|
3712
|
-
readonly __wbg_booleancompressedserverkey_free: (a: number) => void;
|
|
3713
|
-
readonly __wbg_booleanparameters_free: (a: number) => void;
|
|
3714
|
-
readonly __wbg_booleannoisedistribution_free: (a: number) => void;
|
|
3715
|
-
readonly boolean_get_parameters: (a: number, b: number) => void;
|
|
3716
|
-
readonly boolean_new_gaussian_from_std_dev: (a: number) => number;
|
|
3717
|
-
readonly boolean_try_new_t_uniform: (a: number, b: number) => void;
|
|
3718
|
-
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;
|
|
3719
|
-
readonly boolean_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
|
|
3720
|
-
readonly boolean_new_client_key: (a: number) => number;
|
|
3721
|
-
readonly boolean_new_public_key: (a: number) => number;
|
|
3722
|
-
readonly boolean_new_compressed_server_key: (a: number) => number;
|
|
3723
|
-
readonly boolean_encrypt: (a: number, b: number) => number;
|
|
3724
|
-
readonly boolean_encrypt_compressed: (a: number, b: number) => number;
|
|
3725
|
-
readonly boolean_decompress_ciphertext: (a: number) => number;
|
|
3726
|
-
readonly boolean_encrypt_with_public_key: (a: number, b: number) => number;
|
|
3727
|
-
readonly boolean_trivial_encrypt: (a: number) => number;
|
|
3728
|
-
readonly boolean_decrypt: (a: number, b: number) => number;
|
|
3729
|
-
readonly boolean_serialize_ciphertext: (a: number, b: number) => void;
|
|
3730
|
-
readonly boolean_deserialize_ciphertext: (a: number, b: number, c: number) => void;
|
|
3731
|
-
readonly boolean_serialize_compressed_ciphertext: (a: number, b: number) => void;
|
|
3732
|
-
readonly boolean_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
|
|
3733
|
-
readonly boolean_serialize_client_key: (a: number, b: number) => void;
|
|
3734
|
-
readonly boolean_deserialize_client_key: (a: number, b: number, c: number) => void;
|
|
3735
|
-
readonly boolean_serialize_public_key: (a: number, b: number) => void;
|
|
3736
|
-
readonly boolean_deserialize_public_key: (a: number, b: number, c: number) => void;
|
|
3737
|
-
readonly boolean_serialize_compressed_server_key: (a: number, b: number) => void;
|
|
3738
|
-
readonly boolean_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
|
|
3739
|
-
readonly __wbg_boolean_free: (a: number) => void;
|
|
3740
|
-
readonly __wbg_tfhe_free: (a: number) => void;
|
|
3741
|
-
readonly __wbg_shortintclientkey_free: (a: number) => void;
|
|
3742
|
-
readonly __wbg_shortintpublickey_free: (a: number) => void;
|
|
3743
|
-
readonly __wbg_shortintcompressedpublickey_free: (a: number) => void;
|
|
3744
|
-
readonly __wbg_shortintcompressedserverkey_free: (a: number) => void;
|
|
3745
|
-
readonly __wbg_shortintparameters_free: (a: number) => void;
|
|
3746
|
-
readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number) => void;
|
|
3747
|
-
readonly shortintparameters_lwe_dimension: (a: number) => number;
|
|
3748
|
-
readonly shortintparameters_set_lwe_dimension: (a: number, b: number) => void;
|
|
3749
|
-
readonly shortintparameters_glwe_dimension: (a: number) => number;
|
|
3750
|
-
readonly shortintparameters_set_glwe_dimension: (a: number, b: number) => void;
|
|
3751
|
-
readonly shortintparameters_polynomial_size: (a: number) => number;
|
|
3752
|
-
readonly shortintparameters_set_polynomial_size: (a: number, b: number) => void;
|
|
3753
|
-
readonly shortintparameters_set_lwe_noise_distribution: (a: number, b: number) => void;
|
|
3754
|
-
readonly shortintparameters_glwe_noise_distribution: (a: number) => number;
|
|
3755
|
-
readonly shortintparameters_set_glwe_noise_distribution: (a: number, b: number) => void;
|
|
3756
|
-
readonly shortintparameters_pbs_base_log: (a: number) => number;
|
|
3757
|
-
readonly shortintparameters_set_pbs_base_log: (a: number, b: number) => void;
|
|
3758
|
-
readonly shortintparameters_pbs_level: (a: number) => number;
|
|
3759
|
-
readonly shortintparameters_set_pbs_level: (a: number, b: number) => void;
|
|
3760
|
-
readonly shortintparameters_ks_base_log: (a: number) => number;
|
|
3761
|
-
readonly shortintparameters_set_ks_base_log: (a: number, b: number) => void;
|
|
3762
|
-
readonly shortintparameters_ks_level: (a: number) => number;
|
|
3763
|
-
readonly shortintparameters_set_ks_level: (a: number, b: number) => void;
|
|
3764
|
-
readonly shortintparameters_message_modulus: (a: number) => number;
|
|
3765
|
-
readonly shortintparameters_set_message_modulus: (a: number, b: number) => void;
|
|
3766
|
-
readonly shortintparameters_carry_modulus: (a: number) => number;
|
|
3767
|
-
readonly shortintparameters_set_carry_modulus: (a: number, b: number) => void;
|
|
3768
|
-
readonly shortintparameters_encryption_key_choice: (a: number) => number;
|
|
3769
|
-
readonly shortintparameters_set_encryption_key_choice: (a: number, b: number) => void;
|
|
3770
|
-
readonly __wbg_shortintnoisedistribution_free: (a: number) => void;
|
|
3771
|
-
readonly shortintcompactpublickeyencryptionparameters_new: (a: number) => number;
|
|
3772
|
-
readonly shortintparameters_new: (a: number) => number;
|
|
3773
|
-
readonly shortint_get_parameters: (a: number, b: number, c: number) => void;
|
|
3774
|
-
readonly shortint_get_parameters_small: (a: number, b: number, c: number) => void;
|
|
3775
|
-
readonly shortint_new_gaussian_from_std_dev: (a: number) => number;
|
|
3776
|
-
readonly shortint_try_new_t_uniform: (a: number, b: number) => void;
|
|
3777
|
-
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;
|
|
3778
|
-
readonly shortint_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
|
|
3779
|
-
readonly shortint_new_client_key: (a: number) => number;
|
|
3780
|
-
readonly shortint_new_public_key: (a: number) => number;
|
|
3781
|
-
readonly shortint_new_compressed_public_key: (a: number) => number;
|
|
3782
|
-
readonly shortint_new_compressed_server_key: (a: number) => number;
|
|
3783
|
-
readonly shortint_encrypt: (a: number, b: number) => number;
|
|
3784
|
-
readonly shortint_encrypt_compressed: (a: number, b: number) => number;
|
|
3785
|
-
readonly shortint_decompress_ciphertext: (a: number) => number;
|
|
3786
|
-
readonly shortint_encrypt_with_public_key: (a: number, b: number) => number;
|
|
3787
|
-
readonly shortint_encrypt_with_compressed_public_key: (a: number, b: number) => number;
|
|
3788
|
-
readonly shortint_decrypt: (a: number, b: number) => number;
|
|
3789
|
-
readonly shortint_serialize_ciphertext: (a: number, b: number) => void;
|
|
3790
|
-
readonly shortint_deserialize_ciphertext: (a: number, b: number, c: number) => void;
|
|
3791
|
-
readonly shortint_serialize_compressed_ciphertext: (a: number, b: number) => void;
|
|
3792
|
-
readonly shortint_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
|
|
3793
|
-
readonly shortint_serialize_client_key: (a: number, b: number) => void;
|
|
3794
|
-
readonly shortint_deserialize_client_key: (a: number, b: number, c: number) => void;
|
|
3795
|
-
readonly shortint_serialize_public_key: (a: number, b: number) => void;
|
|
3796
|
-
readonly shortint_deserialize_public_key: (a: number, b: number, c: number) => void;
|
|
3797
|
-
readonly shortint_serialize_compressed_public_key: (a: number, b: number) => void;
|
|
3798
|
-
readonly shortint_deserialize_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
3799
|
-
readonly shortint_serialize_compressed_server_key: (a: number, b: number) => void;
|
|
3800
|
-
readonly shortint_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
|
|
3801
|
-
readonly __wbg_tfheconfig_free: (a: number) => void;
|
|
3802
|
-
readonly tfheconfigbuilder_default: () => number;
|
|
3803
|
-
readonly tfheconfigbuilder_default_with_small_encryption: () => number;
|
|
3804
|
-
readonly tfheconfigbuilder_use_custom_parameters: (a: number, b: number) => number;
|
|
3805
|
-
readonly tfheconfigbuilder_use_dedicated_compact_public_key_parameters: (a: number, b: number) => number;
|
|
3806
|
-
readonly tfheconfigbuilder_build: (a: number) => number;
|
|
3807
3708
|
readonly fheuint128_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
3808
3709
|
readonly fheuint128_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
3809
3710
|
readonly fheuint128_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
@@ -3928,7 +3829,7 @@ export interface InitOutput {
|
|
|
3928
3829
|
readonly compressedfheint256_deserialize: (a: number, b: number, c: number) => void;
|
|
3929
3830
|
readonly compressedfheint256_safe_serialize: (a: number, b: number, c: number) => void;
|
|
3930
3831
|
readonly compressedfheint256_safe_deserialize: (a: number, b: number, c: number, d: number) => void;
|
|
3931
|
-
readonly __wbg_fhebool_free: (a: number) => void;
|
|
3832
|
+
readonly __wbg_fhebool_free: (a: number, b: number) => void;
|
|
3932
3833
|
readonly fhebool_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
3933
3834
|
readonly fhebool_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
3934
3835
|
readonly fhebool_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
@@ -3937,7 +3838,7 @@ export interface InitOutput {
|
|
|
3937
3838
|
readonly fhebool_deserialize: (a: number, b: number, c: number) => void;
|
|
3938
3839
|
readonly fhebool_safe_serialize: (a: number, b: number, c: number) => void;
|
|
3939
3840
|
readonly fhebool_safe_deserialize: (a: number, b: number, c: number, d: number) => void;
|
|
3940
|
-
readonly __wbg_compressedfhebool_free: (a: number) => void;
|
|
3841
|
+
readonly __wbg_compressedfhebool_free: (a: number, b: number) => void;
|
|
3941
3842
|
readonly compressedfhebool_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
3942
3843
|
readonly compressedfhebool_decompress: (a: number, b: number) => void;
|
|
3943
3844
|
readonly compressedfhebool_serialize: (a: number, b: number) => void;
|
|
@@ -3961,7 +3862,6 @@ export interface InitOutput {
|
|
|
3961
3862
|
readonly fheuint4_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
3962
3863
|
readonly fheuint4_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
3963
3864
|
readonly fheuint4_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
3964
|
-
readonly fheuint4_decrypt: (a: number, b: number, c: number) => void;
|
|
3965
3865
|
readonly fheuint4_serialize: (a: number, b: number) => void;
|
|
3966
3866
|
readonly fheuint4_deserialize: (a: number, b: number, c: number) => void;
|
|
3967
3867
|
readonly fheuint4_safe_serialize: (a: number, b: number, c: number) => void;
|
|
@@ -3975,7 +3875,6 @@ export interface InitOutput {
|
|
|
3975
3875
|
readonly fheuint6_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
3976
3876
|
readonly fheuint6_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
3977
3877
|
readonly fheuint6_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
3978
|
-
readonly fheuint6_decrypt: (a: number, b: number, c: number) => void;
|
|
3979
3878
|
readonly fheuint6_serialize: (a: number, b: number) => void;
|
|
3980
3879
|
readonly fheuint6_deserialize: (a: number, b: number, c: number) => void;
|
|
3981
3880
|
readonly fheuint6_safe_serialize: (a: number, b: number, c: number) => void;
|
|
@@ -3989,7 +3888,6 @@ export interface InitOutput {
|
|
|
3989
3888
|
readonly fheuint8_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
3990
3889
|
readonly fheuint8_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
3991
3890
|
readonly fheuint8_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
3992
|
-
readonly fheuint8_decrypt: (a: number, b: number, c: number) => void;
|
|
3993
3891
|
readonly fheuint8_serialize: (a: number, b: number) => void;
|
|
3994
3892
|
readonly fheuint8_deserialize: (a: number, b: number, c: number) => void;
|
|
3995
3893
|
readonly fheuint8_safe_serialize: (a: number, b: number, c: number) => void;
|
|
@@ -4017,7 +3915,6 @@ export interface InitOutput {
|
|
|
4017
3915
|
readonly fheuint12_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
4018
3916
|
readonly fheuint12_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
4019
3917
|
readonly fheuint12_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
4020
|
-
readonly fheuint12_decrypt: (a: number, b: number, c: number) => void;
|
|
4021
3918
|
readonly fheuint12_serialize: (a: number, b: number) => void;
|
|
4022
3919
|
readonly fheuint12_deserialize: (a: number, b: number, c: number) => void;
|
|
4023
3920
|
readonly fheuint12_safe_serialize: (a: number, b: number, c: number) => void;
|
|
@@ -4031,7 +3928,6 @@ export interface InitOutput {
|
|
|
4031
3928
|
readonly fheuint14_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
4032
3929
|
readonly fheuint14_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
4033
3930
|
readonly fheuint14_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
4034
|
-
readonly fheuint14_decrypt: (a: number, b: number, c: number) => void;
|
|
4035
3931
|
readonly fheuint14_serialize: (a: number, b: number) => void;
|
|
4036
3932
|
readonly fheuint14_deserialize: (a: number, b: number, c: number) => void;
|
|
4037
3933
|
readonly fheuint14_safe_serialize: (a: number, b: number, c: number) => void;
|
|
@@ -4045,7 +3941,6 @@ export interface InitOutput {
|
|
|
4045
3941
|
readonly fheuint16_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
4046
3942
|
readonly fheuint16_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
4047
3943
|
readonly fheuint16_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
4048
|
-
readonly fheuint16_decrypt: (a: number, b: number, c: number) => void;
|
|
4049
3944
|
readonly fheuint16_serialize: (a: number, b: number) => void;
|
|
4050
3945
|
readonly fheuint16_deserialize: (a: number, b: number, c: number) => void;
|
|
4051
3946
|
readonly fheuint16_safe_serialize: (a: number, b: number, c: number) => void;
|
|
@@ -4137,7 +4032,7 @@ export interface InitOutput {
|
|
|
4137
4032
|
readonly compressedfheint8_deserialize: (a: number, b: number, c: number) => void;
|
|
4138
4033
|
readonly compressedfheint8_safe_serialize: (a: number, b: number, c: number) => void;
|
|
4139
4034
|
readonly compressedfheint8_safe_deserialize: (a: number, b: number, c: number, d: number) => void;
|
|
4140
|
-
readonly __wbg_fheint10_free: (a: number) => void;
|
|
4035
|
+
readonly __wbg_fheint10_free: (a: number, b: number) => void;
|
|
4141
4036
|
readonly fheint10_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
4142
4037
|
readonly fheint10_encrypt_with_public_key: (a: number, b: number, c: number) => void;
|
|
4143
4038
|
readonly fheint10_encrypt_with_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
@@ -4146,7 +4041,7 @@ export interface InitOutput {
|
|
|
4146
4041
|
readonly fheint10_deserialize: (a: number, b: number, c: number) => void;
|
|
4147
4042
|
readonly fheint10_safe_serialize: (a: number, b: number, c: number) => void;
|
|
4148
4043
|
readonly fheint10_safe_deserialize: (a: number, b: number, c: number, d: number) => void;
|
|
4149
|
-
readonly __wbg_compressedfheint10_free: (a: number) => void;
|
|
4044
|
+
readonly __wbg_compressedfheint10_free: (a: number, b: number) => void;
|
|
4150
4045
|
readonly compressedfheint10_encrypt_with_client_key: (a: number, b: number, c: number) => void;
|
|
4151
4046
|
readonly compressedfheint10_decompress: (a: number, b: number) => void;
|
|
4152
4047
|
readonly compressedfheint10_serialize: (a: number, b: number) => void;
|
|
@@ -4220,10 +4115,10 @@ export interface InitOutput {
|
|
|
4220
4115
|
readonly compressedfheint64_deserialize: (a: number, b: number, c: number) => void;
|
|
4221
4116
|
readonly compressedfheint64_safe_serialize: (a: number, b: number, c: number) => void;
|
|
4222
4117
|
readonly compressedfheint64_safe_deserialize: (a: number, b: number, c: number, d: number) => void;
|
|
4223
|
-
readonly __wbg_compactciphertextlistbuilder_free: (a: number) => void;
|
|
4224
|
-
readonly __wbg_compactciphertextlistexpander_free: (a: number) => void;
|
|
4225
|
-
readonly __wbg_compactciphertextlist_free: (a: number) => void;
|
|
4226
|
-
readonly __wbg_provencompactciphertextlist_free: (a: number) => void;
|
|
4118
|
+
readonly __wbg_compactciphertextlistbuilder_free: (a: number, b: number) => void;
|
|
4119
|
+
readonly __wbg_compactciphertextlistexpander_free: (a: number, b: number) => void;
|
|
4120
|
+
readonly __wbg_compactciphertextlist_free: (a: number, b: number) => void;
|
|
4121
|
+
readonly __wbg_provencompactciphertextlist_free: (a: number, b: number) => void;
|
|
4227
4122
|
readonly compactciphertextlist_builder: (a: number, b: number) => void;
|
|
4228
4123
|
readonly compactciphertextlist_expand: (a: number, b: number) => void;
|
|
4229
4124
|
readonly compactciphertextlist_serialize: (a: number, b: number) => void;
|
|
@@ -4293,41 +4188,76 @@ export interface InitOutput {
|
|
|
4293
4188
|
readonly compactciphertextlistexpander_get_int256: (a: number, b: number, c: number) => void;
|
|
4294
4189
|
readonly compactciphertextlistexpander_get_bool: (a: number, b: number, c: number) => void;
|
|
4295
4190
|
readonly init_panic_hook: () => void;
|
|
4296
|
-
readonly __wbg_tfheclientkey_free: (a: number) => void;
|
|
4191
|
+
readonly __wbg_tfheclientkey_free: (a: number, b: number) => void;
|
|
4297
4192
|
readonly tfheclientkey_generate: (a: number, b: number) => void;
|
|
4298
4193
|
readonly tfheclientkey_generate_with_seed: (a: number, b: number, c: number) => void;
|
|
4299
4194
|
readonly tfheclientkey_serialize: (a: number, b: number) => void;
|
|
4300
4195
|
readonly tfheclientkey_deserialize: (a: number, b: number, c: number) => void;
|
|
4301
|
-
readonly __wbg_tfhecompressedserverkey_free: (a: number) => void;
|
|
4196
|
+
readonly __wbg_tfhecompressedserverkey_free: (a: number, b: number) => void;
|
|
4302
4197
|
readonly tfhecompressedserverkey_new: (a: number, b: number) => void;
|
|
4303
4198
|
readonly tfhecompressedserverkey_serialize: (a: number, b: number) => void;
|
|
4304
4199
|
readonly tfhecompressedserverkey_deserialize: (a: number, b: number, c: number) => void;
|
|
4200
|
+
readonly __wbg_tfhepublickey_free: (a: number, b: number) => void;
|
|
4305
4201
|
readonly tfhepublickey_new: (a: number, b: number) => void;
|
|
4306
4202
|
readonly tfhepublickey_serialize: (a: number, b: number) => void;
|
|
4307
4203
|
readonly tfhepublickey_deserialize: (a: number, b: number, c: number) => void;
|
|
4204
|
+
readonly __wbg_tfhecompressedpublickey_free: (a: number, b: number) => void;
|
|
4308
4205
|
readonly tfhecompressedpublickey_new: (a: number, b: number) => void;
|
|
4309
4206
|
readonly tfhecompressedpublickey_decompress: (a: number, b: number) => void;
|
|
4310
4207
|
readonly tfhecompressedpublickey_serialize: (a: number, b: number) => void;
|
|
4311
4208
|
readonly tfhecompressedpublickey_deserialize: (a: number, b: number, c: number) => void;
|
|
4312
|
-
readonly __wbg_tfhecompactpublickey_free: (a: number) => void;
|
|
4209
|
+
readonly __wbg_tfhecompactpublickey_free: (a: number, b: number) => void;
|
|
4313
4210
|
readonly tfhecompactpublickey_new: (a: number, b: number) => void;
|
|
4314
4211
|
readonly tfhecompactpublickey_serialize: (a: number, b: number) => void;
|
|
4315
4212
|
readonly tfhecompactpublickey_deserialize: (a: number, b: number, c: number) => void;
|
|
4316
|
-
readonly __wbg_tfhecompressedcompactpublickey_free: (a: number) => void;
|
|
4213
|
+
readonly __wbg_tfhecompressedcompactpublickey_free: (a: number, b: number) => void;
|
|
4317
4214
|
readonly tfhecompressedcompactpublickey_new: (a: number, b: number) => void;
|
|
4318
4215
|
readonly tfhecompressedcompactpublickey_serialize: (a: number, b: number) => void;
|
|
4319
4216
|
readonly tfhecompressedcompactpublickey_deserialize: (a: number, b: number, c: number) => void;
|
|
4320
4217
|
readonly tfhecompressedcompactpublickey_decompress: (a: number, b: number) => void;
|
|
4321
|
-
readonly __wbg_compactpkecrs_free: (a: number) => void;
|
|
4218
|
+
readonly __wbg_compactpkecrs_free: (a: number, b: number) => void;
|
|
4322
4219
|
readonly compactpkepublicparams_serialize: (a: number, b: number, c: number) => void;
|
|
4323
4220
|
readonly compactpkepublicparams_deserialize: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
4324
4221
|
readonly compactpkecrs_from_parameters: (a: number, b: number, c: number) => void;
|
|
4325
4222
|
readonly compactpkecrs_from_config: (a: number, b: number, c: number) => void;
|
|
4326
4223
|
readonly compactpkecrs_public_params: (a: number) => number;
|
|
4327
|
-
readonly
|
|
4328
|
-
readonly
|
|
4329
|
-
readonly
|
|
4330
|
-
readonly
|
|
4224
|
+
readonly provencompactciphertextlist_builder: (a: number, b: number) => void;
|
|
4225
|
+
readonly __wbg_fheuint160_free: (a: number, b: number) => void;
|
|
4226
|
+
readonly __wbg_fheuint256_free: (a: number, b: number) => void;
|
|
4227
|
+
readonly __wbg_fheuint512_free: (a: number, b: number) => void;
|
|
4228
|
+
readonly __wbg_fheuint128_free: (a: number, b: number) => void;
|
|
4229
|
+
readonly __wbg_fheuint2048_free: (a: number, b: number) => void;
|
|
4230
|
+
readonly __wbg_fheuint1024_free: (a: number, b: number) => void;
|
|
4231
|
+
readonly __wbg_fheint160_free: (a: number, b: number) => void;
|
|
4232
|
+
readonly __wbg_fheint256_free: (a: number, b: number) => void;
|
|
4233
|
+
readonly __wbg_fheuint2_free: (a: number, b: number) => void;
|
|
4234
|
+
readonly __wbg_fheuint4_free: (a: number, b: number) => void;
|
|
4235
|
+
readonly __wbg_fheuint6_free: (a: number, b: number) => void;
|
|
4236
|
+
readonly __wbg_fheuint8_free: (a: number, b: number) => void;
|
|
4237
|
+
readonly __wbg_fheuint10_free: (a: number, b: number) => void;
|
|
4238
|
+
readonly __wbg_fheuint12_free: (a: number, b: number) => void;
|
|
4239
|
+
readonly __wbg_fheuint14_free: (a: number, b: number) => void;
|
|
4240
|
+
readonly __wbg_fheuint16_free: (a: number, b: number) => void;
|
|
4241
|
+
readonly __wbg_fheuint32_free: (a: number, b: number) => void;
|
|
4242
|
+
readonly __wbg_fheuint64_free: (a: number, b: number) => void;
|
|
4243
|
+
readonly __wbg_fheint2_free: (a: number, b: number) => void;
|
|
4244
|
+
readonly __wbg_fheint4_free: (a: number, b: number) => void;
|
|
4245
|
+
readonly __wbg_fheint6_free: (a: number, b: number) => void;
|
|
4246
|
+
readonly __wbg_fheint8_free: (a: number, b: number) => void;
|
|
4247
|
+
readonly __wbg_fheint128_free: (a: number, b: number) => void;
|
|
4248
|
+
readonly __wbg_fheint12_free: (a: number, b: number) => void;
|
|
4249
|
+
readonly __wbg_fheint14_free: (a: number, b: number) => void;
|
|
4250
|
+
readonly __wbg_fheint16_free: (a: number, b: number) => void;
|
|
4251
|
+
readonly __wbg_fheint32_free: (a: number, b: number) => void;
|
|
4252
|
+
readonly __wbg_fheint64_free: (a: number, b: number) => void;
|
|
4253
|
+
readonly fheuint256_decrypt: (a: number, b: number, c: number) => void;
|
|
4254
|
+
readonly fheuint4_decrypt: (a: number, b: number, c: number) => void;
|
|
4255
|
+
readonly fheuint6_decrypt: (a: number, b: number, c: number) => void;
|
|
4256
|
+
readonly fheuint8_decrypt: (a: number, b: number, c: number) => void;
|
|
4257
|
+
readonly fheuint12_decrypt: (a: number, b: number, c: number) => void;
|
|
4258
|
+
readonly fheuint14_decrypt: (a: number, b: number, c: number) => void;
|
|
4259
|
+
readonly fheuint16_decrypt: (a: number, b: number, c: number) => void;
|
|
4260
|
+
readonly __wbg_compactpkepublicparams_free: (a: number, b: number) => void;
|
|
4331
4261
|
readonly fheint256_decrypt: (a: number, b: number, c: number) => void;
|
|
4332
4262
|
readonly fheint4_decrypt: (a: number, b: number, c: number) => void;
|
|
4333
4263
|
readonly fheint6_decrypt: (a: number, b: number, c: number) => void;
|
|
@@ -4335,70 +4265,140 @@ export interface InitOutput {
|
|
|
4335
4265
|
readonly fheint12_decrypt: (a: number, b: number, c: number) => void;
|
|
4336
4266
|
readonly fheint14_decrypt: (a: number, b: number, c: number) => void;
|
|
4337
4267
|
readonly fheint16_decrypt: (a: number, b: number, c: number) => void;
|
|
4338
|
-
readonly
|
|
4268
|
+
readonly __wbg_compressedfheuint160_free: (a: number, b: number) => void;
|
|
4269
|
+
readonly __wbg_compressedfheuint256_free: (a: number, b: number) => void;
|
|
4270
|
+
readonly __wbg_compressedfheuint512_free: (a: number, b: number) => void;
|
|
4271
|
+
readonly __wbg_compressedfheuint128_free: (a: number, b: number) => void;
|
|
4272
|
+
readonly __wbg_compressedfheuint2048_free: (a: number, b: number) => void;
|
|
4273
|
+
readonly __wbg_compressedfheuint1024_free: (a: number, b: number) => void;
|
|
4274
|
+
readonly __wbg_compressedfheint160_free: (a: number, b: number) => void;
|
|
4275
|
+
readonly __wbg_compressedfheint256_free: (a: number, b: number) => void;
|
|
4276
|
+
readonly __wbg_compressedfheuint2_free: (a: number, b: number) => void;
|
|
4277
|
+
readonly __wbg_compressedfheuint4_free: (a: number, b: number) => void;
|
|
4278
|
+
readonly __wbg_compressedfheuint6_free: (a: number, b: number) => void;
|
|
4279
|
+
readonly __wbg_compressedfheuint8_free: (a: number, b: number) => void;
|
|
4280
|
+
readonly __wbg_compressedfheuint10_free: (a: number, b: number) => void;
|
|
4281
|
+
readonly __wbg_compressedfheuint12_free: (a: number, b: number) => void;
|
|
4282
|
+
readonly __wbg_compressedfheuint14_free: (a: number, b: number) => void;
|
|
4283
|
+
readonly __wbg_compressedfheuint16_free: (a: number, b: number) => void;
|
|
4284
|
+
readonly __wbg_compressedfheuint32_free: (a: number, b: number) => void;
|
|
4285
|
+
readonly __wbg_compressedfheuint64_free: (a: number, b: number) => void;
|
|
4286
|
+
readonly __wbg_compressedfheint2_free: (a: number, b: number) => void;
|
|
4287
|
+
readonly __wbg_compressedfheint4_free: (a: number, b: number) => void;
|
|
4288
|
+
readonly __wbg_compressedfheint6_free: (a: number, b: number) => void;
|
|
4289
|
+
readonly __wbg_compressedfheint8_free: (a: number, b: number) => void;
|
|
4290
|
+
readonly __wbg_compressedfheint128_free: (a: number, b: number) => void;
|
|
4291
|
+
readonly __wbg_compressedfheint12_free: (a: number, b: number) => void;
|
|
4292
|
+
readonly __wbg_compressedfheint14_free: (a: number, b: number) => void;
|
|
4293
|
+
readonly __wbg_compressedfheint16_free: (a: number, b: number) => void;
|
|
4294
|
+
readonly __wbg_compressedfheint32_free: (a: number, b: number) => void;
|
|
4295
|
+
readonly __wbg_compressedfheint64_free: (a: number, b: number) => void;
|
|
4296
|
+
readonly __wbg_shortintciphertext_free: (a: number, b: number) => void;
|
|
4297
|
+
readonly __wbg_shortintclientkey_free: (a: number, b: number) => void;
|
|
4298
|
+
readonly __wbg_shortintpublickey_free: (a: number, b: number) => void;
|
|
4299
|
+
readonly __wbg_shortintcompressedpublickey_free: (a: number, b: number) => void;
|
|
4300
|
+
readonly __wbg_shortintcompressedserverkey_free: (a: number, b: number) => void;
|
|
4301
|
+
readonly __wbg_shortintparameters_free: (a: number, b: number) => void;
|
|
4302
|
+
readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number, b: number) => void;
|
|
4303
|
+
readonly shortintparameters_lwe_dimension: (a: number) => number;
|
|
4304
|
+
readonly shortintparameters_set_lwe_dimension: (a: number, b: number) => void;
|
|
4305
|
+
readonly shortintparameters_glwe_dimension: (a: number) => number;
|
|
4306
|
+
readonly shortintparameters_set_glwe_dimension: (a: number, b: number) => void;
|
|
4307
|
+
readonly shortintparameters_polynomial_size: (a: number) => number;
|
|
4308
|
+
readonly shortintparameters_set_polynomial_size: (a: number, b: number) => void;
|
|
4309
|
+
readonly shortintparameters_set_lwe_noise_distribution: (a: number, b: number) => void;
|
|
4310
|
+
readonly shortintparameters_glwe_noise_distribution: (a: number) => number;
|
|
4311
|
+
readonly shortintparameters_set_glwe_noise_distribution: (a: number, b: number) => void;
|
|
4312
|
+
readonly shortintparameters_pbs_base_log: (a: number) => number;
|
|
4313
|
+
readonly shortintparameters_set_pbs_base_log: (a: number, b: number) => void;
|
|
4314
|
+
readonly shortintparameters_pbs_level: (a: number) => number;
|
|
4315
|
+
readonly shortintparameters_set_pbs_level: (a: number, b: number) => void;
|
|
4316
|
+
readonly shortintparameters_ks_base_log: (a: number) => number;
|
|
4317
|
+
readonly shortintparameters_set_ks_base_log: (a: number, b: number) => void;
|
|
4318
|
+
readonly shortintparameters_ks_level: (a: number) => number;
|
|
4319
|
+
readonly shortintparameters_set_ks_level: (a: number, b: number) => void;
|
|
4320
|
+
readonly shortintparameters_message_modulus: (a: number) => number;
|
|
4321
|
+
readonly shortintparameters_set_message_modulus: (a: number, b: number) => void;
|
|
4322
|
+
readonly shortintparameters_carry_modulus: (a: number) => number;
|
|
4323
|
+
readonly shortintparameters_set_carry_modulus: (a: number, b: number) => void;
|
|
4324
|
+
readonly shortintparameters_encryption_key_choice: (a: number) => number;
|
|
4325
|
+
readonly shortintparameters_set_encryption_key_choice: (a: number, b: number) => void;
|
|
4326
|
+
readonly shortintcompactpublickeyencryptionparameters_new: (a: number) => number;
|
|
4327
|
+
readonly shortintparameters_new: (a: number) => number;
|
|
4328
|
+
readonly shortint_get_parameters: (a: number, b: number, c: number) => void;
|
|
4329
|
+
readonly shortint_get_parameters_small: (a: number, b: number, c: number) => void;
|
|
4330
|
+
readonly shortint_try_new_t_uniform: (a: number, b: number) => void;
|
|
4331
|
+
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;
|
|
4332
|
+
readonly shortint_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
|
|
4333
|
+
readonly shortint_new_client_key: (a: number) => number;
|
|
4334
|
+
readonly shortint_new_public_key: (a: number) => number;
|
|
4335
|
+
readonly shortint_new_compressed_public_key: (a: number) => number;
|
|
4336
|
+
readonly shortint_new_compressed_server_key: (a: number) => number;
|
|
4337
|
+
readonly shortint_encrypt: (a: number, b: number) => number;
|
|
4338
|
+
readonly shortint_encrypt_compressed: (a: number, b: number) => number;
|
|
4339
|
+
readonly shortint_decompress_ciphertext: (a: number) => number;
|
|
4340
|
+
readonly shortint_encrypt_with_public_key: (a: number, b: number) => number;
|
|
4341
|
+
readonly shortint_encrypt_with_compressed_public_key: (a: number, b: number) => number;
|
|
4342
|
+
readonly shortint_decrypt: (a: number, b: number) => number;
|
|
4343
|
+
readonly shortint_serialize_ciphertext: (a: number, b: number) => void;
|
|
4344
|
+
readonly shortint_deserialize_ciphertext: (a: number, b: number, c: number) => void;
|
|
4345
|
+
readonly shortint_serialize_compressed_ciphertext: (a: number, b: number) => void;
|
|
4346
|
+
readonly shortint_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
|
|
4347
|
+
readonly shortint_serialize_client_key: (a: number, b: number) => void;
|
|
4348
|
+
readonly shortint_deserialize_client_key: (a: number, b: number, c: number) => void;
|
|
4349
|
+
readonly shortint_serialize_public_key: (a: number, b: number) => void;
|
|
4350
|
+
readonly shortint_deserialize_public_key: (a: number, b: number, c: number) => void;
|
|
4351
|
+
readonly shortint_serialize_compressed_public_key: (a: number, b: number) => void;
|
|
4352
|
+
readonly shortint_deserialize_compressed_public_key: (a: number, b: number, c: number) => void;
|
|
4353
|
+
readonly shortint_serialize_compressed_server_key: (a: number, b: number) => void;
|
|
4354
|
+
readonly shortint_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
|
|
4355
|
+
readonly __wbg_booleanciphertext_free: (a: number, b: number) => void;
|
|
4356
|
+
readonly __wbg_booleancompressedciphertext_free: (a: number, b: number) => void;
|
|
4357
|
+
readonly __wbg_booleanclientkey_free: (a: number, b: number) => void;
|
|
4358
|
+
readonly __wbg_booleanpublickey_free: (a: number, b: number) => void;
|
|
4359
|
+
readonly __wbg_booleancompressedserverkey_free: (a: number, b: number) => void;
|
|
4360
|
+
readonly __wbg_boolean_free: (a: number, b: number) => void;
|
|
4361
|
+
readonly __wbg_booleanparameters_free: (a: number, b: number) => void;
|
|
4362
|
+
readonly __wbg_booleannoisedistribution_free: (a: number, b: number) => void;
|
|
4363
|
+
readonly boolean_get_parameters: (a: number, b: number) => void;
|
|
4364
|
+
readonly boolean_new_gaussian_from_std_dev: (a: number) => number;
|
|
4365
|
+
readonly boolean_try_new_t_uniform: (a: number, b: number) => void;
|
|
4366
|
+
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;
|
|
4367
|
+
readonly boolean_new_client_key_from_seed_and_parameters: (a: number, b: number, c: number) => number;
|
|
4368
|
+
readonly boolean_new_client_key: (a: number) => number;
|
|
4369
|
+
readonly boolean_new_public_key: (a: number) => number;
|
|
4370
|
+
readonly boolean_new_compressed_server_key: (a: number) => number;
|
|
4371
|
+
readonly boolean_encrypt: (a: number, b: number) => number;
|
|
4372
|
+
readonly boolean_encrypt_compressed: (a: number, b: number) => number;
|
|
4373
|
+
readonly boolean_decompress_ciphertext: (a: number) => number;
|
|
4374
|
+
readonly boolean_encrypt_with_public_key: (a: number, b: number) => number;
|
|
4375
|
+
readonly boolean_trivial_encrypt: (a: number) => number;
|
|
4376
|
+
readonly boolean_decrypt: (a: number, b: number) => number;
|
|
4377
|
+
readonly boolean_serialize_ciphertext: (a: number, b: number) => void;
|
|
4378
|
+
readonly boolean_deserialize_ciphertext: (a: number, b: number, c: number) => void;
|
|
4379
|
+
readonly boolean_serialize_compressed_ciphertext: (a: number, b: number) => void;
|
|
4380
|
+
readonly boolean_deserialize_compressed_ciphertext: (a: number, b: number, c: number) => void;
|
|
4381
|
+
readonly boolean_serialize_client_key: (a: number, b: number) => void;
|
|
4382
|
+
readonly boolean_deserialize_client_key: (a: number, b: number, c: number) => void;
|
|
4383
|
+
readonly boolean_serialize_public_key: (a: number, b: number) => void;
|
|
4384
|
+
readonly boolean_deserialize_public_key: (a: number, b: number, c: number) => void;
|
|
4385
|
+
readonly boolean_serialize_compressed_server_key: (a: number, b: number) => void;
|
|
4386
|
+
readonly boolean_deserialize_compressed_server_key: (a: number, b: number, c: number) => void;
|
|
4387
|
+
readonly __wbg_tfheconfig_free: (a: number, b: number) => void;
|
|
4388
|
+
readonly __wbg_tfheconfigbuilder_free: (a: number, b: number) => void;
|
|
4389
|
+
readonly tfheconfigbuilder_default: () => number;
|
|
4390
|
+
readonly tfheconfigbuilder_default_with_small_encryption: () => number;
|
|
4391
|
+
readonly tfheconfigbuilder_use_custom_parameters: (a: number, b: number) => number;
|
|
4392
|
+
readonly tfheconfigbuilder_use_dedicated_compact_public_key_parameters: (a: number, b: number) => number;
|
|
4393
|
+
readonly tfheconfigbuilder_build: (a: number) => number;
|
|
4339
4394
|
readonly tfheconfigbuilder_default_with_big_encryption: () => number;
|
|
4340
|
-
readonly
|
|
4341
|
-
readonly __wbg_shortintcompressedciphertext_free: (a: number) => void;
|
|
4342
|
-
readonly
|
|
4343
|
-
readonly
|
|
4344
|
-
readonly
|
|
4345
|
-
readonly
|
|
4346
|
-
readonly
|
|
4347
|
-
readonly __wbg_fheuint512_free: (a: number) => void;
|
|
4348
|
-
readonly __wbg_fheuint128_free: (a: number) => void;
|
|
4349
|
-
readonly __wbg_fheuint2048_free: (a: number) => void;
|
|
4350
|
-
readonly __wbg_fheuint1024_free: (a: number) => void;
|
|
4351
|
-
readonly __wbg_fheint160_free: (a: number) => void;
|
|
4352
|
-
readonly __wbg_fheint256_free: (a: number) => void;
|
|
4353
|
-
readonly __wbg_fheuint2_free: (a: number) => void;
|
|
4354
|
-
readonly __wbg_fheuint4_free: (a: number) => void;
|
|
4355
|
-
readonly __wbg_fheuint6_free: (a: number) => void;
|
|
4356
|
-
readonly __wbg_fheuint8_free: (a: number) => void;
|
|
4357
|
-
readonly __wbg_fheuint10_free: (a: number) => void;
|
|
4358
|
-
readonly __wbg_fheuint12_free: (a: number) => void;
|
|
4359
|
-
readonly __wbg_fheuint14_free: (a: number) => void;
|
|
4360
|
-
readonly __wbg_fheuint16_free: (a: number) => void;
|
|
4361
|
-
readonly __wbg_fheuint32_free: (a: number) => void;
|
|
4362
|
-
readonly __wbg_fheuint64_free: (a: number) => void;
|
|
4363
|
-
readonly __wbg_fheint2_free: (a: number) => void;
|
|
4364
|
-
readonly __wbg_fheint4_free: (a: number) => void;
|
|
4365
|
-
readonly __wbg_fheint6_free: (a: number) => void;
|
|
4366
|
-
readonly __wbg_fheint8_free: (a: number) => void;
|
|
4367
|
-
readonly __wbg_fheint128_free: (a: number) => void;
|
|
4368
|
-
readonly __wbg_fheint12_free: (a: number) => void;
|
|
4369
|
-
readonly __wbg_fheint14_free: (a: number) => void;
|
|
4370
|
-
readonly __wbg_fheint16_free: (a: number) => void;
|
|
4371
|
-
readonly __wbg_fheint32_free: (a: number) => void;
|
|
4372
|
-
readonly __wbg_fheint64_free: (a: number) => void;
|
|
4373
|
-
readonly __wbg_compressedfheuint160_free: (a: number) => void;
|
|
4374
|
-
readonly __wbg_compressedfheuint256_free: (a: number) => void;
|
|
4375
|
-
readonly __wbg_compressedfheuint512_free: (a: number) => void;
|
|
4376
|
-
readonly __wbg_compressedfheuint128_free: (a: number) => void;
|
|
4377
|
-
readonly __wbg_compressedfheuint2048_free: (a: number) => void;
|
|
4378
|
-
readonly __wbg_compressedfheuint1024_free: (a: number) => void;
|
|
4379
|
-
readonly __wbg_compressedfheint160_free: (a: number) => void;
|
|
4380
|
-
readonly __wbg_compressedfheint256_free: (a: number) => void;
|
|
4381
|
-
readonly __wbg_compressedfheuint2_free: (a: number) => void;
|
|
4382
|
-
readonly __wbg_compressedfheuint4_free: (a: number) => void;
|
|
4383
|
-
readonly __wbg_compressedfheuint6_free: (a: number) => void;
|
|
4384
|
-
readonly __wbg_compressedfheuint8_free: (a: number) => void;
|
|
4385
|
-
readonly __wbg_compressedfheuint10_free: (a: number) => void;
|
|
4386
|
-
readonly __wbg_compressedfheuint12_free: (a: number) => void;
|
|
4387
|
-
readonly __wbg_compressedfheuint14_free: (a: number) => void;
|
|
4388
|
-
readonly __wbg_compressedfheuint16_free: (a: number) => void;
|
|
4389
|
-
readonly __wbg_compressedfheuint32_free: (a: number) => void;
|
|
4390
|
-
readonly __wbg_compressedfheuint64_free: (a: number) => void;
|
|
4391
|
-
readonly __wbg_compressedfheint2_free: (a: number) => void;
|
|
4392
|
-
readonly __wbg_compressedfheint4_free: (a: number) => void;
|
|
4393
|
-
readonly __wbg_compressedfheint6_free: (a: number) => void;
|
|
4394
|
-
readonly __wbg_compressedfheint8_free: (a: number) => void;
|
|
4395
|
-
readonly __wbg_compressedfheint128_free: (a: number) => void;
|
|
4396
|
-
readonly __wbg_compressedfheint12_free: (a: number) => void;
|
|
4397
|
-
readonly __wbg_compressedfheint14_free: (a: number) => void;
|
|
4398
|
-
readonly __wbg_compressedfheint16_free: (a: number) => void;
|
|
4399
|
-
readonly __wbg_compressedfheint32_free: (a: number) => void;
|
|
4400
|
-
readonly __wbg_compressedfheint64_free: (a: number) => void;
|
|
4401
|
-
readonly __wbg_wbg_rayon_poolbuilder_free: (a: number) => void;
|
|
4395
|
+
readonly shortintparameters_lwe_noise_distribution: (a: number) => number;
|
|
4396
|
+
readonly __wbg_shortintcompressedciphertext_free: (a: number, b: number) => void;
|
|
4397
|
+
readonly __wbg_shortint_free: (a: number, b: number) => void;
|
|
4398
|
+
readonly __wbg_shortintnoisedistribution_free: (a: number, b: number) => void;
|
|
4399
|
+
readonly __wbg_tfhe_free: (a: number, b: number) => void;
|
|
4400
|
+
readonly shortint_new_gaussian_from_std_dev: (a: number) => number;
|
|
4401
|
+
readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
|
|
4402
4402
|
readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|
|
4403
4403
|
readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
|
|
4404
4404
|
readonly wbg_rayon_poolbuilder_build: (a: number) => void;
|
|
@@ -4410,8 +4410,8 @@ export interface InitOutput {
|
|
|
4410
4410
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
4411
4411
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
4412
4412
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
4413
|
-
readonly __wbindgen_thread_destroy: (a?: number, b?: number) => void;
|
|
4414
|
-
readonly __wbindgen_start: () => void;
|
|
4413
|
+
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
4414
|
+
readonly __wbindgen_start: (a: number) => void;
|
|
4415
4415
|
}
|
|
4416
4416
|
|
|
4417
4417
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
@@ -4419,20 +4419,20 @@ export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
|
4419
4419
|
* Instantiates the given `module`, which can either be bytes or
|
|
4420
4420
|
* a precompiled `WebAssembly.Module`.
|
|
4421
4421
|
*
|
|
4422
|
-
* @param {SyncInitInput} module
|
|
4423
|
-
* @param {WebAssembly.Memory}
|
|
4422
|
+
* @param {{ module: SyncInitInput, memory?: WebAssembly.Memory, thread_stack_size?: number }} module - Passing `SyncInitInput` directly is deprecated.
|
|
4423
|
+
* @param {WebAssembly.Memory} memory - Deprecated.
|
|
4424
4424
|
*
|
|
4425
4425
|
* @returns {InitOutput}
|
|
4426
4426
|
*/
|
|
4427
|
-
export function initSync(module: SyncInitInput,
|
|
4427
|
+
export function initSync(module: { module: SyncInitInput, memory?: WebAssembly.Memory, thread_stack_size?: number } | SyncInitInput, memory?: WebAssembly.Memory): InitOutput;
|
|
4428
4428
|
|
|
4429
4429
|
/**
|
|
4430
4430
|
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
4431
4431
|
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
4432
4432
|
*
|
|
4433
|
-
* @param {InitInput | Promise<InitInput
|
|
4434
|
-
* @param {WebAssembly.Memory}
|
|
4433
|
+
* @param {{ module_or_path: InitInput | Promise<InitInput>, memory?: WebAssembly.Memory, thread_stack_size?: number }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
4434
|
+
* @param {WebAssembly.Memory} memory - Deprecated.
|
|
4435
4435
|
*
|
|
4436
4436
|
* @returns {Promise<InitOutput>}
|
|
4437
4437
|
*/
|
|
4438
|
-
export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>,
|
|
4438
|
+
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput>, memory?: WebAssembly.Memory, thread_stack_size?: number } | InitInput | Promise<InitInput>, memory?: WebAssembly.Memory): Promise<InitOutput>;
|