3
3
export type { AeadEncryptionContext } from "./core/src/interfaces/aeadEncryptionContext.ts" ;
4
4
export type { AeadInterface } from "./core/src/interfaces/aeadInterface.ts" ;
5
5
export type { CipherSuiteParams } from "./core/src/interfaces/cipherSuiteParams.ts" ;
6
+ export type { DhkemInterface } from "./core/src/interfaces/dhkemInterface.ts" ;
7
+ export type { DhkemPrimitives } from "./core/src/interfaces/dhkemPrimitives.ts" ;
6
8
export type {
7
9
EncryptionContext ,
8
10
RecipientContext ,
@@ -15,11 +17,31 @@ export type { RecipientContextParams } from "./core/src/interfaces/recipientCont
15
17
export type { CipherSuiteSealResponse } from "./core/src/interfaces/responses.ts" ;
16
18
export type { SenderContextParams } from "./core/src/interfaces/senderContextParams.ts" ;
17
19
20
+ export {
21
+ KEM_USAGES ,
22
+ LABEL_DKP_PRK ,
23
+ LABEL_SK ,
24
+ } from "./core/src/interfaces/dhkemPrimitives.ts" ;
25
+ export { SUITE_ID_HEADER_KEM } from "./core/src/interfaces/kemInterface.ts" ;
26
+
18
27
export { Aes128Gcm , Aes256Gcm } from "./core/src/aeads/aesGcm.ts" ;
19
28
export { ExportOnly } from "./core/src/aeads/exportOnly.ts" ;
29
+ export {
30
+ HkdfSha256Native ,
31
+ HkdfSha384Native ,
32
+ HkdfSha512Native ,
33
+ } from "./core/src/kdfs/hkdf.ts" ;
34
+ export { Dhkem } from "./core/src/kems/dhkem.ts" ;
35
+ export {
36
+ base64UrlToBytes ,
37
+ concat ,
38
+ i2Osp ,
39
+ isCryptoKeyPair ,
40
+ } from "./core/src/utils/misc.ts" ;
41
+
42
+ export { INPUT_LENGTH_LIMIT } from "./core/src/consts.ts" ;
20
43
export * from "./core/src/errors.ts" ;
21
44
export { AeadId , KdfId , KemId } from "./core/src/identifiers.ts" ;
22
-
23
45
export {
24
46
CipherSuite ,
25
47
DhkemP256HkdfSha256 ,
@@ -29,3 +51,4 @@ export {
29
51
HkdfSha384 ,
30
52
HkdfSha512 ,
31
53
} from "./core/src/native.ts" ;
54
+ export { XCryptoKey } from "./core/src/xCryptoKey.ts" ;
0 commit comments