diff --git a/README.md b/README.md index 4f47574..ee3a454 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,10 @@ Ascon-PRFShort | Given 16 -bytes key and <= 16 -bytes input message, to be authe ```bash $ g++ --version -g++ (Ubuntu 12.2.0-17ubuntu1) 12.2.0 +g++ (Ubuntu 13.1.0-2ubuntu2~23.04) 13.1.0 $ clang++ --version -Ubuntu clang version 15.0.7 +Ubuntu clang version 16.0.0 (1~exp5ubuntu3) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin @@ -173,155 +173,155 @@ Following routines are benchmarked > **Note** `make perf -j $(nproc --all)` - was issued when collecting following benchmarks. Notice, columns such as *cycles*, *cycles/ byte*, *instructions* and *instructions/ cycle*. Follow [this](https://github.com/google/benchmark/blob/main/docs/perf_counters.md) for more details. -### On 12th Gen Intel(R) Core(TM) i7-1260P ( Compiled with GCC ) +### On 12th Gen Intel(R) Core(TM) i7-1260P ( Compiled with GCC-13.1.0 ) ```bash -2023-07-29T11:30:29+04:00 +2023-08-04T22:55:24+04:00 Running ./benchmarks/perf.out -Run on (16 X 1076.85 MHz CPU s) -CPU Caches: +Run on (16 X 4606.6 MHz CPU s) +CPU Caches: L1 Data 48 KiB (x8) L1 Instruction 32 KiB (x8) L2 Unified 1280 KiB (x8) L3 Unified 18432 KiB (x1) -Load Average: 0.52, 0.47, 0.48 +Load Average: 0.40, 0.71, 0.76 ***WARNING*** There are 133 benchmarks with threads and 2 performance counters were requested. Beware counters will reflect the combined usage across all threads. --------------------------------------------------------------------------------------------------------------------------------------------------- Benchmark Time CPU Iterations CYCLES CYCLES/ BYTE INSTRUCTIONS INSTRUCTIONS/ CYCLE bytes_per_second --------------------------------------------------------------------------------------------------------------------------------------------------- -ascon_permutation<1> 3.26 ns 3.26 ns 215334558 15.2372 0.38093 56 3.67522 11.4147G/s -ascon_permutation<6> 18.1 ns 18.1 ns 38524544 84.6034 2.11508 264 3.12044 2.05379G/s -ascon_permutation<8> 23.8 ns 23.8 ns 29453476 111.111 2.77777 376 3.38401 1.56651G/s -ascon_permutation<12> 35.9 ns 35.9 ns 19504130 167.287 4.18217 556 3.32363 1063.91M/s -ascon128_aead_encrypt/64/32 333 ns 333 ns 2104934 1.55217k 16.1685 4.729k 3.0467 275.299M/s -ascon128_aead_encrypt/128/32 486 ns 486 ns 1440231 2.27393k 14.212 6.809k 2.99438 313.682M/s -ascon128_aead_encrypt/256/32 792 ns 791 ns 884279 3.69944k 12.8453 10.969k 2.96505 347.013M/s -ascon128_aead_encrypt/512/32 1407 ns 1407 ns 499279 6.56916k 12.0757 19.289k 2.9363 368.696M/s -ascon128_aead_encrypt/1024/32 2622 ns 2622 ns 267111 12.2537k 11.6039 35.929k 2.9321 384.063M/s -ascon128_aead_encrypt/2048/32 5086 ns 5086 ns 137598 23.7583k 11.4223 69.209k 2.91304 390.044M/s -ascon128_aead_encrypt/4096/32 10003 ns 10002 ns 70141 46.7338k 11.3212 135.769k 2.90516 393.595M/s -ascon128_aead_decrypt/64/32 339 ns 339 ns 2065121 1.58414k 16.5014 4.882k 3.08181 269.865M/s -ascon128_aead_decrypt/128/32 491 ns 491 ns 1425740 2.29094k 14.3184 6.948k 3.03281 310.992M/s -ascon128_aead_decrypt/256/32 795 ns 795 ns 879929 3.71259k 12.8909 11.08k 2.98444 345.312M/s -ascon128_aead_decrypt/512/32 1402 ns 1402 ns 497547 6.54696k 12.0348 19.344k 2.95465 370.125M/s -ascon128_aead_decrypt/1024/32 2616 ns 2616 ns 267078 12.2277k 11.5793 35.872k 2.93367 384.973M/s -ascon128_aead_decrypt/2048/32 5057 ns 5057 ns 138356 23.6236k 11.3575 68.928k 2.91776 392.281M/s -ascon128_aead_decrypt/4096/32 9915 ns 9915 ns 70649 46.3461k 11.2272 135.04k 2.91373 397.062M/s -ascon128a_aead_encrypt/64/32 254 ns 254 ns 2766954 1.18435k 12.337 4.044k 3.41452 360.699M/s -ascon128a_aead_encrypt/128/32 353 ns 353 ns 1985500 1.64822k 10.3014 5.66k 3.43401 432.517M/s -ascon128a_aead_encrypt/256/32 551 ns 551 ns 1270972 2.57572k 8.94347 8.892k 3.45224 498.606M/s -ascon128a_aead_encrypt/512/32 947 ns 947 ns 740398 4.42699k 8.13784 15.356k 3.46873 548.085M/s -ascon128a_aead_encrypt/1024/32 1739 ns 1739 ns 401029 8.13075k 7.69957 28.284k 3.47865 579.122M/s -ascon128a_aead_encrypt/2048/32 3331 ns 3330 ns 211025 15.5538k 7.4778 54.14k 3.48082 595.618M/s -ascon128a_aead_encrypt/4096/32 6482 ns 6482 ns 107380 30.278k 7.33478 105.852k 3.49601 607.323M/s -ascon128a_aead_decrypt/64/32 261 ns 261 ns 2681953 1.21937k 12.7017 4.22k 3.46081 350.672M/s -ascon128a_aead_decrypt/128/32 359 ns 358 ns 1957658 1.67243k 10.4527 5.838k 3.49074 425.653M/s -ascon128a_aead_decrypt/256/32 556 ns 556 ns 1252849 2.59454k 9.0088 9.074k 3.49735 494.32M/s -ascon128a_aead_decrypt/512/32 949 ns 949 ns 744394 4.41172k 8.10979 15.546k 3.52379 546.708M/s -ascon128a_aead_decrypt/1024/32 1724 ns 1724 ns 405129 8.05328k 7.62621 28.49k 3.53769 584.267M/s -ascon128a_aead_decrypt/2048/32 3299 ns 3298 ns 212613 15.4064k 7.40692 54.378k 3.52957 601.382M/s -ascon128a_aead_decrypt/4096/32 6428 ns 6428 ns 108181 30.0018k 7.26787 106.154k 3.53826 612.47M/s -ascon80pq_aead_encrypt/64/32 333 ns 333 ns 2102148 1.55522k 16.2002 4.753k 3.05616 275.26M/s -ascon80pq_aead_encrypt/128/32 485 ns 485 ns 1441985 2.26718k 14.1698 6.825k 3.01035 314.857M/s -ascon80pq_aead_encrypt/256/32 789 ns 789 ns 882884 3.68305k 12.7884 10.969k 2.97823 348.107M/s -ascon80pq_aead_encrypt/512/32 1402 ns 1402 ns 500215 6.54033k 12.0227 19.257k 2.94435 370.165M/s -ascon80pq_aead_encrypt/1024/32 2608 ns 2608 ns 267591 12.1937k 11.5471 35.833k 2.93864 386.165M/s -ascon80pq_aead_encrypt/2048/32 5054 ns 5053 ns 138508 23.619k 11.3553 68.985k 2.92074 392.533M/s -ascon80pq_aead_encrypt/4096/32 9872 ns 9871 ns 70932 46.1607k 11.1823 135.289k 2.93083 398.808M/s -ascon80pq_aead_decrypt/64/32 341 ns 341 ns 2053272 1.59323k 16.5961 4.897k 3.07363 268.646M/s -ascon80pq_aead_decrypt/128/32 492 ns 492 ns 1422694 2.29693k 14.3558 6.939k 3.02098 310.447M/s -ascon80pq_aead_decrypt/256/32 794 ns 794 ns 879018 3.71243k 12.8904 11.023k 2.96922 345.752M/s -ascon80pq_aead_decrypt/512/32 1396 ns 1396 ns 501624 6.53322k 12.0096 19.191k 2.93745 371.581M/s -ascon80pq_aead_decrypt/1024/32 2607 ns 2607 ns 268391 12.1817k 11.5357 35.527k 2.91642 386.364M/s -ascon80pq_aead_decrypt/2048/32 5040 ns 5040 ns 137793 23.5373k 11.316 68.199k 2.89749 393.601M/s -ascon80pq_aead_decrypt/4096/32 9892 ns 9892 ns 70789 46.1699k 11.1846 133.543k 2.89243 397.994M/s -ascon_hash/64 465 ns 465 ns 1504131 2.17093k 22.6138 7.072k 3.25759 196.8M/s -ascon_hash/128 750 ns 750 ns 934330 3.50026k 21.8767 11.32k 3.23404 203.584M/s -ascon_hash/256 1322 ns 1322 ns 530752 6.1639k 21.4024 19.816k 3.21485 207.775M/s -ascon_hash/512 2455 ns 2455 ns 284917 11.4811k 21.105 36.808k 3.20595 211.308M/s -ascon_hash/1024 4742 ns 4742 ns 147829 22.1334k 20.9597 70.792k 3.19842 212.386M/s -ascon_hash/2048 9300 ns 9299 ns 75285 43.4214k 20.8757 138.76k 3.19566 213.316M/s -ascon_hash/4096 18409 ns 18408 ns 38092 85.9558k 20.8226 274.696k 3.19578 213.858M/s -ascon_hasha/64 324 ns 324 ns 2162899 1.51181k 15.7481 5.018k 3.31919 282.848M/s -ascon_hasha/128 515 ns 514 ns 1360913 2.40099k 15.0062 7.89k 3.28614 296.588M/s -ascon_hasha/256 897 ns 897 ns 781597 4.19077k 14.5513 13.634k 3.25334 306.08M/s -ascon_hasha/512 1659 ns 1659 ns 422958 7.74939k 14.2452 25.122k 3.2418 312.776M/s -ascon_hasha/1024 3184 ns 3184 ns 219606 14.8615k 14.0734 48.098k 3.23641 316.316M/s -ascon_hasha/2048 6222 ns 6221 ns 112524 29.0949k 13.988 94.05k 3.23252 318.839M/s -ascon_hasha/4096 12320 ns 12320 ns 56802 57.5871k 13.9504 185.954k 3.22909 319.556M/s -ascon_xof/64/32 463 ns 463 ns 1512306 2.16366k 22.5382 7.143k 3.30134 197.741M/s -ascon_xof/128/32 748 ns 747 ns 938475 3.49211k 21.8257 11.391k 3.26193 204.135M/s -ascon_xof/256/32 1317 ns 1317 ns 530355 6.16034k 21.3901 19.887k 3.22823 208.526M/s -ascon_xof/512/32 2456 ns 2456 ns 285453 11.4776k 21.0985 36.879k 3.21313 211.25M/s -ascon_xof/1024/32 4747 ns 4746 ns 147727 22.1145k 20.9417 70.863k 3.20437 212.175M/s -ascon_xof/2048/32 9298 ns 9298 ns 75200 43.4156k 20.8729 138.831k 3.19772 213.347M/s -ascon_xof/4096/32 18423 ns 18421 ns 38089 85.9606k 20.8238 274.767k 3.19643 213.709M/s -ascon_xof/64/64 613 ns 612 ns 1141121 2.85723k 22.3221 9.419k 3.29655 199.3M/s -ascon_xof/128/64 895 ns 895 ns 778973 4.18854k 21.8153 13.667k 3.26295 204.58M/s -ascon_xof/256/64 1464 ns 1464 ns 478319 6.83165k 21.3489 22.163k 3.24416 208.521M/s -ascon_xof/512/64 2598 ns 2597 ns 269683 12.1496k 21.0931 39.155k 3.22273 211.484M/s -ascon_xof/1024/64 4875 ns 4874 ns 143792 22.7934k 20.9499 73.139k 3.20877 212.872M/s -ascon_xof/2048/64 9439 ns 9439 ns 74311 44.1026k 20.8819 141.107k 3.19951 213.393M/s -ascon_xof/4096/64 18992 ns 18892 ns 34504 87.9831k 21.1498 277.043k 3.14882 209.998M/s -ascon_xofa/64/32 322 ns 322 ns 2171080 1.50403k 15.667 5.078k 3.37625 284.369M/s -ascon_xofa/128/32 512 ns 512 ns 1356504 2.39105k 14.9441 7.958k 3.32824 297.791M/s -ascon_xofa/256/32 896 ns 896 ns 777661 4.17609k 14.5003 13.718k 3.28489 306.632M/s -ascon_xofa/512/32 1643 ns 1643 ns 422755 7.66616k 14.0922 25.238k 3.29213 315.794M/s -ascon_xofa/1024/32 3142 ns 3142 ns 222905 14.6699k 13.8919 48.278k 3.29096 320.505M/s -ascon_xofa/2048/32 6139 ns 6138 ns 114080 28.6162k 13.7578 94.358k 3.29736 323.162M/s -ascon_xofa/4096/32 12099 ns 12098 ns 57894 56.4896k 13.6845 186.518k 3.30181 325.406M/s -ascon_xofa/64/64 426 ns 426 ns 1647597 1.98718k 15.5248 6.666k 3.35451 286.447M/s -ascon_xofa/128/64 614 ns 614 ns 1137644 2.87061k 14.9511 9.546k 3.32543 298.246M/s -ascon_xofa/256/64 988 ns 988 ns 705296 4.61728k 14.429 15.306k 3.31494 308.817M/s -ascon_xofa/512/64 1738 ns 1738 ns 402237 8.12313k 14.1027 26.826k 3.30242 316.14M/s -ascon_xofa/1024/64 3237 ns 3237 ns 215595 15.1042k 13.8826 49.866k 3.30146 320.552M/s -ascon_xofa/2048/64 6218 ns 6218 ns 112740 29.0818k 13.7698 95.946k 3.29918 323.928M/s -ascon_xofa/4096/64 12189 ns 12188 ns 57476 56.9044k 13.679 188.106k 3.30565 325.495M/s -ascon_prf/64/16 183 ns 183 ns 3807012 857.931 10.7241 2.881k 3.35808 415.889M/s -ascon_prf/128/16 256 ns 256 ns 2727698 1.1985k 8.3229 3.993k 3.33167 536.216M/s -ascon_prf/256/16 402 ns 402 ns 1742326 1.87865k 6.9068 6.217k 3.30929 645.604M/s -ascon_prf/512/16 693 ns 693 ns 1011064 3.23968k 6.13576 10.665k 3.29199 726.503M/s -ascon_prf/1024/16 1275 ns 1275 ns 547764 5.96184k 5.73254 19.561k 3.28104 778.183M/s -ascon_prf/2048/16 2495 ns 2482 ns 286559 11.5536k 5.59765 37.353k 3.23303 793.211M/s -ascon_prf/4096/16 4942 ns 4907 ns 134893 22.774k 5.53843 72.937k 3.20264 799.182M/s -ascon_prf/64/32 221 ns 221 ns 3184135 1029.04 10.7192 3.449k 3.35167 415.155M/s -ascon_prf/128/32 294 ns 294 ns 2383099 1.36861k 8.55382 4.561k 3.33258 519.759M/s -ascon_prf/256/32 440 ns 439 ns 1593846 2.04958k 7.11661 6.785k 3.31043 624.961M/s -ascon_prf/512/32 731 ns 731 ns 956360 3.41066k 6.2696 11.233k 3.2935 709.905M/s -ascon_prf/1024/32 1322 ns 1322 ns 534122 5.94095k 5.6259 19.5051k 3.28317 761.824M/s -ascon_prf/2048/32 2477 ns 2476 ns 282348 11.5734k 5.56412 37.921k 3.27658 801.033M/s -ascon_prf/4096/32 4812 ns 4812 ns 145460 22.4656k 5.44225 73.505k 3.27189 818.18M/s -ascon_prf/64/64 292 ns 292 ns 2402900 1.3639k 10.6555 4.585k 3.36168 418.155M/s -ascon_prf/128/64 370 ns 370 ns 1917389 1.70581k 8.88443 5.697k 3.33976 494.856M/s -ascon_prf/256/64 510 ns 510 ns 1374763 2.38619k 7.45684 7.921k 3.31952 598.433M/s -ascon_prf/512/64 801 ns 801 ns 870409 3.74792k 6.5068 12.369k 3.30023 685.645M/s -ascon_prf/1024/64 1381 ns 1381 ns 507410 6.46597k 5.94298 21.265k 3.28876 751.151M/s -ascon_prf/2048/64 2546 ns 2546 ns 274296 11.9101k 5.63923 39.057k 3.27933 791.15M/s -ascon_prf/4096/64 4868 ns 4868 ns 143852 22.7992k 5.48058 74.641k 3.27384 815.039M/s -ascon_mac_authenticate/64 183 ns 183 ns 3833633 855.23 10.6904 2.841k 3.32191 417.309M/s -ascon_mac_authenticate/128 256 ns 256 ns 2731504 1.19488k 8.29781 3.953k 3.30827 537.292M/s -ascon_mac_authenticate/256 402 ns 401 ns 1742474 1.8742k 6.89046 6.177k 3.2958 646.31M/s -ascon_mac_authenticate/512 692 ns 692 ns 1013233 3.23212k 6.12143 10.625k 3.28732 727.684M/s -ascon_mac_authenticate/1024 1274 ns 1274 ns 547486 5.95744k 5.7283 19.521k 3.27675 778.797M/s -ascon_mac_authenticate/2048 2439 ns 2439 ns 287221 11.3926k 5.51966 37.313k 3.2752 807.061M/s -ascon_mac_authenticate/4096 4766 ns 4766 ns 146802 22.2556k 5.41234 72.897k 3.27545 822.852M/s -ascon_mac_verify/64 190 ns 190 ns 3700332 885.178 9.2206 2.991k 3.37898 483.009M/s -ascon_mac_verify/128 263 ns 263 ns 2664089 1.22505k 7.65655 4.103k 3.34926 580.483M/s -ascon_mac_verify/256 409 ns 409 ns 1715095 1.90483k 6.61398 6.327k 3.32156 672.148M/s -ascon_mac_verify/512 699 ns 699 ns 1001513 3.26531k 6.00242 10.775k 3.29984 742.626M/s -ascon_mac_verify/1024 1283 ns 1283 ns 546271 5.99222k 5.67445 19.671k 3.28276 784.961M/s -ascon_mac_verify/2048 2451 ns 2451 ns 286312 11.4342k 5.49719 37.463k 3.27641 809.263M/s -ascon_mac_verify/4096 4777 ns 4777 ns 145595 22.3201k 5.407 73.047k 3.2727 824.167M/s -ascon_prfs_authenticate/1 46.6 ns 46.6 ns 15012260 217.916 12.8186 600 2.75336 347.804M/s -ascon_prfs_authenticate/2 47.2 ns 47.2 ns 14853683 220.026 12.2237 602 2.73604 363.873M/s -ascon_prfs_authenticate/4 46.8 ns 46.8 ns 14924251 219.047 10.9523 599 2.73457 407.349M/s -ascon_prfs_authenticate/8 36.9 ns 36.9 ns 18954182 172.292 7.17884 597 3.46505 620.277M/s -ascon_prfs_authenticate/16 37.4 ns 37.4 ns 18146435 174.908 5.46588 598 3.41894 815.958M/s -ascon_prfs_verify/1 51.1 ns 51.1 ns 13804411 238.842 14.0495 753 3.15271 317.077M/s -ascon_prfs_verify/2 50.8 ns 50.8 ns 13797424 237.689 13.205 755 3.17642 337.635M/s -ascon_prfs_verify/4 51.4 ns 51.4 ns 13892098 235.9 11.795 752 3.1878 371.236M/s -ascon_prfs_verify/8 45.3 ns 45.3 ns 15494172 211.669 8.81955 750 3.54326 504.938M/s -ascon_prfs_verify/16 45.0 ns 45.0 ns 15578077 209.766 6.5552 751 3.58017 678.661M/s +ascon_permutation<1> 6.70 ns 6.69 ns 104570667 31.1741 0.779351 57 1.82844 5.56429G/s +ascon_permutation<6> 22.0 ns 22.0 ns 31981901 102.361 2.55902 265 2.58888 1.69286G/s +ascon_permutation<8> 27.7 ns 27.7 ns 25087250 129.818 3.24544 370 2.85015 1.34264G/s +ascon_permutation<12> 39.7 ns 39.7 ns 17492543 185.857 4.64643 546 2.93774 960.593M/s +ascon128_aead_encrypt/64/32 328 ns 328 ns 2139005 1.5328k 15.9667 4.745k 3.09564 278.811M/s +ascon128_aead_encrypt/128/32 478 ns 478 ns 1458932 2.23522k 13.9701 6.849k 3.06413 319.484M/s +ascon128_aead_encrypt/256/32 782 ns 782 ns 889108 3.65354k 12.6859 11.057k 3.02638 351.304M/s +ascon128_aead_encrypt/512/32 1383 ns 1383 ns 506743 6.45108k 11.8586 19.473k 3.01856 375.141M/s +ascon128_aead_encrypt/1024/32 2609 ns 2608 ns 269461 12.1853k 11.5391 36.305k 2.97941 386.094M/s +ascon128_aead_encrypt/2048/32 5001 ns 5000 ns 139844 23.3381k 11.2202 69.969k 2.99806 396.721M/s +ascon128_aead_encrypt/4096/32 9808 ns 9807 ns 71392 45.8982k 11.1187 137.297k 2.99134 401.408M/s +ascon128_aead_decrypt/64/32 339 ns 339 ns 2056330 1.58359k 16.4958 4.918k 3.1056 270.128M/s +ascon128_aead_decrypt/128/32 489 ns 489 ns 1427851 2.28701k 14.2938 7.016k 3.06777 311.851M/s +ascon128_aead_decrypt/256/32 799 ns 799 ns 878847 3.72825k 12.9453 11.212k 3.00731 343.778M/s +ascon128_aead_decrypt/512/32 1408 ns 1408 ns 499173 6.56265k 12.0637 19.604k 2.98721 368.551M/s +ascon128_aead_decrypt/1024/32 2655 ns 2651 ns 265104 12.3431k 11.6885 36.388k 2.94805 379.855M/s +ascon128_aead_decrypt/2048/32 5104 ns 5103 ns 136038 23.8266k 11.4551 69.956k 2.93605 388.685M/s +ascon128_aead_decrypt/4096/32 9997 ns 9996 ns 70287 46.5557k 11.278 137.092k 2.94469 393.824M/s +ascon128a_aead_encrypt/64/32 248 ns 248 ns 2788076 1.16139k 12.0978 3.973k 3.4209 368.698M/s +ascon128a_aead_encrypt/128/32 345 ns 345 ns 2030790 1.6113k 10.0706 5.557k 3.44877 441.692M/s +ascon128a_aead_encrypt/256/32 542 ns 542 ns 1293288 2.53k 8.78473 8.725k 3.44861 507.013M/s +ascon128a_aead_encrypt/512/32 928 ns 928 ns 755520 4.33203k 7.96329 15.061k 3.47666 559.275M/s +ascon128a_aead_encrypt/1024/32 1698 ns 1698 ns 412989 7.93491k 7.51412 27.733k 3.49506 592.982M/s +ascon128a_aead_encrypt/2048/32 3239 ns 3239 ns 214732 15.1426k 7.28008 53.077k 3.50515 612.516M/s +ascon128a_aead_encrypt/4096/32 6326 ns 6325 ns 109787 29.5779k 7.16519 103.765k 3.50819 622.389M/s +ascon128a_aead_decrypt/64/32 261 ns 261 ns 2685111 1.21835k 12.6912 4.206k 3.45221 350.754M/s +ascon128a_aead_decrypt/128/32 356 ns 356 ns 1970177 1.6613k 10.3831 5.824k 3.50569 428.089M/s +ascon128a_aead_decrypt/256/32 548 ns 548 ns 1281800 2.55972k 8.88792 9.06k 3.53945 500.983M/s +ascon128a_aead_decrypt/512/32 930 ns 930 ns 751833 4.34359k 7.98454 15.532k 3.57584 557.614M/s +ascon128a_aead_decrypt/1024/32 1690 ns 1690 ns 408059 7.90347k 7.48435 28.476k 3.60297 596.073M/s +ascon128a_aead_decrypt/2048/32 3231 ns 3231 ns 217195 15.0761k 7.24814 54.364k 3.60597 613.906M/s +ascon128a_aead_decrypt/4096/32 6279 ns 6278 ns 111764 29.3399k 7.10754 106.14k 3.6176 627.069M/s +ascon80pq_aead_encrypt/64/32 336 ns 336 ns 2087283 1.56873k 16.341 4.762k 3.03557 272.287M/s +ascon80pq_aead_encrypt/128/32 490 ns 490 ns 1432389 2.28824k 14.3015 6.874k 3.00406 311.208M/s +ascon80pq_aead_encrypt/256/32 801 ns 801 ns 874705 3.73183k 12.9578 11.098k 2.97387 343.08M/s +ascon80pq_aead_encrypt/512/32 1416 ns 1416 ns 494198 6.61593k 12.1616 19.546k 2.95439 366.33M/s +ascon80pq_aead_encrypt/1024/32 2655 ns 2655 ns 263978 12.3812k 11.7246 36.442k 2.94333 379.353M/s +ascon80pq_aead_encrypt/2048/32 5138 ns 5138 ns 136854 23.9306k 11.5051 70.234k 2.93491 386.086M/s +ascon80pq_aead_encrypt/4096/32 10056 ns 10055 ns 68577 47.0301k 11.393 137.818k 2.93042 391.538M/s +ascon80pq_aead_decrypt/64/32 340 ns 340 ns 2062984 1.58351k 16.4949 4.966k 3.13608 269.631M/s +ascon80pq_aead_decrypt/128/32 494 ns 494 ns 1410364 2.31222k 14.4514 7.064k 3.05507 308.818M/s +ascon80pq_aead_decrypt/256/32 795 ns 795 ns 877799 3.71848k 12.9114 11.26k 3.02812 345.534M/s +ascon80pq_aead_decrypt/512/32 1415 ns 1415 ns 496453 6.59731k 12.1274 19.652k 2.97879 366.646M/s +ascon80pq_aead_decrypt/1024/32 2614 ns 2614 ns 266074 12.2255k 11.5772 36.436k 2.98033 385.315M/s +ascon80pq_aead_decrypt/2048/32 5095 ns 5095 ns 137797 23.7403k 11.4136 70.004k 2.94874 389.334M/s +ascon80pq_aead_decrypt/4096/32 9995 ns 9994 ns 70154 46.7366k 11.3219 137.14k 2.93432 393.906M/s +ascon_hash/64 477 ns 477 ns 1466982 2.22683k 23.1961 7.099k 3.18794 191.824M/s +ascon_hash/128 759 ns 759 ns 920462 3.53929k 22.1206 11.379k 3.21505 201.114M/s +ascon_hash/256 1324 ns 1324 ns 528793 6.17414k 21.438 19.939k 3.22944 207.467M/s +ascon_hash/512 2451 ns 2450 ns 286770 11.4237k 20.9995 37.059k 3.24404 211.713M/s +ascon_hash/1024 4700 ns 4700 ns 149161 21.9303k 20.7673 71.299k 3.25116 214.266M/s +ascon_hash/2048 9260 ns 9259 ns 76100 42.9522k 20.6501 139.779k 3.25429 214.238M/s +ascon_hash/4096 18361 ns 18359 ns 38405 84.9936k 20.5895 276.739k 3.256 214.431M/s +ascon_hasha/64 343 ns 343 ns 2035744 1.59948k 16.6612 5.019k 3.1379 267.154M/s +ascon_hasha/128 540 ns 540 ns 1300165 2.51798k 15.7374 7.899k 3.13704 282.741M/s +ascon_hasha/256 930 ns 930 ns 754292 4.34982k 15.1035 13.659k 3.14013 295.249M/s +ascon_hasha/512 1718 ns 1718 ns 408278 8.01645k 14.7361 25.179k 3.14092 301.943M/s +ascon_hasha/1024 3285 ns 3285 ns 213711 15.3411k 14.5276 48.219k 3.14312 306.568M/s +ascon_hasha/2048 6426 ns 6425 ns 109228 29.9758k 14.4114 94.299k 3.14584 308.72M/s +ascon_hasha/4096 12699 ns 12698 ns 55327 59.2744k 14.3591 186.459k 3.14569 310.037M/s +ascon_xof/64/32 479 ns 479 ns 1465132 2.23575k 23.289 7.105k 3.17791 191.146M/s +ascon_xof/128/32 766 ns 766 ns 910750 3.57323k 22.3327 11.361k 3.17947 199.215M/s +ascon_xof/256/32 1341 ns 1341 ns 523133 6.26062k 21.7383 19.873k 3.17429 204.84M/s +ascon_xof/512/32 2485 ns 2484 ns 280096 11.6122k 21.346 36.897k 3.17742 208.819M/s +ascon_xof/1024/32 4775 ns 4775 ns 145664 22.3199k 21.1362 70.945k 3.17856 210.909M/s +ascon_xof/2048/32 9396 ns 9395 ns 74478 43.7807k 21.0484 139.041k 3.17585 211.138M/s +ascon_xof/4096/32 18581 ns 18579 ns 37762 86.676k 20.9971 275.233k 3.17542 211.894M/s +ascon_xof/64/64 636 ns 636 ns 1101014 2.96552k 23.1681 9.345k 3.15122 192.034M/s +ascon_xof/128/64 921 ns 921 ns 747247 4.30414k 22.4174 13.601k 3.15998 198.821M/s +ascon_xof/256/64 1497 ns 1497 ns 468946 6.98602k 21.8313 22.113k 3.16532 203.918M/s +ascon_xof/512/64 2644 ns 2644 ns 263277 12.2898k 21.3364 38.9635k 3.17041 207.777M/s +ascon_xof/1024/64 4941 ns 4940 ns 141592 23.063k 21.1976 73.185k 3.17327 210.035M/s +ascon_xof/2048/64 9548 ns 9547 ns 73626 44.5199k 21.0795 141.281k 3.17344 210.968M/s +ascon_xof/4096/64 18693 ns 18691 ns 37156 87.3863k 21.0063 277.473k 3.17525 212.253M/s +ascon_xofa/64/32 339 ns 339 ns 2074048 1.57871k 16.4449 5.058k 3.20389 269.864M/s +ascon_xofa/128/32 532 ns 532 ns 1322055 2.47966k 15.4979 7.938k 3.20125 286.966M/s +ascon_xofa/256/32 920 ns 919 ns 761865 4.29111k 14.8997 13.698k 3.19218 298.71M/s +ascon_xofa/512/32 1699 ns 1698 ns 414409 7.90326k 14.528 25.218k 3.19084 305.469M/s +ascon_xofa/1024/32 3235 ns 3234 ns 215134 15.1193k 14.3176 48.258k 3.1918 311.377M/s +ascon_xofa/2048/32 6334 ns 6334 ns 110232 29.6044k 14.2329 94.338k 3.18662 313.18M/s +ascon_xofa/4096/32 12545 ns 12544 ns 55906 58.5954k 14.1946 186.498k 3.18281 313.843M/s +ascon_xofa/64/64 448 ns 448 ns 1564940 2.08839k 16.3155 6.626k 3.17278 272.262M/s +ascon_xofa/128/64 641 ns 641 ns 1097364 2.98952k 15.5704 9.506k 3.17977 285.788M/s +ascon_xofa/256/64 1029 ns 1029 ns 679161 4.8041k 15.0128 15.266k 3.1777 296.66M/s +ascon_xofa/512/64 1801 ns 1801 ns 388396 8.41307k 14.606 26.786k 3.18385 305.052M/s +ascon_xofa/1024/64 3348 ns 3347 ns 208196 15.6431k 14.3778 49.826k 3.18518 309.968M/s +ascon_xofa/2048/64 6548 ns 6547 ns 100986 30.5249k 14.4531 95.906k 3.1419 307.65M/s +ascon_xofa/4096/64 12673 ns 12672 ns 55238 59.13k 14.2139 188.066k 3.18055 313.082M/s +ascon_prf/64/16 188 ns 188 ns 3718330 880.269 11.0034 2.822k 3.20584 404.826M/s +ascon_prf/128/16 261 ns 261 ns 2691582 1.21729k 8.45341 3.918k 3.21862 526.293M/s +ascon_prf/256/16 406 ns 406 ns 1729774 1.89441k 6.96473 6.11k 3.22529 638.781M/s +ascon_prf/512/16 696 ns 696 ns 1008529 3.24902k 6.15344 10.494k 3.2299 723.433M/s +ascon_prf/1024/16 1281 ns 1281 ns 547641 5.98409k 5.75394 19.262k 3.21887 774.03M/s +ascon_prf/2048/16 2449 ns 2449 ns 286372 11.4171k 5.53152 36.798k 3.22307 803.868M/s +ascon_prf/4096/16 4779 ns 4778 ns 146811 22.2664k 5.41497 71.87k 3.22774 820.665M/s +ascon_prf/64/32 227 ns 227 ns 3088520 1061.49 11.0571 3.381k 3.18516 402.639M/s +ascon_prf/128/32 299 ns 299 ns 2327302 1.39912k 8.74448 4.477k 3.19988 509.666M/s +ascon_prf/256/32 444 ns 444 ns 1567138 2.07608k 7.2086 6.669k 3.21231 618.31M/s +ascon_prf/512/32 735 ns 734 ns 946673 3.43256k 6.30985 11.053k 3.22004 706.356M/s +ascon_prf/1024/32 1324 ns 1324 ns 531006 6.16967k 5.84249 19.821k 3.21265 760.798M/s +ascon_prf/2048/32 2485 ns 2485 ns 280744 11.6084k 5.58097 37.357k 3.2181 798.4M/s +ascon_prf/4096/32 4821 ns 4820 ns 145157 22.4659k 5.44233 72.429k 3.22395 816.734M/s +ascon_prf/64/64 305 ns 305 ns 2285544 1.42247k 11.1131 4.499k 3.1628 400.82M/s +ascon_prf/128/64 377 ns 377 ns 1847234 1.76053k 9.16943 5.595k 3.17802 485.899M/s +ascon_prf/256/64 523 ns 523 ns 1342579 2.44042k 7.6263 7.787k 3.19085 583.24M/s +ascon_prf/512/64 815 ns 815 ns 860208 3.79393k 6.58668 12.171k 3.20802 674.172M/s +ascon_prf/1024/64 1399 ns 1399 ns 501433 6.52713k 5.9992 20.939k 3.20799 741.659M/s +ascon_prf/2048/64 2565 ns 2565 ns 273512 11.9629k 5.66426 38.475k 3.21619 785.296M/s +ascon_prf/4096/64 4891 ns 4890 ns 142812 22.8449k 5.49156 73.547k 3.21941 811.226M/s +ascon_mac_authenticate/64 191 ns 191 ns 3669734 891.396 11.1424 2.784k 3.12319 398.924M/s +ascon_mac_authenticate/128 264 ns 264 ns 2657102 1.23009k 8.5423 3.88k 3.15424 519.697M/s +ascon_mac_authenticate/256 409 ns 409 ns 1706807 1.90807k 7.01498 6.072k 3.18227 633.99M/s +ascon_mac_authenticate/512 699 ns 699 ns 1003214 3.2593k 6.17291 10.456k 3.20805 720.527M/s +ascon_mac_authenticate/1024 1275 ns 1274 ns 549446 5.94138k 5.71286 19.224k 3.23561 778.215M/s +ascon_mac_authenticate/2048 2430 ns 2430 ns 288853 11.3313k 5.48996 36.76k 3.24412 809.943M/s +ascon_mac_authenticate/4096 4760 ns 4759 ns 147637 22.1593k 5.38894 71.832k 3.24161 823.987M/s +ascon_mac_verify/64 196 ns 196 ns 3537675 914.371 9.5247 2.931k 3.20548 468.183M/s +ascon_mac_verify/128 269 ns 269 ns 2607687 1.25334k 7.83336 4.027k 3.21302 568.204M/s +ascon_mac_verify/256 415 ns 415 ns 1693760 1.93558k 6.72075 6.219k 3.213 662.306M/s +ascon_mac_verify/512 708 ns 708 ns 991215 3.29709k 6.06083 10.603k 3.21586 732.847M/s +ascon_mac_verify/1024 1289 ns 1289 ns 537867 6.01269k 5.69383 19.371k 3.22169 781.559M/s +ascon_mac_verify/2048 2457 ns 2457 ns 285412 11.4596k 5.50944 36.907k 3.22061 807.499M/s +ascon_mac_verify/4096 4795 ns 4794 ns 146771 22.3299k 5.40937 71.979k 3.22344 821.157M/s +ascon_prfs_authenticate/1 46.1 ns 46.1 ns 15216649 214.812 12.636 601 2.79779 351.793M/s +ascon_prfs_authenticate/2 46.5 ns 46.5 ns 15000672 217.195 12.0664 603 2.7763 369.51M/s +ascon_prfs_authenticate/4 46.2 ns 46.2 ns 15108560 215.898 10.7949 600 2.77909 412.681M/s +ascon_prfs_authenticate/8 36.5 ns 36.5 ns 19065986 169.252 7.05217 598 3.53319 627.625M/s +ascon_prfs_authenticate/16 36.7 ns 36.7 ns 19173931 169.118 5.28495 599 3.5419 832.2M/s +ascon_prfs_verify/1 50.3 ns 50.2 ns 10000000 234.365 13.7862 754 3.21721 322.654M/s +ascon_prfs_verify/2 50.1 ns 50.1 ns 13969327 234.228 13.0127 756 3.22762 342.711M/s +ascon_prfs_verify/4 49.8 ns 49.8 ns 14047526 232.328 11.6164 753 3.2411 383.314M/s +ascon_prfs_verify/8 45.5 ns 45.5 ns 15615859 208.597 8.69156 751 3.60024 502.646M/s +ascon_prfs_verify/16 45.4 ns 45.4 ns 15599778 206.821 6.46315 752 3.636 672.632M/s ``` ## Usage