@noble/post-quantum 0.1.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/README.md +158 -180
  2. package/_crystals.d.ts +0 -1
  3. package/_crystals.d.ts.map +1 -1
  4. package/_crystals.js +1 -31
  5. package/_crystals.js.map +1 -1
  6. package/esm/_crystals.d.ts +33 -0
  7. package/esm/_crystals.d.ts.map +1 -0
  8. package/esm/_crystals.js +0 -30
  9. package/esm/_crystals.js.map +1 -1
  10. package/esm/index.d.ts +2 -0
  11. package/esm/index.d.ts.map +1 -0
  12. package/esm/ml-dsa.d.ts +44 -0
  13. package/esm/ml-dsa.d.ts.map +1 -0
  14. package/esm/ml-dsa.js +67 -88
  15. package/esm/ml-dsa.js.map +1 -1
  16. package/esm/ml-kem.d.ts +55 -0
  17. package/esm/ml-kem.d.ts.map +1 -0
  18. package/esm/ml-kem.js +26 -83
  19. package/esm/ml-kem.js.map +1 -1
  20. package/esm/slh-dsa.d.ts +46 -0
  21. package/esm/slh-dsa.d.ts.map +1 -0
  22. package/esm/slh-dsa.js +27 -111
  23. package/esm/slh-dsa.js.map +1 -1
  24. package/esm/utils.d.ts +38 -0
  25. package/esm/utils.d.ts.map +1 -0
  26. package/esm/utils.js +2 -1
  27. package/esm/utils.js.map +1 -1
  28. package/ml-dsa.d.ts +27 -20
  29. package/ml-dsa.d.ts.map +1 -1
  30. package/ml-dsa.js +66 -87
  31. package/ml-dsa.js.map +1 -1
  32. package/ml-kem.d.ts +1 -80
  33. package/ml-kem.d.ts.map +1 -1
  34. package/ml-kem.js +26 -83
  35. package/ml-kem.js.map +1 -1
  36. package/package.json +14 -22
  37. package/slh-dsa.d.ts +0 -24
  38. package/slh-dsa.d.ts.map +1 -1
  39. package/slh-dsa.js +27 -111
  40. package/slh-dsa.js.map +1 -1
  41. package/src/_crystals.ts +0 -33
  42. package/src/ml-dsa.ts +75 -92
  43. package/src/ml-kem.ts +28 -87
  44. package/src/slh-dsa.ts +27 -121
  45. package/src/utils.ts +2 -1
  46. package/utils.d.ts +2 -2
  47. package/utils.d.ts.map +1 -1
  48. package/utils.js +7 -6
  49. package/utils.js.map +1 -1
package/slh-dsa.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.slh_dsa_sha2_256s = exports.slh_dsa_sha2_256f = exports.slh_dsa_sha2_192s = exports.slh_dsa_sha2_192f = exports.slh_dsa_sha2_128s = exports.slh_dsa_sha2_128f = exports.sphincs_sha2_256s_robust = exports.sphincs_sha2_256s_simple = exports.sphincs_sha2_256f_robust = exports.sphincs_sha2_256f_simple = exports.sphincs_sha2_192s_robust = exports.sphincs_sha2_192s_simple = exports.sphincs_sha2_192f_robust = exports.sphincs_sha2_192f_simple = exports.sphincs_sha2_128s_robust = exports.sphincs_sha2_128s_simple = exports.sphincs_sha2_128f_robust = exports.sphincs_sha2_128f_simple = exports.slh_dsa_shake_256s = exports.slh_dsa_shake_256f = exports.slh_dsa_shake_192s = exports.slh_dsa_shake_192f = exports.slh_dsa_shake_128s = exports.slh_dsa_shake_128f = exports.sphincs_shake_256s_robust = exports.sphincs_shake_256s_simple = exports.sphincs_shake_256f_robust = exports.sphincs_shake_256f_simple = exports.sphincs_shake_192s_robust = exports.sphincs_shake_192s_simple = exports.sphincs_shake_192f_robust = exports.sphincs_shake_192f_simple = exports.sphincs_shake_128s_robust = exports.sphincs_shake_128s_simple = exports.sphincs_shake_128f_robust = exports.sphincs_shake_128f_simple = exports.PARAMS = void 0;
3
+ exports.slh_dsa_sha2_256s = exports.slh_dsa_sha2_256f = exports.slh_dsa_sha2_192s = exports.slh_dsa_sha2_192f = exports.slh_dsa_sha2_128s = exports.slh_dsa_sha2_128f = exports.slh_dsa_shake_256s = exports.slh_dsa_shake_256f = exports.slh_dsa_shake_192s = exports.slh_dsa_shake_192f = exports.slh_dsa_shake_128s = exports.slh_dsa_shake_128f = exports.PARAMS = void 0;
4
4
  /*! noble-post-quantum - MIT License (c) 2024 Paul Miller (paulmillr.com) */
5
5
  const hmac_1 = require("@noble/hashes/hmac");
6
6
  const sha2_1 = require("@noble/hashes/sha2");
@@ -18,8 +18,7 @@ exports.PARAMS = {
18
18
  function hexToNumber(hex) {
19
19
  if (typeof hex !== 'string')
20
20
  throw new Error('hex string expected, got ' + typeof hex);
21
- // Big Endian
22
- return BigInt(hex === '' ? '0' : `0x${hex}`);
21
+ return BigInt(hex === '' ? '0' : '0x' + hex); // Big Endian
23
22
  }
24
23
  // BE: Big Endian, LE: Little Endian
25
24
  function bytesToNumberBE(bytes) {
@@ -28,34 +27,20 @@ function bytesToNumberBE(bytes) {
28
27
  function numberToBytesBE(n, len) {
29
28
  return (0, utils_1.hexToBytes)(n.toString(16).padStart(len * 2, '0'));
30
29
  }
31
- // Same as bitsCoder.decode, but bits are BE instead of LE (so we cannot re-use it).
32
- // NOTE: difference happens only if d < 8.
33
- const base_2bBE = (N, d) => {
34
- const mask = (0, utils_js_1.getMask)(d);
35
- return (bytes) => {
36
- const r = new Uint32Array(N);
37
- for (let i = 0, buf = 0, bufLen = 0, pos = 0; i < bytes.length; i++) {
38
- buf |= bytes[i] << bufLen;
39
- bufLen += 8;
40
- for (; bufLen >= d; bufLen -= d)
41
- r[pos++] = (buf >>> (bufLen - d)) & mask;
42
- buf &= (0, utils_js_1.getMask)(bufLen);
43
- }
44
- return r;
45
- };
46
- };
47
30
  // Same as bitsCoder.decode, but maybe spec will change and unify with base2bBE.
48
- const base_2bLE = (N, d) => {
49
- const mask = (0, utils_js_1.getMask)(d);
31
+ const base2b = (outLen, b) => {
32
+ const mask = (0, utils_js_1.getMask)(b);
50
33
  return (bytes) => {
51
- const r = new Uint32Array(N);
52
- for (let i = 0, buf = 0, bufLen = 0, pos = 0; i < bytes.length; i++) {
53
- buf |= bytes[i] << bufLen;
54
- bufLen += 8;
55
- for (; bufLen >= d; bufLen -= d, buf >>= d)
56
- r[pos++] = buf & mask;
34
+ const baseB = new Uint32Array(outLen);
35
+ for (let out = 0, pos = 0, bits = 0, total = 0; out < outLen; out++) {
36
+ while (bits < b) {
37
+ total = (total << 8) | bytes[pos++];
38
+ bits += 8;
39
+ }
40
+ bits -= b;
41
+ baseB[out] = (total >>> bits) & mask;
57
42
  }
58
- return r;
43
+ return baseB;
59
44
  };
60
45
  };
61
46
  function getMaskBig(bits) {
@@ -124,9 +109,9 @@ function gen(opts, hashOpts) {
124
109
  }
125
110
  return addr;
126
111
  };
127
- const chainCoder = base_2bBE(WOTS_LEN2, WOTS_LOGW);
112
+ const chainCoder = base2b(WOTS_LEN2, WOTS_LOGW);
128
113
  const chainLengths = (msg) => {
129
- const W1 = base_2bBE(WOTS_LEN1, WOTS_LOGW)(msg);
114
+ const W1 = base2b(WOTS_LEN1, WOTS_LOGW)(msg);
130
115
  let csum = 0;
131
116
  for (let i = 0; i < W1.length; i++)
132
117
  csum += W - 1 - W1[i]; // ▷ Compute checksum
@@ -139,9 +124,7 @@ function gen(opts, hashOpts) {
139
124
  lengths.set(W2, W1.length);
140
125
  return lengths;
141
126
  };
142
- // Hm, why BE vs LE?
143
- const msgCoder = base_2bLE(K, A);
144
- const messageToIndices = (msg) => msgCoder(msg);
127
+ const messageToIndices = base2b(K, A);
145
128
  const TREE_BITS = TREE_HEIGHT * (D - 1);
146
129
  const LEAF_BITS = TREE_HEIGHT;
147
130
  const hashMsgCoder = (0, utils_js_1.splitCoder)(Math.ceil((A * K) / 8), Math.ceil(TREE_BITS / 8), Math.ceil(TREE_HEIGHT / 8));
@@ -398,13 +381,12 @@ function gen(opts, hashOpts) {
398
381
  },
399
382
  };
400
383
  }
401
- const genShake = (robust) => (opts) => (pubSeed, skSeed) => {
402
- const ADDR_BYTES = 32;
384
+ const genShake = () => (opts) => (pubSeed, skSeed) => {
403
385
  const { N } = opts;
404
386
  const stats = { prf: 0, thash: 0, hmsg: 0, gen_message_random: 0 };
405
387
  const h0 = sha3_1.shake256.create({}).update(pubSeed);
406
388
  const h0tmp = h0.clone();
407
- const thash_simple = (blocks, input, addr) => {
389
+ const thash = (blocks, input, addr) => {
408
390
  stats.thash++;
409
391
  return h0
410
392
  ._cloneInto(h0tmp)
@@ -412,26 +394,13 @@ const genShake = (robust) => (opts) => (pubSeed, skSeed) => {
412
394
  .update(input.subarray(0, blocks * N))
413
395
  .xof(N);
414
396
  };
415
- const thash_robust = (blocks, input, addr) => {
416
- stats.thash++;
417
- const buf = new Uint8Array(ADDR_BYTES + (blocks + 1) * N);
418
- buf.subarray(0, N).set(pubSeed);
419
- buf.subarray(N, N + ADDR_BYTES).set(addr);
420
- sha3_1.shake256
421
- .create({})
422
- .update(buf.subarray(0, N + ADDR_BYTES))
423
- .xofInto(buf.subarray(N + ADDR_BYTES));
424
- for (let i = 0; i < blocks * N; i++)
425
- buf[N + ADDR_BYTES + i] ^= input[i];
426
- return sha3_1.shake256.create({}).update(buf).xof(N);
427
- };
428
- const thash = robust ? thash_robust : thash_simple;
429
397
  return {
430
398
  PRFaddr: (addr) => {
431
399
  if (!skSeed)
432
400
  throw new Error('no sk seed');
433
401
  stats.prf++;
434
- return h0._cloneInto(h0tmp).update(addr).update(skSeed).xof(N);
402
+ const res = h0._cloneInto(h0tmp).update(addr).update(skSeed).xof(N);
403
+ return res;
435
404
  },
436
405
  PRFmsg: (skPRF, random, msg) => {
437
406
  stats.gen_message_random++;
@@ -450,20 +419,7 @@ const genShake = (robust) => (opts) => (pubSeed, skSeed) => {
450
419
  },
451
420
  };
452
421
  };
453
- const SHAKE_SIMPLE = { getContext: genShake(false) };
454
- const SHAKE_ROBUST = { getContext: genShake(true) };
455
- exports.sphincs_shake_128f_simple = gen(exports.PARAMS['128f'], SHAKE_SIMPLE);
456
- exports.sphincs_shake_128f_robust = gen(exports.PARAMS['128f'], SHAKE_ROBUST);
457
- exports.sphincs_shake_128s_simple = gen(exports.PARAMS['128s'], SHAKE_SIMPLE);
458
- exports.sphincs_shake_128s_robust = gen(exports.PARAMS['128s'], SHAKE_ROBUST);
459
- exports.sphincs_shake_192f_simple = gen(exports.PARAMS['192f'], SHAKE_SIMPLE);
460
- exports.sphincs_shake_192f_robust = gen(exports.PARAMS['192f'], SHAKE_ROBUST);
461
- exports.sphincs_shake_192s_simple = gen(exports.PARAMS['192s'], SHAKE_SIMPLE);
462
- exports.sphincs_shake_192s_robust = gen(exports.PARAMS['192s'], SHAKE_ROBUST);
463
- exports.sphincs_shake_256f_simple = gen(exports.PARAMS['256f'], SHAKE_SIMPLE);
464
- exports.sphincs_shake_256f_robust = gen(exports.PARAMS['256f'], SHAKE_ROBUST);
465
- exports.sphincs_shake_256s_simple = gen(exports.PARAMS['256s'], SHAKE_SIMPLE);
466
- exports.sphincs_shake_256s_robust = gen(exports.PARAMS['256s'], SHAKE_ROBUST);
422
+ const SHAKE_SIMPLE = { getContext: genShake() };
467
423
  // Only simple mode in SLH-DSA
468
424
  exports.slh_dsa_shake_128f = gen(exports.PARAMS['128f'], SHAKE_SIMPLE);
469
425
  exports.slh_dsa_shake_128s = gen(exports.PARAMS['128s'], SHAKE_SIMPLE);
@@ -471,7 +427,7 @@ exports.slh_dsa_shake_192f = gen(exports.PARAMS['192f'], SHAKE_SIMPLE);
471
427
  exports.slh_dsa_shake_192s = gen(exports.PARAMS['192s'], SHAKE_SIMPLE);
472
428
  exports.slh_dsa_shake_256f = gen(exports.PARAMS['256f'], SHAKE_SIMPLE);
473
429
  exports.slh_dsa_shake_256s = gen(exports.PARAMS['256s'], SHAKE_SIMPLE);
474
- const genSha = (h0, h1, robust) => (opts) => (pub_seed, sk_seed) => {
430
+ const genSha = (h0, h1) => (opts) => (pub_seed, sk_seed) => {
475
431
  const { N } = opts;
476
432
  /*
477
433
  Perf debug stats, how much hashes we call?
@@ -505,7 +461,7 @@ const genSha = (h0, h1, robust) => (opts) => (pub_seed, sk_seed) => {
505
461
  out.subarray(length).fill(0);
506
462
  return out.subarray(0, length);
507
463
  }
508
- const thash_simple = (_, h, hTmp) => (blocks, input, addr) => {
464
+ const thash = (_, h, hTmp) => (blocks, input, addr) => {
509
465
  stats.thash++;
510
466
  const d = h
511
467
  ._cloneInto(hTmp)
@@ -514,38 +470,18 @@ const genSha = (h0, h1, robust) => (opts) => (pub_seed, sk_seed) => {
514
470
  .digest();
515
471
  return d.subarray(0, N);
516
472
  };
517
- const thash_robust = (sha, h, _) => (blocks, input, addr) => {
518
- stats.thash++;
519
- stats.mgf1++;
520
- // inlined mgf1
521
- const addr8 = addr;
522
- const hh = sha.create().update(pub_seed).update(addr8);
523
- let bitmask = new Uint8Array(Math.ceil((blocks * N) / sha.outputLen) * sha.outputLen);
524
- for (let counter = 0, o = bitmask; o.length; counter++) {
525
- counterV.setUint32(0, counter, false);
526
- hh.clone().update(counterB).digestInto(o);
527
- o = o.subarray(sha.outputLen);
528
- }
529
- bitmask = bitmask.subarray(0, blocks * N);
530
- const ou32 = (0, utils_1.u32)(input);
531
- const bm32 = (0, utils_1.u32)(bitmask);
532
- for (let i = 0; i < bm32.length; i++)
533
- bm32[i] ^= ou32[i];
534
- const d = h.clone().update(addr8).update(bitmask).digest();
535
- return d.subarray(0, N);
536
- };
537
- const thash = robust ? thash_robust : thash_simple;
538
473
  return {
539
474
  PRFaddr: (addr) => {
540
475
  if (!sk_seed)
541
476
  throw new Error('No sk seed');
542
477
  stats.prf++;
543
- return h0ps
478
+ const res = h0ps
544
479
  ._cloneInto(h0tmp)
545
480
  .update(addr)
546
481
  .update(sk_seed)
547
482
  .digest()
548
483
  .subarray(0, N);
484
+ return res;
549
485
  },
550
486
  PRFmsg: (skPRF, random, msg) => {
551
487
  stats.gen_message_random++;
@@ -569,32 +505,12 @@ const genSha = (h0, h1, robust) => (opts) => (pub_seed, sk_seed) => {
569
505
  };
570
506
  const SHA256_SIMPLE = {
571
507
  isCompressed: true,
572
- getContext: genSha(sha2_1.sha256, sha2_1.sha256, false),
573
- };
574
- const SHA256_ROBUST = {
575
- isCompressed: true,
576
- getContext: genSha(sha2_1.sha256, sha2_1.sha256, true),
508
+ getContext: genSha(sha2_1.sha256, sha2_1.sha256),
577
509
  };
578
510
  const SHA512_SIMPLE = {
579
511
  isCompressed: true,
580
- getContext: genSha(sha2_1.sha256, sha2_1.sha512, false),
581
- };
582
- const SHA512_ROBUST = {
583
- isCompressed: true,
584
- getContext: genSha(sha2_1.sha256, sha2_1.sha512, true),
512
+ getContext: genSha(sha2_1.sha256, sha2_1.sha512),
585
513
  };
586
- exports.sphincs_sha2_128f_simple = gen(exports.PARAMS['128f'], SHA256_SIMPLE);
587
- exports.sphincs_sha2_128f_robust = gen(exports.PARAMS['128f'], SHA256_ROBUST);
588
- exports.sphincs_sha2_128s_simple = gen(exports.PARAMS['128s'], SHA256_SIMPLE);
589
- exports.sphincs_sha2_128s_robust = gen(exports.PARAMS['128s'], SHA256_ROBUST);
590
- exports.sphincs_sha2_192f_simple = gen(exports.PARAMS['192f'], SHA512_SIMPLE);
591
- exports.sphincs_sha2_192f_robust = gen(exports.PARAMS['192f'], SHA512_ROBUST);
592
- exports.sphincs_sha2_192s_simple = gen(exports.PARAMS['192s'], SHA512_SIMPLE);
593
- exports.sphincs_sha2_192s_robust = gen(exports.PARAMS['192s'], SHA512_ROBUST);
594
- exports.sphincs_sha2_256f_simple = gen(exports.PARAMS['256f'], SHA512_SIMPLE);
595
- exports.sphincs_sha2_256f_robust = gen(exports.PARAMS['256f'], SHA512_ROBUST);
596
- exports.sphincs_sha2_256s_simple = gen(exports.PARAMS['256s'], SHA512_SIMPLE);
597
- exports.sphincs_sha2_256s_robust = gen(exports.PARAMS['256s'], SHA512_ROBUST);
598
514
  // Only simple mode in SLH-DSA
599
515
  exports.slh_dsa_sha2_128f = gen(exports.PARAMS['128f'], SHA256_SIMPLE);
600
516
  exports.slh_dsa_sha2_128s = gen(exports.PARAMS['128s'], SHA256_SIMPLE);
package/slh-dsa.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"slh-dsa.js","sourceRoot":"","sources":["src/slh-dsa.ts"],"names":[],"mappings":";;;AAAA,4EAA4E;AAC5E,6CAA0C;AAC1C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Aa,CAAC,CAAC;AACvE,QAAA,iBAAiB,GAAmB,GAAG,CAAC,cAAM,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC;AACvE,QAAA,iBAAiB,GAAmB,GAAG,CAAC,cAAM,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC;AACvE,QAAA,iBAAiB,GAAmB,GAAG,CAAC,cAAM,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC;AACvE,QAAA,iBAAiB,GAAmB,GAAG,CAAC,cAAM,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC;AACvE,QAAA,iBAAiB,GAAmB,GAAG,CAAC,cAAM,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC"}
package/src/_crystals.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  /*! noble-post-quantum - MIT License (c) 2024 Paul Miller (paulmillr.com) */
2
- import { unsafe } from '@noble/ciphers/aes';
3
2
  import { shake128, shake256 } from '@noble/hashes/sha3';
4
3
  import type { TypedArray } from '@noble/hashes/utils';
5
4
  import { BytesCoderLen, Coder, getMask } from './utils.js';
@@ -163,35 +162,3 @@ const createXofShake =
163
162
 
164
163
  export const XOF128 = /* @__PURE__ */ createXofShake(shake128);
165
164
  export const XOF256 = /* @__PURE__ */ createXofShake(shake256);
166
-
167
- const createXofAes =
168
- (aes: typeof unsafe): XOF =>
169
- (seed: Uint8Array, blockLen?: number) => {
170
- if (!blockLen) blockLen = 16 * 3; // 288
171
- const nonce = new Uint8Array(16);
172
- const xk = aes.expandKeyLE(seed.subarray(0, 32));
173
- const block = new Uint8Array(blockLen);
174
- const out = block.slice();
175
- let calls = 0;
176
- let xofs = 0;
177
- return {
178
- stats: () => ({ calls, xofs }),
179
- get: (x: number, y: number) => {
180
- nonce.fill(0); // clean counter
181
- nonce[0] = x;
182
- nonce[1] = y;
183
- calls++;
184
- return () => {
185
- xofs++;
186
- return aes.ctrCounter(xk, nonce, block, out);
187
- };
188
- },
189
- clean: () => {
190
- nonce.fill(0);
191
- xk.fill(0);
192
- out.fill(0);
193
- },
194
- };
195
- };
196
-
197
- export const XOF_AES = /* @__PURE__ */ createXofAes(unsafe);