@matter/general 0.17.4 → 0.17.5-alpha.0-20260702-a2cd6f764
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/crypto/Crypto.d.ts +1 -1
- package/dist/cjs/crypto/CryptoConstants.d.ts +5 -6
- package/dist/cjs/crypto/CryptoConstants.d.ts.map +1 -1
- package/dist/cjs/crypto/CryptoConstants.js +0 -2
- package/dist/cjs/crypto/CryptoConstants.js.map +1 -1
- package/dist/cjs/net/Network.d.ts +1 -1
- package/dist/cjs/net/udp/UdpSocket.d.ts +1 -1
- package/dist/esm/crypto/Crypto.d.ts +1 -1
- package/dist/esm/crypto/CryptoConstants.d.ts +5 -6
- package/dist/esm/crypto/CryptoConstants.d.ts.map +1 -1
- package/dist/esm/crypto/CryptoConstants.js +0 -2
- package/dist/esm/crypto/CryptoConstants.js.map +1 -1
- package/dist/esm/net/Network.d.ts +1 -1
- package/dist/esm/net/udp/UdpSocket.d.ts +1 -1
- package/package.json +2 -2
- package/src/crypto/Crypto.ts +1 -1
- package/src/crypto/CryptoConstants.ts +5 -6
- package/src/net/Network.ts +1 -1
- package/src/net/udp/UdpSocket.ts +1 -1
|
@@ -128,7 +128,7 @@ export declare abstract class Crypto extends Entropy {
|
|
|
128
128
|
/**
|
|
129
129
|
* Create a key from a secret using HKDF. The length parameter defines the length in bytes.
|
|
130
130
|
*
|
|
131
|
-
* @see {@link MatterSpecification.
|
|
131
|
+
* @see {@link MatterSpecification.v16.Core} §3.8
|
|
132
132
|
*/
|
|
133
133
|
abstract createHkdfKey(secret: Bytes, salt: Bytes, info: Bytes, length?: number): MaybePromise<Bytes>;
|
|
134
134
|
/**
|
|
@@ -4,22 +4,21 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
export declare const MATTER_CRYPTO_PRIMITIVES_VERSION = 1;
|
|
7
|
-
/** @see {@link MatterSpecification.
|
|
7
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.5.1 */
|
|
8
8
|
export declare const CRYPTO_GROUP_SIZE_BITS = 256;
|
|
9
9
|
export declare const CRYPTO_GROUP_SIZE_BYTES = 32;
|
|
10
10
|
export declare const CRYPTO_PUBLIC_KEY_SIZE_BYTES: number;
|
|
11
|
-
/** @see {@link MatterSpecification.
|
|
11
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.3 */
|
|
12
12
|
export declare const CRYPTO_HASH_LEN_BYTES = 32;
|
|
13
|
-
|
|
14
|
-
/** @see {@link MatterSpecification.v10.Core} § 3.6 */
|
|
13
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.6 */
|
|
15
14
|
export declare const CRYPTO_SYMMETRIC_KEY_LENGTH_BITS = 128;
|
|
16
15
|
export declare const CRYPTO_SYMMETRIC_KEY_LENGTH_BYTES = 16;
|
|
17
16
|
export declare const CRYPTO_AEAD_MIC_LENGTH_BITS = 128;
|
|
18
17
|
export declare const CRYPTO_AEAD_MIC_LENGTH_BYTES = 16;
|
|
19
18
|
export declare const CRYPTO_AEAD_NONCE_LENGTH_BYTES = 13;
|
|
20
|
-
/** @see {@link MatterSpecification.
|
|
19
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.7 */
|
|
21
20
|
export declare const CRYPTO_PRIVACY_NONCE_LENGTH_BYTES = 13;
|
|
22
|
-
/** @see {@link MatterSpecification.
|
|
21
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.9 */
|
|
23
22
|
export declare const CRYPTO_PBKDF_ITERATIONS_MIN = 1000;
|
|
24
23
|
export declare const CRYPTO_PBKDF_ITERATIONS_MAX = 100000;
|
|
25
24
|
//# sourceMappingURL=CryptoConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CryptoConstants.d.ts","sourceRoot":"","sources":["../../../src/crypto/CryptoConstants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,wDAAwD;AACxD,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAC1C,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,4BAA4B,QAAkC,CAAC;AAC5E,sDAAsD;AACtD,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,
|
|
1
|
+
{"version":3,"file":"CryptoConstants.d.ts","sourceRoot":"","sources":["../../../src/crypto/CryptoConstants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,wDAAwD;AACxD,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAC1C,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,4BAA4B,QAAkC,CAAC;AAC5E,sDAAsD;AACtD,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,sDAAsD;AACtD,eAAO,MAAM,gCAAgC,MAAM,CAAC;AACpD,eAAO,MAAM,iCAAiC,KAAK,CAAC;AACpD,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAC/C,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,sDAAsD;AACtD,eAAO,MAAM,iCAAiC,KAAiC,CAAC;AAChF,sDAAsD;AACtD,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAChD,eAAO,MAAM,2BAA2B,SAAS,CAAC"}
|
|
@@ -23,7 +23,6 @@ __export(CryptoConstants_exports, {
|
|
|
23
23
|
CRYPTO_AEAD_NONCE_LENGTH_BYTES: () => CRYPTO_AEAD_NONCE_LENGTH_BYTES,
|
|
24
24
|
CRYPTO_GROUP_SIZE_BITS: () => CRYPTO_GROUP_SIZE_BITS,
|
|
25
25
|
CRYPTO_GROUP_SIZE_BYTES: () => CRYPTO_GROUP_SIZE_BYTES,
|
|
26
|
-
CRYPTO_HASH_BLOCK_LEN_BYTES: () => CRYPTO_HASH_BLOCK_LEN_BYTES,
|
|
27
26
|
CRYPTO_HASH_LEN_BYTES: () => CRYPTO_HASH_LEN_BYTES,
|
|
28
27
|
CRYPTO_PBKDF_ITERATIONS_MAX: () => CRYPTO_PBKDF_ITERATIONS_MAX,
|
|
29
28
|
CRYPTO_PBKDF_ITERATIONS_MIN: () => CRYPTO_PBKDF_ITERATIONS_MIN,
|
|
@@ -44,7 +43,6 @@ const CRYPTO_GROUP_SIZE_BITS = 256;
|
|
|
44
43
|
const CRYPTO_GROUP_SIZE_BYTES = 32;
|
|
45
44
|
const CRYPTO_PUBLIC_KEY_SIZE_BYTES = 2 * CRYPTO_GROUP_SIZE_BYTES + 1;
|
|
46
45
|
const CRYPTO_HASH_LEN_BYTES = 32;
|
|
47
|
-
const CRYPTO_HASH_BLOCK_LEN_BYTES = 64;
|
|
48
46
|
const CRYPTO_SYMMETRIC_KEY_LENGTH_BITS = 128;
|
|
49
47
|
const CRYPTO_SYMMETRIC_KEY_LENGTH_BYTES = 16;
|
|
50
48
|
const CRYPTO_AEAD_MIC_LENGTH_BITS = 128;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/crypto/CryptoConstants.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,MAAM,mCAAmC;AAGzC,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,+BAA+B,IAAI,0BAA0B;AAEnE,MAAM,wBAAwB;AAE9B,MAAM,mCAAmC;AACzC,MAAM,oCAAoC;AAC1C,MAAM,8BAA8B;AACpC,MAAM,+BAA+B;AACrC,MAAM,iCAAiC;AAEvC,MAAM,oCAAoC;AAE1C,MAAM,8BAA8B;AACpC,MAAM,8BAA8B;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -36,7 +36,7 @@ export declare class NetworkUnreachableError extends NetworkError {
|
|
|
36
36
|
export declare function tcpErrorFrom(error: Error): NetworkError;
|
|
37
37
|
export declare const STANDARD_MATTER_PORT = 5540;
|
|
38
38
|
/**
|
|
39
|
-
* @see {@link MatterSpecification.
|
|
39
|
+
* @see {@link MatterSpecification.v16.Core} § 11.12.5.4
|
|
40
40
|
* Duplicated from the GeneralDiagnostics cluster to avoid circular dependencies.
|
|
41
41
|
*/
|
|
42
42
|
export declare enum InterfaceType {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { Bytes, Lifetime, MaybePromise } from "#util/index.js";
|
|
7
7
|
import { ChannelType } from "../Channel.js";
|
|
8
8
|
import { Transport } from "../Transport.js";
|
|
9
|
-
/** @see {@link MatterSpecification.
|
|
9
|
+
/** @see {@link MatterSpecification.v16.Core} § 4.4.4 */
|
|
10
10
|
export declare const MAX_UDP_MESSAGE_SIZE: number;
|
|
11
11
|
/**
|
|
12
12
|
* UDP socket address type.
|
|
@@ -128,7 +128,7 @@ export declare abstract class Crypto extends Entropy {
|
|
|
128
128
|
/**
|
|
129
129
|
* Create a key from a secret using HKDF. The length parameter defines the length in bytes.
|
|
130
130
|
*
|
|
131
|
-
* @see {@link MatterSpecification.
|
|
131
|
+
* @see {@link MatterSpecification.v16.Core} §3.8
|
|
132
132
|
*/
|
|
133
133
|
abstract createHkdfKey(secret: Bytes, salt: Bytes, info: Bytes, length?: number): MaybePromise<Bytes>;
|
|
134
134
|
/**
|
|
@@ -4,22 +4,21 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
export declare const MATTER_CRYPTO_PRIMITIVES_VERSION = 1;
|
|
7
|
-
/** @see {@link MatterSpecification.
|
|
7
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.5.1 */
|
|
8
8
|
export declare const CRYPTO_GROUP_SIZE_BITS = 256;
|
|
9
9
|
export declare const CRYPTO_GROUP_SIZE_BYTES = 32;
|
|
10
10
|
export declare const CRYPTO_PUBLIC_KEY_SIZE_BYTES: number;
|
|
11
|
-
/** @see {@link MatterSpecification.
|
|
11
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.3 */
|
|
12
12
|
export declare const CRYPTO_HASH_LEN_BYTES = 32;
|
|
13
|
-
|
|
14
|
-
/** @see {@link MatterSpecification.v10.Core} § 3.6 */
|
|
13
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.6 */
|
|
15
14
|
export declare const CRYPTO_SYMMETRIC_KEY_LENGTH_BITS = 128;
|
|
16
15
|
export declare const CRYPTO_SYMMETRIC_KEY_LENGTH_BYTES = 16;
|
|
17
16
|
export declare const CRYPTO_AEAD_MIC_LENGTH_BITS = 128;
|
|
18
17
|
export declare const CRYPTO_AEAD_MIC_LENGTH_BYTES = 16;
|
|
19
18
|
export declare const CRYPTO_AEAD_NONCE_LENGTH_BYTES = 13;
|
|
20
|
-
/** @see {@link MatterSpecification.
|
|
19
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.7 */
|
|
21
20
|
export declare const CRYPTO_PRIVACY_NONCE_LENGTH_BYTES = 13;
|
|
22
|
-
/** @see {@link MatterSpecification.
|
|
21
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.9 */
|
|
23
22
|
export declare const CRYPTO_PBKDF_ITERATIONS_MIN = 1000;
|
|
24
23
|
export declare const CRYPTO_PBKDF_ITERATIONS_MAX = 100000;
|
|
25
24
|
//# sourceMappingURL=CryptoConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CryptoConstants.d.ts","sourceRoot":"","sources":["../../../src/crypto/CryptoConstants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,wDAAwD;AACxD,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAC1C,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,4BAA4B,QAAkC,CAAC;AAC5E,sDAAsD;AACtD,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,
|
|
1
|
+
{"version":3,"file":"CryptoConstants.d.ts","sourceRoot":"","sources":["../../../src/crypto/CryptoConstants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,wDAAwD;AACxD,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAC1C,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,4BAA4B,QAAkC,CAAC;AAC5E,sDAAsD;AACtD,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,sDAAsD;AACtD,eAAO,MAAM,gCAAgC,MAAM,CAAC;AACpD,eAAO,MAAM,iCAAiC,KAAK,CAAC;AACpD,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAC/C,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,sDAAsD;AACtD,eAAO,MAAM,iCAAiC,KAAiC,CAAC;AAChF,sDAAsD;AACtD,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAChD,eAAO,MAAM,2BAA2B,SAAS,CAAC"}
|
|
@@ -8,7 +8,6 @@ const CRYPTO_GROUP_SIZE_BITS = 256;
|
|
|
8
8
|
const CRYPTO_GROUP_SIZE_BYTES = 32;
|
|
9
9
|
const CRYPTO_PUBLIC_KEY_SIZE_BYTES = 2 * CRYPTO_GROUP_SIZE_BYTES + 1;
|
|
10
10
|
const CRYPTO_HASH_LEN_BYTES = 32;
|
|
11
|
-
const CRYPTO_HASH_BLOCK_LEN_BYTES = 64;
|
|
12
11
|
const CRYPTO_SYMMETRIC_KEY_LENGTH_BITS = 128;
|
|
13
12
|
const CRYPTO_SYMMETRIC_KEY_LENGTH_BYTES = 16;
|
|
14
13
|
const CRYPTO_AEAD_MIC_LENGTH_BITS = 128;
|
|
@@ -23,7 +22,6 @@ export {
|
|
|
23
22
|
CRYPTO_AEAD_NONCE_LENGTH_BYTES,
|
|
24
23
|
CRYPTO_GROUP_SIZE_BITS,
|
|
25
24
|
CRYPTO_GROUP_SIZE_BYTES,
|
|
26
|
-
CRYPTO_HASH_BLOCK_LEN_BYTES,
|
|
27
25
|
CRYPTO_HASH_LEN_BYTES,
|
|
28
26
|
CRYPTO_PBKDF_ITERATIONS_MAX,
|
|
29
27
|
CRYPTO_PBKDF_ITERATIONS_MIN,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/crypto/CryptoConstants.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,MAAM,mCAAmC;AAGzC,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,+BAA+B,IAAI,0BAA0B;AAEnE,MAAM,wBAAwB;
|
|
4
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,MAAM,mCAAmC;AAGzC,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,+BAA+B,IAAI,0BAA0B;AAEnE,MAAM,wBAAwB;AAE9B,MAAM,mCAAmC;AACzC,MAAM,oCAAoC;AAC1C,MAAM,8BAA8B;AACpC,MAAM,+BAA+B;AACrC,MAAM,iCAAiC;AAEvC,MAAM,oCAAoC;AAE1C,MAAM,8BAA8B;AACpC,MAAM,8BAA8B;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -36,7 +36,7 @@ export declare class NetworkUnreachableError extends NetworkError {
|
|
|
36
36
|
export declare function tcpErrorFrom(error: Error): NetworkError;
|
|
37
37
|
export declare const STANDARD_MATTER_PORT = 5540;
|
|
38
38
|
/**
|
|
39
|
-
* @see {@link MatterSpecification.
|
|
39
|
+
* @see {@link MatterSpecification.v16.Core} § 11.12.5.4
|
|
40
40
|
* Duplicated from the GeneralDiagnostics cluster to avoid circular dependencies.
|
|
41
41
|
*/
|
|
42
42
|
export declare enum InterfaceType {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { Bytes, Lifetime, MaybePromise } from "#util/index.js";
|
|
7
7
|
import { ChannelType } from "../Channel.js";
|
|
8
8
|
import { Transport } from "../Transport.js";
|
|
9
|
-
/** @see {@link MatterSpecification.
|
|
9
|
+
/** @see {@link MatterSpecification.v16.Core} § 4.4.4 */
|
|
10
10
|
export declare const MAX_UDP_MESSAGE_SIZE: number;
|
|
11
11
|
/**
|
|
12
12
|
* UDP socket address type.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/general",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.5-alpha.0-20260702-a2cd6f764",
|
|
4
4
|
"description": "Non-Matter support for Matter.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@noble/curves": "^2.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@matter/testing": "0.17.
|
|
38
|
+
"@matter/testing": "0.17.5-alpha.0-20260702-a2cd6f764"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
41
|
"dist/**/*",
|
package/src/crypto/Crypto.ts
CHANGED
|
@@ -116,7 +116,7 @@ export abstract class Crypto extends Entropy {
|
|
|
116
116
|
/**
|
|
117
117
|
* Create a key from a secret using HKDF. The length parameter defines the length in bytes.
|
|
118
118
|
*
|
|
119
|
-
* @see {@link MatterSpecification.
|
|
119
|
+
* @see {@link MatterSpecification.v16.Core} §3.8
|
|
120
120
|
*/
|
|
121
121
|
abstract createHkdfKey(secret: Bytes, salt: Bytes, info: Bytes, length?: number): MaybePromise<Bytes>;
|
|
122
122
|
|
|
@@ -6,21 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
export const MATTER_CRYPTO_PRIMITIVES_VERSION = 1;
|
|
8
8
|
|
|
9
|
-
/** @see {@link MatterSpecification.
|
|
9
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.5.1 */
|
|
10
10
|
export const CRYPTO_GROUP_SIZE_BITS = 256;
|
|
11
11
|
export const CRYPTO_GROUP_SIZE_BYTES = 32;
|
|
12
12
|
export const CRYPTO_PUBLIC_KEY_SIZE_BYTES = 2 * CRYPTO_GROUP_SIZE_BYTES + 1;
|
|
13
|
-
/** @see {@link MatterSpecification.
|
|
13
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.3 */
|
|
14
14
|
export const CRYPTO_HASH_LEN_BYTES = 32;
|
|
15
|
-
|
|
16
|
-
/** @see {@link MatterSpecification.v10.Core} § 3.6 */
|
|
15
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.6 */
|
|
17
16
|
export const CRYPTO_SYMMETRIC_KEY_LENGTH_BITS = 128;
|
|
18
17
|
export const CRYPTO_SYMMETRIC_KEY_LENGTH_BYTES = 16;
|
|
19
18
|
export const CRYPTO_AEAD_MIC_LENGTH_BITS = 128;
|
|
20
19
|
export const CRYPTO_AEAD_MIC_LENGTH_BYTES = 16;
|
|
21
20
|
export const CRYPTO_AEAD_NONCE_LENGTH_BYTES = 13;
|
|
22
|
-
/** @see {@link MatterSpecification.
|
|
21
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.7 */
|
|
23
22
|
export const CRYPTO_PRIVACY_NONCE_LENGTH_BYTES = CRYPTO_AEAD_NONCE_LENGTH_BYTES;
|
|
24
|
-
/** @see {@link MatterSpecification.
|
|
23
|
+
/** @see {@link MatterSpecification.v16.Core} § 3.9 */
|
|
25
24
|
export const CRYPTO_PBKDF_ITERATIONS_MIN = 1000;
|
|
26
25
|
export const CRYPTO_PBKDF_ITERATIONS_MAX = 100000;
|
package/src/net/Network.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function tcpErrorFrom(error: Error): NetworkError {
|
|
|
68
68
|
export const STANDARD_MATTER_PORT = 5540;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
* @see {@link MatterSpecification.
|
|
71
|
+
* @see {@link MatterSpecification.v16.Core} § 11.12.5.4
|
|
72
72
|
* Duplicated from the GeneralDiagnostics cluster to avoid circular dependencies.
|
|
73
73
|
*/
|
|
74
74
|
export enum InterfaceType {
|
package/src/net/udp/UdpSocket.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { Bytes, Lifetime, MaybePromise } from "#util/index.js";
|
|
|
8
8
|
import { ChannelType } from "../Channel.js";
|
|
9
9
|
import { Transport } from "../Transport.js";
|
|
10
10
|
|
|
11
|
-
/** @see {@link MatterSpecification.
|
|
11
|
+
/** @see {@link MatterSpecification.v16.Core} § 4.4.4 */
|
|
12
12
|
export const MAX_UDP_MESSAGE_SIZE = 1280 - 48; // 48 bytes IP and UDP header size for IPv6
|
|
13
13
|
|
|
14
14
|
/**
|