@reallyme/crypto 0.4.7 → 0.5.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.
@@ -1,4 +1,4 @@
1
- export declare const REALLYME_SIGNATURE_ALGORITHMS: readonly ["Ed25519", "ECDSA-P256-SHA256", "ECDSA-P384-SHA384", "ECDSA-P521-SHA512", "ECDSA-secp256k1-SHA256", "BIP340-Schnorr-secp256k1-SHA256", "RSA-PKCS1v15-SHA1", "RSA-PKCS1v15-SHA256", "RSA-PKCS1v15-SHA384", "RSA-PKCS1v15-SHA512", "RSA-PSS-SHA1-MGF1-SHA1", "RSA-PSS-SHA256-MGF1-SHA256", "RSA-PSS-SHA384-MGF1-SHA384", "RSA-PSS-SHA512-MGF1-SHA512", "ML-DSA-44", "ML-DSA-65", "ML-DSA-87", "SLH-DSA-SHA2-128s"];
1
+ export declare const REALLYME_SIGNATURE_ALGORITHMS: readonly ["Ed25519", "ECDSA-P256-SHA256", "ECDSA-P384-SHA384", "ECDSA-P521-SHA512", "ECDSA-secp256k1-SHA256", "BIP340-Schnorr-secp256k1-SHA256", "RSA-PKCS1v15-SHA1", "RSA-PKCS1v15-SHA256", "RSA-PKCS1v15-SHA384", "RSA-PKCS1v15-SHA512", "RSA-PSS-SHA1-MGF1-SHA1", "RSA-PSS-SHA256-MGF1-SHA256", "RSA-PSS-SHA384-MGF1-SHA384", "RSA-PSS-SHA512-MGF1-SHA512", "ML-DSA-44", "ML-DSA-65", "ML-DSA-87", "SLH-DSA-SHA2-128s", "SLH-DSA-SHA2-128f", "SLH-DSA-SHA2-192s", "SLH-DSA-SHA2-192f", "SLH-DSA-SHA2-256s", "SLH-DSA-SHA2-256f", "SLH-DSA-SHAKE-128s", "SLH-DSA-SHAKE-128f", "SLH-DSA-SHAKE-192s", "SLH-DSA-SHAKE-192f", "SLH-DSA-SHAKE-256s", "SLH-DSA-SHAKE-256f"];
2
2
  export type ReallyMeSignatureAlgorithm = (typeof REALLYME_SIGNATURE_ALGORITHMS)[number];
3
3
  export declare const REALLYME_HASH_ALGORITHMS: readonly ["SHA2-256", "SHA2-384", "SHA2-512", "SHA3-224", "SHA3-256", "SHA3-384", "SHA3-512"];
4
4
  export type ReallyMeHashAlgorithm = (typeof REALLYME_HASH_ALGORITHMS)[number];
@@ -10,12 +10,12 @@ export declare const REALLYME_KEY_AGREEMENT_ALGORITHMS: readonly ["X25519", "P-2
10
10
  export type ReallyMeKeyAgreementAlgorithm = (typeof REALLYME_KEY_AGREEMENT_ALGORITHMS)[number];
11
11
  export declare const REALLYME_MAC_ALGORITHMS: readonly ["HMAC-SHA-256", "HMAC-SHA-384", "HMAC-SHA-512"];
12
12
  export type ReallyMeMacAlgorithm = (typeof REALLYME_MAC_ALGORITHMS)[number];
13
- export declare const REALLYME_KDF_ALGORITHMS: readonly ["HKDF-SHA256", "HKDF-SHA384", "Argon2id", "KMAC256", "PBKDF2-HMAC-SHA-256", "PBKDF2-HMAC-SHA-512", "JWA-CONCAT-KDF-SHA256"];
13
+ export declare const REALLYME_KDF_ALGORITHMS: readonly ["HKDF-SHA256", "HKDF-SHA384", "HKDF-SHA512", "Argon2id", "KMAC256", "PBKDF2-HMAC-SHA-256", "PBKDF2-HMAC-SHA-512", "JWA-CONCAT-KDF-SHA256"];
14
14
  export type ReallyMeKdfAlgorithm = (typeof REALLYME_KDF_ALGORITHMS)[number];
15
15
  /** PBKDF2 selectors accepted by the password-based `deriveKey` facade. */
16
16
  export type ReallyMePbkdf2Algorithm = Extract<ReallyMeKdfAlgorithm, "PBKDF2-HMAC-SHA-256" | "PBKDF2-HMAC-SHA-512">;
17
17
  /** HKDF selectors accepted by the `deriveHkdf` facade. */
18
- export type ReallyMeHkdfAlgorithm = Extract<ReallyMeKdfAlgorithm, "HKDF-SHA256" | "HKDF-SHA384">;
18
+ export type ReallyMeHkdfAlgorithm = Extract<ReallyMeKdfAlgorithm, "HKDF-SHA256" | "HKDF-SHA384" | "HKDF-SHA512">;
19
19
  /** JWA Concat KDF selector accepted by its dedicated facade. */
20
20
  export type ReallyMeJwaConcatKdfAlgorithm = Extract<ReallyMeKdfAlgorithm, "JWA-CONCAT-KDF-SHA256">;
21
21
  /** KMAC KDF selector accepted by its dedicated facade. */
@@ -20,6 +20,17 @@ export const REALLYME_SIGNATURE_ALGORITHMS = [
20
20
  "ML-DSA-65",
21
21
  "ML-DSA-87",
22
22
  "SLH-DSA-SHA2-128s",
23
+ "SLH-DSA-SHA2-128f",
24
+ "SLH-DSA-SHA2-192s",
25
+ "SLH-DSA-SHA2-192f",
26
+ "SLH-DSA-SHA2-256s",
27
+ "SLH-DSA-SHA2-256f",
28
+ "SLH-DSA-SHAKE-128s",
29
+ "SLH-DSA-SHAKE-128f",
30
+ "SLH-DSA-SHAKE-192s",
31
+ "SLH-DSA-SHAKE-192f",
32
+ "SLH-DSA-SHAKE-256s",
33
+ "SLH-DSA-SHAKE-256f",
23
34
  ];
24
35
  export const REALLYME_HASH_ALGORITHMS = [
25
36
  "SHA2-256",
@@ -58,6 +69,7 @@ export const REALLYME_MAC_ALGORITHMS = [
58
69
  export const REALLYME_KDF_ALGORITHMS = [
59
70
  "HKDF-SHA256",
60
71
  "HKDF-SHA384",
72
+ "HKDF-SHA512",
61
73
  "Argon2id",
62
74
  "KMAC256",
63
75
  "PBKDF2-HMAC-SHA-256",
@@ -45,6 +45,17 @@ export const createReallyMeAsymmetricFacade = (resolveWasmProvider) => ({
45
45
  case "ML-DSA-87":
46
46
  return ReallyMeMlDsa.generateKeyPairWithProvider(resolveWasmProvider(), algorithm);
47
47
  case "SLH-DSA-SHA2-128s":
48
+ case "SLH-DSA-SHA2-128f":
49
+ case "SLH-DSA-SHA2-192s":
50
+ case "SLH-DSA-SHA2-192f":
51
+ case "SLH-DSA-SHA2-256s":
52
+ case "SLH-DSA-SHA2-256f":
53
+ case "SLH-DSA-SHAKE-128s":
54
+ case "SLH-DSA-SHAKE-128f":
55
+ case "SLH-DSA-SHAKE-192s":
56
+ case "SLH-DSA-SHAKE-192f":
57
+ case "SLH-DSA-SHAKE-256s":
58
+ case "SLH-DSA-SHAKE-256f":
48
59
  return ReallyMeSlhDsa.generateKeyPairWithProvider(resolveWasmProvider(), algorithm);
49
60
  default:
50
61
  throw new ReallyMeCryptoError("unsupported-algorithm");
@@ -73,6 +84,17 @@ export const createReallyMeAsymmetricFacade = (resolveWasmProvider) => ({
73
84
  case "ML-DSA-87":
74
85
  return ReallyMeMlDsa.deriveKeyPairWithProvider(resolveWasmProvider(), algorithm, secretKey);
75
86
  case "SLH-DSA-SHA2-128s":
87
+ case "SLH-DSA-SHA2-128f":
88
+ case "SLH-DSA-SHA2-192s":
89
+ case "SLH-DSA-SHA2-192f":
90
+ case "SLH-DSA-SHA2-256s":
91
+ case "SLH-DSA-SHA2-256f":
92
+ case "SLH-DSA-SHAKE-128s":
93
+ case "SLH-DSA-SHAKE-128f":
94
+ case "SLH-DSA-SHAKE-192s":
95
+ case "SLH-DSA-SHAKE-192f":
96
+ case "SLH-DSA-SHAKE-256s":
97
+ case "SLH-DSA-SHAKE-256f":
76
98
  // SLH-DSA deterministic derivation uses three FIPS seed components,
77
99
  // so it deliberately does not fit this single-secret import shape.
78
100
  throw new ReallyMeCryptoError("unsupported-algorithm");
@@ -98,6 +120,17 @@ export const createReallyMeAsymmetricFacade = (resolveWasmProvider) => ({
98
120
  case "ML-DSA-87":
99
121
  return ReallyMeMlDsa.signWithProvider(resolveWasmProvider(), algorithm, message, secretKey);
100
122
  case "SLH-DSA-SHA2-128s":
123
+ case "SLH-DSA-SHA2-128f":
124
+ case "SLH-DSA-SHA2-192s":
125
+ case "SLH-DSA-SHA2-192f":
126
+ case "SLH-DSA-SHA2-256s":
127
+ case "SLH-DSA-SHA2-256f":
128
+ case "SLH-DSA-SHAKE-128s":
129
+ case "SLH-DSA-SHAKE-128f":
130
+ case "SLH-DSA-SHAKE-192s":
131
+ case "SLH-DSA-SHAKE-192f":
132
+ case "SLH-DSA-SHAKE-256s":
133
+ case "SLH-DSA-SHAKE-256f":
101
134
  return ReallyMeSlhDsa.signWithProvider(resolveWasmProvider(), algorithm, message, secretKey);
102
135
  default:
103
136
  throw new ReallyMeCryptoError("unsupported-algorithm");
@@ -133,6 +166,17 @@ export const createReallyMeAsymmetricFacade = (resolveWasmProvider) => ({
133
166
  ReallyMeMlDsa.verifyWithProvider(resolveWasmProvider(), algorithm, signature, message, publicKey);
134
167
  return;
135
168
  case "SLH-DSA-SHA2-128s":
169
+ case "SLH-DSA-SHA2-128f":
170
+ case "SLH-DSA-SHA2-192s":
171
+ case "SLH-DSA-SHA2-192f":
172
+ case "SLH-DSA-SHA2-256s":
173
+ case "SLH-DSA-SHA2-256f":
174
+ case "SLH-DSA-SHAKE-128s":
175
+ case "SLH-DSA-SHAKE-128f":
176
+ case "SLH-DSA-SHAKE-192s":
177
+ case "SLH-DSA-SHAKE-192f":
178
+ case "SLH-DSA-SHAKE-256s":
179
+ case "SLH-DSA-SHAKE-256f":
136
180
  ReallyMeSlhDsa.verifyWithProvider(resolveWasmProvider(), algorithm, signature, message, publicKey);
137
181
  return;
138
182
  default:
@@ -123,6 +123,8 @@ export const createReallyMeSymmetricFacade = (resolveWasmProvider) => ({
123
123
  return ReallyMeHkdf.deriveSha256(inputKeyMaterial, salt, info, outputLength);
124
124
  case "HKDF-SHA384":
125
125
  return ReallyMeHkdf.deriveSha384(inputKeyMaterial, salt, info, outputLength);
126
+ case "HKDF-SHA512":
127
+ return ReallyMeHkdf.deriveSha512(inputKeyMaterial, salt, info, outputLength);
126
128
  default:
127
129
  throw new ReallyMeCryptoError("unsupported-algorithm");
128
130
  }
package/dist/hkdf.d.ts CHANGED
@@ -5,4 +5,5 @@ export declare const HKDF_MAX_OUTPUT_LENGTH = 4096;
5
5
  export declare const ReallyMeHkdf: {
6
6
  readonly deriveSha256: (inputKeyMaterial: Uint8Array, salt: Uint8Array, info: Uint8Array, outputLength: number) => Uint8Array;
7
7
  readonly deriveSha384: (inputKeyMaterial: Uint8Array, salt: Uint8Array, info: Uint8Array, outputLength: number) => Uint8Array;
8
+ readonly deriveSha512: (inputKeyMaterial: Uint8Array, salt: Uint8Array, info: Uint8Array, outputLength: number) => Uint8Array;
8
9
  };
package/dist/hkdf.js CHANGED
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // SPDX-License-Identifier: MIT OR Apache-2.0
4
4
  import { hkdf } from "@noble/hashes/hkdf.js";
5
- import { sha256, sha384 } from "@noble/hashes/sha2.js";
5
+ import { sha256, sha384, sha512 } from "@noble/hashes/sha2.js";
6
6
  import { ReallyMeCryptoError } from "./errors.js";
7
7
  import { ensureByteArray } from "./validateBytes.js";
8
8
  export const HKDF_MIN_INPUT_KEY_MATERIAL_LENGTH = 1;
@@ -18,6 +18,10 @@ export const ReallyMeHkdf = {
18
18
  validate(inputKeyMaterial, salt, info, outputLength);
19
19
  return hkdf(sha384, inputKeyMaterial, salt, info, outputLength);
20
20
  },
21
+ deriveSha512(inputKeyMaterial, salt, info, outputLength) {
22
+ validate(inputKeyMaterial, salt, info, outputLength);
23
+ return hkdf(sha512, inputKeyMaterial, salt, info, outputLength);
24
+ },
21
25
  };
22
26
  function validate(inputKeyMaterial, salt, info, outputLength) {
23
27
  ensureByteArray(inputKeyMaterial);
@@ -154,6 +154,12 @@ export type CryptoOperationRequest = Message<"reallyme.crypto.v1.CryptoOperation
154
154
  */
155
155
  value: CryptoMacVerifyRequest;
156
156
  case: "macVerify";
157
+ } | {
158
+ /**
159
+ * @generated from field: reallyme.crypto.v1.CryptoShakeExpandRequest shake_expand = 6;
160
+ */
161
+ value: CryptoShakeExpandRequest;
162
+ case: "shakeExpand";
157
163
  } | {
158
164
  /**
159
165
  * @generated from field: reallyme.crypto.v1.CryptoSignatureGenerateKeyPairRequest signature_generate_key_pair = 10;
@@ -405,6 +411,12 @@ export type CryptoOperationResult = Message<"reallyme.crypto.v1.CryptoOperationR
405
411
  */
406
412
  value: CryptoVerificationResult;
407
413
  case: "macVerify";
414
+ } | {
415
+ /**
416
+ * @generated from field: reallyme.crypto.v1.CryptoShakeExpandResult shake_expand = 6;
417
+ */
418
+ value: CryptoShakeExpandResult;
419
+ case: "shakeExpand";
408
420
  } | {
409
421
  /**
410
422
  * @generated from field: reallyme.crypto.v1.CryptoKeyPair signature_generate_key_pair = 10;
@@ -751,7 +763,7 @@ export type HpkeSuiteIdentifier = Message<"reallyme.crypto.v1.HpkeSuiteIdentifie
751
763
  export declare const HpkeSuiteIdentifierSchema: GenMessage<HpkeSuiteIdentifier>;
752
764
  /**
753
765
  * CryptoHkdfSuiteIdentifier is metadata for the direct HKDF primitive. The
754
- * hash field is the existing HashAlgorithm subset SHA2-256, SHA2-384 and
766
+ * hash field is the HashAlgorithm subset SHA2-256, SHA2-384, SHA2-512 and
755
767
  * SHA3-256. SHA3-256 recognition does not enable its optional implementation
756
768
  * or add an executable KdfAlgorithm selector or provider capability.
757
769
  *
@@ -1590,6 +1602,51 @@ export type CryptoHashResult = Message<"reallyme.crypto.v1.CryptoHashResult"> &
1590
1602
  * Use `create(CryptoHashResultSchema)` to create a new message.
1591
1603
  */
1592
1604
  export declare const CryptoHashResultSchema: GenMessage<CryptoHashResult>;
1605
+ /**
1606
+ * Standalone FIPS 202 SHAKE expansion over the exact input bytes. Both input
1607
+ * and output can contain sensitive material. The operation requires the output
1608
+ * length in octets, accepts an explicit zero, and rejects lengths above the
1609
+ * SHAKE_EXPAND_MAX_OUTPUT_LENGTH resource limit before allocating output.
1610
+ *
1611
+ * @generated from message reallyme.crypto.v1.CryptoShakeExpandRequest
1612
+ */
1613
+ export type CryptoShakeExpandRequest = Message<"reallyme.crypto.v1.CryptoShakeExpandRequest"> & {
1614
+ /**
1615
+ * @generated from field: reallyme.crypto.v1.ShakeAlgorithm algorithm = 1;
1616
+ */
1617
+ algorithm: ShakeAlgorithm;
1618
+ /**
1619
+ * @generated from field: bytes input = 2;
1620
+ */
1621
+ input: Uint8Array;
1622
+ /**
1623
+ * @generated from field: optional uint32 output_length = 3;
1624
+ */
1625
+ outputLength?: number | undefined;
1626
+ };
1627
+ /**
1628
+ * Describes the message reallyme.crypto.v1.CryptoShakeExpandRequest.
1629
+ * Use `create(CryptoShakeExpandRequestSchema)` to create a new message.
1630
+ */
1631
+ export declare const CryptoShakeExpandRequestSchema: GenMessage<CryptoShakeExpandRequest>;
1632
+ /**
1633
+ * @generated from message reallyme.crypto.v1.CryptoShakeExpandResult
1634
+ */
1635
+ export type CryptoShakeExpandResult = Message<"reallyme.crypto.v1.CryptoShakeExpandResult"> & {
1636
+ /**
1637
+ * @generated from field: reallyme.crypto.v1.ShakeAlgorithm algorithm = 1;
1638
+ */
1639
+ algorithm: ShakeAlgorithm;
1640
+ /**
1641
+ * @generated from field: bytes output = 2;
1642
+ */
1643
+ output: Uint8Array;
1644
+ };
1645
+ /**
1646
+ * Describes the message reallyme.crypto.v1.CryptoShakeExpandResult.
1647
+ * Use `create(CryptoShakeExpandResultSchema)` to create a new message.
1648
+ */
1649
+ export declare const CryptoShakeExpandResultSchema: GenMessage<CryptoShakeExpandResult>;
1593
1650
  /**
1594
1651
  * Incremental hashing is a local, exclusively owned SDK lifecycle. A successful
1595
1652
  * start creates a fresh context; updates append exact bytes in order, including
@@ -2205,6 +2262,8 @@ export type CryptoSignatureDeriveKeyPairRequest = Message<"reallyme.crypto.v1.Cr
2205
2262
  algorithm?: CryptoAlgorithmIdentifier | undefined;
2206
2263
  /**
2207
2264
  * Secret-bearing seed or private key input, depending on the algorithm.
2265
+ * SLH-DSA uses SK.seed || SK.prf || PK.seed, each 16, 24, or 32 bytes
2266
+ * as determined by the parameter set.
2208
2267
  *
2209
2268
  * @generated from field: bytes secret_key = 2;
2210
2269
  */
@@ -6072,6 +6131,50 @@ export declare enum KeyAlgorithm {
6072
6131
  * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHA2_128S = 1100;
6073
6132
  */
6074
6133
  SLH_DSA_SHA2_128S = 1100,
6134
+ /**
6135
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHA2_128F = 1101;
6136
+ */
6137
+ SLH_DSA_SHA2_128F = 1101,
6138
+ /**
6139
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHA2_192S = 1102;
6140
+ */
6141
+ SLH_DSA_SHA2_192S = 1102,
6142
+ /**
6143
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHA2_192F = 1103;
6144
+ */
6145
+ SLH_DSA_SHA2_192F = 1103,
6146
+ /**
6147
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHA2_256S = 1104;
6148
+ */
6149
+ SLH_DSA_SHA2_256S = 1104,
6150
+ /**
6151
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHA2_256F = 1105;
6152
+ */
6153
+ SLH_DSA_SHA2_256F = 1105,
6154
+ /**
6155
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHAKE_128S = 1106;
6156
+ */
6157
+ SLH_DSA_SHAKE_128S = 1106,
6158
+ /**
6159
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHAKE_128F = 1107;
6160
+ */
6161
+ SLH_DSA_SHAKE_128F = 1107,
6162
+ /**
6163
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHAKE_192S = 1108;
6164
+ */
6165
+ SLH_DSA_SHAKE_192S = 1108,
6166
+ /**
6167
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHAKE_192F = 1109;
6168
+ */
6169
+ SLH_DSA_SHAKE_192F = 1109,
6170
+ /**
6171
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHAKE_256S = 1110;
6172
+ */
6173
+ SLH_DSA_SHAKE_256S = 1110,
6174
+ /**
6175
+ * @generated from enum value: KEY_ALGORITHM_SLH_DSA_SHAKE_256F = 1111;
6176
+ */
6177
+ SLH_DSA_SHAKE_256F = 1111,
6075
6178
  /**
6076
6179
  * @generated from enum value: KEY_ALGORITHM_ML_KEM_512 = 2000;
6077
6180
  */
@@ -6301,9 +6404,55 @@ export declare enum SignatureAlgorithm {
6301
6404
  */
6302
6405
  ML_DSA_87 = 1020,
6303
6406
  /**
6407
+ * SLH-DSA suites use pure FIPS 205 with an empty context and deterministic signing.
6408
+ *
6304
6409
  * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHA2_128S = 1100;
6305
6410
  */
6306
- SLH_DSA_SHA2_128S = 1100
6411
+ SLH_DSA_SHA2_128S = 1100,
6412
+ /**
6413
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHA2_128F = 1101;
6414
+ */
6415
+ SLH_DSA_SHA2_128F = 1101,
6416
+ /**
6417
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHA2_192S = 1102;
6418
+ */
6419
+ SLH_DSA_SHA2_192S = 1102,
6420
+ /**
6421
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHA2_192F = 1103;
6422
+ */
6423
+ SLH_DSA_SHA2_192F = 1103,
6424
+ /**
6425
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHA2_256S = 1104;
6426
+ */
6427
+ SLH_DSA_SHA2_256S = 1104,
6428
+ /**
6429
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHA2_256F = 1105;
6430
+ */
6431
+ SLH_DSA_SHA2_256F = 1105,
6432
+ /**
6433
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHAKE_128S = 1106;
6434
+ */
6435
+ SLH_DSA_SHAKE_128S = 1106,
6436
+ /**
6437
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHAKE_128F = 1107;
6438
+ */
6439
+ SLH_DSA_SHAKE_128F = 1107,
6440
+ /**
6441
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHAKE_192S = 1108;
6442
+ */
6443
+ SLH_DSA_SHAKE_192S = 1108,
6444
+ /**
6445
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHAKE_192F = 1109;
6446
+ */
6447
+ SLH_DSA_SHAKE_192F = 1109,
6448
+ /**
6449
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHAKE_256S = 1110;
6450
+ */
6451
+ SLH_DSA_SHAKE_256S = 1110,
6452
+ /**
6453
+ * @generated from enum value: SIGNATURE_ALGORITHM_SLH_DSA_SHAKE_256F = 1111;
6454
+ */
6455
+ SLH_DSA_SHAKE_256F = 1111
6307
6456
  }
6308
6457
  /**
6309
6458
  * Describes the enum reallyme.crypto.v1.SignatureAlgorithm.
@@ -6620,6 +6769,30 @@ export declare enum HashAlgorithm {
6620
6769
  * Describes the enum reallyme.crypto.v1.HashAlgorithm.
6621
6770
  */
6622
6771
  export declare const HashAlgorithmSchema: GenEnum<HashAlgorithm>;
6772
+ /**
6773
+ * ShakeAlgorithm identifies the FIPS 202 extendable-output functions. These
6774
+ * selectors carry no fixed digest width. The caller requests the output length.
6775
+ *
6776
+ * @generated from enum reallyme.crypto.v1.ShakeAlgorithm
6777
+ */
6778
+ export declare enum ShakeAlgorithm {
6779
+ /**
6780
+ * @generated from enum value: SHAKE_ALGORITHM_UNSPECIFIED = 0;
6781
+ */
6782
+ UNSPECIFIED = 0,
6783
+ /**
6784
+ * @generated from enum value: SHAKE_ALGORITHM_SHAKE128 = 100;
6785
+ */
6786
+ SHAKE128 = 100,
6787
+ /**
6788
+ * @generated from enum value: SHAKE_ALGORITHM_SHAKE256 = 110;
6789
+ */
6790
+ SHAKE256 = 110
6791
+ }
6792
+ /**
6793
+ * Describes the enum reallyme.crypto.v1.ShakeAlgorithm.
6794
+ */
6795
+ export declare const ShakeAlgorithmSchema: GenEnum<ShakeAlgorithm>;
6623
6796
  /**
6624
6797
  * MacAlgorithm identifies message-authentication-code suites. Values 100-199
6625
6798
  * are HMAC suites over SHA-2.
@@ -6674,6 +6847,10 @@ export declare enum KdfAlgorithm {
6674
6847
  * @generated from enum value: KDF_ALGORITHM_HKDF_SHA384 = 110;
6675
6848
  */
6676
6849
  HKDF_SHA384 = 110,
6850
+ /**
6851
+ * @generated from enum value: KDF_ALGORITHM_HKDF_SHA512 = 120;
6852
+ */
6853
+ HKDF_SHA512 = 120,
6677
6854
  /**
6678
6855
  * @generated from enum value: KDF_ALGORITHM_ARGON2ID = 200;
6679
6856
  */