quarkdash 1.0.1 → 1.0.2
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/coverage/clover.xml +158 -122
- package/coverage/coverage-final.json +4 -3
- package/coverage/lcov-report/cipher.ts.html +1 -1
- package/coverage/lcov-report/crypto.ts.html +1 -1
- package/coverage/lcov-report/index.html +37 -22
- package/coverage/lcov-report/index.ts.html +7 -4
- package/coverage/lcov-report/kdf.ts.html +1 -1
- package/coverage/lcov-report/mac.ts.html +1 -1
- package/coverage/lcov-report/ringlwe.ts.html +3 -3
- package/coverage/lcov-report/shake.ts.html +571 -0
- package/coverage/lcov-report/utils.ts.html +23 -182
- package/coverage/lcov.info +251 -195
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/shake.js +159 -0
- package/dist/cjs/shake.js.map +1 -0
- package/dist/cjs/utils.js +3 -54
- package/dist/cjs/utils.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/shake.js +155 -0
- package/dist/esm/shake.js.map +1 -0
- package/dist/esm/utils.js +3 -54
- package/dist/esm/utils.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/shake.d.ts +53 -0
- package/dist/types/utils.d.ts +0 -12
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/shake.ts +163 -0
- package/src/utils.ts +3 -56
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1775553561526" clover="3.2.0">
|
|
3
|
+
<project timestamp="1775553561526" name="All files">
|
|
4
|
+
<metrics statements="476" coveredstatements="378" conditionals="84" coveredconditionals="38" methods="82" coveredmethods="64" elements="642" coveredelements="480" complexity="0" loc="476" ncloc="476" packages="1" files="8" classes="8"/>
|
|
5
5
|
<file name="cipher.ts" path="/home/neurosell/Repos/quarkdash/src/cipher.ts">
|
|
6
6
|
<metrics statements="84" coveredstatements="79" conditionals="10" coveredconditionals="5" methods="18" coveredmethods="14"/>
|
|
7
7
|
<line num="12" count="1" type="stmt"/>
|
|
@@ -191,14 +191,15 @@
|
|
|
191
191
|
<line num="304" count="0" type="stmt"/>
|
|
192
192
|
</file>
|
|
193
193
|
<file name="index.ts" path="/home/neurosell/Repos/quarkdash/src/index.ts">
|
|
194
|
-
<metrics statements="
|
|
194
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
195
195
|
<line num="11" count="1" type="stmt"/>
|
|
196
196
|
<line num="12" count="1" type="stmt"/>
|
|
197
|
-
<line num="
|
|
197
|
+
<line num="13" count="1" type="stmt"/>
|
|
198
198
|
<line num="16" count="1" type="stmt"/>
|
|
199
|
-
<line num="
|
|
199
|
+
<line num="17" count="1" type="stmt"/>
|
|
200
200
|
<line num="20" count="1" type="stmt"/>
|
|
201
|
-
<line num="
|
|
201
|
+
<line num="21" count="1" type="stmt"/>
|
|
202
|
+
<line num="24" count="1" type="stmt"/>
|
|
202
203
|
</file>
|
|
203
204
|
<file name="kdf.ts" path="/home/neurosell/Repos/quarkdash/src/kdf.ts">
|
|
204
205
|
<metrics statements="24" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
|
|
@@ -252,8 +253,8 @@
|
|
|
252
253
|
<line num="31" count="42" type="stmt"/>
|
|
253
254
|
<line num="32" count="10752" type="stmt"/>
|
|
254
255
|
<line num="33" count="10752" type="cond" truecount="2" falsecount="0"/>
|
|
255
|
-
<line num="34" count="
|
|
256
|
-
<line num="35" count="
|
|
256
|
+
<line num="34" count="7146" type="cond" truecount="2" falsecount="0"/>
|
|
257
|
+
<line num="35" count="3656" type="stmt"/>
|
|
257
258
|
<line num="37" count="42" type="stmt"/>
|
|
258
259
|
<line num="46" count="14" type="stmt"/>
|
|
259
260
|
<line num="47" count="14" type="stmt"/>
|
|
@@ -346,125 +347,160 @@
|
|
|
346
347
|
<line num="268" count="7" type="stmt"/>
|
|
347
348
|
<line num="269" count="7" type="stmt"/>
|
|
348
349
|
</file>
|
|
349
|
-
<file name="
|
|
350
|
-
<metrics statements="
|
|
351
|
-
<line num="
|
|
350
|
+
<file name="shake.ts" path="/home/neurosell/Repos/quarkdash/src/shake.ts">
|
|
351
|
+
<metrics statements="66" coveredstatements="64" conditionals="9" coveredconditionals="8" methods="5" coveredmethods="4"/>
|
|
352
|
+
<line num="13" count="1" type="stmt"/>
|
|
352
353
|
<line num="15" count="1" type="stmt"/>
|
|
354
|
+
<line num="16" count="1" type="stmt"/>
|
|
353
355
|
<line num="17" count="1" type="stmt"/>
|
|
354
|
-
<line num="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="
|
|
357
|
-
<line num="
|
|
356
|
+
<line num="21" count="1" type="stmt"/>
|
|
357
|
+
<line num="37" count="35" type="stmt"/>
|
|
358
|
+
<line num="47" count="0" type="stmt"/>
|
|
359
|
+
<line num="58" count="35" type="stmt"/>
|
|
360
|
+
<line num="60" count="35" type="stmt"/>
|
|
361
|
+
<line num="61" count="35" type="stmt"/>
|
|
362
|
+
<line num="62" count="35" type="stmt"/>
|
|
363
|
+
<line num="63" count="999" type="stmt"/>
|
|
364
|
+
<line num="64" count="999" type="stmt"/>
|
|
365
|
+
<line num="65" count="132994" type="stmt"/>
|
|
366
|
+
<line num="66" count="132994" type="stmt"/>
|
|
367
|
+
<line num="67" count="132994" type="stmt"/>
|
|
368
|
+
<line num="68" count="132994" type="stmt"/>
|
|
369
|
+
<line num="69" count="132994" type="stmt"/>
|
|
370
|
+
<line num="70" count="132994" type="stmt"/>
|
|
371
|
+
<line num="72" count="999" type="stmt"/>
|
|
372
|
+
<line num="73" count="999" type="cond" truecount="3" falsecount="0"/>
|
|
373
|
+
<line num="75" count="999" type="cond" truecount="1" falsecount="0"/>
|
|
374
|
+
<line num="76" count="35" type="stmt"/>
|
|
375
|
+
<line num="77" count="35" type="stmt"/>
|
|
376
|
+
<line num="78" count="35" type="stmt"/>
|
|
377
|
+
<line num="79" count="35" type="stmt"/>
|
|
378
|
+
<line num="80" count="35" type="stmt"/>
|
|
379
|
+
<line num="82" count="35" type="stmt"/>
|
|
380
|
+
<line num="83" count="35" type="stmt"/>
|
|
381
|
+
<line num="84" count="35" type="stmt"/>
|
|
382
|
+
<line num="85" count="35" type="stmt"/>
|
|
383
|
+
<line num="87" count="999" type="stmt"/>
|
|
384
|
+
<line num="92" count="35" type="stmt"/>
|
|
385
|
+
<line num="93" count="35" type="stmt"/>
|
|
386
|
+
<line num="94" count="35" type="stmt"/>
|
|
387
|
+
<line num="95" count="35" type="cond" truecount="2" falsecount="0"/>
|
|
388
|
+
<line num="96" count="196" type="stmt"/>
|
|
389
|
+
<line num="97" count="196" type="cond" truecount="2" falsecount="0"/>
|
|
390
|
+
<line num="98" count="1568" type="stmt"/>
|
|
391
|
+
<line num="99" count="1568" type="stmt"/>
|
|
392
|
+
<line num="102" count="35" type="cond" truecount="0" falsecount="1"/>
|
|
393
|
+
<line num="103" count="0" type="stmt"/>
|
|
394
|
+
<line num="106" count="35" type="stmt"/>
|
|
395
|
+
<line num="115" count="999" type="stmt"/>
|
|
396
|
+
<line num="117" count="23976" type="stmt"/>
|
|
397
|
+
<line num="118" count="23976" type="stmt"/>
|
|
398
|
+
<line num="119" count="119880" type="stmt"/>
|
|
399
|
+
<line num="121" count="23976" type="stmt"/>
|
|
400
|
+
<line num="122" count="23976" type="stmt"/>
|
|
401
|
+
<line num="123" count="119880" type="stmt"/>
|
|
402
|
+
<line num="125" count="23976" type="stmt"/>
|
|
403
|
+
<line num="126" count="119880" type="stmt"/>
|
|
404
|
+
<line num="127" count="599400" type="stmt"/>
|
|
405
|
+
<line num="132" count="23976" type="stmt"/>
|
|
406
|
+
<line num="133" count="23976" type="stmt"/>
|
|
407
|
+
<line num="134" count="575424" type="stmt"/>
|
|
408
|
+
<line num="135" count="575424" type="stmt"/>
|
|
409
|
+
<line num="136" count="575424" type="stmt"/>
|
|
410
|
+
<line num="137" count="575424" type="stmt"/>
|
|
411
|
+
<line num="141" count="23976" type="stmt"/>
|
|
412
|
+
<line num="142" count="119880" type="stmt"/>
|
|
413
|
+
<line num="143" count="119880" type="stmt"/>
|
|
414
|
+
<line num="144" count="599400" type="stmt"/>
|
|
415
|
+
<line num="149" count="23976" type="stmt"/>
|
|
416
|
+
<line num="160" count="695304" type="stmt"/>
|
|
417
|
+
<line num="161" count="695304" type="stmt"/>
|
|
418
|
+
</file>
|
|
419
|
+
<file name="utils.ts" path="/home/neurosell/Repos/quarkdash/src/utils.ts">
|
|
420
|
+
<metrics statements="83" coveredstatements="48" conditionals="25" coveredconditionals="7" methods="19" coveredmethods="16"/>
|
|
421
|
+
<line num="10" count="1" type="stmt"/>
|
|
422
|
+
<line num="11" count="1" type="stmt"/>
|
|
423
|
+
<line num="16" count="1" type="stmt"/>
|
|
424
|
+
<line num="18" count="1" type="stmt"/>
|
|
425
|
+
<line num="27" count="35" type="stmt"/>
|
|
358
426
|
<line num="37" count="0" type="stmt"/>
|
|
359
|
-
<line num="
|
|
360
|
-
<line num="
|
|
361
|
-
<line num="
|
|
362
|
-
<line num="
|
|
363
|
-
<line num="
|
|
364
|
-
<line num="
|
|
365
|
-
<line num="
|
|
366
|
-
<line num="
|
|
367
|
-
<line num="
|
|
368
|
-
<line num="
|
|
369
|
-
<line num="
|
|
370
|
-
<line num="
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="
|
|
373
|
-
<line num="62" count="49" type="stmt"/>
|
|
374
|
-
<line num="63" count="49" type="stmt"/>
|
|
375
|
-
<line num="65" count="35" type="stmt"/>
|
|
376
|
-
<line num="75" count="0" type="stmt"/>
|
|
427
|
+
<line num="46" count="170" type="stmt"/>
|
|
428
|
+
<line num="47" count="170" type="stmt"/>
|
|
429
|
+
<line num="48" count="80" type="stmt"/>
|
|
430
|
+
<line num="49" count="80" type="stmt"/>
|
|
431
|
+
<line num="50" count="80" type="stmt"/>
|
|
432
|
+
<line num="51" count="170" type="stmt"/>
|
|
433
|
+
<line num="52" count="170" type="stmt"/>
|
|
434
|
+
<line num="54" count="80" type="stmt"/>
|
|
435
|
+
<line num="64" count="22" type="stmt"/>
|
|
436
|
+
<line num="67" count="22" type="cond" truecount="1" falsecount="2"/>
|
|
437
|
+
<line num="68" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
438
|
+
<line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
439
|
+
<line num="70" count="0" type="stmt"/>
|
|
440
|
+
<line num="72" count="0" type="stmt"/>
|
|
377
441
|
<line num="76" count="0" type="stmt"/>
|
|
378
|
-
<line num="
|
|
379
|
-
<line num="
|
|
380
|
-
<line num="79" count="0" type="stmt"/>
|
|
381
|
-
<line num="80" count="0" type="stmt"/>
|
|
382
|
-
<line num="81" count="0" type="stmt"/>
|
|
442
|
+
<line num="80" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
443
|
+
<line num="81" count="22" type="cond" truecount="0" falsecount="1"/>
|
|
383
444
|
<line num="82" count="0" type="stmt"/>
|
|
384
|
-
<line num="
|
|
385
|
-
<line num="
|
|
386
|
-
<line num="85" count="0" type="stmt"/>
|
|
387
|
-
<line num="86" count="0" type="stmt"/>
|
|
388
|
-
<line num="87" count="0" type="stmt"/>
|
|
389
|
-
<line num="88" count="0" type="stmt"/>
|
|
445
|
+
<line num="85" count="22" type="stmt"/>
|
|
446
|
+
<line num="89" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
390
447
|
<line num="90" count="0" type="stmt"/>
|
|
391
|
-
<line num="
|
|
392
|
-
<line num="
|
|
393
|
-
<line num="
|
|
394
|
-
<line num="
|
|
395
|
-
<line num="
|
|
396
|
-
<line num="
|
|
397
|
-
<line num="
|
|
398
|
-
<line num="
|
|
399
|
-
<line num="
|
|
400
|
-
<line num="
|
|
401
|
-
<line num="
|
|
402
|
-
<line num="
|
|
403
|
-
<line num="
|
|
404
|
-
<line num="
|
|
405
|
-
<line num="
|
|
406
|
-
<line num="
|
|
407
|
-
<line num="
|
|
408
|
-
<line num="
|
|
409
|
-
<line num="
|
|
410
|
-
<line num="
|
|
411
|
-
<line num="
|
|
412
|
-
<line num="
|
|
413
|
-
<line num="
|
|
414
|
-
<line num="
|
|
415
|
-
<line num="
|
|
416
|
-
<line num="
|
|
417
|
-
<line num="
|
|
418
|
-
<line num="
|
|
419
|
-
<line num="
|
|
420
|
-
<line num="
|
|
421
|
-
<line num="
|
|
422
|
-
<line num="
|
|
423
|
-
<line num="
|
|
424
|
-
<line num="
|
|
425
|
-
<line num="
|
|
426
|
-
<line num="
|
|
427
|
-
<line num="
|
|
428
|
-
<line num="
|
|
429
|
-
<line num="
|
|
430
|
-
<line num="
|
|
431
|
-
<line num="
|
|
432
|
-
<line num="
|
|
433
|
-
<line num="
|
|
434
|
-
<line num="
|
|
435
|
-
<line num="
|
|
436
|
-
<line num="
|
|
437
|
-
<line num="
|
|
438
|
-
<line num="
|
|
439
|
-
<line num="
|
|
440
|
-
<line num="
|
|
441
|
-
<line num="
|
|
442
|
-
<line num="
|
|
443
|
-
<line num="
|
|
444
|
-
<line num="
|
|
445
|
-
<line num="
|
|
446
|
-
<line num="
|
|
447
|
-
<line num="256" count="0" type="stmt"/>
|
|
448
|
-
<line num="257" count="0" type="stmt"/>
|
|
449
|
-
<line num="258" count="0" type="stmt"/>
|
|
450
|
-
<line num="261" count="0" type="stmt"/>
|
|
451
|
-
<line num="270" count="0" type="stmt"/>
|
|
452
|
-
<line num="271" count="0" type="stmt"/>
|
|
453
|
-
<line num="272" count="0" type="stmt"/>
|
|
454
|
-
<line num="273" count="0" type="stmt"/>
|
|
455
|
-
<line num="274" count="0" type="stmt"/>
|
|
456
|
-
<line num="276" count="0" type="stmt"/>
|
|
457
|
-
<line num="286" count="11" type="cond" truecount="0" falsecount="1"/>
|
|
458
|
-
<line num="287" count="11" type="stmt"/>
|
|
459
|
-
<line num="288" count="352" type="stmt"/>
|
|
460
|
-
<line num="289" count="11" type="stmt"/>
|
|
461
|
-
<line num="297" count="1344" type="stmt"/>
|
|
462
|
-
<line num="308" count="22693" type="stmt"/>
|
|
463
|
-
<line num="319" count="33000" type="stmt"/>
|
|
464
|
-
<line num="329" count="10" type="stmt"/>
|
|
465
|
-
<line num="339" count="10" type="stmt"/>
|
|
466
|
-
<line num="340" count="80" type="stmt"/>
|
|
467
|
-
<line num="341" count="10" type="stmt"/>
|
|
448
|
+
<line num="93" count="0" type="stmt"/>
|
|
449
|
+
<line num="103" count="225" type="stmt"/>
|
|
450
|
+
<line num="113" count="22" type="stmt"/>
|
|
451
|
+
<line num="114" count="22" type="cond" truecount="0" falsecount="1"/>
|
|
452
|
+
<line num="115" count="0" type="stmt"/>
|
|
453
|
+
<line num="118" count="22" type="stmt"/>
|
|
454
|
+
<line num="119" count="203" type="cond" truecount="3" falsecount="1"/>
|
|
455
|
+
<line num="120" count="0" type="stmt"/>
|
|
456
|
+
<line num="124" count="22" type="stmt"/>
|
|
457
|
+
<line num="133" count="29" type="stmt"/>
|
|
458
|
+
<line num="142" count="22" type="stmt"/>
|
|
459
|
+
<line num="143" count="22" type="stmt"/>
|
|
460
|
+
<line num="144" count="22" type="stmt"/>
|
|
461
|
+
<line num="145" count="22" type="stmt"/>
|
|
462
|
+
<line num="146" count="22" type="stmt"/>
|
|
463
|
+
<line num="147" count="203" type="stmt"/>
|
|
464
|
+
<line num="150" count="203" type="cond" truecount="2" falsecount="0"/>
|
|
465
|
+
<line num="151" count="6" type="stmt"/>
|
|
466
|
+
<line num="152" count="6" type="stmt"/>
|
|
467
|
+
<line num="156" count="197" type="stmt"/>
|
|
468
|
+
<line num="160" count="22" type="stmt"/>
|
|
469
|
+
<line num="169" count="8" type="stmt"/>
|
|
470
|
+
<line num="171" count="0" type="stmt"/>
|
|
471
|
+
<line num="172" count="0" type="stmt"/>
|
|
472
|
+
<line num="174" count="0" type="stmt"/>
|
|
473
|
+
<line num="175" count="0" type="stmt"/>
|
|
474
|
+
<line num="177" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
475
|
+
<line num="178" count="0" type="stmt"/>
|
|
476
|
+
<line num="179" count="0" type="stmt"/>
|
|
477
|
+
<line num="180" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
478
|
+
<line num="181" count="0" type="stmt"/>
|
|
479
|
+
<line num="182" count="0" type="stmt"/>
|
|
480
|
+
<line num="184" count="0" type="stmt"/>
|
|
481
|
+
<line num="189" count="0" type="stmt"/>
|
|
482
|
+
<line num="193" count="0" type="stmt"/>
|
|
483
|
+
<line num="203" count="0" type="stmt"/>
|
|
484
|
+
<line num="204" count="0" type="stmt"/>
|
|
485
|
+
<line num="205" count="0" type="stmt"/>
|
|
486
|
+
<line num="208" count="0" type="stmt"/>
|
|
487
|
+
<line num="217" count="0" type="stmt"/>
|
|
488
|
+
<line num="218" count="0" type="stmt"/>
|
|
489
|
+
<line num="219" count="0" type="stmt"/>
|
|
490
|
+
<line num="220" count="0" type="stmt"/>
|
|
491
|
+
<line num="221" count="0" type="stmt"/>
|
|
492
|
+
<line num="223" count="0" type="stmt"/>
|
|
493
|
+
<line num="233" count="11" type="cond" truecount="0" falsecount="1"/>
|
|
494
|
+
<line num="234" count="11" type="stmt"/>
|
|
495
|
+
<line num="235" count="352" type="stmt"/>
|
|
496
|
+
<line num="236" count="11" type="stmt"/>
|
|
497
|
+
<line num="244" count="1344" type="stmt"/>
|
|
498
|
+
<line num="255" count="22693" type="stmt"/>
|
|
499
|
+
<line num="266" count="33000" type="stmt"/>
|
|
500
|
+
<line num="276" count="10" type="stmt"/>
|
|
501
|
+
<line num="286" count="10" type="stmt"/>
|
|
502
|
+
<line num="287" count="80" type="stmt"/>
|
|
503
|
+
<line num="288" count="10" type="stmt"/>
|
|
468
504
|
</file>
|
|
469
505
|
</project>
|
|
470
506
|
</coverage>
|