@inco/js 0.7.6 → 0.7.8
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/dist/cjs/attestedcompute/types.d.ts +1 -1
- package/dist/cjs/attestedcompute/types.js +8 -8
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +376 -1
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.js +34 -3
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +26 -20
- package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.js +12 -11
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +3 -139
- package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +12 -112
- package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.d.ts +94 -1
- package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.js +97 -3
- package/dist/cjs/generated/local-node.d.ts +8 -0
- package/dist/cjs/generated/local-node.js +13 -1
- package/dist/cjs/lite/ecies.js +2 -9
- package/dist/cjs/lite/hadu.js +8 -18
- package/dist/cjs/lite/lightning.js +1 -3
- package/dist/esm/attestedcompute/types.d.ts +1 -1
- package/dist/esm/attestedcompute/types.js +2 -2
- package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +376 -1
- package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.js +33 -2
- package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +26 -20
- package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.js +11 -10
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +3 -139
- package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +12 -112
- package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.d.ts +94 -1
- package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.js +97 -3
- package/dist/esm/generated/local-node.d.ts +8 -0
- package/dist/esm/generated/local-node.js +13 -1
- package/dist/esm/lite/ecies.js +2 -9
- package/dist/esm/lite/hadu.js +8 -18
- package/dist/esm/lite/lightning.js +1 -3
- package/dist/types/attestedcompute/types.d.ts +1 -1
- package/dist/types/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +376 -1
- package/dist/types/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +26 -20
- package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +3 -139
- package/dist/types/generated/es/inco/kms/lite/v1/types_pb.d.ts +94 -1
- package/dist/types/generated/local-node.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ACLProof } from "../../../kms/lite/v1/types_pb";
|
|
2
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file inco/covalidator/compute/v1/types.proto.
|
|
@@ -68,26 +69,10 @@ export type InputPayload = Message<"inco.covalidator.compute.v1.InputPayload"> &
|
|
|
68
69
|
* @generated from field: bytes context_hash = 1;
|
|
69
70
|
*/
|
|
70
71
|
contextHash: Uint8Array;
|
|
71
|
-
/**
|
|
72
|
-
* Plaintexts all sharing a common context
|
|
73
|
-
*
|
|
74
|
-
* @generated from field: repeated inco.covalidator.compute.v1.AnyValue values = 2;
|
|
75
|
-
*/
|
|
76
|
-
values: AnyValue[];
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Describes the message inco.covalidator.compute.v1.InputPayload.
|
|
80
|
-
* Use `create(InputPayloadSchema)` to create a new message.
|
|
81
|
-
*/
|
|
82
|
-
export declare const InputPayloadSchema: GenMessage<InputPayload>;
|
|
83
|
-
/**
|
|
84
|
-
* @generated from message inco.covalidator.compute.v1.AnyValue
|
|
85
|
-
*/
|
|
86
|
-
export type AnyValue = Message<"inco.covalidator.compute.v1.AnyValue"> & {
|
|
87
72
|
/**
|
|
88
73
|
* The plaintext bytes deserialisable according to the type
|
|
89
74
|
*
|
|
90
|
-
* @generated from oneof inco.covalidator.compute.v1.
|
|
75
|
+
* @generated from oneof inco.covalidator.compute.v1.InputPayload.value
|
|
91
76
|
*/
|
|
92
77
|
value: {
|
|
93
78
|
/**
|
|
@@ -107,10 +92,10 @@ export type AnyValue = Message<"inco.covalidator.compute.v1.AnyValue"> & {
|
|
|
107
92
|
};
|
|
108
93
|
};
|
|
109
94
|
/**
|
|
110
|
-
* Describes the message inco.covalidator.compute.v1.
|
|
111
|
-
* Use `create(
|
|
95
|
+
* Describes the message inco.covalidator.compute.v1.InputPayload.
|
|
96
|
+
* Use `create(InputPayloadSchema)` to create a new message.
|
|
112
97
|
*/
|
|
113
|
-
export declare const
|
|
98
|
+
export declare const InputPayloadSchema: GenMessage<InputPayload>;
|
|
114
99
|
/**
|
|
115
100
|
* Scalar represents a single scalar value of a given type and only applies to inputs not store cryptograms
|
|
116
101
|
*
|
|
@@ -198,3 +183,24 @@ export type StoredCryptogram = Message<"inco.covalidator.compute.v1.StoredCrypto
|
|
|
198
183
|
* Use `create(StoredCryptogramSchema)` to create a new message.
|
|
199
184
|
*/
|
|
200
185
|
export declare const StoredCryptogramSchema: GenMessage<StoredCryptogram>;
|
|
186
|
+
/**
|
|
187
|
+
* CryptogramWithProof contains a stored cryptogram and the ACL proof that the user has access
|
|
188
|
+
* to the cryptogram.
|
|
189
|
+
*
|
|
190
|
+
* @generated from message inco.covalidator.compute.v1.CryptogramWithProof
|
|
191
|
+
*/
|
|
192
|
+
export type CryptogramWithProof = Message<"inco.covalidator.compute.v1.CryptogramWithProof"> & {
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: inco.covalidator.compute.v1.StoredCryptogram cryptogram = 1;
|
|
195
|
+
*/
|
|
196
|
+
cryptogram?: StoredCryptogram;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: inco.kms.lite.v1.ACLProof acl_proof = 2;
|
|
199
|
+
*/
|
|
200
|
+
aclProof?: ACLProof;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message inco.covalidator.compute.v1.CryptogramWithProof.
|
|
204
|
+
* Use `create(CryptogramWithProofSchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
export declare const CryptogramWithProofSchema: GenMessage<CryptogramWithProof>;
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// @generated from file inco/covalidator/compute/v1/types.proto (package inco.covalidator.compute.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_inco_kms_lite_v1_types } from "../../../kms/lite/v1/types_pb";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file inco/covalidator/compute/v1/types.proto.
|
|
7
8
|
*/
|
|
8
|
-
export const file_inco_covalidator_compute_v1_types = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_inco_covalidator_compute_v1_types = /*@__PURE__*/ fileDesc("CidpbmNvL2NvdmFsaWRhdG9yL2NvbXB1dGUvdjEvdHlwZXMucHJvdG8SG2luY28uY292YWxpZGF0b3IuY29tcHV0ZS52MSJqCgxJbnB1dENvbnRleHQSFQoNaG9zdF9jaGFpbl9pZBgBIAEoCRITCgthY2xfYWRkcmVzcxgCIAEoCRIUCgx1c2VyX2FkZHJlc3MYAyABKAkSGAoQY29udHJhY3RfYWRkcmVzcxgEIAEoCSJeCg9JbnB1dENyeXB0b2dyYW0SOgoHY29udGV4dBgBIAEoCzIpLmluY28uY292YWxpZGF0b3IuY29tcHV0ZS52MS5JbnB1dENvbnRleHQSDwoHcGF5bG9hZBgCIAEoDCKXAQoMSW5wdXRQYXlsb2FkEhQKDGNvbnRleHRfaGFzaBgBIAEoDBI1CgZzY2FsYXIYAiABKAsyIy5pbmNvLmNvdmFsaWRhdG9yLmNvbXB1dGUudjEuU2NhbGFySAASMQoEbGlzdBgDIAEoCzIhLmluY28uY292YWxpZGF0b3IuY29tcHV0ZS52MS5MaXN0SABCBwoFdmFsdWUiJQoGU2NhbGFyEgwKBHR5cGUYASABKAUSDQoFdmFsdWUYAiABKAwiKwoETGlzdBITCgtlbGVtZW50VHlwZRgBIAEoBRIOCgZ2YWx1ZXMYAiADKAwiMwoQU3RvcmVkQ3J5cHRvZ3JhbRIOCgZoYW5kbGUYASABKAwSDwoHcGF5bG9hZBgCIAEoDCKHAQoTQ3J5cHRvZ3JhbVdpdGhQcm9vZhJBCgpjcnlwdG9ncmFtGAEgASgLMi0uaW5jby5jb3ZhbGlkYXRvci5jb21wdXRlLnYxLlN0b3JlZENyeXB0b2dyYW0SLQoJYWNsX3Byb29mGAIgASgLMhouaW5jby5rbXMubGl0ZS52MS5BQ0xQcm9vZkI3WjVnaXRodWIuY29tL2luY28tZmhldm0vaW5jby1tb25vcmVwby9jb3ZhbGlkYXRvci90eXBlc2IGcHJvdG8z", [file_inco_kms_lite_v1_types]);
|
|
9
10
|
/**
|
|
10
11
|
* Describes the message inco.covalidator.compute.v1.InputContext.
|
|
11
12
|
* Use `create(InputContextSchema)` to create a new message.
|
|
@@ -21,24 +22,24 @@ export const InputCryptogramSchema = /*@__PURE__*/ messageDesc(file_inco_covalid
|
|
|
21
22
|
* Use `create(InputPayloadSchema)` to create a new message.
|
|
22
23
|
*/
|
|
23
24
|
export const InputPayloadSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types, 2);
|
|
24
|
-
/**
|
|
25
|
-
* Describes the message inco.covalidator.compute.v1.AnyValue.
|
|
26
|
-
* Use `create(AnyValueSchema)` to create a new message.
|
|
27
|
-
*/
|
|
28
|
-
export const AnyValueSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types, 3);
|
|
29
25
|
/**
|
|
30
26
|
* Describes the message inco.covalidator.compute.v1.Scalar.
|
|
31
27
|
* Use `create(ScalarSchema)` to create a new message.
|
|
32
28
|
*/
|
|
33
|
-
export const ScalarSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types,
|
|
29
|
+
export const ScalarSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types, 3);
|
|
34
30
|
/**
|
|
35
31
|
* Describes the message inco.covalidator.compute.v1.List.
|
|
36
32
|
* Use `create(ListSchema)` to create a new message.
|
|
37
33
|
*/
|
|
38
|
-
export const ListSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types,
|
|
34
|
+
export const ListSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types, 4);
|
|
39
35
|
/**
|
|
40
36
|
* Describes the message inco.covalidator.compute.v1.StoredCryptogram.
|
|
41
37
|
* Use `create(StoredCryptogramSchema)` to create a new message.
|
|
42
38
|
*/
|
|
43
|
-
export const StoredCryptogramSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types,
|
|
44
|
-
|
|
39
|
+
export const StoredCryptogramSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types, 5);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message inco.covalidator.compute.v1.CryptogramWithProof.
|
|
42
|
+
* Use `create(CryptogramWithProofSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const CryptogramWithProofSchema = /*@__PURE__*/ messageDesc(file_inco_covalidator_compute_v1_types, 6);
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXNfcGIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2VzL2luY28vY292YWxpZGF0b3IvY29tcHV0ZS92MS90eXBlc19wYi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxpRUFBaUU7QUFDakUsb0hBQW9IO0FBQ3BILG9CQUFvQjtBQUdwQixPQUFPLEVBQUUsUUFBUSxFQUFFLFdBQVcsRUFBRSxNQUFNLD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EsQ0FDckYsV0FBVyxDQUFDLHNDQUFzQyxFQUFFLENBQUMsQ0FBQyxDQUFDIn0=
|
|
@@ -1,47 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ACLProof,
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { ACLProof, HandleWithProof, SupportedScalarBinaryOp } from "./types_pb";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file inco/kms/lite/v1/kms_service.proto.
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_inco_kms_lite_v1_kms_service: GenFile;
|
|
8
|
-
/**
|
|
9
|
-
* KeyRequest is the request type for the KmsService/Keys RPC method.
|
|
10
|
-
*
|
|
11
|
-
* @generated from message inco.kms.lite.v1.KeyRequest
|
|
12
|
-
*/
|
|
13
|
-
export type KeyRequest = Message<"inco.kms.lite.v1.KeyRequest"> & {};
|
|
14
|
-
/**
|
|
15
|
-
* Describes the message inco.kms.lite.v1.KeyRequest.
|
|
16
|
-
* Use `create(KeyRequestSchema)` to create a new message.
|
|
17
|
-
*/
|
|
18
|
-
export declare const KeyRequestSchema: GenMessage<KeyRequest>;
|
|
19
|
-
/**
|
|
20
|
-
* KeyResponse is the response type for the KmsService/Keys RPC method.
|
|
21
|
-
*
|
|
22
|
-
* @generated from message inco.kms.lite.v1.KeyResponse
|
|
23
|
-
*/
|
|
24
|
-
export type KeyResponse = Message<"inco.kms.lite.v1.KeyResponse"> & {
|
|
25
|
-
/**
|
|
26
|
-
* keyset is the keyset for the IncoLite KMS.
|
|
27
|
-
*
|
|
28
|
-
* @generated from field: inco.kms.lite.v1.ECIESKeyset keyset = 1;
|
|
29
|
-
*/
|
|
30
|
-
keyset?: ECIESKeyset;
|
|
31
|
-
/**
|
|
32
|
-
* signing_address is the Ethereum EOA signing address of the KMS, encoded
|
|
33
|
-
* as a 0x-prefixed hex string.
|
|
34
|
-
* TODO scalar annotation.
|
|
35
|
-
*
|
|
36
|
-
* @generated from field: string signing_address = 2;
|
|
37
|
-
*/
|
|
38
|
-
signingAddress: string;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Describes the message inco.kms.lite.v1.KeyResponse.
|
|
42
|
-
* Use `create(KeyResponseSchema)` to create a new message.
|
|
43
|
-
*/
|
|
44
|
-
export declare const KeyResponseSchema: GenMessage<KeyResponse>;
|
|
45
8
|
/**
|
|
46
9
|
* AttestedDecryptRequest is the request type for the KmsService/AttestedDecrypt RPC method.
|
|
47
10
|
*
|
|
@@ -409,95 +372,6 @@ export type DecryptionAttestation = Message<"inco.kms.lite.v1.DecryptionAttestat
|
|
|
409
372
|
* Use `create(DecryptionAttestationSchema)` to create a new message.
|
|
410
373
|
*/
|
|
411
374
|
export declare const DecryptionAttestationSchema: GenMessage<DecryptionAttestation>;
|
|
412
|
-
/**
|
|
413
|
-
* @generated from enum inco.kms.lite.v1.SupportedScalarBinaryOp
|
|
414
|
-
*/
|
|
415
|
-
export declare enum SupportedScalarBinaryOp {
|
|
416
|
-
/**
|
|
417
|
-
* @generated from enum value: FHE_ADD = 0;
|
|
418
|
-
*/
|
|
419
|
-
FHE_ADD = 0,
|
|
420
|
-
/**
|
|
421
|
-
* @generated from enum value: FHE_SUB = 1;
|
|
422
|
-
*/
|
|
423
|
-
FHE_SUB = 1,
|
|
424
|
-
/**
|
|
425
|
-
* @generated from enum value: FHE_MUL = 2;
|
|
426
|
-
*/
|
|
427
|
-
FHE_MUL = 2,
|
|
428
|
-
/**
|
|
429
|
-
* @generated from enum value: FHE_DIV = 3;
|
|
430
|
-
*/
|
|
431
|
-
FHE_DIV = 3,
|
|
432
|
-
/**
|
|
433
|
-
* @generated from enum value: FHE_REM = 4;
|
|
434
|
-
*/
|
|
435
|
-
FHE_REM = 4,
|
|
436
|
-
/**
|
|
437
|
-
* @generated from enum value: FHE_BIT_AND = 5;
|
|
438
|
-
*/
|
|
439
|
-
FHE_BIT_AND = 5,
|
|
440
|
-
/**
|
|
441
|
-
* @generated from enum value: FHE_BIT_OR = 6;
|
|
442
|
-
*/
|
|
443
|
-
FHE_BIT_OR = 6,
|
|
444
|
-
/**
|
|
445
|
-
* @generated from enum value: FHE_BIT_XOR = 7;
|
|
446
|
-
*/
|
|
447
|
-
FHE_BIT_XOR = 7,
|
|
448
|
-
/**
|
|
449
|
-
* @generated from enum value: FHE_SHL = 8;
|
|
450
|
-
*/
|
|
451
|
-
FHE_SHL = 8,
|
|
452
|
-
/**
|
|
453
|
-
* @generated from enum value: FHE_SHR = 9;
|
|
454
|
-
*/
|
|
455
|
-
FHE_SHR = 9,
|
|
456
|
-
/**
|
|
457
|
-
* @generated from enum value: FHE_ROTL = 10;
|
|
458
|
-
*/
|
|
459
|
-
FHE_ROTL = 10,
|
|
460
|
-
/**
|
|
461
|
-
* @generated from enum value: FHE_ROTR = 11;
|
|
462
|
-
*/
|
|
463
|
-
FHE_ROTR = 11,
|
|
464
|
-
/**
|
|
465
|
-
* @generated from enum value: FHE_EQ = 12;
|
|
466
|
-
*/
|
|
467
|
-
FHE_EQ = 12,
|
|
468
|
-
/**
|
|
469
|
-
* @generated from enum value: FHE_NE = 13;
|
|
470
|
-
*/
|
|
471
|
-
FHE_NE = 13,
|
|
472
|
-
/**
|
|
473
|
-
* @generated from enum value: FHE_GE = 14;
|
|
474
|
-
*/
|
|
475
|
-
FHE_GE = 14,
|
|
476
|
-
/**
|
|
477
|
-
* @generated from enum value: FHE_GT = 15;
|
|
478
|
-
*/
|
|
479
|
-
FHE_GT = 15,
|
|
480
|
-
/**
|
|
481
|
-
* @generated from enum value: FHE_LE = 16;
|
|
482
|
-
*/
|
|
483
|
-
FHE_LE = 16,
|
|
484
|
-
/**
|
|
485
|
-
* @generated from enum value: FHE_LT = 17;
|
|
486
|
-
*/
|
|
487
|
-
FHE_LT = 17,
|
|
488
|
-
/**
|
|
489
|
-
* @generated from enum value: FHE_MIN = 18;
|
|
490
|
-
*/
|
|
491
|
-
FHE_MIN = 18,
|
|
492
|
-
/**
|
|
493
|
-
* @generated from enum value: FHE_MAX = 19;
|
|
494
|
-
*/
|
|
495
|
-
FHE_MAX = 19
|
|
496
|
-
}
|
|
497
|
-
/**
|
|
498
|
-
* Describes the enum inco.kms.lite.v1.SupportedScalarBinaryOp.
|
|
499
|
-
*/
|
|
500
|
-
export declare const SupportedScalarBinaryOpSchema: GenEnum<SupportedScalarBinaryOp>;
|
|
501
375
|
/**
|
|
502
376
|
* KmsService is the service for the IncoLite KMS, which will run
|
|
503
377
|
* inside the TEE.
|
|
@@ -505,16 +379,6 @@ export declare const SupportedScalarBinaryOpSchema: GenEnum<SupportedScalarBinar
|
|
|
505
379
|
* @generated from service inco.kms.lite.v1.KmsService
|
|
506
380
|
*/
|
|
507
381
|
export declare const KmsService: GenService<{
|
|
508
|
-
/**
|
|
509
|
-
* Key returns the public keys exposed by the KMS.
|
|
510
|
-
*
|
|
511
|
-
* @generated from rpc inco.kms.lite.v1.KmsService.Key
|
|
512
|
-
*/
|
|
513
|
-
key: {
|
|
514
|
-
methodKind: "unary";
|
|
515
|
-
input: typeof KeyRequestSchema;
|
|
516
|
-
output: typeof KeyResponseSchema;
|
|
517
|
-
};
|
|
518
382
|
/**
|
|
519
383
|
* AttestedDecrypt decrypts multiple ciphertexts and provides an attestation
|
|
520
384
|
* that the decryption was performed correctly.
|
|
@@ -528,7 +392,7 @@ export declare const KmsService: GenService<{
|
|
|
528
392
|
output: typeof AttestedDecryptResponseSchema;
|
|
529
393
|
};
|
|
530
394
|
/**
|
|
531
|
-
* AttestedCompute decrypts the result of a scalar binary operation on a handle and
|
|
395
|
+
* AttestedCompute decrypts the result of a scalar binary operation on a handle and provides an attestation
|
|
532
396
|
* that the computation and decryption were performed correctly.
|
|
533
397
|
*
|
|
534
398
|
* @generated from rpc inco.kms.lite.v1.KmsService.AttestedCompute
|
|
@@ -1,157 +1,57 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.10.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file inco/kms/lite/v1/kms_service.proto (package inco.kms.lite.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import {
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_inco_kms_lite_v1_types } from "./types_pb";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file inco/kms/lite/v1/kms_service.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_inco_kms_lite_v1_kms_service = /*@__PURE__*/ fileDesc("
|
|
10
|
-
/**
|
|
11
|
-
* Describes the message inco.kms.lite.v1.KeyRequest.
|
|
12
|
-
* Use `create(KeyRequestSchema)` to create a new message.
|
|
13
|
-
*/
|
|
14
|
-
export const KeyRequestSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 0);
|
|
15
|
-
/**
|
|
16
|
-
* Describes the message inco.kms.lite.v1.KeyResponse.
|
|
17
|
-
* Use `create(KeyResponseSchema)` to create a new message.
|
|
18
|
-
*/
|
|
19
|
-
export const KeyResponseSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 1);
|
|
9
|
+
export const file_inco_kms_lite_v1_kms_service = /*@__PURE__*/ fileDesc("CiJpbmNvL2ttcy9saXRlL3YxL2ttc19zZXJ2aWNlLnByb3RvEhBpbmNvLmttcy5saXRlLnYxIqMBChZBdHRlc3RlZERlY3J5cHRSZXF1ZXN0EhQKDHVzZXJfYWRkcmVzcxgBIAEoCRIZChFyZWVuY3J5cHRfcHViX2tleRgCIAEoDBIYChBlaXA3MTJfc2lnbmF0dXJlGAMgASgMEj4KE2hhbmRsZXNfd2l0aF9wcm9vZnMYBCADKAsyIS5pbmNvLmttcy5saXRlLnYxLkhhbmRsZVdpdGhQcm9vZiIoChVBdHRlc3RlZFJldmVhbFJlcXVlc3QSDwoHaGFuZGxlcxgDIAMoCSL0AQoWQXR0ZXN0ZWRDb21w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1ZTLBAgoKS21zU2VydmljZRJmCg9BdHRlc3RlZERlY3J5cHQSKC5pbmNvLmttcy5saXRlLnYxLkF0dGVzdGVkRGVjcnlwdFJlcXVlc3QaKS5pbmNvLmttcy5saXRlLnYxLkF0dGVzdGVkRGVjcnlwdFJlc3BvbnNlEmYKD0F0dGVzdGVkQ29tcHV0ZRIoLmluY28ua21zLmxpdGUudjEuQXR0ZXN0ZWRDb21wdXRlUmVxdWVzdBopLmluY28ua21zLmxpdGUudjEuQXR0ZXN0ZWRDb21wdXRlUmVzcG9uc2USYwoOQXR0ZXN0ZWRSZXZlYWwSJy5pbmNvLmttcy5saXRlLnYxLkF0dGVzdGVkUmV2ZWFsUmVxdWVzdBooLmluY28ua21zLmxpdGUudjEuQXR0ZXN0ZWRSZXZlYWxSZXNwb25zZUI7WjlnaXRodWIuY29tL2luY28tZmhldm0vaW5jby1tb25vcmVwby9jb3ZhbGlkYXRvci9rbXMvdHlwZXNiBnByb3RvMw", [file_inco_kms_lite_v1_types]);
|
|
20
10
|
/**
|
|
21
11
|
* Describes the message inco.kms.lite.v1.AttestedDecryptRequest.
|
|
22
12
|
* Use `create(AttestedDecryptRequestSchema)` to create a new message.
|
|
23
13
|
*/
|
|
24
|
-
export const AttestedDecryptRequestSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
14
|
+
export const AttestedDecryptRequestSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 0);
|
|
25
15
|
/**
|
|
26
16
|
* Describes the message inco.kms.lite.v1.AttestedRevealRequest.
|
|
27
17
|
* Use `create(AttestedRevealRequestSchema)` to create a new message.
|
|
28
18
|
*/
|
|
29
|
-
export const AttestedRevealRequestSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
19
|
+
export const AttestedRevealRequestSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 1);
|
|
30
20
|
/**
|
|
31
21
|
* Describes the message inco.kms.lite.v1.AttestedComputeRequest.
|
|
32
22
|
* Use `create(AttestedComputeRequestSchema)` to create a new message.
|
|
33
23
|
*/
|
|
34
|
-
export const AttestedComputeRequestSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
24
|
+
export const AttestedComputeRequestSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 2);
|
|
35
25
|
/**
|
|
36
26
|
* Describes the message inco.kms.lite.v1.AttestedDecryptResponse.
|
|
37
27
|
* Use `create(AttestedDecryptResponseSchema)` to create a new message.
|
|
38
28
|
*/
|
|
39
|
-
export const AttestedDecryptResponseSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
29
|
+
export const AttestedDecryptResponseSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 3);
|
|
40
30
|
/**
|
|
41
31
|
* Describes the message inco.kms.lite.v1.AttestedRevealResponse.
|
|
42
32
|
* Use `create(AttestedRevealResponseSchema)` to create a new message.
|
|
43
33
|
*/
|
|
44
|
-
export const AttestedRevealResponseSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
34
|
+
export const AttestedRevealResponseSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 4);
|
|
45
35
|
/**
|
|
46
36
|
* Describes the message inco.kms.lite.v1.AttestedComputeResponse.
|
|
47
37
|
* Use `create(AttestedComputeResponseSchema)` to create a new message.
|
|
48
38
|
*/
|
|
49
|
-
export const AttestedComputeResponseSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
39
|
+
export const AttestedComputeResponseSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 5);
|
|
50
40
|
/**
|
|
51
41
|
* Describes the message inco.kms.lite.v1.Plaintext.
|
|
52
42
|
* Use `create(PlaintextSchema)` to create a new message.
|
|
53
43
|
*/
|
|
54
|
-
export const PlaintextSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
44
|
+
export const PlaintextSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 6);
|
|
55
45
|
/**
|
|
56
46
|
* Describes the message inco.kms.lite.v1.Reencryption.
|
|
57
47
|
* Use `create(ReencryptionSchema)` to create a new message.
|
|
58
48
|
*/
|
|
59
|
-
export const ReencryptionSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
49
|
+
export const ReencryptionSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 7);
|
|
60
50
|
/**
|
|
61
51
|
* Describes the message inco.kms.lite.v1.DecryptionAttestation.
|
|
62
52
|
* Use `create(DecryptionAttestationSchema)` to create a new message.
|
|
63
53
|
*/
|
|
64
|
-
export const DecryptionAttestationSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service,
|
|
65
|
-
/**
|
|
66
|
-
* @generated from enum inco.kms.lite.v1.SupportedScalarBinaryOp
|
|
67
|
-
*/
|
|
68
|
-
export var SupportedScalarBinaryOp;
|
|
69
|
-
(function (SupportedScalarBinaryOp) {
|
|
70
|
-
/**
|
|
71
|
-
* @generated from enum value: FHE_ADD = 0;
|
|
72
|
-
*/
|
|
73
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_ADD"] = 0] = "FHE_ADD";
|
|
74
|
-
/**
|
|
75
|
-
* @generated from enum value: FHE_SUB = 1;
|
|
76
|
-
*/
|
|
77
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_SUB"] = 1] = "FHE_SUB";
|
|
78
|
-
/**
|
|
79
|
-
* @generated from enum value: FHE_MUL = 2;
|
|
80
|
-
*/
|
|
81
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_MUL"] = 2] = "FHE_MUL";
|
|
82
|
-
/**
|
|
83
|
-
* @generated from enum value: FHE_DIV = 3;
|
|
84
|
-
*/
|
|
85
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_DIV"] = 3] = "FHE_DIV";
|
|
86
|
-
/**
|
|
87
|
-
* @generated from enum value: FHE_REM = 4;
|
|
88
|
-
*/
|
|
89
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_REM"] = 4] = "FHE_REM";
|
|
90
|
-
/**
|
|
91
|
-
* @generated from enum value: FHE_BIT_AND = 5;
|
|
92
|
-
*/
|
|
93
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_BIT_AND"] = 5] = "FHE_BIT_AND";
|
|
94
|
-
/**
|
|
95
|
-
* @generated from enum value: FHE_BIT_OR = 6;
|
|
96
|
-
*/
|
|
97
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_BIT_OR"] = 6] = "FHE_BIT_OR";
|
|
98
|
-
/**
|
|
99
|
-
* @generated from enum value: FHE_BIT_XOR = 7;
|
|
100
|
-
*/
|
|
101
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_BIT_XOR"] = 7] = "FHE_BIT_XOR";
|
|
102
|
-
/**
|
|
103
|
-
* @generated from enum value: FHE_SHL = 8;
|
|
104
|
-
*/
|
|
105
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_SHL"] = 8] = "FHE_SHL";
|
|
106
|
-
/**
|
|
107
|
-
* @generated from enum value: FHE_SHR = 9;
|
|
108
|
-
*/
|
|
109
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_SHR"] = 9] = "FHE_SHR";
|
|
110
|
-
/**
|
|
111
|
-
* @generated from enum value: FHE_ROTL = 10;
|
|
112
|
-
*/
|
|
113
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_ROTL"] = 10] = "FHE_ROTL";
|
|
114
|
-
/**
|
|
115
|
-
* @generated from enum value: FHE_ROTR = 11;
|
|
116
|
-
*/
|
|
117
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_ROTR"] = 11] = "FHE_ROTR";
|
|
118
|
-
/**
|
|
119
|
-
* @generated from enum value: FHE_EQ = 12;
|
|
120
|
-
*/
|
|
121
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_EQ"] = 12] = "FHE_EQ";
|
|
122
|
-
/**
|
|
123
|
-
* @generated from enum value: FHE_NE = 13;
|
|
124
|
-
*/
|
|
125
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_NE"] = 13] = "FHE_NE";
|
|
126
|
-
/**
|
|
127
|
-
* @generated from enum value: FHE_GE = 14;
|
|
128
|
-
*/
|
|
129
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_GE"] = 14] = "FHE_GE";
|
|
130
|
-
/**
|
|
131
|
-
* @generated from enum value: FHE_GT = 15;
|
|
132
|
-
*/
|
|
133
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_GT"] = 15] = "FHE_GT";
|
|
134
|
-
/**
|
|
135
|
-
* @generated from enum value: FHE_LE = 16;
|
|
136
|
-
*/
|
|
137
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_LE"] = 16] = "FHE_LE";
|
|
138
|
-
/**
|
|
139
|
-
* @generated from enum value: FHE_LT = 17;
|
|
140
|
-
*/
|
|
141
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_LT"] = 17] = "FHE_LT";
|
|
142
|
-
/**
|
|
143
|
-
* @generated from enum value: FHE_MIN = 18;
|
|
144
|
-
*/
|
|
145
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_MIN"] = 18] = "FHE_MIN";
|
|
146
|
-
/**
|
|
147
|
-
* @generated from enum value: FHE_MAX = 19;
|
|
148
|
-
*/
|
|
149
|
-
SupportedScalarBinaryOp[SupportedScalarBinaryOp["FHE_MAX"] = 19] = "FHE_MAX";
|
|
150
|
-
})(SupportedScalarBinaryOp || (SupportedScalarBinaryOp = {}));
|
|
151
|
-
/**
|
|
152
|
-
* Describes the enum inco.kms.lite.v1.SupportedScalarBinaryOp.
|
|
153
|
-
*/
|
|
154
|
-
export const SupportedScalarBinaryOpSchema = /*@__PURE__*/ enumDesc(file_inco_kms_lite_v1_kms_service, 0);
|
|
54
|
+
export const DecryptionAttestationSchema = /*@__PURE__*/ messageDesc(file_inco_kms_lite_v1_kms_service, 8);
|
|
155
55
|
/**
|
|
156
56
|
* KmsService is the service for the IncoLite KMS, which will run
|
|
157
57
|
* inside the TEE.
|
|
@@ -159,4 +59,4 @@ export const SupportedScalarBinaryOpSchema = /*@__PURE__*/ enumDesc(file_inco_km
|
|
|
159
59
|
* @generated from service inco.kms.lite.v1.KmsService
|
|
160
60
|
*/
|
|
161
61
|
export const KmsService = /*@__PURE__*/ serviceDesc(file_inco_kms_lite_v1_kms_service, 0);
|
|
162
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia21zX3NlcnZpY2VfcGIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2VzL2luY28va21zL2xpdGUvdjEva21zX3NlcnZpY2VfcGIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsaUVBQWlFO0FBQ2pFLG9HQUFvRztBQUNwRyxvQkFBb0I7QUFHcEIsT0FBTyxFQUFFLFFBQVEsRUFBRSxXQUFXLEVBQUUsV0FBVyxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFbEYsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sWUFBWSxDQUFDO0FBR3pEOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0saUNBQWlDLEdBQVksYUFBYSxDQUNyRSxRQUFRLENBQUMsbzdEQUFvN0QsRUFBRSxDQUFDLDJCQUEyQixDQUFDLENBQUMsQ0FBQztBQXlFaCtEOzs7R0FHRztBQ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QU0sMkJBQTJCLEdBQXNDLGFBQWEsQ0FDekYsV0FBVyxDQUFDLGlDQUFpQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0FBRXBEOzs7OztHQUtHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQW9DbEIsYUFBYSxDQUNoQixXQUFXLENBQUMsaUNBQWlDLEVBQUUsQ0FBQyxDQUFDLENBQUMifQ==
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file inco/kms/lite/v1/types.proto.
|
|
@@ -210,3 +210,96 @@ export type IncoLiteAdvancedACLProof = Message<"inco.kms.lite.v1.IncoLiteAdvance
|
|
|
210
210
|
* Use `create(IncoLiteAdvancedACLProofSchema)` to create a new message.
|
|
211
211
|
*/
|
|
212
212
|
export declare const IncoLiteAdvancedACLProofSchema: GenMessage<IncoLiteAdvancedACLProof>;
|
|
213
|
+
/**
|
|
214
|
+
* SupportedScalarBinaryOp enumerates the binary operations supported in attested compute.
|
|
215
|
+
* It's distinct from inco.covalidator.compute.v1.FheOperation since only a subset of
|
|
216
|
+
* operations are supported.
|
|
217
|
+
*
|
|
218
|
+
* @generated from enum inco.kms.lite.v1.SupportedScalarBinaryOp
|
|
219
|
+
*/
|
|
220
|
+
export declare enum SupportedScalarBinaryOp {
|
|
221
|
+
/**
|
|
222
|
+
* @generated from enum value: FHE_ADD = 0;
|
|
223
|
+
*/
|
|
224
|
+
FHE_ADD = 0,
|
|
225
|
+
/**
|
|
226
|
+
* @generated from enum value: FHE_SUB = 1;
|
|
227
|
+
*/
|
|
228
|
+
FHE_SUB = 1,
|
|
229
|
+
/**
|
|
230
|
+
* @generated from enum value: FHE_MUL = 2;
|
|
231
|
+
*/
|
|
232
|
+
FHE_MUL = 2,
|
|
233
|
+
/**
|
|
234
|
+
* @generated from enum value: FHE_DIV = 3;
|
|
235
|
+
*/
|
|
236
|
+
FHE_DIV = 3,
|
|
237
|
+
/**
|
|
238
|
+
* @generated from enum value: FHE_REM = 4;
|
|
239
|
+
*/
|
|
240
|
+
FHE_REM = 4,
|
|
241
|
+
/**
|
|
242
|
+
* @generated from enum value: FHE_BIT_AND = 5;
|
|
243
|
+
*/
|
|
244
|
+
FHE_BIT_AND = 5,
|
|
245
|
+
/**
|
|
246
|
+
* @generated from enum value: FHE_BIT_OR = 6;
|
|
247
|
+
*/
|
|
248
|
+
FHE_BIT_OR = 6,
|
|
249
|
+
/**
|
|
250
|
+
* @generated from enum value: FHE_BIT_XOR = 7;
|
|
251
|
+
*/
|
|
252
|
+
FHE_BIT_XOR = 7,
|
|
253
|
+
/**
|
|
254
|
+
* @generated from enum value: FHE_SHL = 8;
|
|
255
|
+
*/
|
|
256
|
+
FHE_SHL = 8,
|
|
257
|
+
/**
|
|
258
|
+
* @generated from enum value: FHE_SHR = 9;
|
|
259
|
+
*/
|
|
260
|
+
FHE_SHR = 9,
|
|
261
|
+
/**
|
|
262
|
+
* @generated from enum value: FHE_ROTL = 10;
|
|
263
|
+
*/
|
|
264
|
+
FHE_ROTL = 10,
|
|
265
|
+
/**
|
|
266
|
+
* @generated from enum value: FHE_ROTR = 11;
|
|
267
|
+
*/
|
|
268
|
+
FHE_ROTR = 11,
|
|
269
|
+
/**
|
|
270
|
+
* @generated from enum value: FHE_EQ = 12;
|
|
271
|
+
*/
|
|
272
|
+
FHE_EQ = 12,
|
|
273
|
+
/**
|
|
274
|
+
* @generated from enum value: FHE_NE = 13;
|
|
275
|
+
*/
|
|
276
|
+
FHE_NE = 13,
|
|
277
|
+
/**
|
|
278
|
+
* @generated from enum value: FHE_GE = 14;
|
|
279
|
+
*/
|
|
280
|
+
FHE_GE = 14,
|
|
281
|
+
/**
|
|
282
|
+
* @generated from enum value: FHE_GT = 15;
|
|
283
|
+
*/
|
|
284
|
+
FHE_GT = 15,
|
|
285
|
+
/**
|
|
286
|
+
* @generated from enum value: FHE_LE = 16;
|
|
287
|
+
*/
|
|
288
|
+
FHE_LE = 16,
|
|
289
|
+
/**
|
|
290
|
+
* @generated from enum value: FHE_LT = 17;
|
|
291
|
+
*/
|
|
292
|
+
FHE_LT = 17,
|
|
293
|
+
/**
|
|
294
|
+
* @generated from enum value: FHE_MIN = 18;
|
|
295
|
+
*/
|
|
296
|
+
FHE_MIN = 18,
|
|
297
|
+
/**
|
|
298
|
+
* @generated from enum value: FHE_MAX = 19;
|
|
299
|
+
*/
|
|
300
|
+
FHE_MAX = 19
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Describes the enum inco.kms.lite.v1.SupportedScalarBinaryOp.
|
|
304
|
+
*/
|
|
305
|
+
export declare const SupportedScalarBinaryOpSchema: GenEnum<SupportedScalarBinaryOp>;
|