tfhe 1.5.4 → 1.5.5
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 +65 -65
- package/tfhe.js +240 -437
- package/tfhe_bg.wasm +0 -0
package/package.json
CHANGED
package/tfhe.d.ts
CHANGED
|
@@ -3328,6 +3328,71 @@ export function wbg_rayon_start_worker(receiver: number): void;
|
|
|
3328
3328
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
3329
3329
|
|
|
3330
3330
|
export interface InitOutput {
|
|
3331
|
+
readonly __wbg_shortint_free: (a: number, b: number) => void;
|
|
3332
|
+
readonly __wbg_shortintciphertext_free: (a: number, b: number) => void;
|
|
3333
|
+
readonly __wbg_shortintclientkey_free: (a: number, b: number) => void;
|
|
3334
|
+
readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number, b: number) => void;
|
|
3335
|
+
readonly __wbg_shortintcompressedciphertext_free: (a: number, b: number) => void;
|
|
3336
|
+
readonly __wbg_shortintcompressedpublickey_free: (a: number, b: number) => void;
|
|
3337
|
+
readonly __wbg_shortintcompressedserverkey_free: (a: number, b: number) => void;
|
|
3338
|
+
readonly __wbg_shortintnoisedistribution_free: (a: number, b: number) => void;
|
|
3339
|
+
readonly __wbg_shortintparameters_free: (a: number, b: number) => void;
|
|
3340
|
+
readonly __wbg_shortintpublickey_free: (a: number, b: number) => void;
|
|
3341
|
+
readonly shortint_decompress_ciphertext: (a: number) => number;
|
|
3342
|
+
readonly shortint_decrypt: (a: number, b: number) => bigint;
|
|
3343
|
+
readonly shortint_deserialize_ciphertext: (a: number, b: number) => [number, number, number];
|
|
3344
|
+
readonly shortint_deserialize_client_key: (a: number, b: number) => [number, number, number];
|
|
3345
|
+
readonly shortint_deserialize_compressed_ciphertext: (a: number, b: number) => [number, number, number];
|
|
3346
|
+
readonly shortint_deserialize_compressed_public_key: (a: number, b: number) => [number, number, number];
|
|
3347
|
+
readonly shortint_deserialize_compressed_server_key: (a: number, b: number) => [number, number, number];
|
|
3348
|
+
readonly shortint_deserialize_public_key: (a: number, b: number) => [number, number, number];
|
|
3349
|
+
readonly shortint_encrypt: (a: number, b: bigint) => number;
|
|
3350
|
+
readonly shortint_encrypt_compressed: (a: number, b: bigint) => number;
|
|
3351
|
+
readonly shortint_encrypt_with_compressed_public_key: (a: number, b: bigint) => number;
|
|
3352
|
+
readonly shortint_encrypt_with_public_key: (a: number, b: bigint) => number;
|
|
3353
|
+
readonly shortint_new_client_key: (a: number) => number;
|
|
3354
|
+
readonly shortint_new_client_key_from_seed_and_parameters: (a: bigint, b: bigint, c: number) => number;
|
|
3355
|
+
readonly shortint_new_compressed_public_key: (a: number) => number;
|
|
3356
|
+
readonly shortint_new_compressed_server_key: (a: number) => number;
|
|
3357
|
+
readonly shortint_new_gaussian_from_std_dev: (a: number) => number;
|
|
3358
|
+
readonly shortint_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: bigint, k: bigint, l: bigint, m: number, n: number, o: number) => number;
|
|
3359
|
+
readonly shortint_new_public_key: (a: number) => number;
|
|
3360
|
+
readonly shortint_params_name: (a: number) => [number, number, number, number];
|
|
3361
|
+
readonly shortint_pke_params_name: (a: number) => [number, number];
|
|
3362
|
+
readonly shortint_serialize_ciphertext: (a: number) => [number, number, number, number];
|
|
3363
|
+
readonly shortint_serialize_client_key: (a: number) => [number, number, number, number];
|
|
3364
|
+
readonly shortint_serialize_compressed_ciphertext: (a: number) => [number, number, number, number];
|
|
3365
|
+
readonly shortint_serialize_compressed_public_key: (a: number) => [number, number, number, number];
|
|
3366
|
+
readonly shortint_serialize_compressed_server_key: (a: number) => [number, number, number, number];
|
|
3367
|
+
readonly shortint_serialize_public_key: (a: number) => [number, number, number, number];
|
|
3368
|
+
readonly shortint_try_new_t_uniform: (a: number) => [number, number, number];
|
|
3369
|
+
readonly shortintcompactpublickeyencryptionparameters_new: (a: number) => number;
|
|
3370
|
+
readonly shortintcompactpublickeyencryptionparameters_new_parameters: (a: number, b: number, c: bigint, d: bigint, e: number, f: number, g: number, h: number) => [number, number, number];
|
|
3371
|
+
readonly shortintparameters_carry_modulus: (a: number) => bigint;
|
|
3372
|
+
readonly shortintparameters_encryption_key_choice: (a: number) => number;
|
|
3373
|
+
readonly shortintparameters_glwe_dimension: (a: number) => number;
|
|
3374
|
+
readonly shortintparameters_glwe_noise_distribution: (a: number) => number;
|
|
3375
|
+
readonly shortintparameters_ks_base_log: (a: number) => number;
|
|
3376
|
+
readonly shortintparameters_ks_level: (a: number) => number;
|
|
3377
|
+
readonly shortintparameters_lwe_dimension: (a: number) => number;
|
|
3378
|
+
readonly shortintparameters_message_modulus: (a: number) => bigint;
|
|
3379
|
+
readonly shortintparameters_new: (a: number) => [number, number, number];
|
|
3380
|
+
readonly shortintparameters_pbs_base_log: (a: number) => number;
|
|
3381
|
+
readonly shortintparameters_pbs_level: (a: number) => number;
|
|
3382
|
+
readonly shortintparameters_polynomial_size: (a: number) => number;
|
|
3383
|
+
readonly shortintparameters_set_carry_modulus: (a: number, b: bigint) => void;
|
|
3384
|
+
readonly shortintparameters_set_encryption_key_choice: (a: number, b: number) => void;
|
|
3385
|
+
readonly shortintparameters_set_glwe_dimension: (a: number, b: number) => void;
|
|
3386
|
+
readonly shortintparameters_set_glwe_noise_distribution: (a: number, b: number) => void;
|
|
3387
|
+
readonly shortintparameters_set_ks_base_log: (a: number, b: number) => void;
|
|
3388
|
+
readonly shortintparameters_set_ks_level: (a: number, b: number) => void;
|
|
3389
|
+
readonly shortintparameters_set_lwe_dimension: (a: number, b: number) => void;
|
|
3390
|
+
readonly shortintparameters_set_lwe_noise_distribution: (a: number, b: number) => void;
|
|
3391
|
+
readonly shortintparameters_set_message_modulus: (a: number, b: bigint) => void;
|
|
3392
|
+
readonly shortintparameters_set_pbs_base_log: (a: number, b: number) => void;
|
|
3393
|
+
readonly shortintparameters_set_pbs_level: (a: number, b: number) => void;
|
|
3394
|
+
readonly shortintparameters_set_polynomial_size: (a: number, b: number) => void;
|
|
3395
|
+
readonly shortintparameters_lwe_noise_distribution: (a: number) => number;
|
|
3331
3396
|
readonly __wbg_compactciphertextlist_free: (a: number, b: number) => void;
|
|
3332
3397
|
readonly __wbg_compactciphertextlistbuilder_free: (a: number, b: number) => void;
|
|
3333
3398
|
readonly __wbg_compactciphertextlistexpander_free: (a: number, b: number) => void;
|
|
@@ -4944,71 +5009,6 @@ export interface InitOutput {
|
|
|
4944
5009
|
readonly tfhepublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
|
|
4945
5010
|
readonly tfhepublickey_serialize: (a: number) => [number, number, number, number];
|
|
4946
5011
|
readonly tfheserverkey_new: (a: number) => [number, number, number];
|
|
4947
|
-
readonly __wbg_shortint_free: (a: number, b: number) => void;
|
|
4948
|
-
readonly __wbg_shortintciphertext_free: (a: number, b: number) => void;
|
|
4949
|
-
readonly __wbg_shortintclientkey_free: (a: number, b: number) => void;
|
|
4950
|
-
readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number, b: number) => void;
|
|
4951
|
-
readonly __wbg_shortintcompressedciphertext_free: (a: number, b: number) => void;
|
|
4952
|
-
readonly __wbg_shortintcompressedpublickey_free: (a: number, b: number) => void;
|
|
4953
|
-
readonly __wbg_shortintcompressedserverkey_free: (a: number, b: number) => void;
|
|
4954
|
-
readonly __wbg_shortintnoisedistribution_free: (a: number, b: number) => void;
|
|
4955
|
-
readonly __wbg_shortintparameters_free: (a: number, b: number) => void;
|
|
4956
|
-
readonly __wbg_shortintpublickey_free: (a: number, b: number) => void;
|
|
4957
|
-
readonly shortint_decompress_ciphertext: (a: number) => number;
|
|
4958
|
-
readonly shortint_decrypt: (a: number, b: number) => bigint;
|
|
4959
|
-
readonly shortint_deserialize_ciphertext: (a: number, b: number) => [number, number, number];
|
|
4960
|
-
readonly shortint_deserialize_client_key: (a: number, b: number) => [number, number, number];
|
|
4961
|
-
readonly shortint_deserialize_compressed_ciphertext: (a: number, b: number) => [number, number, number];
|
|
4962
|
-
readonly shortint_deserialize_compressed_public_key: (a: number, b: number) => [number, number, number];
|
|
4963
|
-
readonly shortint_deserialize_compressed_server_key: (a: number, b: number) => [number, number, number];
|
|
4964
|
-
readonly shortint_deserialize_public_key: (a: number, b: number) => [number, number, number];
|
|
4965
|
-
readonly shortint_encrypt: (a: number, b: bigint) => number;
|
|
4966
|
-
readonly shortint_encrypt_compressed: (a: number, b: bigint) => number;
|
|
4967
|
-
readonly shortint_encrypt_with_compressed_public_key: (a: number, b: bigint) => number;
|
|
4968
|
-
readonly shortint_encrypt_with_public_key: (a: number, b: bigint) => number;
|
|
4969
|
-
readonly shortint_new_client_key: (a: number) => number;
|
|
4970
|
-
readonly shortint_new_client_key_from_seed_and_parameters: (a: bigint, b: bigint, c: number) => number;
|
|
4971
|
-
readonly shortint_new_compressed_public_key: (a: number) => number;
|
|
4972
|
-
readonly shortint_new_compressed_server_key: (a: number) => number;
|
|
4973
|
-
readonly shortint_new_gaussian_from_std_dev: (a: number) => number;
|
|
4974
|
-
readonly shortint_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: bigint, k: bigint, l: bigint, m: number, n: number, o: number) => number;
|
|
4975
|
-
readonly shortint_new_public_key: (a: number) => number;
|
|
4976
|
-
readonly shortint_params_name: (a: number) => [number, number, number, number];
|
|
4977
|
-
readonly shortint_pke_params_name: (a: number) => [number, number];
|
|
4978
|
-
readonly shortint_serialize_ciphertext: (a: number) => [number, number, number, number];
|
|
4979
|
-
readonly shortint_serialize_client_key: (a: number) => [number, number, number, number];
|
|
4980
|
-
readonly shortint_serialize_compressed_ciphertext: (a: number) => [number, number, number, number];
|
|
4981
|
-
readonly shortint_serialize_compressed_public_key: (a: number) => [number, number, number, number];
|
|
4982
|
-
readonly shortint_serialize_compressed_server_key: (a: number) => [number, number, number, number];
|
|
4983
|
-
readonly shortint_serialize_public_key: (a: number) => [number, number, number, number];
|
|
4984
|
-
readonly shortint_try_new_t_uniform: (a: number) => [number, number, number];
|
|
4985
|
-
readonly shortintcompactpublickeyencryptionparameters_new: (a: number) => number;
|
|
4986
|
-
readonly shortintcompactpublickeyencryptionparameters_new_parameters: (a: number, b: number, c: bigint, d: bigint, e: number, f: number, g: number, h: number) => [number, number, number];
|
|
4987
|
-
readonly shortintparameters_carry_modulus: (a: number) => bigint;
|
|
4988
|
-
readonly shortintparameters_encryption_key_choice: (a: number) => number;
|
|
4989
|
-
readonly shortintparameters_glwe_dimension: (a: number) => number;
|
|
4990
|
-
readonly shortintparameters_glwe_noise_distribution: (a: number) => number;
|
|
4991
|
-
readonly shortintparameters_ks_base_log: (a: number) => number;
|
|
4992
|
-
readonly shortintparameters_ks_level: (a: number) => number;
|
|
4993
|
-
readonly shortintparameters_lwe_dimension: (a: number) => number;
|
|
4994
|
-
readonly shortintparameters_message_modulus: (a: number) => bigint;
|
|
4995
|
-
readonly shortintparameters_new: (a: number) => [number, number, number];
|
|
4996
|
-
readonly shortintparameters_pbs_base_log: (a: number) => number;
|
|
4997
|
-
readonly shortintparameters_pbs_level: (a: number) => number;
|
|
4998
|
-
readonly shortintparameters_polynomial_size: (a: number) => number;
|
|
4999
|
-
readonly shortintparameters_set_carry_modulus: (a: number, b: bigint) => void;
|
|
5000
|
-
readonly shortintparameters_set_encryption_key_choice: (a: number, b: number) => void;
|
|
5001
|
-
readonly shortintparameters_set_glwe_dimension: (a: number, b: number) => void;
|
|
5002
|
-
readonly shortintparameters_set_glwe_noise_distribution: (a: number, b: number) => void;
|
|
5003
|
-
readonly shortintparameters_set_ks_base_log: (a: number, b: number) => void;
|
|
5004
|
-
readonly shortintparameters_set_ks_level: (a: number, b: number) => void;
|
|
5005
|
-
readonly shortintparameters_set_lwe_dimension: (a: number, b: number) => void;
|
|
5006
|
-
readonly shortintparameters_set_lwe_noise_distribution: (a: number, b: number) => void;
|
|
5007
|
-
readonly shortintparameters_set_message_modulus: (a: number, b: bigint) => void;
|
|
5008
|
-
readonly shortintparameters_set_pbs_base_log: (a: number, b: number) => void;
|
|
5009
|
-
readonly shortintparameters_set_pbs_level: (a: number, b: number) => void;
|
|
5010
|
-
readonly shortintparameters_set_polynomial_size: (a: number, b: number) => void;
|
|
5011
|
-
readonly shortintparameters_lwe_noise_distribution: (a: number) => number;
|
|
5012
5012
|
readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
|
|
5013
5013
|
readonly wbg_rayon_poolbuilder_build: (a: number) => void;
|
|
5014
5014
|
readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|