@inco/lightning-js 0.0.0-bootstrap.0
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/LICENSE +201 -0
- package/README.md +587 -0
- package/dist/cjs/advancedacl/index.d.ts +2 -0
- package/dist/cjs/advancedacl/index.js +19 -0
- package/dist/cjs/advancedacl/session-key.d.ts +95 -0
- package/dist/cjs/advancedacl/session-key.js +376 -0
- package/dist/cjs/advancedacl/types.d.ts +16 -0
- package/dist/cjs/advancedacl/types.js +3 -0
- package/dist/cjs/attestedcompute/attested-compute.d.ts +65 -0
- package/dist/cjs/attestedcompute/attested-compute.js +80 -0
- package/dist/cjs/attestedcompute/types.d.ts +35 -0
- package/dist/cjs/attestedcompute/types.js +46 -0
- package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +61 -0
- package/dist/cjs/attesteddecrypt/attested-decrypt.js +118 -0
- package/dist/cjs/attesteddecrypt/index.d.ts +1 -0
- package/dist/cjs/attesteddecrypt/index.js +18 -0
- package/dist/cjs/attesteddecrypt/types.d.ts +27 -0
- package/dist/cjs/attesteddecrypt/types.js +16 -0
- package/dist/cjs/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/cjs/attestedreveal/attested-reveal.js +31 -0
- package/dist/cjs/attestedreveal/index.d.ts +2 -0
- package/dist/cjs/attestedreveal/index.js +21 -0
- package/dist/cjs/attestedreveal/types.d.ts +4 -0
- package/dist/cjs/attestedreveal/types.js +13 -0
- package/dist/cjs/binary.d.ts +104 -0
- package/dist/cjs/binary.js +171 -0
- package/dist/cjs/chain.d.ts +50 -0
- package/dist/cjs/chain.js +62 -0
- package/dist/cjs/eip712/eip712.d.ts +18 -0
- package/dist/cjs/eip712/eip712.js +51 -0
- package/dist/cjs/eip712/index.d.ts +1 -0
- package/dist/cjs/eip712/index.js +8 -0
- package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.d.ts +51 -0
- package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.js +94 -0
- package/dist/cjs/elistattesteddecrypt/index.d.ts +2 -0
- package/dist/cjs/elistattesteddecrypt/index.js +22 -0
- package/dist/cjs/elistattesteddecrypt/types.d.ts +31 -0
- package/dist/cjs/elistattesteddecrypt/types.js +16 -0
- package/dist/cjs/encryption/encryption.d.ts +235 -0
- package/dist/cjs/encryption/encryption.js +226 -0
- package/dist/cjs/encryption/index.d.ts +1 -0
- package/dist/cjs/encryption/index.js +19 -0
- package/dist/cjs/generated/abis/add-two.d.ts +117 -0
- package/dist/cjs/generated/abis/add-two.js +80 -0
- package/dist/cjs/generated/abis/lightning.d.ts +3362 -0
- package/dist/cjs/generated/abis/lightning.js +2445 -0
- package/dist/cjs/generated/abis/test-elist.d.ts +276 -0
- package/dist/cjs/generated/abis/test-elist.js +168 -0
- package/dist/cjs/generated/abis/verifier.d.ts +1353 -0
- package/dist/cjs/generated/abis/verifier.js +954 -0
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +1494 -0
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.js +395 -0
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +247 -0
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.js +80 -0
- package/dist/cjs/generated/es/inco/helioswrapper/v1/helioswrapper_pb.d.ts +77 -0
- package/dist/cjs/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +28 -0
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +685 -0
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +100 -0
- package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.d.ts +289 -0
- package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.js +136 -0
- package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +371 -0
- package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +88 -0
- package/dist/cjs/generated/lightning.d.ts +830 -0
- package/dist/cjs/generated/lightning.js +872 -0
- package/dist/cjs/generated/local-node.d.ts +50 -0
- package/dist/cjs/generated/local-node.js +107 -0
- package/dist/cjs/handle.d.ts +123 -0
- package/dist/cjs/handle.js +221 -0
- package/dist/cjs/index.d.ts +5 -0
- package/dist/cjs/index.js +31 -0
- package/dist/cjs/kms/client.d.ts +12 -0
- package/dist/cjs/kms/client.js +47 -0
- package/dist/cjs/kms/quorumClient.d.ts +65 -0
- package/dist/cjs/kms/quorumClient.js +463 -0
- package/dist/cjs/kms/quorumConsistency.d.ts +82 -0
- package/dist/cjs/kms/quorumConsistency.js +269 -0
- package/dist/cjs/kms/signatureVerification.d.ts +35 -0
- package/dist/cjs/kms/signatureVerification.js +88 -0
- package/dist/cjs/kms/thresholdPromises.d.ts +8 -0
- package/dist/cjs/kms/thresholdPromises.js +62 -0
- package/dist/cjs/lite/attested-compute.d.ts +6 -0
- package/dist/cjs/lite/attested-compute.js +8 -0
- package/dist/cjs/lite/attested-decrypt.d.ts +4 -0
- package/dist/cjs/lite/attested-decrypt.js +6 -0
- package/dist/cjs/lite/deployments.d.ts +24 -0
- package/dist/cjs/lite/deployments.js +21 -0
- package/dist/cjs/lite/hadu.d.ts +4 -0
- package/dist/cjs/lite/hadu.js +28 -0
- package/dist/cjs/lite/index.d.ts +13 -0
- package/dist/cjs/lite/index.js +31 -0
- package/dist/cjs/lite/lightning.d.ts +459 -0
- package/dist/cjs/lite/lightning.js +696 -0
- package/dist/cjs/lite/types.d.ts +47 -0
- package/dist/cjs/lite/types.js +3 -0
- package/dist/cjs/lite/xwing.d.ts +154 -0
- package/dist/cjs/lite/xwing.js +326 -0
- package/dist/cjs/local/index.d.ts +1 -0
- package/dist/cjs/local/index.js +18 -0
- package/dist/cjs/local/local-node.d.ts +37 -0
- package/dist/cjs/local/local-node.js +80 -0
- package/dist/cjs/reencryption/eip712.d.ts +56 -0
- package/dist/cjs/reencryption/eip712.js +90 -0
- package/dist/cjs/reencryption/index.d.ts +2 -0
- package/dist/cjs/reencryption/index.js +19 -0
- package/dist/cjs/reencryption/types.d.ts +48 -0
- package/dist/cjs/reencryption/types.js +3 -0
- package/dist/cjs/retry.d.ts +30 -0
- package/dist/cjs/retry.js +87 -0
- package/dist/cjs/schema.d.ts +4 -0
- package/dist/cjs/schema.js +19 -0
- package/dist/cjs/test/mocks.d.ts +20 -0
- package/dist/cjs/test/mocks.js +72 -0
- package/dist/cjs/viem.d.ts +1141 -0
- package/dist/cjs/viem.js +36 -0
- package/dist/esm/advancedacl/index.d.ts +2 -0
- package/dist/esm/advancedacl/index.js +3 -0
- package/dist/esm/advancedacl/session-key.d.ts +95 -0
- package/dist/esm/advancedacl/session-key.js +367 -0
- package/dist/esm/advancedacl/types.d.ts +16 -0
- package/dist/esm/advancedacl/types.js +2 -0
- package/dist/esm/attestedcompute/attested-compute.d.ts +65 -0
- package/dist/esm/attestedcompute/attested-compute.js +76 -0
- package/dist/esm/attestedcompute/types.d.ts +35 -0
- package/dist/esm/attestedcompute/types.js +42 -0
- package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +61 -0
- package/dist/esm/attesteddecrypt/attested-decrypt.js +112 -0
- package/dist/esm/attesteddecrypt/index.d.ts +1 -0
- package/dist/esm/attesteddecrypt/index.js +2 -0
- package/dist/esm/attesteddecrypt/types.d.ts +27 -0
- package/dist/esm/attesteddecrypt/types.js +12 -0
- package/dist/esm/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/esm/attestedreveal/attested-reveal.js +28 -0
- package/dist/esm/attestedreveal/index.d.ts +2 -0
- package/dist/esm/attestedreveal/index.js +3 -0
- package/dist/esm/attestedreveal/types.d.ts +4 -0
- package/dist/esm/attestedreveal/types.js +9 -0
- package/dist/esm/binary.d.ts +104 -0
- package/dist/esm/binary.js +155 -0
- package/dist/esm/chain.d.ts +50 -0
- package/dist/esm/chain.js +58 -0
- package/dist/esm/eip712/eip712.d.ts +18 -0
- package/dist/esm/eip712/eip712.js +46 -0
- package/dist/esm/eip712/index.d.ts +1 -0
- package/dist/esm/eip712/index.js +2 -0
- package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.d.ts +51 -0
- package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.js +89 -0
- package/dist/esm/elistattesteddecrypt/index.d.ts +2 -0
- package/dist/esm/elistattesteddecrypt/index.js +3 -0
- package/dist/esm/elistattesteddecrypt/types.d.ts +31 -0
- package/dist/esm/elistattesteddecrypt/types.js +12 -0
- package/dist/esm/encryption/encryption.d.ts +235 -0
- package/dist/esm/encryption/encryption.js +214 -0
- package/dist/esm/encryption/index.d.ts +1 -0
- package/dist/esm/encryption/index.js +2 -0
- package/dist/esm/generated/abis/add-two.d.ts +117 -0
- package/dist/esm/generated/abis/add-two.js +77 -0
- package/dist/esm/generated/abis/lightning.d.ts +3362 -0
- package/dist/esm/generated/abis/lightning.js +2442 -0
- package/dist/esm/generated/abis/test-elist.d.ts +276 -0
- package/dist/esm/generated/abis/test-elist.js +165 -0
- package/dist/esm/generated/abis/verifier.d.ts +1353 -0
- package/dist/esm/generated/abis/verifier.js +951 -0
- package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +1494 -0
- package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.js +392 -0
- package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +247 -0
- package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.js +77 -0
- package/dist/esm/generated/es/inco/helioswrapper/v1/helioswrapper_pb.d.ts +77 -0
- package/dist/esm/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +25 -0
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +685 -0
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +97 -0
- package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.d.ts +289 -0
- package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.js +133 -0
- package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +371 -0
- package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +85 -0
- package/dist/esm/generated/lightning.d.ts +830 -0
- package/dist/esm/generated/lightning.js +869 -0
- package/dist/esm/generated/local-node.d.ts +50 -0
- package/dist/esm/generated/local-node.js +104 -0
- package/dist/esm/handle.d.ts +123 -0
- package/dist/esm/handle.js +212 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/kms/client.d.ts +12 -0
- package/dist/esm/kms/client.js +40 -0
- package/dist/esm/kms/quorumClient.d.ts +65 -0
- package/dist/esm/kms/quorumClient.js +459 -0
- package/dist/esm/kms/quorumConsistency.d.ts +82 -0
- package/dist/esm/kms/quorumConsistency.js +260 -0
- package/dist/esm/kms/signatureVerification.d.ts +35 -0
- package/dist/esm/kms/signatureVerification.js +84 -0
- package/dist/esm/kms/thresholdPromises.d.ts +8 -0
- package/dist/esm/kms/thresholdPromises.js +59 -0
- package/dist/esm/lite/attested-compute.d.ts +6 -0
- package/dist/esm/lite/attested-compute.js +4 -0
- package/dist/esm/lite/attested-decrypt.d.ts +4 -0
- package/dist/esm/lite/attested-decrypt.js +3 -0
- package/dist/esm/lite/deployments.d.ts +24 -0
- package/dist/esm/lite/deployments.js +17 -0
- package/dist/esm/lite/hadu.d.ts +4 -0
- package/dist/esm/lite/hadu.js +24 -0
- package/dist/esm/lite/index.d.ts +13 -0
- package/dist/esm/lite/index.js +10 -0
- package/dist/esm/lite/lightning.d.ts +459 -0
- package/dist/esm/lite/lightning.js +692 -0
- package/dist/esm/lite/types.d.ts +47 -0
- package/dist/esm/lite/types.js +2 -0
- package/dist/esm/lite/xwing.d.ts +154 -0
- package/dist/esm/lite/xwing.js +311 -0
- package/dist/esm/local/index.d.ts +1 -0
- package/dist/esm/local/index.js +2 -0
- package/dist/esm/local/local-node.d.ts +37 -0
- package/dist/esm/local/local-node.js +76 -0
- package/dist/esm/reencryption/eip712.d.ts +56 -0
- package/dist/esm/reencryption/eip712.js +87 -0
- package/dist/esm/reencryption/index.d.ts +2 -0
- package/dist/esm/reencryption/index.js +3 -0
- package/dist/esm/reencryption/types.d.ts +48 -0
- package/dist/esm/reencryption/types.js +2 -0
- package/dist/esm/retry.d.ts +30 -0
- package/dist/esm/retry.js +82 -0
- package/dist/esm/schema.d.ts +4 -0
- package/dist/esm/schema.js +15 -0
- package/dist/esm/test/mocks.d.ts +20 -0
- package/dist/esm/test/mocks.js +64 -0
- package/dist/esm/viem.d.ts +1141 -0
- package/dist/esm/viem.js +32 -0
- package/dist/types/advancedacl/index.d.ts +2 -0
- package/dist/types/advancedacl/session-key.d.ts +95 -0
- package/dist/types/advancedacl/types.d.ts +16 -0
- package/dist/types/attestedcompute/attested-compute.d.ts +65 -0
- package/dist/types/attestedcompute/types.d.ts +35 -0
- package/dist/types/attesteddecrypt/attested-decrypt.d.ts +61 -0
- package/dist/types/attesteddecrypt/index.d.ts +1 -0
- package/dist/types/attesteddecrypt/types.d.ts +27 -0
- package/dist/types/attestedreveal/attested-reveal.d.ts +21 -0
- package/dist/types/attestedreveal/index.d.ts +2 -0
- package/dist/types/attestedreveal/types.d.ts +4 -0
- package/dist/types/binary.d.ts +104 -0
- package/dist/types/chain.d.ts +50 -0
- package/dist/types/eip712/eip712.d.ts +18 -0
- package/dist/types/eip712/index.d.ts +1 -0
- package/dist/types/elistattesteddecrypt/elist-attested-decrypt.d.ts +51 -0
- package/dist/types/elistattesteddecrypt/index.d.ts +2 -0
- package/dist/types/elistattesteddecrypt/types.d.ts +31 -0
- package/dist/types/encryption/encryption.d.ts +235 -0
- package/dist/types/encryption/index.d.ts +1 -0
- package/dist/types/generated/abis/add-two.d.ts +117 -0
- package/dist/types/generated/abis/lightning.d.ts +3362 -0
- package/dist/types/generated/abis/test-elist.d.ts +276 -0
- package/dist/types/generated/abis/verifier.d.ts +1353 -0
- package/dist/types/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +1494 -0
- package/dist/types/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +247 -0
- package/dist/types/generated/es/inco/helioswrapper/v1/helioswrapper_pb.d.ts +77 -0
- package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +685 -0
- package/dist/types/generated/es/inco/kms/lite/v1/types_pb.d.ts +289 -0
- package/dist/types/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +371 -0
- package/dist/types/generated/lightning.d.ts +830 -0
- package/dist/types/generated/local-node.d.ts +50 -0
- package/dist/types/handle.d.ts +123 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/kms/client.d.ts +12 -0
- package/dist/types/kms/quorumClient.d.ts +65 -0
- package/dist/types/kms/quorumConsistency.d.ts +82 -0
- package/dist/types/kms/signatureVerification.d.ts +35 -0
- package/dist/types/kms/thresholdPromises.d.ts +8 -0
- package/dist/types/lite/attested-compute.d.ts +6 -0
- package/dist/types/lite/attested-decrypt.d.ts +4 -0
- package/dist/types/lite/deployments.d.ts +24 -0
- package/dist/types/lite/hadu.d.ts +4 -0
- package/dist/types/lite/index.d.ts +13 -0
- package/dist/types/lite/lightning.d.ts +459 -0
- package/dist/types/lite/types.d.ts +47 -0
- package/dist/types/lite/xwing.d.ts +154 -0
- package/dist/types/local/index.d.ts +1 -0
- package/dist/types/local/local-node.d.ts +37 -0
- package/dist/types/reencryption/eip712.d.ts +56 -0
- package/dist/types/reencryption/index.d.ts +2 -0
- package/dist/types/reencryption/types.d.ts +48 -0
- package/dist/types/retry.d.ts +30 -0
- package/dist/types/schema.d.ts +4 -0
- package/dist/types/test/mocks.d.ts +20 -0
- package/dist/types/viem.d.ts +1141 -0
- package/package.json +129 -0
|
@@ -0,0 +1,1494 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { CryptogramWithProof, InputCryptogram, StoredCryptogram } from "./types_pb";
|
|
3
|
+
import type { DecryptionAttestation, EListElement } from "../../../kms/lite/v1/kms_service_pb";
|
|
4
|
+
import type { ACLProof, SupportedScalarBinaryOp } from "../../../kms/lite/v1/types_pb";
|
|
5
|
+
import type { RATlsServer } from "../../../sealingfetcher/v1/sealingfetcher_pb";
|
|
6
|
+
import type { StartHeliosRequest } from "../../../helioswrapper/v1/helioswrapper_pb";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file inco/covalidator/compute/v1/server.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_inco_covalidator_compute_v1_server: GenFile;
|
|
12
|
+
/**
|
|
13
|
+
* @generated from message inco.covalidator.compute.v1.SingleCastOpRequest
|
|
14
|
+
*/
|
|
15
|
+
export type SingleCastOpRequest = Message<"inco.covalidator.compute.v1.SingleCastOpRequest"> & {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: inco.covalidator.compute.v1.TeeOperation operation = 1;
|
|
18
|
+
*/
|
|
19
|
+
operation: TeeOperation;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram ct = 2;
|
|
22
|
+
*/
|
|
23
|
+
ct?: StoredCryptogram | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: int32 toType = 3;
|
|
26
|
+
*/
|
|
27
|
+
toType: number;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
30
|
+
*/
|
|
31
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message inco.covalidator.compute.v1.SingleCastOpRequest.
|
|
35
|
+
* Use `create(SingleCastOpRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const SingleCastOpRequestSchema: GenMessage<SingleCastOpRequest>;
|
|
38
|
+
/**
|
|
39
|
+
* @generated from message inco.covalidator.compute.v1.SingleUnaryOpRequest
|
|
40
|
+
*/
|
|
41
|
+
export type SingleUnaryOpRequest = Message<"inco.covalidator.compute.v1.SingleUnaryOpRequest"> & {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: inco.covalidator.compute.v1.TeeOperation operation = 1;
|
|
44
|
+
*/
|
|
45
|
+
operation: TeeOperation;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram ct = 2;
|
|
48
|
+
*/
|
|
49
|
+
ct?: StoredCryptogram | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 3;
|
|
52
|
+
*/
|
|
53
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message inco.covalidator.compute.v1.SingleUnaryOpRequest.
|
|
57
|
+
* Use `create(SingleUnaryOpRequestSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const SingleUnaryOpRequestSchema: GenMessage<SingleUnaryOpRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message inco.covalidator.compute.v1.SingleBinaryOpRequest
|
|
62
|
+
*/
|
|
63
|
+
export type SingleBinaryOpRequest = Message<"inco.covalidator.compute.v1.SingleBinaryOpRequest"> & {
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: inco.covalidator.compute.v1.TeeOperation operation = 1;
|
|
66
|
+
*/
|
|
67
|
+
operation: TeeOperation;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram lhs = 2;
|
|
70
|
+
*/
|
|
71
|
+
lhs?: StoredCryptogram | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram rhs = 3;
|
|
74
|
+
*/
|
|
75
|
+
rhs?: StoredCryptogram | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
78
|
+
*/
|
|
79
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message inco.covalidator.compute.v1.SingleBinaryOpRequest.
|
|
83
|
+
* Use `create(SingleBinaryOpRequestSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const SingleBinaryOpRequestSchema: GenMessage<SingleBinaryOpRequest>;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from message inco.covalidator.compute.v1.SingleBinaryOpScalarRequest
|
|
88
|
+
*/
|
|
89
|
+
export type SingleBinaryOpScalarRequest = Message<"inco.covalidator.compute.v1.SingleBinaryOpScalarRequest"> & {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: inco.covalidator.compute.v1.TeeOperation operation = 1;
|
|
92
|
+
*/
|
|
93
|
+
operation: TeeOperation;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram lhs = 2;
|
|
96
|
+
*/
|
|
97
|
+
lhs?: StoredCryptogram | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: bytes rhs = 3;
|
|
100
|
+
*/
|
|
101
|
+
rhs: Uint8Array;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
104
|
+
*/
|
|
105
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message inco.covalidator.compute.v1.SingleBinaryOpScalarRequest.
|
|
109
|
+
* Use `create(SingleBinaryOpScalarRequestSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export declare const SingleBinaryOpScalarRequestSchema: GenMessage<SingleBinaryOpScalarRequest>;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message inco.covalidator.compute.v1.SingleTernaryOpRequest
|
|
114
|
+
*/
|
|
115
|
+
export type SingleTernaryOpRequest = Message<"inco.covalidator.compute.v1.SingleTernaryOpRequest"> & {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: inco.covalidator.compute.v1.TeeOperation operation = 1;
|
|
118
|
+
*/
|
|
119
|
+
operation: TeeOperation;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram lhs = 2;
|
|
122
|
+
*/
|
|
123
|
+
lhs?: StoredCryptogram | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram middle = 3;
|
|
126
|
+
*/
|
|
127
|
+
middle?: StoredCryptogram | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram rhs = 4;
|
|
130
|
+
*/
|
|
131
|
+
rhs?: StoredCryptogram | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 5;
|
|
134
|
+
*/
|
|
135
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message inco.covalidator.compute.v1.SingleTernaryOpRequest.
|
|
139
|
+
* Use `create(SingleTernaryOpRequestSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const SingleTernaryOpRequestSchema: GenMessage<SingleTernaryOpRequest>;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message inco.covalidator.compute.v1.SingleTrivialOpRequest
|
|
144
|
+
*/
|
|
145
|
+
export type SingleTrivialOpRequest = Message<"inco.covalidator.compute.v1.SingleTrivialOpRequest"> & {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: bytes pt = 1;
|
|
148
|
+
*/
|
|
149
|
+
pt: Uint8Array;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: int32 toType = 2;
|
|
152
|
+
*/
|
|
153
|
+
toType: number;
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 3;
|
|
156
|
+
*/
|
|
157
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Describes the message inco.covalidator.compute.v1.SingleTrivialOpRequest.
|
|
161
|
+
* Use `create(SingleTrivialOpRequestSchema)` to create a new message.
|
|
162
|
+
*/
|
|
163
|
+
export declare const SingleTrivialOpRequestSchema: GenMessage<SingleTrivialOpRequest>;
|
|
164
|
+
/**
|
|
165
|
+
* @generated from message inco.covalidator.compute.v1.SingleRandBoundedOpRequest
|
|
166
|
+
*/
|
|
167
|
+
export type SingleRandBoundedOpRequest = Message<"inco.covalidator.compute.v1.SingleRandBoundedOpRequest"> & {
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: inco.covalidator.compute.v1.TeeOperation operation = 1;
|
|
170
|
+
*/
|
|
171
|
+
operation: TeeOperation;
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram upperBound = 2;
|
|
174
|
+
*/
|
|
175
|
+
upperBound?: StoredCryptogram | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: int32 randType = 3;
|
|
178
|
+
*/
|
|
179
|
+
randType: number;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: bytes counterRand = 4;
|
|
182
|
+
*/
|
|
183
|
+
counterRand: Uint8Array;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 5;
|
|
186
|
+
*/
|
|
187
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Describes the message inco.covalidator.compute.v1.SingleRandBoundedOpRequest.
|
|
191
|
+
* Use `create(SingleRandBoundedOpRequestSchema)` to create a new message.
|
|
192
|
+
*/
|
|
193
|
+
export declare const SingleRandBoundedOpRequestSchema: GenMessage<SingleRandBoundedOpRequest>;
|
|
194
|
+
/**
|
|
195
|
+
* @generated from message inco.covalidator.compute.v1.SingleNewEListOpRequest
|
|
196
|
+
*/
|
|
197
|
+
export type SingleNewEListOpRequest = Message<"inco.covalidator.compute.v1.SingleNewEListOpRequest"> & {
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: repeated inco.covalidator.compute.v1.StoredCryptogram ciphertexts = 2;
|
|
200
|
+
*/
|
|
201
|
+
ciphertexts: StoredCryptogram[];
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: int32 listType = 3;
|
|
204
|
+
*/
|
|
205
|
+
listType: number;
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
208
|
+
*/
|
|
209
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message inco.covalidator.compute.v1.SingleNewEListOpRequest.
|
|
213
|
+
* Use `create(SingleNewEListOpRequestSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const SingleNewEListOpRequestSchema: GenMessage<SingleNewEListOpRequest>;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListAppendOpRequest
|
|
218
|
+
*/
|
|
219
|
+
export type SingleEListAppendOpRequest = Message<"inco.covalidator.compute.v1.SingleEListAppendOpRequest"> & {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 2;
|
|
222
|
+
*/
|
|
223
|
+
elist?: StoredCryptogram | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram value = 3;
|
|
226
|
+
*/
|
|
227
|
+
value?: StoredCryptogram | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
230
|
+
*/
|
|
231
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListAppendOpRequest.
|
|
235
|
+
* Use `create(SingleEListAppendOpRequestSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export declare const SingleEListAppendOpRequestSchema: GenMessage<SingleEListAppendOpRequest>;
|
|
238
|
+
/**
|
|
239
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListInsertOpRequest
|
|
240
|
+
*/
|
|
241
|
+
export type SingleEListInsertOpRequest = Message<"inco.covalidator.compute.v1.SingleEListInsertOpRequest"> & {
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 2;
|
|
244
|
+
*/
|
|
245
|
+
elist?: StoredCryptogram | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram index = 3;
|
|
248
|
+
*/
|
|
249
|
+
index?: StoredCryptogram | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram value = 4;
|
|
252
|
+
*/
|
|
253
|
+
value?: StoredCryptogram | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 5;
|
|
256
|
+
*/
|
|
257
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListInsertOpRequest.
|
|
261
|
+
* Use `create(SingleEListInsertOpRequestSchema)` to create a new message.
|
|
262
|
+
*/
|
|
263
|
+
export declare const SingleEListInsertOpRequestSchema: GenMessage<SingleEListInsertOpRequest>;
|
|
264
|
+
/**
|
|
265
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListConcatOpRequest
|
|
266
|
+
*/
|
|
267
|
+
export type SingleEListConcatOpRequest = Message<"inco.covalidator.compute.v1.SingleEListConcatOpRequest"> & {
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist1 = 1;
|
|
270
|
+
*/
|
|
271
|
+
elist1?: StoredCryptogram | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist2 = 2;
|
|
274
|
+
*/
|
|
275
|
+
elist2?: StoredCryptogram | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 3;
|
|
278
|
+
*/
|
|
279
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListConcatOpRequest.
|
|
283
|
+
* Use `create(SingleEListConcatOpRequestSchema)` to create a new message.
|
|
284
|
+
*/
|
|
285
|
+
export declare const SingleEListConcatOpRequestSchema: GenMessage<SingleEListConcatOpRequest>;
|
|
286
|
+
/**
|
|
287
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListSliceOpRequest
|
|
288
|
+
*/
|
|
289
|
+
export type SingleEListSliceOpRequest = Message<"inco.covalidator.compute.v1.SingleEListSliceOpRequest"> & {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 1;
|
|
292
|
+
*/
|
|
293
|
+
elist?: StoredCryptogram | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram start = 2;
|
|
296
|
+
*/
|
|
297
|
+
start?: StoredCryptogram | undefined;
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: int32 len = 3;
|
|
300
|
+
*/
|
|
301
|
+
len: number;
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram defaultValue = 4;
|
|
304
|
+
*/
|
|
305
|
+
defaultValue?: StoredCryptogram | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 5;
|
|
308
|
+
*/
|
|
309
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListSliceOpRequest.
|
|
313
|
+
* Use `create(SingleEListSliceOpRequestSchema)` to create a new message.
|
|
314
|
+
*/
|
|
315
|
+
export declare const SingleEListSliceOpRequestSchema: GenMessage<SingleEListSliceOpRequest>;
|
|
316
|
+
/**
|
|
317
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListGetOpRequest
|
|
318
|
+
*/
|
|
319
|
+
export type SingleEListGetOpRequest = Message<"inco.covalidator.compute.v1.SingleEListGetOpRequest"> & {
|
|
320
|
+
/**
|
|
321
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 1;
|
|
322
|
+
*/
|
|
323
|
+
elist?: StoredCryptogram | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: int32 index = 2;
|
|
326
|
+
*/
|
|
327
|
+
index: number;
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 3;
|
|
330
|
+
*/
|
|
331
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListGetOpRequest.
|
|
335
|
+
* Use `create(SingleEListGetOpRequestSchema)` to create a new message.
|
|
336
|
+
*/
|
|
337
|
+
export declare const SingleEListGetOpRequestSchema: GenMessage<SingleEListGetOpRequest>;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListGetOrOpRequest
|
|
340
|
+
*/
|
|
341
|
+
export type SingleEListGetOrOpRequest = Message<"inco.covalidator.compute.v1.SingleEListGetOrOpRequest"> & {
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 1;
|
|
344
|
+
*/
|
|
345
|
+
elist?: StoredCryptogram | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram index = 2;
|
|
348
|
+
*/
|
|
349
|
+
index?: StoredCryptogram | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram defaultValue = 3;
|
|
352
|
+
*/
|
|
353
|
+
defaultValue?: StoredCryptogram | undefined;
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
356
|
+
*/
|
|
357
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListGetOrOpRequest.
|
|
361
|
+
* Use `create(SingleEListGetOrOpRequestSchema)` to create a new message.
|
|
362
|
+
*/
|
|
363
|
+
export declare const SingleEListGetOrOpRequestSchema: GenMessage<SingleEListGetOrOpRequest>;
|
|
364
|
+
/**
|
|
365
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListSetOpRequest
|
|
366
|
+
*/
|
|
367
|
+
export type SingleEListSetOpRequest = Message<"inco.covalidator.compute.v1.SingleEListSetOpRequest"> & {
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 1;
|
|
370
|
+
*/
|
|
371
|
+
elist?: StoredCryptogram | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram index = 2;
|
|
374
|
+
*/
|
|
375
|
+
index?: StoredCryptogram | undefined;
|
|
376
|
+
/**
|
|
377
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram value = 3;
|
|
378
|
+
*/
|
|
379
|
+
value?: StoredCryptogram | undefined;
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
382
|
+
*/
|
|
383
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListSetOpRequest.
|
|
387
|
+
* Use `create(SingleEListSetOpRequestSchema)` to create a new message.
|
|
388
|
+
*/
|
|
389
|
+
export declare const SingleEListSetOpRequestSchema: GenMessage<SingleEListSetOpRequest>;
|
|
390
|
+
/**
|
|
391
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListRangeOpRequest
|
|
392
|
+
*/
|
|
393
|
+
export type SingleEListRangeOpRequest = Message<"inco.covalidator.compute.v1.SingleEListRangeOpRequest"> & {
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: int32 start = 1;
|
|
396
|
+
*/
|
|
397
|
+
start: number;
|
|
398
|
+
/**
|
|
399
|
+
* @generated from field: int32 end = 2;
|
|
400
|
+
*/
|
|
401
|
+
end: number;
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: int32 listType = 3;
|
|
404
|
+
*/
|
|
405
|
+
listType: number;
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
408
|
+
*/
|
|
409
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListRangeOpRequest.
|
|
413
|
+
* Use `create(SingleEListRangeOpRequestSchema)` to create a new message.
|
|
414
|
+
*/
|
|
415
|
+
export declare const SingleEListRangeOpRequestSchema: GenMessage<SingleEListRangeOpRequest>;
|
|
416
|
+
/**
|
|
417
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListShuffleOpRequest
|
|
418
|
+
*/
|
|
419
|
+
export type SingleEListShuffleOpRequest = Message<"inco.covalidator.compute.v1.SingleEListShuffleOpRequest"> & {
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 1;
|
|
422
|
+
*/
|
|
423
|
+
elist?: StoredCryptogram | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* @generated from field: bytes nonce = 2;
|
|
426
|
+
*/
|
|
427
|
+
nonce: Uint8Array;
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 3;
|
|
430
|
+
*/
|
|
431
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
432
|
+
};
|
|
433
|
+
/**
|
|
434
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListShuffleOpRequest.
|
|
435
|
+
* Use `create(SingleEListShuffleOpRequestSchema)` to create a new message.
|
|
436
|
+
*/
|
|
437
|
+
export declare const SingleEListShuffleOpRequestSchema: GenMessage<SingleEListShuffleOpRequest>;
|
|
438
|
+
/**
|
|
439
|
+
* @generated from message inco.covalidator.compute.v1.SingleEListReverseOpRequest
|
|
440
|
+
*/
|
|
441
|
+
export type SingleEListReverseOpRequest = Message<"inco.covalidator.compute.v1.SingleEListReverseOpRequest"> & {
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram elist = 1;
|
|
444
|
+
*/
|
|
445
|
+
elist?: StoredCryptogram | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 2;
|
|
448
|
+
*/
|
|
449
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
450
|
+
};
|
|
451
|
+
/**
|
|
452
|
+
* Describes the message inco.covalidator.compute.v1.SingleEListReverseOpRequest.
|
|
453
|
+
* Use `create(SingleEListReverseOpRequestSchema)` to create a new message.
|
|
454
|
+
*/
|
|
455
|
+
export declare const SingleEListReverseOpRequestSchema: GenMessage<SingleEListReverseOpRequest>;
|
|
456
|
+
/**
|
|
457
|
+
* @generated from message inco.covalidator.compute.v1.SingleCiphertextResponse
|
|
458
|
+
*/
|
|
459
|
+
export type SingleCiphertextResponse = Message<"inco.covalidator.compute.v1.SingleCiphertextResponse"> & {
|
|
460
|
+
/**
|
|
461
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram ciphertext = 1;
|
|
462
|
+
*/
|
|
463
|
+
ciphertext?: StoredCryptogram | undefined;
|
|
464
|
+
};
|
|
465
|
+
/**
|
|
466
|
+
* Describes the message inco.covalidator.compute.v1.SingleCiphertextResponse.
|
|
467
|
+
* Use `create(SingleCiphertextResponseSchema)` to create a new message.
|
|
468
|
+
*/
|
|
469
|
+
export declare const SingleCiphertextResponseSchema: GenMessage<SingleCiphertextResponse>;
|
|
470
|
+
/**
|
|
471
|
+
* @generated from message inco.covalidator.compute.v1.SingleVerificationResponse
|
|
472
|
+
*/
|
|
473
|
+
export type SingleVerificationResponse = Message<"inco.covalidator.compute.v1.SingleVerificationResponse"> & {
|
|
474
|
+
/**
|
|
475
|
+
* @generated from field: bool verified = 1;
|
|
476
|
+
*/
|
|
477
|
+
verified: boolean;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* Describes the message inco.covalidator.compute.v1.SingleVerificationResponse.
|
|
481
|
+
* Use `create(SingleVerificationResponseSchema)` to create a new message.
|
|
482
|
+
*/
|
|
483
|
+
export declare const SingleVerificationResponseSchema: GenMessage<SingleVerificationResponse>;
|
|
484
|
+
/**
|
|
485
|
+
* InputToStoredCryptogramRequest is a request to InputToCompute a single ciphertext from a
|
|
486
|
+
* CompactCiphertextList.
|
|
487
|
+
*
|
|
488
|
+
* @generated from message inco.covalidator.compute.v1.InputToStoredCryptogramRequest
|
|
489
|
+
*/
|
|
490
|
+
export type InputToStoredCryptogramRequest = Message<"inco.covalidator.compute.v1.InputToStoredCryptogramRequest"> & {
|
|
491
|
+
/**
|
|
492
|
+
* The envelope containing the input ciphertext and context (including the on-chain inputType).
|
|
493
|
+
*
|
|
494
|
+
* @generated from field: inco.covalidator.compute.v1.InputCryptogram input = 1;
|
|
495
|
+
*/
|
|
496
|
+
input?: InputCryptogram | undefined;
|
|
497
|
+
/**
|
|
498
|
+
* The index handle to determine to which value this input refers to in in a list input
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: int32 index_handle = 3;
|
|
501
|
+
*/
|
|
502
|
+
indexHandle: number;
|
|
503
|
+
/**
|
|
504
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
505
|
+
*/
|
|
506
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Describes the message inco.covalidator.compute.v1.InputToStoredCryptogramRequest.
|
|
510
|
+
* Use `create(InputToStoredCryptogramRequestSchema)` to create a new message.
|
|
511
|
+
*/
|
|
512
|
+
export declare const InputToStoredCryptogramRequestSchema: GenMessage<InputToStoredCryptogramRequest>;
|
|
513
|
+
/**
|
|
514
|
+
* InputToStoredCryptogramResponse is a response to InputToStoredCryptogramRequest.
|
|
515
|
+
*
|
|
516
|
+
* @generated from message inco.covalidator.compute.v1.InputToStoredCryptogramResponse
|
|
517
|
+
*/
|
|
518
|
+
export type InputToStoredCryptogramResponse = Message<"inco.covalidator.compute.v1.InputToStoredCryptogramResponse"> & {
|
|
519
|
+
/**
|
|
520
|
+
* The resulting compute ciphertext
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram ciphertext = 1;
|
|
523
|
+
*/
|
|
524
|
+
ciphertext?: StoredCryptogram | undefined;
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
* Describes the message inco.covalidator.compute.v1.InputToStoredCryptogramResponse.
|
|
528
|
+
* Use `create(InputToStoredCryptogramResponseSchema)` to create a new message.
|
|
529
|
+
*/
|
|
530
|
+
export declare const InputToStoredCryptogramResponseSchema: GenMessage<InputToStoredCryptogramResponse>;
|
|
531
|
+
/**
|
|
532
|
+
* ConfigureRequest is a request to configure the compute service.
|
|
533
|
+
*
|
|
534
|
+
* @generated from message inco.covalidator.compute.v1.ConfigureRequest
|
|
535
|
+
*/
|
|
536
|
+
export type ConfigureRequest = Message<"inco.covalidator.compute.v1.ConfigureRequest"> & {
|
|
537
|
+
/**
|
|
538
|
+
* The sealing providers to use to fetch the TEE keys.
|
|
539
|
+
*
|
|
540
|
+
* @generated from field: repeated inco.sealingfetcher.v1.RATlsServer sealing_providers = 1;
|
|
541
|
+
*/
|
|
542
|
+
sealingProviders: RATlsServer[];
|
|
543
|
+
/**
|
|
544
|
+
* Provide Helios-specific configuration to start the Helios from compute service.
|
|
545
|
+
*
|
|
546
|
+
* @generated from field: inco.helioswrapper.v1.StartHeliosRequest helios_config = 2;
|
|
547
|
+
*/
|
|
548
|
+
heliosConfig?: StartHeliosRequest | undefined;
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* Describes the message inco.covalidator.compute.v1.ConfigureRequest.
|
|
552
|
+
* Use `create(ConfigureRequestSchema)` to create a new message.
|
|
553
|
+
*/
|
|
554
|
+
export declare const ConfigureRequestSchema: GenMessage<ConfigureRequest>;
|
|
555
|
+
/**
|
|
556
|
+
* HeliosConfigureRequest is a request to configure the helios light client.
|
|
557
|
+
*
|
|
558
|
+
* @generated from message inco.covalidator.compute.v1.HeliosConfigureRequest
|
|
559
|
+
*/
|
|
560
|
+
export type HeliosConfigureRequest = Message<"inco.covalidator.compute.v1.HeliosConfigureRequest"> & {
|
|
561
|
+
/**
|
|
562
|
+
* Provide Helios-specific configuration to start the Helios from compute service.
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: inco.helioswrapper.v1.StartHeliosRequest helios_config = 2;
|
|
565
|
+
*/
|
|
566
|
+
heliosConfig?: StartHeliosRequest | undefined;
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* Describes the message inco.covalidator.compute.v1.HeliosConfigureRequest.
|
|
570
|
+
* Use `create(HeliosConfigureRequestSchema)` to create a new message.
|
|
571
|
+
*/
|
|
572
|
+
export declare const HeliosConfigureRequestSchema: GenMessage<HeliosConfigureRequest>;
|
|
573
|
+
/**
|
|
574
|
+
* ConfigureResponse is a response to ConfigureRequest.
|
|
575
|
+
*
|
|
576
|
+
* @generated from message inco.covalidator.compute.v1.ConfigureResponse
|
|
577
|
+
*/
|
|
578
|
+
export type ConfigureResponse = Message<"inco.covalidator.compute.v1.ConfigureResponse"> & {
|
|
579
|
+
/**
|
|
580
|
+
* True if the compute service was configured successfully.
|
|
581
|
+
*
|
|
582
|
+
* @generated from field: bool success = 1;
|
|
583
|
+
*/
|
|
584
|
+
success: boolean;
|
|
585
|
+
/**
|
|
586
|
+
* True if the compute service has successfully started the Helios light client.
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: bool helios_started = 2;
|
|
589
|
+
*/
|
|
590
|
+
heliosStarted: boolean;
|
|
591
|
+
};
|
|
592
|
+
/**
|
|
593
|
+
* Describes the message inco.covalidator.compute.v1.ConfigureResponse.
|
|
594
|
+
* Use `create(ConfigureResponseSchema)` to create a new message.
|
|
595
|
+
*/
|
|
596
|
+
export declare const ConfigureResponseSchema: GenMessage<ConfigureResponse>;
|
|
597
|
+
/**
|
|
598
|
+
* HeliosConfigureResponse is a response to HeliosConfigureRequest.
|
|
599
|
+
*
|
|
600
|
+
* @generated from message inco.covalidator.compute.v1.HeliosConfigureResponse
|
|
601
|
+
*/
|
|
602
|
+
export type HeliosConfigureResponse = Message<"inco.covalidator.compute.v1.HeliosConfigureResponse"> & {
|
|
603
|
+
/**
|
|
604
|
+
* True if the Helios light client was started successfully.
|
|
605
|
+
*
|
|
606
|
+
* @generated from field: bool helios_started = 1;
|
|
607
|
+
*/
|
|
608
|
+
heliosStarted: boolean;
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* Describes the message inco.covalidator.compute.v1.HeliosConfigureResponse.
|
|
612
|
+
* Use `create(HeliosConfigureResponseSchema)` to create a new message.
|
|
613
|
+
*/
|
|
614
|
+
export declare const HeliosConfigureResponseSchema: GenMessage<HeliosConfigureResponse>;
|
|
615
|
+
/**
|
|
616
|
+
* AttestedDecryptRequest is the request type for the ComputeService/AttestedDecrypt RPC method.
|
|
617
|
+
*
|
|
618
|
+
* @generated from message inco.covalidator.compute.v1.AttestedDecryptRequest
|
|
619
|
+
*/
|
|
620
|
+
export type AttestedDecryptRequest = Message<"inco.covalidator.compute.v1.AttestedDecryptRequest"> & {
|
|
621
|
+
/**
|
|
622
|
+
* user_address is the Ethereum address of the user who requested the
|
|
623
|
+
* decryption, prefixed with 0x.
|
|
624
|
+
*
|
|
625
|
+
* @generated from field: string user_address = 1;
|
|
626
|
+
*/
|
|
627
|
+
userAddress: string;
|
|
628
|
+
/**
|
|
629
|
+
* reencrypt_pub_key is the encoding of the user's public
|
|
630
|
+
* encryption key (X-Wing) used to reencrypt the result for.
|
|
631
|
+
* It is encoded in its 1216-byte format.
|
|
632
|
+
* If empty, the KMS will return plaintext decryption instead of reencryption.
|
|
633
|
+
*
|
|
634
|
+
* @generated from field: bytes reencrypt_pub_key = 2;
|
|
635
|
+
*/
|
|
636
|
+
reencryptPubKey: Uint8Array;
|
|
637
|
+
/**
|
|
638
|
+
* eip712_signature is an EIP-712 signature of the following EIP-712 typed data by
|
|
639
|
+
* `user_address` (note that we only give a JSON representation for the sake of
|
|
640
|
+
* readability, but the actual signed data is defined in the EIP-712 spec) where:
|
|
641
|
+
* handles - list of 0x prefixed handles to decrypt
|
|
642
|
+
* publicKey - 0x prefixed reencrypt_pub_key (if any). "0x" otherwise if empty.
|
|
643
|
+
*
|
|
644
|
+
* ```json
|
|
645
|
+
* {
|
|
646
|
+
* "types": {
|
|
647
|
+
* "EIP712Domain": [
|
|
648
|
+
* { "name": "name", "type": "string" },
|
|
649
|
+
* { "name": "version", "type": "string" },
|
|
650
|
+
* { "name": "chainId", "type": "uint256" }
|
|
651
|
+
* ],
|
|
652
|
+
* "AttestedDecryptRequest": [
|
|
653
|
+
* { "name": "handles", "type": "bytes32[]" },
|
|
654
|
+
* { "name": "publicKey", "type": "bytes" },
|
|
655
|
+
* ]
|
|
656
|
+
* },
|
|
657
|
+
* "primaryType": "AttestedDecryptRequest",
|
|
658
|
+
* "domain": {
|
|
659
|
+
* "name": "IncoAttestedDecrypt",
|
|
660
|
+
* "version": "0.1.0",
|
|
661
|
+
* "chainId": "<host_chain_id>",
|
|
662
|
+
* },
|
|
663
|
+
* "message": {
|
|
664
|
+
* "handles": ["<handle1>", "<handle2>", ...],
|
|
665
|
+
* "publicKey": "0x<reencrypt_pub_key>"
|
|
666
|
+
* }
|
|
667
|
+
* }
|
|
668
|
+
* ```
|
|
669
|
+
*
|
|
670
|
+
* @generated from field: bytes eip712_signature = 3;
|
|
671
|
+
*/
|
|
672
|
+
eip712Signature: Uint8Array;
|
|
673
|
+
/**
|
|
674
|
+
* cryptograms_with_proofs is the list of cryptograms with proofs to decrypt.
|
|
675
|
+
* Either the user_address or sharer must have ACL access to the cryptogram handles for the attested
|
|
676
|
+
* decryption to succeed.
|
|
677
|
+
*
|
|
678
|
+
* @generated from field: repeated inco.covalidator.compute.v1.CryptogramWithProof cryptograms_with_proofs = 4;
|
|
679
|
+
*/
|
|
680
|
+
cryptogramsWithProofs: CryptogramWithProof[];
|
|
681
|
+
/**
|
|
682
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 5;
|
|
683
|
+
*/
|
|
684
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
685
|
+
};
|
|
686
|
+
/**
|
|
687
|
+
* Describes the message inco.covalidator.compute.v1.AttestedDecryptRequest.
|
|
688
|
+
* Use `create(AttestedDecryptRequestSchema)` to create a new message.
|
|
689
|
+
*/
|
|
690
|
+
export declare const AttestedDecryptRequestSchema: GenMessage<AttestedDecryptRequest>;
|
|
691
|
+
/**
|
|
692
|
+
* EListAttestedDecryptRequest is the request type for the ComputeService/EListAttestedDecrypt RPC method.
|
|
693
|
+
*
|
|
694
|
+
* @generated from message inco.covalidator.compute.v1.EListAttestedDecryptRequest
|
|
695
|
+
*/
|
|
696
|
+
export type EListAttestedDecryptRequest = Message<"inco.covalidator.compute.v1.EListAttestedDecryptRequest"> & {
|
|
697
|
+
/**
|
|
698
|
+
* user_address is the Ethereum address of the user who requested the
|
|
699
|
+
* decryption, prefixed with 0x.
|
|
700
|
+
*
|
|
701
|
+
* @generated from field: string user_address = 1;
|
|
702
|
+
*/
|
|
703
|
+
userAddress: string;
|
|
704
|
+
/**
|
|
705
|
+
* reencrypt_pub_key is the encoding of the user's public
|
|
706
|
+
* encryption key (secp256k1) used to reencrypt the result for.
|
|
707
|
+
* It is encoded in its 33-byte compressed format.
|
|
708
|
+
* If empty, the KMS will return plaintext decryption instead of reencryption.
|
|
709
|
+
*
|
|
710
|
+
* @generated from field: bytes reencrypt_pub_key = 2;
|
|
711
|
+
*/
|
|
712
|
+
reencryptPubKey: Uint8Array;
|
|
713
|
+
/**
|
|
714
|
+
* eip712_signature is an EIP-712 signature of the following EIP-712 typed data by
|
|
715
|
+
* `user_address` (note that we only give a JSON representation for the sake of
|
|
716
|
+
* readability, but the actual signed data is defined in the EIP-712 spec) where:
|
|
717
|
+
* handles - list of 0x prefixed handles to decrypt
|
|
718
|
+
* publicKey - 0x prefixed reencrypt_pub_key (if any). "0x" otherwise if empty.
|
|
719
|
+
*
|
|
720
|
+
* ```json
|
|
721
|
+
* {
|
|
722
|
+
* "types": {
|
|
723
|
+
* "EIP712Domain": [
|
|
724
|
+
* { "name": "name", "type": "string" },
|
|
725
|
+
* { "name": "version", "type": "string" },
|
|
726
|
+
* { "name": "chainId", "type": "uint256" }
|
|
727
|
+
* ],
|
|
728
|
+
* "AttestedDecryptRequest": [
|
|
729
|
+
* { "name": "handles", "type": "bytes32[]" },
|
|
730
|
+
* { "name": "publicKey", "type": "bytes" },
|
|
731
|
+
* ]
|
|
732
|
+
* },
|
|
733
|
+
* "primaryType": "AttestedDecryptRequest",
|
|
734
|
+
* "domain": {
|
|
735
|
+
* "name": "IncoAttestedDecrypt",
|
|
736
|
+
* "version": "0.1.0",
|
|
737
|
+
* "chainId": "<host_chain_id>",
|
|
738
|
+
* },
|
|
739
|
+
* "message": {
|
|
740
|
+
* "handles": ["<handle1>", "<handle2>", ...],
|
|
741
|
+
* "publicKey": "0x<reencrypt_pub_key>"
|
|
742
|
+
* }
|
|
743
|
+
* }
|
|
744
|
+
* ```
|
|
745
|
+
*
|
|
746
|
+
* @generated from field: bytes eip712_signature = 3;
|
|
747
|
+
*/
|
|
748
|
+
eip712Signature: Uint8Array;
|
|
749
|
+
/**
|
|
750
|
+
* cryptogram_with_proof is the cryptogram for elist with proof to decrypt.
|
|
751
|
+
* Either the user_address or sharer must have ACL access to the elist cryptogram handle for the attested
|
|
752
|
+
* decryption to succeed.
|
|
753
|
+
*
|
|
754
|
+
* @generated from field: inco.covalidator.compute.v1.CryptogramWithProof cryptogram_with_proof = 4;
|
|
755
|
+
*/
|
|
756
|
+
cryptogramWithProof?: CryptogramWithProof | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 5;
|
|
759
|
+
*/
|
|
760
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
761
|
+
};
|
|
762
|
+
/**
|
|
763
|
+
* Describes the message inco.covalidator.compute.v1.EListAttestedDecryptRequest.
|
|
764
|
+
* Use `create(EListAttestedDecryptRequestSchema)` to create a new message.
|
|
765
|
+
*/
|
|
766
|
+
export declare const EListAttestedDecryptRequestSchema: GenMessage<EListAttestedDecryptRequest>;
|
|
767
|
+
/**
|
|
768
|
+
* AttestedDecryptResponse is the response type for the ComputeService/AttestedDecrypt RPC method.
|
|
769
|
+
*
|
|
770
|
+
* @generated from message inco.covalidator.compute.v1.AttestedDecryptResponse
|
|
771
|
+
*/
|
|
772
|
+
export type AttestedDecryptResponse = Message<"inco.covalidator.compute.v1.AttestedDecryptResponse"> & {
|
|
773
|
+
/**
|
|
774
|
+
* decryption_attestations is the list of decryption attestations. The item at index `i`
|
|
775
|
+
* corresponds to the cryptogram at index `i` in the `AttestedDecryptRequest`.
|
|
776
|
+
*
|
|
777
|
+
* @generated from field: repeated inco.kms.lite.v1.DecryptionAttestation decryption_attestations = 1;
|
|
778
|
+
*/
|
|
779
|
+
decryptionAttestations: DecryptionAttestation[];
|
|
780
|
+
};
|
|
781
|
+
/**
|
|
782
|
+
* Describes the message inco.covalidator.compute.v1.AttestedDecryptResponse.
|
|
783
|
+
* Use `create(AttestedDecryptResponseSchema)` to create a new message.
|
|
784
|
+
*/
|
|
785
|
+
export declare const AttestedDecryptResponseSchema: GenMessage<AttestedDecryptResponse>;
|
|
786
|
+
/**
|
|
787
|
+
* EListAttestedDecryptResponse is the response type for the ComputeService/EListAttestedDecrypt RPC method.
|
|
788
|
+
*
|
|
789
|
+
* @generated from message inco.covalidator.compute.v1.EListAttestedDecryptResponse
|
|
790
|
+
*/
|
|
791
|
+
export type EListAttestedDecryptResponse = Message<"inco.covalidator.compute.v1.EListAttestedDecryptResponse"> & {
|
|
792
|
+
/**
|
|
793
|
+
* commitment_proof_attestation is the signed commitment proof of the decrypted elist values.
|
|
794
|
+
*
|
|
795
|
+
* @generated from field: inco.kms.lite.v1.DecryptionAttestation commitment_proof_attestation = 1;
|
|
796
|
+
*/
|
|
797
|
+
commitmentProofAttestation?: DecryptionAttestation | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* values is the list of decrypted elist elements.
|
|
800
|
+
*
|
|
801
|
+
* @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
|
|
802
|
+
*/
|
|
803
|
+
values: EListElement[];
|
|
804
|
+
/**
|
|
805
|
+
* proof_hashes is the list of per-element proof hashes.
|
|
806
|
+
* proof_hashes[i] = keccak256(commitment[i] || value[i])
|
|
807
|
+
* The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
|
|
808
|
+
*
|
|
809
|
+
* @generated from field: repeated bytes proof_hashes = 3;
|
|
810
|
+
*/
|
|
811
|
+
proofHashes: Uint8Array[];
|
|
812
|
+
};
|
|
813
|
+
/**
|
|
814
|
+
* Describes the message inco.covalidator.compute.v1.EListAttestedDecryptResponse.
|
|
815
|
+
* Use `create(EListAttestedDecryptResponseSchema)` to create a new message.
|
|
816
|
+
*/
|
|
817
|
+
export declare const EListAttestedDecryptResponseSchema: GenMessage<EListAttestedDecryptResponse>;
|
|
818
|
+
/**
|
|
819
|
+
* AttestedRevealRequest is the request type for the ComputeService/AttestedReveal RPC method.
|
|
820
|
+
*
|
|
821
|
+
* @generated from message inco.covalidator.compute.v1.AttestedRevealRequest
|
|
822
|
+
*/
|
|
823
|
+
export type AttestedRevealRequest = Message<"inco.covalidator.compute.v1.AttestedRevealRequest"> & {
|
|
824
|
+
/**
|
|
825
|
+
* cryptograms is the list of ciphertexts to decrypt.
|
|
826
|
+
* The handles of these values must have been revealed beforehand with the on-chain .reveal() call.
|
|
827
|
+
*
|
|
828
|
+
* @generated from field: repeated inco.covalidator.compute.v1.StoredCryptogram cryptograms = 3;
|
|
829
|
+
*/
|
|
830
|
+
cryptograms: StoredCryptogram[];
|
|
831
|
+
/**
|
|
832
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
833
|
+
*/
|
|
834
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* Describes the message inco.covalidator.compute.v1.AttestedRevealRequest.
|
|
838
|
+
* Use `create(AttestedRevealRequestSchema)` to create a new message.
|
|
839
|
+
*/
|
|
840
|
+
export declare const AttestedRevealRequestSchema: GenMessage<AttestedRevealRequest>;
|
|
841
|
+
/**
|
|
842
|
+
* EListAttestedRevealRequest is the request type for the ComputeService/EListAttestedReveal RPC method.
|
|
843
|
+
*
|
|
844
|
+
* @generated from message inco.covalidator.compute.v1.EListAttestedRevealRequest
|
|
845
|
+
*/
|
|
846
|
+
export type EListAttestedRevealRequest = Message<"inco.covalidator.compute.v1.EListAttestedRevealRequest"> & {
|
|
847
|
+
/**
|
|
848
|
+
* cryptogram is the elist ciphertext to decrypt.
|
|
849
|
+
* The elist handle must have been revealed beforehand with the on-chain .reveal() call.
|
|
850
|
+
*
|
|
851
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram cryptogram = 3;
|
|
852
|
+
*/
|
|
853
|
+
cryptogram?: StoredCryptogram | undefined;
|
|
854
|
+
/**
|
|
855
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 4;
|
|
856
|
+
*/
|
|
857
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
858
|
+
};
|
|
859
|
+
/**
|
|
860
|
+
* Describes the message inco.covalidator.compute.v1.EListAttestedRevealRequest.
|
|
861
|
+
* Use `create(EListAttestedRevealRequestSchema)` to create a new message.
|
|
862
|
+
*/
|
|
863
|
+
export declare const EListAttestedRevealRequestSchema: GenMessage<EListAttestedRevealRequest>;
|
|
864
|
+
/**
|
|
865
|
+
* AttestedRevealResponse is the response type for the ComputeService/AttestedReveal RPC method.
|
|
866
|
+
*
|
|
867
|
+
* @generated from message inco.covalidator.compute.v1.AttestedRevealResponse
|
|
868
|
+
*/
|
|
869
|
+
export type AttestedRevealResponse = Message<"inco.covalidator.compute.v1.AttestedRevealResponse"> & {
|
|
870
|
+
/**
|
|
871
|
+
* decryption_attestations is the list of decryption attestations. The item at index `i`
|
|
872
|
+
* corresponds to the cryptogram at index `i` in the `AttestedRevealRequest`.
|
|
873
|
+
*
|
|
874
|
+
* @generated from field: repeated inco.kms.lite.v1.DecryptionAttestation decryption_attestations = 1;
|
|
875
|
+
*/
|
|
876
|
+
decryptionAttestations: DecryptionAttestation[];
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* Describes the message inco.covalidator.compute.v1.AttestedRevealResponse.
|
|
880
|
+
* Use `create(AttestedRevealResponseSchema)` to create a new message.
|
|
881
|
+
*/
|
|
882
|
+
export declare const AttestedRevealResponseSchema: GenMessage<AttestedRevealResponse>;
|
|
883
|
+
/**
|
|
884
|
+
* EListAttestedRevealResponse is the response type for the ComputeService/EListAttestedRevealResponse RPC method.
|
|
885
|
+
*
|
|
886
|
+
* @generated from message inco.covalidator.compute.v1.EListAttestedRevealResponse
|
|
887
|
+
*/
|
|
888
|
+
export type EListAttestedRevealResponse = Message<"inco.covalidator.compute.v1.EListAttestedRevealResponse"> & {
|
|
889
|
+
/**
|
|
890
|
+
* commitment_proof_attestation is the signed commitment proof of the decrypted elist values.
|
|
891
|
+
*
|
|
892
|
+
* @generated from field: inco.kms.lite.v1.DecryptionAttestation commitment_proof_attestation = 1;
|
|
893
|
+
*/
|
|
894
|
+
commitmentProofAttestation?: DecryptionAttestation | undefined;
|
|
895
|
+
/**
|
|
896
|
+
* values is the list of decrypted elist elements.
|
|
897
|
+
*
|
|
898
|
+
* @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
|
|
899
|
+
*/
|
|
900
|
+
values: EListElement[];
|
|
901
|
+
/**
|
|
902
|
+
* proof_hashes is the list of per-element proof hashes.
|
|
903
|
+
* proof_hashes[i] = keccak256(value[i])
|
|
904
|
+
* The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
|
|
905
|
+
*
|
|
906
|
+
* @generated from field: repeated bytes proof_hashes = 3;
|
|
907
|
+
*/
|
|
908
|
+
proofHashes: Uint8Array[];
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* Describes the message inco.covalidator.compute.v1.EListAttestedRevealResponse.
|
|
912
|
+
* Use `create(EListAttestedRevealResponseSchema)` to create a new message.
|
|
913
|
+
*/
|
|
914
|
+
export declare const EListAttestedRevealResponseSchema: GenMessage<EListAttestedRevealResponse>;
|
|
915
|
+
/**
|
|
916
|
+
* AttestedComputeRequest is the request type for the ComputeService/AttestedDecrypt RPC method.
|
|
917
|
+
*
|
|
918
|
+
* @generated from message inco.covalidator.compute.v1.AttestedComputeRequest
|
|
919
|
+
*/
|
|
920
|
+
export type AttestedComputeRequest = Message<"inco.covalidator.compute.v1.AttestedComputeRequest"> & {
|
|
921
|
+
/**
|
|
922
|
+
* user_address is the Ethereum address of the user who requested the
|
|
923
|
+
* decryption, prefixed with 0x.
|
|
924
|
+
*
|
|
925
|
+
* @generated from field: string user_address = 1;
|
|
926
|
+
*/
|
|
927
|
+
userAddress: string;
|
|
928
|
+
/**
|
|
929
|
+
* reencrypt_pub_key is the encoding of the user's public
|
|
930
|
+
* encryption key (X-Wing) used to reencrypt the result for.
|
|
931
|
+
* It is encoded in its 1216-byte format.
|
|
932
|
+
* If empty, the KMS will return plaintext decryption instead of reencryption.
|
|
933
|
+
*
|
|
934
|
+
* @generated from field: bytes reencrypt_pub_key = 2;
|
|
935
|
+
*/
|
|
936
|
+
reencryptPubKey: Uint8Array;
|
|
937
|
+
/**
|
|
938
|
+
* eip712_signature is an EIP-712 signature of the following EIP-712 typed data by
|
|
939
|
+
* `user_address` (note that we only give a JSON representation for the sake of
|
|
940
|
+
* readability, but the actual signed data is defined in the EIP-712 spec) where:
|
|
941
|
+
* op - operation to perform
|
|
942
|
+
* lhs - handle of the ciphertext to perform computation on
|
|
943
|
+
* rhs - second plaintext scalar operand
|
|
944
|
+
* publicKey - 0x prefixed reencrypt_pub_key (if any). "0x" otherwise if empty.
|
|
945
|
+
*
|
|
946
|
+
* ```json
|
|
947
|
+
* {
|
|
948
|
+
* "types": {
|
|
949
|
+
* "EIP712Domain": [
|
|
950
|
+
* { "name": "name", "type": "string" },
|
|
951
|
+
* { "name": "version", "type": "string" },
|
|
952
|
+
* { "name": "chainId", "type": "uint256" }
|
|
953
|
+
* ],
|
|
954
|
+
* "AttestedComputeRequest": [
|
|
955
|
+
* { "name": "op", "type": "uint8"},
|
|
956
|
+
* { "name": "lhs", "type": "bytes32"},
|
|
957
|
+
* { "name": "rhs", "type": "bytes32"},
|
|
958
|
+
* { "name": "publicKey", "type": "bytes" },
|
|
959
|
+
* ]
|
|
960
|
+
* },
|
|
961
|
+
* "primaryType": "AttestedComputeRequest",
|
|
962
|
+
* "domain": {
|
|
963
|
+
* "name": "IncoAttestedCompute",
|
|
964
|
+
* "version": "1",
|
|
965
|
+
* "chainId": "<host_chain_id>",
|
|
966
|
+
* },
|
|
967
|
+
* "message": {
|
|
968
|
+
* "op": <operation>,
|
|
969
|
+
* "lhs": "<handle1>",
|
|
970
|
+
* "rhs": <plaintextBytes>, // Also add a comment on length & encoding
|
|
971
|
+
* "publicKey": "0x<reencrypt_pub_key>"
|
|
972
|
+
* }
|
|
973
|
+
* }
|
|
974
|
+
* ```
|
|
975
|
+
*
|
|
976
|
+
* @generated from field: bytes eip712_signature = 3;
|
|
977
|
+
*/
|
|
978
|
+
eip712Signature: Uint8Array;
|
|
979
|
+
/**
|
|
980
|
+
* Subset of supported binary operations that can be performed on a handle.
|
|
981
|
+
*
|
|
982
|
+
* @generated from field: inco.kms.lite.v1.SupportedScalarBinaryOp op = 4;
|
|
983
|
+
*/
|
|
984
|
+
op: SupportedScalarBinaryOp;
|
|
985
|
+
/**
|
|
986
|
+
* lhs holds the value to perform computation on.
|
|
987
|
+
* The user_address must have ACL access to the lhs for the attested
|
|
988
|
+
* compute to succeed.
|
|
989
|
+
*
|
|
990
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram lhs = 5;
|
|
991
|
+
*/
|
|
992
|
+
lhs?: StoredCryptogram | undefined;
|
|
993
|
+
/**
|
|
994
|
+
* Second plaintext scalar operand encoded as a hex string (with or without 0x prefix)
|
|
995
|
+
*
|
|
996
|
+
* @generated from field: string rhs_plaintext = 6;
|
|
997
|
+
*/
|
|
998
|
+
rhsPlaintext: string;
|
|
999
|
+
/**
|
|
1000
|
+
* acl_proof is the proof that the user has access to compute on the lhs_handle.
|
|
1001
|
+
* Either the user_address or sharer must have ACL access to the handles for the attested
|
|
1002
|
+
* compute to succeed.
|
|
1003
|
+
*
|
|
1004
|
+
* @generated from field: inco.kms.lite.v1.ACLProof acl_proof = 7;
|
|
1005
|
+
*/
|
|
1006
|
+
aclProof?: ACLProof | undefined;
|
|
1007
|
+
/**
|
|
1008
|
+
* @generated from field: optional inco.covalidator.compute.v1.ConfigureRequest configure_request = 8;
|
|
1009
|
+
*/
|
|
1010
|
+
configureRequest?: ConfigureRequest | undefined;
|
|
1011
|
+
};
|
|
1012
|
+
/**
|
|
1013
|
+
* Describes the message inco.covalidator.compute.v1.AttestedComputeRequest.
|
|
1014
|
+
* Use `create(AttestedComputeRequestSchema)` to create a new message.
|
|
1015
|
+
*/
|
|
1016
|
+
export declare const AttestedComputeRequestSchema: GenMessage<AttestedComputeRequest>;
|
|
1017
|
+
/**
|
|
1018
|
+
* AttestedComputeResponse is the response type for the ComputeService/AttestedCompute RPC method.
|
|
1019
|
+
*
|
|
1020
|
+
* @generated from message inco.covalidator.compute.v1.AttestedComputeResponse
|
|
1021
|
+
*/
|
|
1022
|
+
export type AttestedComputeResponse = Message<"inco.covalidator.compute.v1.AttestedComputeResponse"> & {
|
|
1023
|
+
/**
|
|
1024
|
+
* decryption_attestation is the signed decryption of the result of the computation.
|
|
1025
|
+
*
|
|
1026
|
+
* @generated from field: inco.kms.lite.v1.DecryptionAttestation decryption_attestation = 1;
|
|
1027
|
+
*/
|
|
1028
|
+
decryptionAttestation?: DecryptionAttestation | undefined;
|
|
1029
|
+
};
|
|
1030
|
+
/**
|
|
1031
|
+
* Describes the message inco.covalidator.compute.v1.AttestedComputeResponse.
|
|
1032
|
+
* Use `create(AttestedComputeResponseSchema)` to create a new message.
|
|
1033
|
+
*/
|
|
1034
|
+
export declare const AttestedComputeResponseSchema: GenMessage<AttestedComputeResponse>;
|
|
1035
|
+
/**
|
|
1036
|
+
* IsReadyRequest is the request type for the ComputeService/IsReady RPC method.
|
|
1037
|
+
*
|
|
1038
|
+
* @generated from message inco.covalidator.compute.v1.IsReadyRequest
|
|
1039
|
+
*/
|
|
1040
|
+
export type IsReadyRequest = Message<"inco.covalidator.compute.v1.IsReadyRequest"> & {};
|
|
1041
|
+
/**
|
|
1042
|
+
* Describes the message inco.covalidator.compute.v1.IsReadyRequest.
|
|
1043
|
+
* Use `create(IsReadyRequestSchema)` to create a new message.
|
|
1044
|
+
*/
|
|
1045
|
+
export declare const IsReadyRequestSchema: GenMessage<IsReadyRequest>;
|
|
1046
|
+
/**
|
|
1047
|
+
* IsReadyResponse is the response type for the ComputeService/IsReady RPC method.
|
|
1048
|
+
*
|
|
1049
|
+
* @generated from message inco.covalidator.compute.v1.IsReadyResponse
|
|
1050
|
+
*/
|
|
1051
|
+
export type IsReadyResponse = Message<"inco.covalidator.compute.v1.IsReadyResponse"> & {
|
|
1052
|
+
/**
|
|
1053
|
+
* ready indicates whether the compute service is fully configured and ready to process requests.
|
|
1054
|
+
*
|
|
1055
|
+
* @generated from field: bool ready = 1;
|
|
1056
|
+
*/
|
|
1057
|
+
ready: boolean;
|
|
1058
|
+
};
|
|
1059
|
+
/**
|
|
1060
|
+
* Describes the message inco.covalidator.compute.v1.IsReadyResponse.
|
|
1061
|
+
* Use `create(IsReadyResponseSchema)` to create a new message.
|
|
1062
|
+
*/
|
|
1063
|
+
export declare const IsReadyResponseSchema: GenMessage<IsReadyResponse>;
|
|
1064
|
+
/**
|
|
1065
|
+
* @generated from enum inco.covalidator.compute.v1.TeeOperation
|
|
1066
|
+
*/
|
|
1067
|
+
export declare enum TeeOperation {
|
|
1068
|
+
/**
|
|
1069
|
+
* @generated from enum value: TEE_ADD = 0;
|
|
1070
|
+
*/
|
|
1071
|
+
TEE_ADD = 0,
|
|
1072
|
+
/**
|
|
1073
|
+
* @generated from enum value: TEE_SUB = 1;
|
|
1074
|
+
*/
|
|
1075
|
+
TEE_SUB = 1,
|
|
1076
|
+
/**
|
|
1077
|
+
* @generated from enum value: TEE_MUL = 2;
|
|
1078
|
+
*/
|
|
1079
|
+
TEE_MUL = 2,
|
|
1080
|
+
/**
|
|
1081
|
+
* @generated from enum value: TEE_DIV = 3;
|
|
1082
|
+
*/
|
|
1083
|
+
TEE_DIV = 3,
|
|
1084
|
+
/**
|
|
1085
|
+
* @generated from enum value: TEE_REM = 4;
|
|
1086
|
+
*/
|
|
1087
|
+
TEE_REM = 4,
|
|
1088
|
+
/**
|
|
1089
|
+
* @generated from enum value: TEE_BIT_AND = 5;
|
|
1090
|
+
*/
|
|
1091
|
+
TEE_BIT_AND = 5,
|
|
1092
|
+
/**
|
|
1093
|
+
* @generated from enum value: TEE_BIT_OR = 6;
|
|
1094
|
+
*/
|
|
1095
|
+
TEE_BIT_OR = 6,
|
|
1096
|
+
/**
|
|
1097
|
+
* @generated from enum value: TEE_BIT_XOR = 7;
|
|
1098
|
+
*/
|
|
1099
|
+
TEE_BIT_XOR = 7,
|
|
1100
|
+
/**
|
|
1101
|
+
* @generated from enum value: TEE_SHL = 8;
|
|
1102
|
+
*/
|
|
1103
|
+
TEE_SHL = 8,
|
|
1104
|
+
/**
|
|
1105
|
+
* @generated from enum value: TEE_SHR = 9;
|
|
1106
|
+
*/
|
|
1107
|
+
TEE_SHR = 9,
|
|
1108
|
+
/**
|
|
1109
|
+
* @generated from enum value: TEE_ROTL = 10;
|
|
1110
|
+
*/
|
|
1111
|
+
TEE_ROTL = 10,
|
|
1112
|
+
/**
|
|
1113
|
+
* @generated from enum value: TEE_ROTR = 11;
|
|
1114
|
+
*/
|
|
1115
|
+
TEE_ROTR = 11,
|
|
1116
|
+
/**
|
|
1117
|
+
* @generated from enum value: TEE_EQ = 12;
|
|
1118
|
+
*/
|
|
1119
|
+
TEE_EQ = 12,
|
|
1120
|
+
/**
|
|
1121
|
+
* @generated from enum value: TEE_NE = 13;
|
|
1122
|
+
*/
|
|
1123
|
+
TEE_NE = 13,
|
|
1124
|
+
/**
|
|
1125
|
+
* @generated from enum value: TEE_GE = 14;
|
|
1126
|
+
*/
|
|
1127
|
+
TEE_GE = 14,
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from enum value: TEE_GT = 15;
|
|
1130
|
+
*/
|
|
1131
|
+
TEE_GT = 15,
|
|
1132
|
+
/**
|
|
1133
|
+
* @generated from enum value: TEE_LE = 16;
|
|
1134
|
+
*/
|
|
1135
|
+
TEE_LE = 16,
|
|
1136
|
+
/**
|
|
1137
|
+
* @generated from enum value: TEE_LT = 17;
|
|
1138
|
+
*/
|
|
1139
|
+
TEE_LT = 17,
|
|
1140
|
+
/**
|
|
1141
|
+
* @generated from enum value: TEE_MIN = 18;
|
|
1142
|
+
*/
|
|
1143
|
+
TEE_MIN = 18,
|
|
1144
|
+
/**
|
|
1145
|
+
* @generated from enum value: TEE_MAX = 19;
|
|
1146
|
+
*/
|
|
1147
|
+
TEE_MAX = 19,
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from enum value: TEE_NEG = 20;
|
|
1150
|
+
*/
|
|
1151
|
+
TEE_NEG = 20,
|
|
1152
|
+
/**
|
|
1153
|
+
* @generated from enum value: TEE_NOT = 21;
|
|
1154
|
+
*/
|
|
1155
|
+
TEE_NOT = 21,
|
|
1156
|
+
/**
|
|
1157
|
+
* Added absent operation
|
|
1158
|
+
*
|
|
1159
|
+
* @generated from enum value: TEE_VERIFY_CIPHERTEXT = 22;
|
|
1160
|
+
*/
|
|
1161
|
+
TEE_VERIFY_CIPHERTEXT = 22,
|
|
1162
|
+
/**
|
|
1163
|
+
* @generated from enum value: TEE_CAST = 23;
|
|
1164
|
+
*/
|
|
1165
|
+
TEE_CAST = 23,
|
|
1166
|
+
/**
|
|
1167
|
+
* @generated from enum value: TEE_TRIVIAL_ENCRYPT = 24;
|
|
1168
|
+
*/
|
|
1169
|
+
TEE_TRIVIAL_ENCRYPT = 24,
|
|
1170
|
+
/**
|
|
1171
|
+
* @generated from enum value: TEE_IF_THEN_ELSE = 25;
|
|
1172
|
+
*/
|
|
1173
|
+
TEE_IF_THEN_ELSE = 25,
|
|
1174
|
+
/**
|
|
1175
|
+
* @generated from enum value: TEE_RAND = 26;
|
|
1176
|
+
*/
|
|
1177
|
+
TEE_RAND = 26,
|
|
1178
|
+
/**
|
|
1179
|
+
* @generated from enum value: TEE_RAND_BOUNDED = 27;
|
|
1180
|
+
*/
|
|
1181
|
+
TEE_RAND_BOUNDED = 27,
|
|
1182
|
+
/**
|
|
1183
|
+
* Custom
|
|
1184
|
+
*
|
|
1185
|
+
* @generated from enum value: TEE_ALLOW = 40;
|
|
1186
|
+
*/
|
|
1187
|
+
TEE_ALLOW = 40,
|
|
1188
|
+
/**
|
|
1189
|
+
* @generated from enum value: TEE_REVEAL = 41;
|
|
1190
|
+
*/
|
|
1191
|
+
TEE_REVEAL = 41,
|
|
1192
|
+
/**
|
|
1193
|
+
* @generated from enum value: TEE_GET_CIPHERTEXT = 32;
|
|
1194
|
+
*/
|
|
1195
|
+
TEE_GET_CIPHERTEXT = 32,
|
|
1196
|
+
/**
|
|
1197
|
+
* Elist operations
|
|
1198
|
+
*
|
|
1199
|
+
* @generated from enum value: TEE_NEW_ELIST = 100;
|
|
1200
|
+
*/
|
|
1201
|
+
TEE_NEW_ELIST = 100,
|
|
1202
|
+
/**
|
|
1203
|
+
* @generated from enum value: TEE_ELIST_GET = 101;
|
|
1204
|
+
*/
|
|
1205
|
+
TEE_ELIST_GET = 101,
|
|
1206
|
+
/**
|
|
1207
|
+
* @generated from enum value: TEE_ELIST_GET_OR = 102;
|
|
1208
|
+
*/
|
|
1209
|
+
TEE_ELIST_GET_OR = 102,
|
|
1210
|
+
/**
|
|
1211
|
+
* @generated from enum value: TEE_ELIST_SET = 103;
|
|
1212
|
+
*/
|
|
1213
|
+
TEE_ELIST_SET = 103,
|
|
1214
|
+
/**
|
|
1215
|
+
* @generated from enum value: TEE_ELIST_INSERT = 104;
|
|
1216
|
+
*/
|
|
1217
|
+
TEE_ELIST_INSERT = 104,
|
|
1218
|
+
/**
|
|
1219
|
+
* @generated from enum value: TEE_ELIST_APPEND = 105;
|
|
1220
|
+
*/
|
|
1221
|
+
TEE_ELIST_APPEND = 105,
|
|
1222
|
+
/**
|
|
1223
|
+
* @generated from enum value: TEE_ELIST_CONCAT = 106;
|
|
1224
|
+
*/
|
|
1225
|
+
TEE_ELIST_CONCAT = 106,
|
|
1226
|
+
/**
|
|
1227
|
+
* @generated from enum value: TEE_ELIST_SLICE = 107;
|
|
1228
|
+
*/
|
|
1229
|
+
TEE_ELIST_SLICE = 107,
|
|
1230
|
+
/**
|
|
1231
|
+
* @generated from enum value: TEE_ELIST_RANGE = 108;
|
|
1232
|
+
*/
|
|
1233
|
+
TEE_ELIST_RANGE = 108,
|
|
1234
|
+
/**
|
|
1235
|
+
* @generated from enum value: TEE_ELIST_SHUFFLE = 109;
|
|
1236
|
+
*/
|
|
1237
|
+
TEE_ELIST_SHUFFLE = 109,
|
|
1238
|
+
/**
|
|
1239
|
+
* @generated from enum value: TEE_ELIST_REVERSE = 110;
|
|
1240
|
+
*/
|
|
1241
|
+
TEE_ELIST_REVERSE = 110
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* Describes the enum inco.covalidator.compute.v1.TeeOperation.
|
|
1245
|
+
*/
|
|
1246
|
+
export declare const TeeOperationSchema: GenEnum<TeeOperation>;
|
|
1247
|
+
/**
|
|
1248
|
+
* @generated from service inco.covalidator.compute.v1.ComputeService
|
|
1249
|
+
*/
|
|
1250
|
+
export declare const ComputeService: GenService<{
|
|
1251
|
+
/**
|
|
1252
|
+
* IsReady checks whether the compute service is fully configured and ready to process requests.
|
|
1253
|
+
*
|
|
1254
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.IsReady
|
|
1255
|
+
*/
|
|
1256
|
+
isReady: {
|
|
1257
|
+
methodKind: "unary";
|
|
1258
|
+
input: typeof IsReadyRequestSchema;
|
|
1259
|
+
output: typeof IsReadyResponseSchema;
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Configure contains all necessary configuration to start the compute service
|
|
1263
|
+
* which are not part of the MR_AGGREGATED fingerprint. These usually include
|
|
1264
|
+
* parameters that are specific to each TEE operator.
|
|
1265
|
+
*
|
|
1266
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.Configure
|
|
1267
|
+
*/
|
|
1268
|
+
configure: {
|
|
1269
|
+
methodKind: "unary";
|
|
1270
|
+
input: typeof ConfigureRequestSchema;
|
|
1271
|
+
output: typeof ConfigureResponseSchema;
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* InputToStoredCryptogram converts a scalar input ciphertext into a compute
|
|
1275
|
+
* ciphertext. (elist/emap input ciphertext as a blob is currently not supported)
|
|
1276
|
+
*
|
|
1277
|
+
* # IncoLite
|
|
1278
|
+
*
|
|
1279
|
+
* In the IncoLite system, the input ciphertext is an X-Wing ciphertext, and
|
|
1280
|
+
* the compute ciphertexts are encrypted using the encryption codec passed
|
|
1281
|
+
* into the plaintext compute client.
|
|
1282
|
+
*
|
|
1283
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.InputToStoredCryptogram
|
|
1284
|
+
*/
|
|
1285
|
+
inputToStoredCryptogram: {
|
|
1286
|
+
methodKind: "unary";
|
|
1287
|
+
input: typeof InputToStoredCryptogramRequestSchema;
|
|
1288
|
+
output: typeof InputToStoredCryptogramResponseSchema;
|
|
1289
|
+
};
|
|
1290
|
+
/**
|
|
1291
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleCastOp
|
|
1292
|
+
*/
|
|
1293
|
+
singleCastOp: {
|
|
1294
|
+
methodKind: "unary";
|
|
1295
|
+
input: typeof SingleCastOpRequestSchema;
|
|
1296
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1297
|
+
};
|
|
1298
|
+
/**
|
|
1299
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleUnaryOp
|
|
1300
|
+
*/
|
|
1301
|
+
singleUnaryOp: {
|
|
1302
|
+
methodKind: "unary";
|
|
1303
|
+
input: typeof SingleUnaryOpRequestSchema;
|
|
1304
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1305
|
+
};
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleBinaryOp
|
|
1308
|
+
*/
|
|
1309
|
+
singleBinaryOp: {
|
|
1310
|
+
methodKind: "unary";
|
|
1311
|
+
input: typeof SingleBinaryOpRequestSchema;
|
|
1312
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleBinaryScalarOp
|
|
1316
|
+
*/
|
|
1317
|
+
singleBinaryScalarOp: {
|
|
1318
|
+
methodKind: "unary";
|
|
1319
|
+
input: typeof SingleBinaryOpScalarRequestSchema;
|
|
1320
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1321
|
+
};
|
|
1322
|
+
/**
|
|
1323
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleTernaryOp
|
|
1324
|
+
*/
|
|
1325
|
+
singleTernaryOp: {
|
|
1326
|
+
methodKind: "unary";
|
|
1327
|
+
input: typeof SingleTernaryOpRequestSchema;
|
|
1328
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1329
|
+
};
|
|
1330
|
+
/**
|
|
1331
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleTrivialOp
|
|
1332
|
+
*/
|
|
1333
|
+
singleTrivialOp: {
|
|
1334
|
+
methodKind: "unary";
|
|
1335
|
+
input: typeof SingleTrivialOpRequestSchema;
|
|
1336
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleRandBoundedOp
|
|
1340
|
+
*/
|
|
1341
|
+
singleRandBoundedOp: {
|
|
1342
|
+
methodKind: "unary";
|
|
1343
|
+
input: typeof SingleRandBoundedOpRequestSchema;
|
|
1344
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleNewEListOp
|
|
1348
|
+
*/
|
|
1349
|
+
singleNewEListOp: {
|
|
1350
|
+
methodKind: "unary";
|
|
1351
|
+
input: typeof SingleNewEListOpRequestSchema;
|
|
1352
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1353
|
+
};
|
|
1354
|
+
/**
|
|
1355
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListGetOp
|
|
1356
|
+
*/
|
|
1357
|
+
singleEListGetOp: {
|
|
1358
|
+
methodKind: "unary";
|
|
1359
|
+
input: typeof SingleEListGetOpRequestSchema;
|
|
1360
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1361
|
+
};
|
|
1362
|
+
/**
|
|
1363
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListGetOrOp
|
|
1364
|
+
*/
|
|
1365
|
+
singleEListGetOrOp: {
|
|
1366
|
+
methodKind: "unary";
|
|
1367
|
+
input: typeof SingleEListGetOrOpRequestSchema;
|
|
1368
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1369
|
+
};
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListSetOp
|
|
1372
|
+
*/
|
|
1373
|
+
singleEListSetOp: {
|
|
1374
|
+
methodKind: "unary";
|
|
1375
|
+
input: typeof SingleEListSetOpRequestSchema;
|
|
1376
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1377
|
+
};
|
|
1378
|
+
/**
|
|
1379
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListAppendOp
|
|
1380
|
+
*/
|
|
1381
|
+
singleEListAppendOp: {
|
|
1382
|
+
methodKind: "unary";
|
|
1383
|
+
input: typeof SingleEListAppendOpRequestSchema;
|
|
1384
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1385
|
+
};
|
|
1386
|
+
/**
|
|
1387
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListInsertOp
|
|
1388
|
+
*/
|
|
1389
|
+
singleEListInsertOp: {
|
|
1390
|
+
methodKind: "unary";
|
|
1391
|
+
input: typeof SingleEListInsertOpRequestSchema;
|
|
1392
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1393
|
+
};
|
|
1394
|
+
/**
|
|
1395
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListConcatOp
|
|
1396
|
+
*/
|
|
1397
|
+
singleEListConcatOp: {
|
|
1398
|
+
methodKind: "unary";
|
|
1399
|
+
input: typeof SingleEListConcatOpRequestSchema;
|
|
1400
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1401
|
+
};
|
|
1402
|
+
/**
|
|
1403
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListSliceOp
|
|
1404
|
+
*/
|
|
1405
|
+
singleEListSliceOp: {
|
|
1406
|
+
methodKind: "unary";
|
|
1407
|
+
input: typeof SingleEListSliceOpRequestSchema;
|
|
1408
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1409
|
+
};
|
|
1410
|
+
/**
|
|
1411
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListRangeOp
|
|
1412
|
+
*/
|
|
1413
|
+
singleEListRangeOp: {
|
|
1414
|
+
methodKind: "unary";
|
|
1415
|
+
input: typeof SingleEListRangeOpRequestSchema;
|
|
1416
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1417
|
+
};
|
|
1418
|
+
/**
|
|
1419
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListShuffleOp
|
|
1420
|
+
*/
|
|
1421
|
+
singleEListShuffleOp: {
|
|
1422
|
+
methodKind: "unary";
|
|
1423
|
+
input: typeof SingleEListShuffleOpRequestSchema;
|
|
1424
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1425
|
+
};
|
|
1426
|
+
/**
|
|
1427
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.SingleEListReverseOp
|
|
1428
|
+
*/
|
|
1429
|
+
singleEListReverseOp: {
|
|
1430
|
+
methodKind: "unary";
|
|
1431
|
+
input: typeof SingleEListReverseOpRequestSchema;
|
|
1432
|
+
output: typeof SingleCiphertextResponseSchema;
|
|
1433
|
+
};
|
|
1434
|
+
/**
|
|
1435
|
+
* AttestedDecrypt decrypts multiple ciphertexts and provides an attestation
|
|
1436
|
+
* that the decryption was performed correctly.
|
|
1437
|
+
* Can optionally reencrypt the result of the decryption to a desired public key.
|
|
1438
|
+
*
|
|
1439
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.AttestedDecrypt
|
|
1440
|
+
*/
|
|
1441
|
+
attestedDecrypt: {
|
|
1442
|
+
methodKind: "unary";
|
|
1443
|
+
input: typeof AttestedDecryptRequestSchema;
|
|
1444
|
+
output: typeof AttestedDecryptResponseSchema;
|
|
1445
|
+
};
|
|
1446
|
+
/**
|
|
1447
|
+
* AttestedCompute decrypts the result of a scalar binary operation on a handle and provides an attestation
|
|
1448
|
+
* that the computation and decryption were performed correctly.
|
|
1449
|
+
*
|
|
1450
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.AttestedCompute
|
|
1451
|
+
*/
|
|
1452
|
+
attestedCompute: {
|
|
1453
|
+
methodKind: "unary";
|
|
1454
|
+
input: typeof AttestedComputeRequestSchema;
|
|
1455
|
+
output: typeof AttestedComputeResponseSchema;
|
|
1456
|
+
};
|
|
1457
|
+
/**
|
|
1458
|
+
* AttestedReveal decrypts multiple ciphertexts and provides an attestation
|
|
1459
|
+
* that the decryption was performed correctly.
|
|
1460
|
+
* Doesn't require authentication if the handle is publicly revealed with the on-chain .reveal() call beforehand.
|
|
1461
|
+
* Compare to kms.lite.v1.KmsService.AttestedReveal.
|
|
1462
|
+
*
|
|
1463
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.AttestedReveal
|
|
1464
|
+
*/
|
|
1465
|
+
attestedReveal: {
|
|
1466
|
+
methodKind: "unary";
|
|
1467
|
+
input: typeof AttestedRevealRequestSchema;
|
|
1468
|
+
output: typeof AttestedRevealResponseSchema;
|
|
1469
|
+
};
|
|
1470
|
+
/**
|
|
1471
|
+
* EListAttestedDecrypt decrypts a single elist ciphertext and provides an attestation
|
|
1472
|
+
* that the decryption was performed correctly.
|
|
1473
|
+
* Can optionally reencrypt the results of the decryption to a desired public key.
|
|
1474
|
+
*
|
|
1475
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.EListAttestedDecrypt
|
|
1476
|
+
*/
|
|
1477
|
+
eListAttestedDecrypt: {
|
|
1478
|
+
methodKind: "unary";
|
|
1479
|
+
input: typeof EListAttestedDecryptRequestSchema;
|
|
1480
|
+
output: typeof EListAttestedDecryptResponseSchema;
|
|
1481
|
+
};
|
|
1482
|
+
/**
|
|
1483
|
+
* EListAttestedReveal decrypts a single elist ciphertext and provides an attestation
|
|
1484
|
+
* that the decryption was performed correctly.
|
|
1485
|
+
* Doesn't require authentication if the handle is publicly revealed with the on-chain .reveal() call beforehand.
|
|
1486
|
+
*
|
|
1487
|
+
* @generated from rpc inco.covalidator.compute.v1.ComputeService.EListAttestedReveal
|
|
1488
|
+
*/
|
|
1489
|
+
eListAttestedReveal: {
|
|
1490
|
+
methodKind: "unary";
|
|
1491
|
+
input: typeof EListAttestedRevealRequestSchema;
|
|
1492
|
+
output: typeof EListAttestedRevealResponseSchema;
|
|
1493
|
+
};
|
|
1494
|
+
}>;
|