ZTWHHH commited on
Commit
ea49892
·
verified ·
1 Parent(s): 91deec2

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/_distance_pybind.cpython-310-x86_64-linux-gnu.so +3 -0
  3. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/__init__.cpython-310.pyc +0 -0
  4. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/test__plotutils.cpython-310.pyc +0 -0
  5. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/test_distance.cpython-310.pyc +0 -0
  6. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/test_slerp.cpython-310.pyc +0 -0
  7. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/cdist-X1.txt +10 -0
  8. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/cdist-X2.txt +20 -0
  9. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/iris.txt +150 -0
  10. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-chebyshev-ml.txt +1 -0
  11. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-cityblock-ml.txt +1 -0
  12. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-double-inp.txt +20 -0
  13. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-euclidean-ml-iris.txt +0 -0
  14. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-euclidean-ml.txt +1 -0
  15. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-hamming-ml.txt +1 -0
  16. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-jaccard-ml.txt +1 -0
  17. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-jensenshannon-ml-iris.txt +0 -0
  18. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-minkowski-3.2-ml.txt +1 -0
  19. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-seuclidean-ml-iris.txt +0 -0
  20. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-seuclidean-ml.txt +1 -0
  21. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-spearman-ml.txt +1 -0
  22. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/random-bool-data.txt +100 -0
  23. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/random-double-data.txt +100 -0
  24. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/random-int-data.txt +100 -0
  25. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/selfdual-4d-polytope.txt +27 -0
  26. evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/test_hausdorff.py +199 -0
  27. janus/include/openssl/asn1.h +1128 -0
  28. janus/include/openssl/asn1_mac.h +10 -0
  29. janus/include/openssl/async.h +96 -0
  30. janus/include/openssl/bioerr.h +65 -0
  31. janus/include/openssl/blowfish.h +78 -0
  32. janus/include/openssl/cmperr.h +116 -0
  33. janus/include/openssl/core.h +233 -0
  34. janus/include/openssl/core_names.h +556 -0
  35. janus/include/openssl/crypto.h +558 -0
  36. janus/include/openssl/cryptoerr_legacy.h +1466 -0
  37. janus/include/openssl/cterr.h +45 -0
  38. janus/include/openssl/des.h +211 -0
  39. janus/include/openssl/dh.h +332 -0
  40. janus/include/openssl/dtls1.h +57 -0
  41. janus/include/openssl/ebcdic.h +39 -0
  42. janus/include/openssl/encodererr.h +28 -0
  43. janus/include/openssl/http.h +110 -0
  44. janus/include/openssl/httperr.h +55 -0
  45. janus/include/openssl/kdf.h +138 -0
  46. janus/include/openssl/lhash.h +288 -0
  47. janus/include/openssl/macros.h +304 -0
  48. janus/include/openssl/mdc2.h +55 -0
  49. janus/include/openssl/ocsperr.h +53 -0
  50. janus/include/openssl/ossl_typ.h +16 -0
.gitattributes CHANGED
@@ -805,3 +805,4 @@ evalkit_eagle/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda121.
805
  evalkit_eagle/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda124.so filter=lfs diff=lfs merge=lfs -text
806
  evalkit_eagle/lib/python3.10/site-packages/regex/_regex.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
807
  evalkit_eagle/lib/python3.10/site-packages/scikit_learn.libs/libgomp-a34b3233.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
 
 
805
  evalkit_eagle/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda124.so filter=lfs diff=lfs merge=lfs -text
806
  evalkit_eagle/lib/python3.10/site-packages/regex/_regex.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
807
  evalkit_eagle/lib/python3.10/site-packages/scikit_learn.libs/libgomp-a34b3233.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
808
+ evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/_distance_pybind.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/_distance_pybind.cpython-310-x86_64-linux-gnu.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23ad15c563088e19c218dd3cb8e4c22548e20422480b508cede8b0acca7bc227
3
+ size 641424
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (178 Bytes). View file
 
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/test__plotutils.cpython-310.pyc ADDED
Binary file (2.87 kB). View file
 
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/test_distance.cpython-310.pyc ADDED
Binary file (74 kB). View file
 
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/__pycache__/test_slerp.cpython-310.pyc ADDED
Binary file (9.35 kB). View file
 
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/cdist-X1.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 1.147593763490969421e-01 8.926156143344999849e-01 1.437758624645746330e-02 1.803435962879929022e-02 5.533046214065578949e-01 5.554315640747428118e-01 4.497546637814608950e-02 4.438089247948049376e-01 7.984582810220538507e-01 2.752880789161644692e-01 1.344667112315823809e-01 9.230479561452992199e-01 6.040471462941819913e-01 3.797251652770228247e-01 4.316042735592399149e-01 5.312356915348823705e-01 4.348143005129563310e-01 3.111531488508799681e-01 9.531194313908697424e-04 8.212995023500069269e-02 6.689953269869852726e-01 9.914864535288493430e-01 8.037556036341153565e-01
2
+ 9.608925123801395074e-01 2.974451233678974127e-01 9.001110330654185088e-01 5.824163330415995654e-01 7.308574928293812834e-01 2.276154562412870952e-01 7.306791076039623745e-01 8.677244866905511333e-01 9.160806456176984192e-01 6.157216959991280714e-01 5.149053524695440531e-01 3.056427344890983999e-01 9.790557366933895223e-01 4.484995861076724877e-01 4.776550391081165747e-01 7.210436977670631187e-01 9.136399501661039979e-01 4.260275733550000776e-02 5.943900041968954717e-01 3.864571606342745991e-01 9.442027665110838131e-01 4.779949058608601309e-02 6.107551944250865228e-01
3
+ 3.297286578103622023e-01 5.980207401936733502e-01 3.673301293561567205e-01 2.585830520887681949e-01 4.660558746104259686e-01 6.083795956610364986e-01 4.535206368070313632e-01 6.873989778785424276e-01 5.130152688495458468e-01 7.665877846542720198e-01 3.444402973525138023e-01 3.583658123644906102e-02 7.924818220986856732e-01 8.746685720522412444e-01 3.010105569182431884e-01 6.012239357385538163e-01 6.233737362204671006e-01 4.830438698668915176e-01 2.317286885842551047e-02 7.585989958123050547e-01 7.108257632278830451e-01 1.551024884178199281e-01 2.665485998155288083e-01
4
+ 2.456278068903017253e-02 4.148739837711815648e-01 1.986372227934196655e-01 6.920408530298168825e-01 1.003067576685774398e-01 7.421560456480125190e-01 1.808453980608998313e-01 4.251297882537475870e-01 6.773002683522370004e-01 4.084108792570182445e-01 7.462888013191590897e-01 8.069930220529277776e-01 9.211110587681808903e-01 4.141491046181076108e-01 7.486318689260342829e-01 9.515405507589296263e-01 4.634288892577109742e-03 8.027593488166355762e-01 3.010346805217798405e-01 8.663248877242523127e-01 2.479968181181605447e-01 5.619851096054278017e-01 3.903886764590250857e-01
5
+ 7.122019976035700584e-01 6.188878051047785878e-01 7.290897087051201320e-01 6.334802157757637442e-01 5.523084734954342156e-01 5.614937129563645213e-01 2.496741051791574462e-01 5.972227939599233926e-01 1.786590597761109622e-01 2.609525984850900038e-01 7.210438943286010538e-01 2.211429064605652250e-01 9.140497572472672250e-02 1.430242193668443962e-01 7.856446942916397447e-01 4.635256358156553125e-01 5.278744289813760426e-01 3.702808015407184072e-01 5.527073830480792038e-01 6.370732917599846168e-01 9.953487928925482953e-01 3.021789770611936765e-01 3.354901923998221402e-02
6
+ 6.509638560895427695e-01 8.387598220902757751e-01 7.761375971745763103e-01 1.481627639227802717e-01 3.529474982902305324e-01 4.883093646287851586e-01 9.652923033658690199e-01 9.500680513565308294e-01 3.061885005078281985e-01 7.271902818906019750e-01 2.358962978196710303e-03 7.359889703223099211e-01 8.988893768074724955e-01 4.135279653937307121e-02 8.516441856688283796e-01 4.889597623270667270e-01 5.575909822114655245e-01 9.010853652261575641e-01 2.912844516556202246e-01 9.088759383368658629e-01 8.104351227460024898e-01 8.080695436776826890e-01 1.430530913253185155e-01
7
+ 8.048001196608134400e-01 3.066089444418462762e-02 9.021887554292090661e-01 6.154331491807940591e-02 1.378912575206647784e-02 5.775720193142440673e-01 1.219298963069791464e-01 1.883270243412101808e-01 5.569262398688379356e-02 8.964817777510125651e-02 7.977092785346929782e-01 4.878149375226197293e-01 4.511973131518809410e-02 1.858690046801604323e-01 6.947686471083162063e-01 5.884058794291086025e-01 8.638884676612634816e-01 3.855470871341656336e-01 3.495049047300468059e-01 2.767740932353948136e-01 4.731087031714035218e-01 6.679001673437914288e-01 7.502944200696660682e-01
8
+ 6.527328264244687261e-01 8.289483383553154505e-01 9.179741348282299818e-01 1.065639864466713105e-01 6.253616929058514184e-01 5.927750325266062381e-01 3.039157425463192563e-01 2.452766763359194302e-01 6.514027700704632107e-01 5.529218485487964463e-01 4.941158239308394151e-01 6.605306467722642516e-01 2.273688037050677346e-01 4.282616592244774534e-01 2.956128257930247250e-01 1.154803628237965896e-01 9.228220410235263849e-01 6.663525307676617659e-01 1.908852615936970087e-01 9.921383408926374159e-01 4.988716450388516188e-01 1.014900352736023414e-01 3.363930180244284474e-01
9
+ 2.914369076275757919e-01 5.196673601143533272e-01 7.420144907858341465e-01 1.768984185504740569e-01 5.296766993228564369e-01 5.922023566159900776e-01 5.965161262020234334e-01 3.810272333046110793e-01 8.368797246118340194e-01 7.896422363801189892e-01 9.655797561098209414e-01 4.430034032346981121e-01 2.780869795706976122e-01 3.047310845416009162e-01 8.051138863500326703e-01 6.731468634690835895e-01 4.743383036815584930e-01 9.530709614322225853e-01 7.753587619850917934e-01 2.801137109357491051e-01 6.182543660889736614e-01 5.005218857766725593e-01 9.071447804755052857e-01
10
+ 2.075071644012620453e-01 4.834950086973934802e-01 3.037011473860764532e-01 6.476084284887700937e-01 8.107195771564194020e-01 7.869075869075803364e-01 6.851234019375299633e-01 3.544187468104398331e-02 4.847673235908021017e-01 5.690262846164507726e-01 1.663354142616256803e-01 9.692796809752548537e-01 4.133441725866372485e-01 6.729167604487583665e-01 3.998813427407297283e-01 8.272617414104491695e-01 2.129248316324727774e-01 6.517004761357130249e-01 7.363013506605019520e-01 4.072375306356985636e-01 4.463336683526665238e-01 5.485059309728204102e-01 1.981745754527846071e-01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/cdist-X2.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 7.680465556300619667e-02 4.675022344069014180e-01 8.955498989131543963e-01 3.816236071436276411e-01 1.109030077070989329e-01 2.318928815459808668e-02 7.477394240984251983e-01 1.202289789304434864e-01 8.007290497575981769e-01 6.795195698871731027e-01 6.568225762396605605e-01 2.231475263228478445e-01 7.064624077661341151e-02 1.081656666815267176e-02 1.592069359090128033e-01 1.363392203645097389e-01 9.277020735447568667e-01 8.103136564528209407e-01 5.229467676276455812e-02 7.708020259874025504e-01 6.527954747473352359e-02 5.516397414886525796e-01 3.653371861367954443e-01
2
+ 8.144399106025798085e-01 7.731852525462976633e-01 6.909477620673205589e-01 9.696063817000286633e-01 4.297887511677249694e-01 6.989600553425188156e-01 7.310201335033380543e-01 3.135256147868910048e-01 5.715578037275241829e-01 3.935000744675094531e-01 2.057715781268398825e-01 5.892508589665171881e-01 8.512951599236765476e-01 9.569808799061578775e-01 6.164885878024699561e-01 4.714185430004367294e-01 6.128831737628155363e-01 6.641799309623502845e-01 6.001985185338730711e-01 4.231922889723856995e-01 7.605249308075449077e-01 1.064530958018087281e-01 6.306470691957204444e-01
3
+ 4.265470127256254518e-01 5.933766716280767239e-01 3.698589270536845053e-02 2.173799740537294412e-01 3.032679325475639009e-01 4.271831790058847611e-01 1.828944535901013690e-01 4.772333422710156592e-01 2.564773455194128138e-01 7.120329875362141347e-01 8.952243430110462530e-01 1.808777012183288013e-01 3.612151871458374464e-01 3.960999167923041631e-01 1.821669970670747318e-02 8.835474857189200559e-01 1.353104648821573663e-01 3.457291739160937016e-01 1.126467375304566199e-01 4.107293162402323450e-01 4.051719311053743056e-01 4.007382985250427243e-01 1.286905671428811848e-01
4
+ 2.910657003883979632e-01 9.616259180685315933e-03 2.033032441536681834e-01 1.096599110293863255e-01 4.191101704605176836e-01 5.462131536027151624e-01 8.393047907010142694e-01 9.046805198676335369e-01 7.009863472176891541e-01 2.508215985039629059e-01 6.754410796667598138e-01 6.740895474032024826e-01 1.358993708621679675e-01 8.219861775211464439e-01 6.322220445623235596e-01 2.766813559002430090e-01 6.575983861590951607e-01 9.515869708336625044e-01 8.654526462353933081e-01 3.450245117834797037e-01 5.649032890631299209e-01 4.717687914789682191e-01 3.296483580510030098e-01
5
+ 9.172477457635394016e-01 3.057396583041891436e-01 7.335332344225760082e-01 8.370236206345178509e-01 3.765464253115927695e-01 5.089680319287778199e-01 1.202325719268168003e-01 9.717771065272349240e-01 5.907820104019682050e-01 9.809211614977710880e-01 9.064285003671219698e-01 8.848841466121748489e-01 2.043407730734815297e-01 9.157600394927275511e-01 4.532260315147775831e-01 4.241077335005828397e-01 1.751730149568804240e-01 4.090412146081819911e-01 3.632197861847064058e-02 5.832539334970230360e-01 4.041848151536805434e-01 3.603643989086504629e-01 1.838411383882069261e-01
6
+ 2.508806403290032572e-01 4.381403985282813496e-01 4.694787405018008286e-02 6.353900562024634713e-01 1.200813444244532846e-01 6.072397042913001419e-01 9.937255904754030977e-01 4.916670237677555066e-01 3.473845913923001572e-01 3.526875922864345370e-01 5.448595548197197047e-01 2.245096010156972799e-01 9.003258279804994269e-01 3.534560469735994470e-01 2.989266066346342177e-01 4.621024982808636938e-01 9.626538866576676012e-01 9.791401720716153001e-01 7.138514287330390840e-01 9.832862333928654719e-01 3.233999591031431198e-01 5.406467224926423398e-01 9.581890295057201579e-01
7
+ 5.210583601680578436e-01 4.598159993059653949e-01 2.111497132057748027e-01 5.949977700916546652e-01 6.342618461422359077e-01 9.888228769705599275e-01 6.096770711536318998e-01 7.548431368960863974e-01 7.490858664860100546e-01 3.186213496546415058e-01 7.895687083231245351e-01 4.178326793268141159e-01 8.095818334534051752e-01 7.886271673523481684e-01 4.038905626506847923e-01 3.652649247094948981e-01 8.267205959224892542e-01 6.433617243328785262e-01 3.117681563249452559e-01 9.675995575054980868e-01 3.675673836358472890e-01 5.863757289184046151e-01 9.099029857959717305e-02
8
+ 4.024573981231733821e-01 3.578997554002771864e-01 3.519299868071553705e-01 7.417747693762357653e-01 2.963713903285800644e-01 9.602967989298948348e-01 3.811392331739601458e-01 5.493237898295448840e-01 6.835113342793640578e-01 2.304506220807415184e-01 3.727299857731285471e-01 5.450263991912108752e-01 6.951521210987908761e-01 6.474582745861203747e-01 6.316089475403589004e-01 5.672043967425510758e-02 9.034937506977609445e-01 2.332567550780038079e-01 1.096955741449157085e-02 8.870663813493575578e-01 4.384385452180562526e-01 7.100898998169548060e-01 3.245358176196319056e-01
9
+ 9.162009194452818139e-01 5.572224742426723498e-02 3.445910686865658601e-01 9.683564008127462097e-01 9.375063149031520604e-01 9.128188852869822956e-02 9.613605414326487075e-01 5.298598697556915482e-01 6.724799695520149445e-01 1.269103938571825019e-02 1.008406153387807480e-01 8.951105272379104028e-01 1.585460318853607609e-01 6.739986455059543413e-01 5.345419321702655768e-01 6.248843899572337213e-01 3.050288488994817859e-01 1.423645553465189284e-01 1.802121190541096096e-01 9.474646822694763326e-01 2.345716438587298613e-01 9.688281784764296578e-01 1.845165243240991515e-01
10
+ 2.548297646910531178e-01 2.580877375379494465e-01 1.355482532666937301e-01 6.478812986505504412e-01 9.971695982152032345e-01 2.606721082477282403e-01 5.483439686378906996e-01 4.409612606704470528e-01 4.396442074915688503e-01 7.414262832597111608e-01 7.308840725375539416e-01 8.072095530497225280e-02 6.829509968656330976e-01 5.700030854230387911e-01 3.801845336730320657e-01 2.481059916867158766e-01 3.977295094395927322e-03 5.749480512407895150e-01 4.112033136603401307e-01 8.676159710377848722e-01 9.062646588480167686e-01 3.326691167317923359e-01 8.498307982774666591e-01
11
+ 4.464338109330643345e-01 8.546516760817471914e-01 7.384800352329814466e-01 3.692485164984804502e-02 2.915662689505471583e-02 9.010049994217171898e-01 8.622900253010918892e-01 9.786230638032608065e-01 6.546824077297251909e-01 6.342297560006789903e-01 2.230339826582647955e-01 7.658846744185553446e-01 4.603043831539479491e-01 2.017100469861691225e-01 4.891590639893540482e-01 1.937140918314912419e-01 8.161582138652878626e-01 5.597293607114051106e-02 8.423261093326828153e-02 5.105392204475533990e-02 8.234193902673621057e-01 1.784268309975372002e-01 9.118997881986501408e-02
12
+ 8.588746913421980711e-01 1.479641118621310980e-02 1.375875301146138874e-01 7.533888774725254756e-01 5.782592791549248101e-01 9.128573037619659436e-01 1.831275762880391067e-01 3.471382864827737835e-01 4.859524740929310749e-02 8.955146541561730400e-01 4.787220791101074457e-01 4.222803577759057791e-01 8.469923964908064873e-01 6.300290047587608910e-02 1.020873237837905956e-01 3.585612487182909813e-02 6.320107119904569970e-01 5.891245970008752719e-01 1.104698053665007507e-01 4.233226558073774903e-01 4.432217054386708988e-01 2.864765416628194394e-01 2.489777211814803159e-02
13
+ 5.343810659756068615e-01 4.829076396403546578e-01 8.364480888953172988e-01 8.931374995414760321e-01 6.034161442354715188e-01 3.578336000768178593e-03 4.100579775972763574e-01 3.968667908067096128e-01 5.897163653686778861e-01 3.003241263928478899e-01 2.520935203143799264e-01 3.112129371563532310e-02 9.052865295974613646e-01 1.172285124002711010e-01 4.840001666149388315e-01 3.424620676348436588e-01 5.526057133826853818e-01 6.346139530261846184e-01 5.747945930485597321e-01 1.389915612177697879e-01 2.413801217666421417e-01 7.829900796662081497e-01 7.213528084845653998e-01
14
+ 9.384509283406079483e-01 6.303019601671526750e-01 1.787921522728125323e-01 1.556003868047917127e-02 5.662397078816850948e-01 3.437473614806091371e-01 8.615844972800188462e-01 7.624380237306396246e-01 1.096468347898514883e-01 1.276566836610887323e-01 8.479188493443535757e-01 3.634713454428405432e-01 7.478112314318967613e-01 9.856395696968375253e-01 6.250293654177319080e-02 1.919327272501809567e-01 1.415594476031050153e-01 7.224057351041784925e-01 8.452145259310355208e-01 5.434318833772002755e-01 5.177620959731277228e-02 3.358977598185840518e-01 2.542654881527960375e-01
15
+ 4.800909104006243489e-01 3.651345393613150137e-01 3.657093052788148446e-01 8.579662326651369408e-01 5.787694361240260932e-01 6.491966196891312268e-01 3.252508517294879775e-01 8.639694334693422961e-01 3.028097078756678551e-01 6.295814666338699350e-01 7.305627351548695803e-01 6.975931849120264872e-03 8.321205159004851915e-01 2.681809305821257761e-01 3.628869474597150591e-01 9.598981434716586936e-01 5.947913523332928332e-01 7.794864238003402779e-01 2.819511239444029149e-01 5.134200958476284882e-01 7.284684743064278045e-01 3.099571109539331903e-01 1.502222882866774967e-01
16
+ 2.463382654375219083e-01 4.465700737264240994e-01 7.180855317941433613e-01 5.056099420785193921e-01 6.182117344332578313e-01 2.370453793561340117e-01 9.831748018047525850e-01 6.397098184531551102e-01 8.260469782208745837e-02 7.474671691560941245e-01 9.963429983418570224e-02 5.450078811081275898e-01 5.370188678062637333e-02 2.774024442708808991e-01 2.082643088545442778e-01 2.704155352788065736e-01 7.225035580445194894e-01 4.866791976239246420e-01 1.357043111201584606e-01 7.911335827987711067e-01 7.278977102006007893e-01 6.880892094410231419e-01 1.029231496520791600e-01
17
+ 6.901796117735281566e-01 1.558248977395644275e-01 4.241818789360329855e-01 5.055658246392458199e-01 1.756288758075611467e-01 4.215083703818177652e-01 7.809231602323289945e-01 1.170053878686481141e-01 6.497026323614403243e-01 5.733120641440232479e-01 4.407703406152092551e-01 5.608677124532297498e-01 7.471045703286000039e-01 3.334604336022076732e-01 8.927208811415126011e-01 9.794565286182396191e-01 9.621542824973521313e-01 3.945825239405253981e-01 8.338963875792834157e-01 9.310552325082104286e-01 7.688283033784242271e-01 3.798823731047119567e-01 1.459993613028365278e-02
18
+ 7.848623555505630511e-01 2.681039365355797344e-03 7.833208051794043891e-01 8.184381915171493604e-01 4.682581645582317709e-01 2.391069309436419932e-01 1.765377537168698607e-01 9.863494676539893424e-01 4.378412300863872009e-01 7.494505491149090481e-01 1.942180356195394308e-01 9.981402467222395547e-01 7.992190944052800505e-01 1.350875702852057936e-01 4.950149186748543650e-01 7.243422481248201761e-01 3.544596746353472216e-01 8.320192561472177228e-01 9.776840296475269865e-01 7.733852731914863110e-01 2.305732998099923048e-01 9.746878189802981041e-01 7.747723331200035979e-01
19
+ 6.521099013127149568e-01 5.452399443648201505e-01 8.146707517183656710e-01 3.827256063695345656e-01 7.954832091744263867e-01 7.834427643148527132e-01 9.661317930643520402e-02 9.215673965718058636e-01 4.914305728788055383e-01 4.105628408027649501e-01 9.844647830893304974e-02 3.974831165301851987e-01 3.857608898053827007e-01 5.520210781401946321e-01 3.445787541654143915e-03 4.552922057017416702e-01 7.456544561760444223e-01 4.753985092154335845e-01 2.821385239833401615e-01 7.560136035104459973e-01 8.453142510471420845e-01 6.679627143276523071e-01 6.910882868284401459e-01
20
+ 8.526493480446283302e-01 1.183917973068240315e-01 6.163988861865119517e-01 5.751899460059114455e-01 1.638797964925038375e-01 8.214597298784013235e-01 5.424670654187370156e-01 1.806631819658732763e-01 9.268107278221827672e-01 4.127397378597359445e-01 7.529877485901653733e-01 1.714251090083847018e-01 2.601487784245806179e-01 2.028326156742237263e-01 5.299879450122358948e-01 7.587877062981395193e-01 4.070738595375062996e-01 3.546903049793261875e-01 8.695365138547607176e-01 1.447085661525142619e-01 3.193366245820845606e-01 8.797841086211429795e-01 2.666562188639977071e-01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/iris.txt ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 5.099999999999999645e+00 3.500000000000000000e+00 1.399999999999999911e+00 2.000000000000000111e-01
2
+ 4.900000000000000355e+00 3.000000000000000000e+00 1.399999999999999911e+00 2.000000000000000111e-01
3
+ 4.700000000000000178e+00 3.200000000000000178e+00 1.300000000000000044e+00 2.000000000000000111e-01
4
+ 4.599999999999999645e+00 3.100000000000000089e+00 1.500000000000000000e+00 2.000000000000000111e-01
5
+ 5.000000000000000000e+00 3.600000000000000089e+00 1.399999999999999911e+00 2.000000000000000111e-01
6
+ 5.400000000000000355e+00 3.899999999999999911e+00 1.699999999999999956e+00 4.000000000000000222e-01
7
+ 4.599999999999999645e+00 3.399999999999999911e+00 1.399999999999999911e+00 2.999999999999999889e-01
8
+ 5.000000000000000000e+00 3.399999999999999911e+00 1.500000000000000000e+00 2.000000000000000111e-01
9
+ 4.400000000000000355e+00 2.899999999999999911e+00 1.399999999999999911e+00 2.000000000000000111e-01
10
+ 4.900000000000000355e+00 3.100000000000000089e+00 1.500000000000000000e+00 1.000000000000000056e-01
11
+ 5.400000000000000355e+00 3.700000000000000178e+00 1.500000000000000000e+00 2.000000000000000111e-01
12
+ 4.799999999999999822e+00 3.399999999999999911e+00 1.600000000000000089e+00 2.000000000000000111e-01
13
+ 4.799999999999999822e+00 3.000000000000000000e+00 1.399999999999999911e+00 1.000000000000000056e-01
14
+ 4.299999999999999822e+00 3.000000000000000000e+00 1.100000000000000089e+00 1.000000000000000056e-01
15
+ 5.799999999999999822e+00 4.000000000000000000e+00 1.199999999999999956e+00 2.000000000000000111e-01
16
+ 5.700000000000000178e+00 4.400000000000000355e+00 1.500000000000000000e+00 4.000000000000000222e-01
17
+ 5.400000000000000355e+00 3.899999999999999911e+00 1.300000000000000044e+00 4.000000000000000222e-01
18
+ 5.099999999999999645e+00 3.500000000000000000e+00 1.399999999999999911e+00 2.999999999999999889e-01
19
+ 5.700000000000000178e+00 3.799999999999999822e+00 1.699999999999999956e+00 2.999999999999999889e-01
20
+ 5.099999999999999645e+00 3.799999999999999822e+00 1.500000000000000000e+00 2.999999999999999889e-01
21
+ 5.400000000000000355e+00 3.399999999999999911e+00 1.699999999999999956e+00 2.000000000000000111e-01
22
+ 5.099999999999999645e+00 3.700000000000000178e+00 1.500000000000000000e+00 4.000000000000000222e-01
23
+ 4.599999999999999645e+00 3.600000000000000089e+00 1.000000000000000000e+00 2.000000000000000111e-01
24
+ 5.099999999999999645e+00 3.299999999999999822e+00 1.699999999999999956e+00 5.000000000000000000e-01
25
+ 4.799999999999999822e+00 3.399999999999999911e+00 1.899999999999999911e+00 2.000000000000000111e-01
26
+ 5.000000000000000000e+00 3.000000000000000000e+00 1.600000000000000089e+00 2.000000000000000111e-01
27
+ 5.000000000000000000e+00 3.399999999999999911e+00 1.600000000000000089e+00 4.000000000000000222e-01
28
+ 5.200000000000000178e+00 3.500000000000000000e+00 1.500000000000000000e+00 2.000000000000000111e-01
29
+ 5.200000000000000178e+00 3.399999999999999911e+00 1.399999999999999911e+00 2.000000000000000111e-01
30
+ 4.700000000000000178e+00 3.200000000000000178e+00 1.600000000000000089e+00 2.000000000000000111e-01
31
+ 4.799999999999999822e+00 3.100000000000000089e+00 1.600000000000000089e+00 2.000000000000000111e-01
32
+ 5.400000000000000355e+00 3.399999999999999911e+00 1.500000000000000000e+00 4.000000000000000222e-01
33
+ 5.200000000000000178e+00 4.099999999999999645e+00 1.500000000000000000e+00 1.000000000000000056e-01
34
+ 5.500000000000000000e+00 4.200000000000000178e+00 1.399999999999999911e+00 2.000000000000000111e-01
35
+ 4.900000000000000355e+00 3.100000000000000089e+00 1.500000000000000000e+00 1.000000000000000056e-01
36
+ 5.000000000000000000e+00 3.200000000000000178e+00 1.199999999999999956e+00 2.000000000000000111e-01
37
+ 5.500000000000000000e+00 3.500000000000000000e+00 1.300000000000000044e+00 2.000000000000000111e-01
38
+ 4.900000000000000355e+00 3.100000000000000089e+00 1.500000000000000000e+00 1.000000000000000056e-01
39
+ 4.400000000000000355e+00 3.000000000000000000e+00 1.300000000000000044e+00 2.000000000000000111e-01
40
+ 5.099999999999999645e+00 3.399999999999999911e+00 1.500000000000000000e+00 2.000000000000000111e-01
41
+ 5.000000000000000000e+00 3.500000000000000000e+00 1.300000000000000044e+00 2.999999999999999889e-01
42
+ 4.500000000000000000e+00 2.299999999999999822e+00 1.300000000000000044e+00 2.999999999999999889e-01
43
+ 4.400000000000000355e+00 3.200000000000000178e+00 1.300000000000000044e+00 2.000000000000000111e-01
44
+ 5.000000000000000000e+00 3.500000000000000000e+00 1.600000000000000089e+00 5.999999999999999778e-01
45
+ 5.099999999999999645e+00 3.799999999999999822e+00 1.899999999999999911e+00 4.000000000000000222e-01
46
+ 4.799999999999999822e+00 3.000000000000000000e+00 1.399999999999999911e+00 2.999999999999999889e-01
47
+ 5.099999999999999645e+00 3.799999999999999822e+00 1.600000000000000089e+00 2.000000000000000111e-01
48
+ 4.599999999999999645e+00 3.200000000000000178e+00 1.399999999999999911e+00 2.000000000000000111e-01
49
+ 5.299999999999999822e+00 3.700000000000000178e+00 1.500000000000000000e+00 2.000000000000000111e-01
50
+ 5.000000000000000000e+00 3.299999999999999822e+00 1.399999999999999911e+00 2.000000000000000111e-01
51
+ 7.000000000000000000e+00 3.200000000000000178e+00 4.700000000000000178e+00 1.399999999999999911e+00
52
+ 6.400000000000000355e+00 3.200000000000000178e+00 4.500000000000000000e+00 1.500000000000000000e+00
53
+ 6.900000000000000355e+00 3.100000000000000089e+00 4.900000000000000355e+00 1.500000000000000000e+00
54
+ 5.500000000000000000e+00 2.299999999999999822e+00 4.000000000000000000e+00 1.300000000000000044e+00
55
+ 6.500000000000000000e+00 2.799999999999999822e+00 4.599999999999999645e+00 1.500000000000000000e+00
56
+ 5.700000000000000178e+00 2.799999999999999822e+00 4.500000000000000000e+00 1.300000000000000044e+00
57
+ 6.299999999999999822e+00 3.299999999999999822e+00 4.700000000000000178e+00 1.600000000000000089e+00
58
+ 4.900000000000000355e+00 2.399999999999999911e+00 3.299999999999999822e+00 1.000000000000000000e+00
59
+ 6.599999999999999645e+00 2.899999999999999911e+00 4.599999999999999645e+00 1.300000000000000044e+00
60
+ 5.200000000000000178e+00 2.700000000000000178e+00 3.899999999999999911e+00 1.399999999999999911e+00
61
+ 5.000000000000000000e+00 2.000000000000000000e+00 3.500000000000000000e+00 1.000000000000000000e+00
62
+ 5.900000000000000355e+00 3.000000000000000000e+00 4.200000000000000178e+00 1.500000000000000000e+00
63
+ 6.000000000000000000e+00 2.200000000000000178e+00 4.000000000000000000e+00 1.000000000000000000e+00
64
+ 6.099999999999999645e+00 2.899999999999999911e+00 4.700000000000000178e+00 1.399999999999999911e+00
65
+ 5.599999999999999645e+00 2.899999999999999911e+00 3.600000000000000089e+00 1.300000000000000044e+00
66
+ 6.700000000000000178e+00 3.100000000000000089e+00 4.400000000000000355e+00 1.399999999999999911e+00
67
+ 5.599999999999999645e+00 3.000000000000000000e+00 4.500000000000000000e+00 1.500000000000000000e+00
68
+ 5.799999999999999822e+00 2.700000000000000178e+00 4.099999999999999645e+00 1.000000000000000000e+00
69
+ 6.200000000000000178e+00 2.200000000000000178e+00 4.500000000000000000e+00 1.500000000000000000e+00
70
+ 5.599999999999999645e+00 2.500000000000000000e+00 3.899999999999999911e+00 1.100000000000000089e+00
71
+ 5.900000000000000355e+00 3.200000000000000178e+00 4.799999999999999822e+00 1.800000000000000044e+00
72
+ 6.099999999999999645e+00 2.799999999999999822e+00 4.000000000000000000e+00 1.300000000000000044e+00
73
+ 6.299999999999999822e+00 2.500000000000000000e+00 4.900000000000000355e+00 1.500000000000000000e+00
74
+ 6.099999999999999645e+00 2.799999999999999822e+00 4.700000000000000178e+00 1.199999999999999956e+00
75
+ 6.400000000000000355e+00 2.899999999999999911e+00 4.299999999999999822e+00 1.300000000000000044e+00
76
+ 6.599999999999999645e+00 3.000000000000000000e+00 4.400000000000000355e+00 1.399999999999999911e+00
77
+ 6.799999999999999822e+00 2.799999999999999822e+00 4.799999999999999822e+00 1.399999999999999911e+00
78
+ 6.700000000000000178e+00 3.000000000000000000e+00 5.000000000000000000e+00 1.699999999999999956e+00
79
+ 6.000000000000000000e+00 2.899999999999999911e+00 4.500000000000000000e+00 1.500000000000000000e+00
80
+ 5.700000000000000178e+00 2.600000000000000089e+00 3.500000000000000000e+00 1.000000000000000000e+00
81
+ 5.500000000000000000e+00 2.399999999999999911e+00 3.799999999999999822e+00 1.100000000000000089e+00
82
+ 5.500000000000000000e+00 2.399999999999999911e+00 3.700000000000000178e+00 1.000000000000000000e+00
83
+ 5.799999999999999822e+00 2.700000000000000178e+00 3.899999999999999911e+00 1.199999999999999956e+00
84
+ 6.000000000000000000e+00 2.700000000000000178e+00 5.099999999999999645e+00 1.600000000000000089e+00
85
+ 5.400000000000000355e+00 3.000000000000000000e+00 4.500000000000000000e+00 1.500000000000000000e+00
86
+ 6.000000000000000000e+00 3.399999999999999911e+00 4.500000000000000000e+00 1.600000000000000089e+00
87
+ 6.700000000000000178e+00 3.100000000000000089e+00 4.700000000000000178e+00 1.500000000000000000e+00
88
+ 6.299999999999999822e+00 2.299999999999999822e+00 4.400000000000000355e+00 1.300000000000000044e+00
89
+ 5.599999999999999645e+00 3.000000000000000000e+00 4.099999999999999645e+00 1.300000000000000044e+00
90
+ 5.500000000000000000e+00 2.500000000000000000e+00 4.000000000000000000e+00 1.300000000000000044e+00
91
+ 5.500000000000000000e+00 2.600000000000000089e+00 4.400000000000000355e+00 1.199999999999999956e+00
92
+ 6.099999999999999645e+00 3.000000000000000000e+00 4.599999999999999645e+00 1.399999999999999911e+00
93
+ 5.799999999999999822e+00 2.600000000000000089e+00 4.000000000000000000e+00 1.199999999999999956e+00
94
+ 5.000000000000000000e+00 2.299999999999999822e+00 3.299999999999999822e+00 1.000000000000000000e+00
95
+ 5.599999999999999645e+00 2.700000000000000178e+00 4.200000000000000178e+00 1.300000000000000044e+00
96
+ 5.700000000000000178e+00 3.000000000000000000e+00 4.200000000000000178e+00 1.199999999999999956e+00
97
+ 5.700000000000000178e+00 2.899999999999999911e+00 4.200000000000000178e+00 1.300000000000000044e+00
98
+ 6.200000000000000178e+00 2.899999999999999911e+00 4.299999999999999822e+00 1.300000000000000044e+00
99
+ 5.099999999999999645e+00 2.500000000000000000e+00 3.000000000000000000e+00 1.100000000000000089e+00
100
+ 5.700000000000000178e+00 2.799999999999999822e+00 4.099999999999999645e+00 1.300000000000000044e+00
101
+ 6.299999999999999822e+00 3.299999999999999822e+00 6.000000000000000000e+00 2.500000000000000000e+00
102
+ 5.799999999999999822e+00 2.700000000000000178e+00 5.099999999999999645e+00 1.899999999999999911e+00
103
+ 7.099999999999999645e+00 3.000000000000000000e+00 5.900000000000000355e+00 2.100000000000000089e+00
104
+ 6.299999999999999822e+00 2.899999999999999911e+00 5.599999999999999645e+00 1.800000000000000044e+00
105
+ 6.500000000000000000e+00 3.000000000000000000e+00 5.799999999999999822e+00 2.200000000000000178e+00
106
+ 7.599999999999999645e+00 3.000000000000000000e+00 6.599999999999999645e+00 2.100000000000000089e+00
107
+ 4.900000000000000355e+00 2.500000000000000000e+00 4.500000000000000000e+00 1.699999999999999956e+00
108
+ 7.299999999999999822e+00 2.899999999999999911e+00 6.299999999999999822e+00 1.800000000000000044e+00
109
+ 6.700000000000000178e+00 2.500000000000000000e+00 5.799999999999999822e+00 1.800000000000000044e+00
110
+ 7.200000000000000178e+00 3.600000000000000089e+00 6.099999999999999645e+00 2.500000000000000000e+00
111
+ 6.500000000000000000e+00 3.200000000000000178e+00 5.099999999999999645e+00 2.000000000000000000e+00
112
+ 6.400000000000000355e+00 2.700000000000000178e+00 5.299999999999999822e+00 1.899999999999999911e+00
113
+ 6.799999999999999822e+00 3.000000000000000000e+00 5.500000000000000000e+00 2.100000000000000089e+00
114
+ 5.700000000000000178e+00 2.500000000000000000e+00 5.000000000000000000e+00 2.000000000000000000e+00
115
+ 5.799999999999999822e+00 2.799999999999999822e+00 5.099999999999999645e+00 2.399999999999999911e+00
116
+ 6.400000000000000355e+00 3.200000000000000178e+00 5.299999999999999822e+00 2.299999999999999822e+00
117
+ 6.500000000000000000e+00 3.000000000000000000e+00 5.500000000000000000e+00 1.800000000000000044e+00
118
+ 7.700000000000000178e+00 3.799999999999999822e+00 6.700000000000000178e+00 2.200000000000000178e+00
119
+ 7.700000000000000178e+00 2.600000000000000089e+00 6.900000000000000355e+00 2.299999999999999822e+00
120
+ 6.000000000000000000e+00 2.200000000000000178e+00 5.000000000000000000e+00 1.500000000000000000e+00
121
+ 6.900000000000000355e+00 3.200000000000000178e+00 5.700000000000000178e+00 2.299999999999999822e+00
122
+ 5.599999999999999645e+00 2.799999999999999822e+00 4.900000000000000355e+00 2.000000000000000000e+00
123
+ 7.700000000000000178e+00 2.799999999999999822e+00 6.700000000000000178e+00 2.000000000000000000e+00
124
+ 6.299999999999999822e+00 2.700000000000000178e+00 4.900000000000000355e+00 1.800000000000000044e+00
125
+ 6.700000000000000178e+00 3.299999999999999822e+00 5.700000000000000178e+00 2.100000000000000089e+00
126
+ 7.200000000000000178e+00 3.200000000000000178e+00 6.000000000000000000e+00 1.800000000000000044e+00
127
+ 6.200000000000000178e+00 2.799999999999999822e+00 4.799999999999999822e+00 1.800000000000000044e+00
128
+ 6.099999999999999645e+00 3.000000000000000000e+00 4.900000000000000355e+00 1.800000000000000044e+00
129
+ 6.400000000000000355e+00 2.799999999999999822e+00 5.599999999999999645e+00 2.100000000000000089e+00
130
+ 7.200000000000000178e+00 3.000000000000000000e+00 5.799999999999999822e+00 1.600000000000000089e+00
131
+ 7.400000000000000355e+00 2.799999999999999822e+00 6.099999999999999645e+00 1.899999999999999911e+00
132
+ 7.900000000000000355e+00 3.799999999999999822e+00 6.400000000000000355e+00 2.000000000000000000e+00
133
+ 6.400000000000000355e+00 2.799999999999999822e+00 5.599999999999999645e+00 2.200000000000000178e+00
134
+ 6.299999999999999822e+00 2.799999999999999822e+00 5.099999999999999645e+00 1.500000000000000000e+00
135
+ 6.099999999999999645e+00 2.600000000000000089e+00 5.599999999999999645e+00 1.399999999999999911e+00
136
+ 7.700000000000000178e+00 3.000000000000000000e+00 6.099999999999999645e+00 2.299999999999999822e+00
137
+ 6.299999999999999822e+00 3.399999999999999911e+00 5.599999999999999645e+00 2.399999999999999911e+00
138
+ 6.400000000000000355e+00 3.100000000000000089e+00 5.500000000000000000e+00 1.800000000000000044e+00
139
+ 6.000000000000000000e+00 3.000000000000000000e+00 4.799999999999999822e+00 1.800000000000000044e+00
140
+ 6.900000000000000355e+00 3.100000000000000089e+00 5.400000000000000355e+00 2.100000000000000089e+00
141
+ 6.700000000000000178e+00 3.100000000000000089e+00 5.599999999999999645e+00 2.399999999999999911e+00
142
+ 6.900000000000000355e+00 3.100000000000000089e+00 5.099999999999999645e+00 2.299999999999999822e+00
143
+ 5.799999999999999822e+00 2.700000000000000178e+00 5.099999999999999645e+00 1.899999999999999911e+00
144
+ 6.799999999999999822e+00 3.200000000000000178e+00 5.900000000000000355e+00 2.299999999999999822e+00
145
+ 6.700000000000000178e+00 3.299999999999999822e+00 5.700000000000000178e+00 2.500000000000000000e+00
146
+ 6.700000000000000178e+00 3.000000000000000000e+00 5.200000000000000178e+00 2.299999999999999822e+00
147
+ 6.299999999999999822e+00 2.500000000000000000e+00 5.000000000000000000e+00 1.899999999999999911e+00
148
+ 6.500000000000000000e+00 3.000000000000000000e+00 5.200000000000000178e+00 2.000000000000000000e+00
149
+ 6.200000000000000178e+00 3.399999999999999911e+00 5.400000000000000355e+00 2.299999999999999822e+00
150
+ 5.900000000000000355e+00 3.000000000000000000e+00 5.099999999999999645e+00 1.800000000000000044e+00
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-chebyshev-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 8.9084734e-01 9.3573853e-01 9.3507398e-01 9.6040691e-01 9.2918157e-01 9.6617342e-01 9.0430930e-01 9.5753424e-01 8.7106898e-01 9.2169905e-01 9.7401159e-01 8.9013416e-01 9.3956689e-01 9.0041896e-01 9.2588355e-01 9.3849417e-01 8.9713468e-01 9.1481804e-01 9.7500539e-01 9.0012586e-01 9.0962559e-01 8.5860091e-01 8.6981095e-01 8.9995771e-01 8.8070172e-01 9.1456657e-01 8.6711474e-01 9.2593917e-01 8.7560376e-01 8.5193121e-01 9.0898542e-01 8.7765302e-01 8.6555584e-01 8.6093485e-01 9.0447028e-01 8.7614405e-01 9.4803522e-01 8.4998062e-01 7.8398996e-01 8.9538612e-01 8.3902291e-01 9.9039470e-01 9.5480519e-01 8.9152195e-01 9.1623329e-01 7.9094921e-01 9.1777100e-01 9.8972335e-01 9.0429093e-01 8.7646362e-01 9.2136649e-01 9.7178177e-01 8.9610979e-01 9.4710327e-01 9.3612450e-01 9.0241499e-01 7.7992538e-01 8.7262126e-01 9.3325183e-01 8.5796531e-01 9.4267977e-01 6.7224167e-01 7.9568368e-01 8.6411267e-01 9.3311642e-01 9.0160114e-01 9.0698887e-01 8.5833256e-01 9.6902830e-01 9.5072298e-01 8.6808495e-01 9.7879599e-01 8.8060729e-01 8.2818573e-01 8.4366706e-01 8.4506700e-01 9.4532981e-01 9.1792306e-01 7.8917825e-01 9.8337805e-01 8.1751613e-01 9.3037855e-01 9.1618832e-01 8.6568874e-01 8.9751397e-01 8.7923710e-01 8.6814329e-01 9.0330164e-01 8.2426213e-01 9.4644643e-01 8.8431293e-01 8.8497426e-01 9.0633818e-01 9.5537161e-01 8.2167575e-01 8.7771053e-01 9.0681167e-01 8.7626143e-01 8.7463464e-01 9.8033940e-01 9.2920881e-01 9.5108549e-01 9.1287466e-01 8.0052218e-01 9.2409517e-01 8.8252650e-01 8.7873923e-01 9.2989402e-01 9.1985043e-01 9.6172646e-01 8.8223856e-01 9.4477822e-01 8.8310948e-01 9.4461306e-01 9.1875210e-01 9.1233363e-01 9.2124013e-01 9.5460897e-01 8.4640982e-01 9.0882657e-01 9.8169468e-01 9.7828355e-01 8.4150533e-01 8.6888923e-01 9.7138825e-01 8.7988144e-01 9.6720910e-01 8.9450147e-01 9.5331584e-01 8.8871809e-01 8.9736685e-01 8.6258146e-01 9.1331565e-01 9.0968870e-01 9.4833654e-01 9.0536967e-01 9.5099871e-01 8.0251958e-01 9.2526150e-01 9.8971957e-01 9.0340947e-01 9.4955892e-01 9.6838162e-01 8.7534901e-01 9.1178797e-01 9.2649154e-01 9.5260993e-01 9.3178143e-01 9.4943000e-01 8.7816171e-01 9.6506542e-01 8.3422958e-01 9.3443585e-01 9.3220084e-01 8.5706573e-01 8.4666325e-01 9.0474744e-01 9.1080644e-01 9.2406899e-01 8.7901768e-01 9.3265263e-01 9.5992829e-01 9.5696271e-01 9.1932272e-01 8.0937044e-01 9.0904917e-01 8.9516756e-01 9.4797906e-01 8.4159421e-01 9.6773901e-01 9.7099825e-01 9.6941820e-01 9.8174088e-01 9.7569951e-01 9.3655362e-01 8.4130333e-01 9.5994549e-01 8.4235414e-01 9.1429418e-01 9.3418117e-01 8.4600977e-01 8.8166496e-01 8.7594776e-01 8.8571112e-01 9.6308174e-01 9.5315927e-01 8.6997519e-01 8.9383032e-01 9.4686804e-01 9.4399596e-01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-cityblock-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.2420590e+01 3.3246607e+01 3.0526910e+01 3.5166573e+01 3.1868301e+01 3.6025002e+01 3.2513623e+01 3.6557796e+01 3.3752212e+01 3.4422130e+01 3.2526018e+01 3.2581161e+01 3.3743555e+01 3.6960777e+01 3.4225270e+01 3.2965308e+01 3.4591031e+01 3.4204203e+01 3.4678123e+01 3.5728720e+01 3.0830047e+01 3.1550681e+01 3.3304790e+01 3.2676753e+01 3.2742330e+01 3.1684556e+01 3.2830915e+01 3.2956614e+01 2.7365639e+01 3.3207307e+01 3.3420925e+01 3.4357941e+01 2.8280126e+01 3.4523458e+01 3.2705274e+01 3.2455891e+01 3.1636060e+01 3.1594957e+01 3.1805202e+01 3.3886574e+01 3.3438829e+01 3.3330030e+01 3.4168514e+01 3.0637353e+01 4.2149167e+01 3.6340559e+01 2.9315308e+01 3.5778314e+01 3.7693050e+01 3.2598714e+01 3.2990836e+01 3.4967659e+01 3.9748920e+01 3.6745043e+01 2.7117550e+01 3.6014760e+01 2.9367558e+01 3.3845350e+01 3.5477339e+01 3.1513372e+01 3.2517953e+01 2.4755097e+01 3.0229897e+01 3.4799343e+01 3.3371710e+01 2.9600910e+01 3.3275088e+01 3.3567110e+01 3.4527016e+01 3.4942320e+01 3.2359383e+01 3.2607100e+01 3.1467914e+01 2.9032039e+01 3.3122878e+01 2.8496709e+01 2.9908448e+01 2.9962886e+01 3.0345299e+01 3.1737613e+01 2.8551485e+01 3.2610551e+01 3.3082660e+01 3.3719298e+01 3.6434018e+01 3.6589278e+01 3.3889586e+01 3.8036774e+01 3.1483497e+01 3.4196794e+01 3.5154035e+01 3.5488608e+01 3.6143183e+01 3.3473491e+01 3.4686446e+01 2.8687495e+01 3.5725742e+01 3.0188298e+01 3.3084534e+01 3.3538519e+01 3.6226849e+01 2.9052099e+01 3.6032733e+01 3.0811503e+01 3.2616190e+01 3.3888566e+01 3.3074570e+01 2.9683515e+01 3.0600771e+01 3.4345247e+01 3.6983843e+01 3.3692824e+01 3.3762461e+01 3.4024582e+01 3.3698854e+01 3.1238613e+01 3.4978833e+01 3.4991078e+01 3.4577741e+01 3.3749227e+01 3.4982272e+01 3.0487868e+01 3.2317632e+01 3.1125588e+01 3.4413791e+01 3.1881871e+01 3.1373821e+01 3.0416864e+01 3.2066187e+01 3.1128313e+01 3.0240249e+01 3.0125198e+01 3.1343454e+01 3.5479092e+01 3.4450767e+01 3.2953507e+01 3.4456795e+01 3.0136375e+01 3.3462150e+01 2.9894274e+01 3.1367432e+01 3.2839320e+01 3.1440398e+01 2.9400374e+01 3.1106338e+01 3.1242624e+01 3.5537892e+01 3.3056459e+01 2.8610281e+01 3.4296217e+01 3.5819772e+01 3.2503922e+01 3.0963029e+01 3.4762112e+01 3.4796284e+01 2.9645345e+01 3.4468088e+01 2.6975590e+01 3.3738555e+01 2.8825009e+01 3.2663999e+01 3.2547878e+01 3.2308091e+01 3.2489966e+01 3.0868597e+01 3.2974220e+01 3.0866111e+01 3.8197342e+01 3.0609568e+01 3.5478978e+01 2.9249184e+01 3.6185622e+01 3.1948258e+01 3.2649719e+01 3.3305650e+01 3.4643955e+01 3.6566241e+01 3.4968484e+01 3.2632218e+01 3.6741383e+01 3.5700008e+01 3.1962468e+01 3.1410623e+01 3.0412061e+01 3.3749077e+01 3.5649661e+01 3.7649263e+01 3.2832574e+01 3.1783914e+01 2.8264292e+01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-double-inp.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 8.278938049410748956e-01 9.035293984476246987e-01 1.862188994679486731e-01 8.921151312310462433e-01 2.061859119379583216e-02 3.440636727385729676e-01 1.533779912830328662e-01 5.701372300009802663e-01 5.510020730211558915e-01 1.792362258426003496e-01 8.086175120876580857e-01 6.115487184317183189e-01 1.233471787164852618e-02 1.441643531871039663e-03 4.044309209045688913e-01 3.561398959499905148e-01 1.281985712929750720e-01 8.663300833847481508e-01 8.696027786291581352e-01 3.611727370363766454e-01 5.283537658772616830e-01 1.440241088090119526e-01 3.112457227138950566e-01 6.031280796897889873e-01 9.230324792742518047e-01 2.332121881136874908e-01 3.192652267403439659e-02 3.466206294995559656e-01 2.988687728046366399e-01 5.116749542048093513e-02 2.584975830914494344e-01 4.302023478042227289e-01 8.003972751713522849e-01 9.364931911368097328e-01 9.737098649964673891e-01 4.718038453972229762e-01 4.526591686607864817e-01 1.056485678520797666e-01 5.883019714285405710e-01 3.846092237676981274e-01 6.461500053435473845e-01 1.013239729848824933e-01 1.216151561651189761e-01 5.159668929484659827e-01 8.452074473510227115e-01 9.885170962247968873e-01 7.623883073490128615e-01 2.291163243615434997e-02 5.775530980802381364e-01 7.820699896828091635e-01 8.239186345842965942e-01 3.391800105260227571e-01 9.546318451614538292e-01 3.789677917867695367e-01 4.526533399649290690e-02 8.366786473238587707e-01 3.082636811049858094e-01 1.173936820793450853e-01 7.631994969169442200e-02 2.997416650722183329e-01 5.795208655160232203e-01 3.942350892542011431e-01 1.175126383297261379e-01 4.928232513950027149e-01 9.421293996225950096e-01 8.365391053841342295e-02 6.868059693571844093e-01 3.589527962429440722e-01 7.592939427166059962e-01 5.623849466131448649e-01 2.110746828032050715e-01 9.824683704668600859e-01 2.661230142246236996e-01 6.162272315007123469e-01 5.023254536607497656e-01 5.202854476669782624e-02 5.835090668842095596e-01 7.864642118889143552e-01 2.504012386867506823e-01 6.728308641135989365e-01 4.610793534576096420e-01 4.820508770515909980e-01 9.720403251022265989e-01 3.100069285263498120e-01 7.681017126461753275e-01 7.956539306007082146e-02 2.593389637887737464e-01 1.137852590403054531e-01 3.885303073284454012e-01 8.599094660075957686e-01 5.215167875918280682e-02 1.620908248572288102e-01 1.859236090457663249e-01 6.247716512610480555e-01 3.415128495520775020e-01 7.034903368378029320e-01 6.037564640019568163e-01 2.338969434423310290e-01 1.002104885609900187e-02 7.866058403969036217e-01
2
+ 8.033694116033356369e-01 8.653264545544031572e-01 7.468340410754038539e-01 6.362430919910603278e-01 5.120006306625468628e-02 9.503348372633585450e-01 4.697732609626817935e-01 4.221305288459429317e-01 3.153452119838391354e-01 2.991014843442657556e-01 1.190667967280257811e-01 3.486567714509342109e-01 8.289493649885054660e-01 8.454811050800014049e-01 9.149673018211901265e-01 7.708707837193897738e-01 2.640157732122547785e-01 2.107897022189605396e-01 4.207633055054439408e-01 6.719500284654699174e-01 1.458031684893063007e-01 1.800412735886125493e-02 8.402733435220011149e-02 4.206760156883160295e-02 1.376933515041314227e-01 1.716717341022133692e-01 1.788220727652158892e-01 8.224310433402118869e-01 7.729093666867475898e-01 2.064223621025984556e-01 9.592092036227207741e-01 8.312490243754996344e-01 6.673289360369902834e-01 4.632847903690773261e-02 7.643954098358983762e-01 9.359341525615098023e-01 1.914966319163026176e-01 4.536590469402868031e-01 8.640836016538007147e-01 3.941529178175462444e-02 5.602101995205478469e-01 9.263806161941660067e-01 1.555995325944817820e-01 6.172208102950116348e-01 6.335576752812099866e-01 9.766975460368043649e-02 4.475795689539874278e-02 3.248842796104995934e-01 5.700377122149502540e-01 9.066962967256807504e-01 5.458460621505676347e-01 6.833401285581487405e-01 2.887244409544044155e-01 1.316338647016834784e-01 2.325673305245992140e-01 4.150121963188406760e-01 3.834845466366055833e-01 8.149365773968725302e-01 1.867003849450201702e-01 3.170322173543018707e-01 6.832093662682684476e-01 1.729728518929105618e-01 9.236557359702636250e-01 9.152941252150086360e-01 7.224879983096620384e-01 8.557920626598064517e-01 5.344883059251644974e-01 4.876873274449112783e-01 8.308277804506420949e-01 3.916624489322212410e-01 3.459695122273966916e-01 4.033512499027409604e-01 6.555726444913008155e-01 7.138452409380238173e-01 1.683937314599968094e-01 1.769382143486440961e-01 7.588683655178136700e-01 3.750589892880819010e-01 7.525176245126207197e-01 6.083961152538303052e-01 1.145972309907993258e-01 6.239614485809552580e-01 1.307655482065895880e-01 8.530458750670916190e-01 4.801602070124768584e-01 8.168122189863546989e-02 3.793139622744635675e-01 1.496986997776840189e-01 7.129023878302899186e-01 6.830979237438047358e-01 7.635375943876505644e-01 1.824004963251233402e-01 5.764695848992339444e-01 8.865113248731604223e-01 5.784337085544002388e-01 9.700026628755119562e-01 7.318207347905059112e-01 3.851401393936705331e-01 1.774291851193399161e-01 9.763423229242296220e-01
3
+ 9.287178470949695175e-01 1.748282433617460718e-01 9.238531711586964734e-01 8.291274445125006443e-01 9.513259272578692416e-01 7.486316801165745494e-01 6.257378457524477300e-01 2.062711693536473101e-01 3.970721244184766130e-01 2.738325225026445597e-01 8.735038948299954642e-01 5.415282140033768066e-01 5.176317904298315398e-01 5.347036264518250093e-01 7.482056965410627258e-01 4.140672582824351800e-01 8.709067272363142376e-01 9.499605569181273079e-01 5.380266748336398619e-01 4.369252161707162241e-01 8.235722216228258397e-03 4.308187193646527691e-01 6.030581482859224129e-01 7.316831195156517920e-01 5.540499846834291420e-01 2.044203040111662872e-01 8.645251782981867583e-01 1.816095717570278545e-01 9.639119168018674966e-01 3.572031072322333634e-01 5.580226816834680248e-01 5.586629875016585478e-01 7.213854320902782780e-01 8.513998260042524580e-01 6.308764347277173723e-02 4.299855362100638567e-01 8.789303907444128150e-01 9.178850359236285783e-01 2.275205845091231582e-01 1.899395443939643213e-01 7.103070862773533944e-01 9.450015289553428399e-01 1.691856364522159595e-01 7.368719616877857925e-01 9.600189536623833231e-01 5.128846522932454244e-01 6.209162727118655578e-02 7.992250598838029907e-01 9.141050280518014937e-01 1.471297785256820978e-01 7.466162372930541524e-01 4.656107650642931084e-01 6.399324135161845728e-01 2.023617619481610230e-01 1.019104648900100996e-01 4.390693688536728700e-02 9.822620353006089600e-01 2.881951852926285529e-01 6.191575015960482098e-02 8.989580763251467932e-01 4.635958631890454429e-01 1.781973138114967270e-02 7.906911683818984571e-02 6.525270776225711167e-02 3.620583622807886925e-01 2.651673718940715796e-01 5.829372395929610651e-01 2.118159824373908595e-01 5.900287159143694504e-01 9.405929925178391215e-01 9.262415619063500971e-01 5.639581506302312475e-01 4.529556154689695635e-02 2.873819210518682166e-01 5.718545934306838996e-01 9.877670791317306742e-01 4.120364488714320927e-01 9.896078045634184583e-01 3.796586997026456523e-01 1.178183652203194098e-01 6.641068305236120795e-01 4.045960610587706618e-03 2.262690437428437340e-01 7.839938005832693957e-01 7.695391333937223743e-01 3.713918392552509884e-01 4.245533341514018399e-01 1.475072494020331915e-01 6.011975181419888514e-01 5.158174017998343741e-01 1.788706151398071764e-01 8.880707130134481986e-01 6.463351030474082659e-01 6.499920635615744624e-01 8.570273676455353318e-01 6.055019270899113515e-01 2.123561211054603159e-02 2.027688787664126968e-01 1.930834215328548487e-01 5.131906052747271518e-01
4
+ 2.599990881903107010e-01 6.767857524909899336e-01 7.188217446352963558e-01 3.037178903357997672e-01 4.252381412838680541e-01 4.070924411439535984e-02 8.426710493038247485e-02 8.301517457289483426e-01 8.254603255702420705e-01 7.258533909453509514e-01 9.958706809470796451e-01 1.323408451651194584e-01 8.523995455245143571e-01 2.572405385832454705e-02 4.715363690065482727e-01 7.920130365690022378e-01 7.613745641534582775e-01 5.108305991695683002e-01 7.908714335912382376e-01 4.641131983754837043e-01 3.112627109831845873e-01 4.218013908715474436e-01 3.291577909008427394e-01 2.538715054071232213e-01 1.362470842487485401e-01 2.716429790290709745e-01 1.485325814161112534e-01 4.514539027544387517e-01 6.900835128673067365e-01 7.793407072946112457e-02 5.938024345270752624e-01 1.497853829906865553e-01 5.399567982652856424e-01 1.419209916759478496e-03 7.719776132867679497e-01 3.130795105576239523e-01 6.670071611167494030e-01 8.900596881158256979e-01 8.011158503301568645e-01 7.089295605187424520e-01 4.671116382997058114e-01 6.682965170673403899e-01 6.524835265739736823e-02 5.454288420771494783e-01 7.751910790556310049e-01 8.192595541387335256e-01 3.098855848167891835e-01 3.689971355659119601e-01 8.666507475054133769e-01 2.749042684253171220e-01 3.566565602478318775e-01 4.838173174723044978e-01 1.032975933616413489e-01 5.063065339610417492e-02 5.791168455729079900e-01 3.573337411289496668e-01 6.714098909652352898e-01 2.917057662433912846e-01 2.654964332620638467e-01 7.171804039048814694e-01 3.314488637898249657e-01 5.230399837442840649e-01 6.866534136026025692e-02 1.252966394621071178e-01 5.349397882659551184e-01 2.841423847455760709e-01 4.158473635710734362e-01 7.197062989831272128e-01 5.123869045047864113e-01 8.675622821594339840e-01 8.097441845042540054e-01 7.317178252133832439e-01 3.300847596465853462e-01 5.922311859141077273e-01 8.852619511417836318e-02 2.673412917259408994e-01 6.878259052441990651e-01 3.223000927116328462e-01 8.859387123976615319e-01 5.722722388300067742e-01 8.254877606669521750e-01 5.705299682290687624e-01 7.046478734972855262e-01 1.316324413616759559e-01 3.056358395675535800e-01 2.396516834600909140e-01 2.041201422493257311e-01 1.610755140653103989e-01 1.617012564641111538e-01 4.449920510036902144e-01 2.731012972755201274e-01 7.826874666257994662e-01 5.193612375350010746e-01 8.688804522977213729e-01 3.742157602758655610e-02 6.649628920608219307e-01 5.978149424619171315e-01 5.345645500553952711e-01 9.443202650415919441e-01 6.105837075491723498e-01
5
+ 6.387761328141735584e-01 4.210087412162694109e-01 3.777306694964789324e-01 3.576349403292201634e-01 7.272699618880260619e-01 9.173392803607671731e-02 1.212535698300880593e-01 3.871229381194544183e-01 7.735150198351389284e-01 4.687200483013695962e-01 5.161778571874678923e-01 9.839646447226980674e-01 8.626932748911960713e-01 9.618485576577924245e-01 2.997996427525421170e-01 3.955404657388794654e-01 8.480126027102616870e-01 8.194992325050480808e-01 2.800213436873294492e-01 7.188391466620779324e-01 2.289766105875049584e-01 3.838547514028287644e-01 1.363553401061209369e-01 2.131328253542326134e-01 2.666779468144075960e-02 3.252883844200405994e-01 4.207860197469600605e-01 2.991365385037647595e-01 9.180779845534067229e-01 8.787338732192649937e-01 5.404510999105649471e-01 1.735493827761729335e-01 7.405224640747264386e-01 3.927355563629583157e-01 3.957109873399460298e-01 1.313029813325972128e-01 6.434498219738993274e-01 7.162213694578050127e-01 6.454998257494671821e-01 3.808124530008022424e-01 2.027201015737234435e-01 6.667632842770417900e-01 1.609491052365198405e-01 1.192413785409307536e-02 4.546773323526854815e-01 7.733541911050207940e-01 3.902525737195561284e-01 4.006023779897505133e-01 5.156517815815246930e-01 6.135685498584592112e-01 7.062153114980724844e-01 5.505858882117883324e-01 3.541308807182554919e-01 5.237151122342533771e-01 5.230649229131387745e-01 1.973541027697351957e-01 7.940327858595511712e-01 9.998588700623055603e-01 3.878271015153827994e-01 4.455006584967207139e-01 8.376414508056347907e-01 3.310833863524501597e-01 8.020469097392601832e-01 1.890327633084128989e-01 3.830289472395409511e-01 8.605040171046141051e-02 9.978185524023941433e-01 8.333890591892906263e-01 4.509013468741837061e-01 6.355778557686052599e-01 1.422515991097305088e-01 9.549891485963732940e-01 7.535776302868563148e-01 9.306005301880662106e-01 2.444330347211679522e-01 5.828218427569508142e-01 1.261938242968304591e-01 2.829188731405173352e-01 8.100246952078660190e-01 2.032739130996042975e-01 3.997268448390065565e-01 3.882777703107541667e-01 1.102505652624736765e-01 5.826634725328041498e-01 6.508734477956333864e-01 1.777287661702166011e-01 4.857051012052149286e-02 6.850537712379254351e-01 5.012281307761055071e-01 3.329154880061502286e-01 5.006261767216675374e-01 4.542081454976160115e-01 6.777801995399822532e-01 4.271303586474960445e-01 7.820470659692947413e-01 5.143462618485082904e-01 4.071273891563575997e-02 8.503383643856671226e-01 6.877485768345151795e-01 6.498843855014626580e-01
6
+ 5.539512747016193117e-01 6.329206647391879548e-01 2.798533500321682688e-01 4.825977295850051307e-01 7.625297023172977751e-01 9.081309101427640362e-01 4.124792086535029600e-01 3.647019658319609059e-01 7.529595202332928228e-02 3.072404010876803593e-01 7.890673660964639957e-01 4.079781478915127657e-01 1.440519120695739064e-01 2.538968953804546791e-01 1.595028243568367143e-01 9.066545851872198636e-02 6.367601114674349416e-01 7.622263643880089479e-02 3.015728236404162654e-01 2.424070469873378375e-01 5.711440390241000475e-01 5.717001375511508998e-01 2.237853674032181939e-01 7.112101625753678436e-01 4.321054197012103026e-01 2.505322169010260058e-02 5.877307077139551916e-01 4.415771174397812304e-01 3.766022855145171322e-01 9.803490652619811785e-01 1.229258314111529860e-01 8.108351868714478439e-01 8.558595456964329662e-01 2.168217533833206589e-01 2.034022719386595623e-01 8.687457137579783772e-01 9.013327195854559104e-01 8.156766512673154779e-01 2.717576187546973943e-01 1.756417893371479133e-01 7.555856977566548505e-01 6.708809351312817748e-01 8.998789237886926085e-01 1.936367585946979775e-01 7.949724635465026390e-01 3.164799312763589834e-01 5.493048513173155456e-01 1.608917269168268493e-01 3.048667492191803330e-01 5.599401537727016764e-01 5.779501360842279611e-01 1.296714605309662316e-01 9.160752328055997706e-01 8.058674476110374574e-01 4.385508937505578908e-01 9.212419718012100356e-01 2.249887451242467140e-01 6.283927745352599903e-01 3.778992451536005159e-01 3.571958698867505611e-03 7.276526470528231760e-01 9.051678673805297892e-01 8.465837072484881931e-01 4.548317505393462135e-02 3.189318261926020748e-01 4.446388607398673587e-01 4.292356336344156365e-01 4.203980977718795309e-01 4.698059253071955599e-01 6.151991200848159203e-01 8.479986139404802614e-01 9.870993262459623052e-01 3.164206525899861955e-01 6.464672171639846976e-01 8.508781429592480183e-01 4.733667503354813677e-01 8.076014176740163863e-01 6.671443255679101458e-01 6.639213267047979761e-01 3.681688930741919830e-01 4.679870252651611162e-01 1.790041740686979521e-01 8.446070273663058847e-01 3.350737544979878191e-01 6.600272349677447359e-01 4.356083218487936115e-01 7.995134167346013010e-01 9.083660261041469619e-01 9.743975306734570241e-01 8.144839650654719376e-01 6.865011984586443239e-01 1.709747281999153268e-01 8.534933687161740945e-01 9.494753729726415070e-01 8.140124992294850426e-01 8.936241255316055287e-01 9.087976860818796077e-01 9.030687493451383663e-02 4.025785149840914734e-01 9.592005611533803711e-01
7
+ 5.714058727476275523e-01 7.913573761505965365e-02 9.301773447377043036e-01 4.302822433307075256e-01 4.618892554175407783e-01 1.882471300213742760e-01 6.231472878215863487e-01 2.350437450940777717e-01 8.483410480771292894e-01 8.580803842040533036e-01 4.246398783388435350e-01 5.667321565946502604e-01 7.247417018955526480e-02 5.373984417482219333e-01 8.794242091541510931e-01 9.699025554453030162e-01 8.254197752548814160e-01 7.739723972867470492e-01 6.365819416181199841e-01 3.451230687021222820e-02 1.829102490094791644e-02 9.179618383026147965e-01 4.481667270072077214e-01 4.771270250445739380e-01 1.588469404953456454e-01 3.766332499200618633e-01 5.057026248713025751e-02 9.125900914275182352e-01 8.438133644246305076e-01 3.282972411719701222e-01 6.042003956122835584e-01 7.423456085393266290e-01 1.389012737541106546e-02 3.674754266702850991e-02 2.126646727703802586e-01 3.085666164246750887e-01 4.303440338750976757e-01 1.749037978865556342e-01 2.177699993322510519e-01 6.675614739991906355e-01 1.926533336347433512e-01 8.032010572660308600e-01 4.611412981769049679e-01 9.907201268457492827e-01 8.973785930837320235e-01 6.286342392657409128e-01 8.111266245859546364e-01 1.154230969025437092e-01 8.382880466301794176e-01 1.053753927827069115e-01 9.921712862234919328e-01 9.041662667920956631e-01 3.626267376021269362e-01 2.262225368932846425e-02 8.669003741626111204e-01 7.597054897704164089e-01 4.700318514995387442e-01 4.338185014241978665e-01 1.205425463362067573e-01 2.413879270602589111e-01 5.483334840461459025e-01 2.042653841254596925e-01 5.452588940366013270e-01 3.164646091706100339e-01 1.878958248945691301e-01 2.188622304737641855e-01 2.970982599823450698e-01 5.952148400199362976e-01 9.614251220149501176e-01 5.446813400697393392e-01 5.900748097930779146e-01 2.653062526715309621e-01 5.459933097767216692e-01 3.174185404661935550e-01 1.412133354129242457e-01 1.487441669790685594e-01 3.953776242211952674e-01 5.274261039692862418e-01 1.756132307607755072e-01 4.481942852746899630e-01 6.390660088765629521e-01 2.860380430081067571e-01 5.866902519902850166e-03 3.026687645174785946e-02 1.952533570196290924e-01 2.154769096186736066e-01 8.920573593276575064e-01 5.644513191915436767e-01 5.551464696654353492e-01 4.378199413349500579e-01 8.685737643974280608e-01 7.493934764293597173e-02 9.556749726352036234e-01 6.386433482536227890e-01 8.714694524097754691e-02 1.722786161701279628e-01 6.526867532768643176e-01 8.950304705281527662e-01 6.158198776753203152e-01 9.587176904005377809e-01
8
+ 7.705718397401561948e-01 3.165816092999733655e-01 4.334200859975760878e-01 8.639807015515663657e-01 5.576514209532534849e-03 2.456745447057938625e-01 1.664686313299922338e-01 9.637084729617834133e-01 1.083448720752323569e-01 1.865218070380464388e-01 3.730358890475884426e-01 5.015351872138350542e-01 7.420710795841709562e-01 4.919420674769692248e-01 3.426558201886464872e-02 8.669984854934246199e-01 2.204243734202966376e-01 4.109792246853891662e-01 4.361732572946559472e-01 6.819306998053020763e-02 9.986304248057148447e-01 4.119289455392274313e-01 8.533050041845835487e-01 3.416914861912183632e-01 6.522191951039880697e-01 4.162803668786793088e-01 9.051674379917418189e-02 4.552378661306888397e-02 2.122677193466918633e-01 7.461518531655018105e-01 4.654688019259497489e-01 7.877564083548750373e-01 4.518328005682387127e-01 7.173857464237374248e-01 6.940056370290903498e-02 2.804574410412373764e-01 6.095681113112718652e-01 3.680596478602831123e-01 1.814569150719304025e-01 6.505055517979729807e-01 2.759585245701871026e-01 1.429501104786028431e-01 7.813891153083207808e-02 8.925314279991185540e-01 6.692056941902108091e-01 1.915141341107173822e-01 5.750233129581091562e-01 2.051961006251528108e-01 3.849013692629975614e-01 9.503788222043518807e-01 7.690419386411734282e-01 9.978147530014782607e-01 1.719584162437415298e-01 4.890758882401113894e-01 7.195660736040896399e-01 2.485818040997200828e-01 9.706486601870933928e-01 5.182604282071262558e-01 8.082072245463804983e-01 4.889961284821118248e-01 8.042893959057633158e-01 3.200685313413229593e-01 8.983245016887355661e-01 2.811495336955205371e-01 3.986095833814048417e-01 8.607229214132059436e-01 4.827620119717191960e-01 6.715610252037491623e-01 9.330824374137768329e-01 7.537710530085762750e-01 9.840804224010484269e-01 2.319352541177217564e-01 9.569114943157627229e-01 5.821928104654411351e-01 6.700479524814679788e-01 5.663434680086896211e-01 8.851091082101365526e-01 6.800562815862243315e-01 3.578475213752868589e-01 2.900164669281133367e-01 8.379170683569914235e-02 9.929972839740475177e-02 5.946248553621906741e-01 1.991332889320840405e-01 8.115065723822508792e-01 2.023388190440008616e-01 4.056545651129230823e-01 2.966825350250481552e-01 7.457176343507545546e-01 9.856015771246517954e-01 2.264338016147812160e-01 8.366528670045663141e-01 6.116829813603242849e-01 2.605933184296719274e-01 5.765962146558850643e-01 5.064075092266390188e-01 5.499615769589756287e-01 9.240234698632640020e-01 7.169900155229913530e-02 3.544181364560751168e-01
9
+ 8.154844535553099627e-01 4.797965609394789777e-01 7.476703385713100447e-01 9.086708404761600910e-01 3.191752505450355937e-01 7.611128630021511965e-01 6.246790343299296611e-01 1.942001426217137006e-01 2.789860414631386565e-01 3.236359785042408621e-02 3.178191288741717413e-01 8.372264298357038337e-01 8.872692914664047636e-01 9.589758852077276963e-01 3.123722260380168425e-01 8.980164015338999439e-01 7.260784140459818348e-01 6.567013512265649222e-01 1.028743505926521529e-01 6.821705410750319443e-01 6.889838995316139858e-01 5.587525493094736007e-02 6.921487028366646310e-01 3.616312929861494885e-01 1.673758008792780583e-01 6.626504595920326146e-01 9.125680913222075086e-01 1.424077784972291871e-01 6.508496429060767197e-01 6.615417385775157477e-01 9.654167310675311198e-01 5.536662974550183858e-01 7.092622144968085962e-03 6.694595400455760625e-01 1.828533619119211417e-01 3.421514408394116247e-01 1.242580151818144518e-01 9.888774797458224075e-01 9.777955172739735135e-01 4.271370765628749178e-01 1.211608384809655936e-01 1.580132417172936954e-01 3.242705395708289640e-01 3.268994391754735940e-01 5.213767653645562383e-03 4.475169480357120699e-01 9.593245219293577986e-01 6.994304536782350867e-01 7.063863152769014331e-01 8.381620829497931080e-01 2.760441799736219615e-01 3.755200946645842475e-01 3.627729621737311172e-01 9.518310606719182498e-01 3.577273025276901386e-01 3.991159901003488164e-01 4.187060513068554535e-01 7.422605403637314581e-01 6.697944269780702342e-01 6.020599837037767799e-01 1.571185850817550245e-01 7.519860911185742847e-01 6.635775704496444938e-01 9.487848173531471252e-01 7.900030232338028924e-01 4.143783957270819052e-01 5.618429740858444932e-01 3.737804619062014000e-01 6.179941187802344693e-01 6.553638605616040058e-01 1.009709416658691739e-01 4.935037098582963910e-01 5.485489972455533936e-01 1.024147956480448984e-01 1.195764707555347917e-01 4.910516327810896531e-01 3.551185778630389089e-01 3.857601645798814927e-01 2.074975219600547760e-01 2.084038664460790002e-01 5.268616653491025037e-01 6.948014877618717833e-01 6.179744044618615817e-01 7.063658085955483168e-01 7.925757227686872630e-01 6.199016959584816577e-01 1.163676037434490107e-01 7.425752264755586252e-01 5.403115665133301215e-01 2.546191951391015840e-01 6.961300925345208501e-01 4.003013072125547467e-01 5.906120962720950995e-02 5.879915846330325824e-01 1.213602408288709800e-01 3.801780679842765576e-01 1.731477742402802722e-01 4.624568816669496485e-01 3.304453744619206823e-01 8.810445876116090869e-02
10
+ 5.140190515373614932e-01 1.419225260054487459e-01 7.777845802285945354e-01 3.327562899409282071e-01 8.916875699762913943e-01 7.212852862736146564e-01 5.727327199433507321e-01 5.897820225918504189e-01 7.318614954542906892e-01 7.393985144455500480e-01 4.531340740296823100e-01 9.903061584426188224e-01 4.213350938331624773e-01 4.542342471963995987e-01 9.788786426453045530e-01 1.881707000343846303e-02 8.005433413647761176e-01 1.523502822273363755e-01 5.630164732287495921e-01 5.946603842470724599e-01 1.225547698678740582e-01 1.531136594724622491e-01 8.157973612638946825e-02 2.752046015644330490e-01 6.809045821946161370e-01 6.455289724528190387e-01 3.830356726830793646e-01 4.446144649678575034e-01 4.969038423960672191e-01 5.497873820641221432e-01 9.471879627821714331e-01 5.933046675329255448e-01 4.099233758501530378e-02 5.790409810134594659e-01 9.546095885251496549e-01 2.608616052375664074e-01 6.910160339170060562e-01 1.293709850476291168e-01 6.407264616302255078e-03 6.186037089828009261e-01 5.537861302543241049e-01 3.527421038298221845e-01 8.033232052121624944e-01 8.128114152830284711e-01 8.319982582278713235e-01 5.939566376046836460e-01 2.291090283499520597e-01 5.438101817725821130e-01 6.881146379117278888e-01 2.421968586304659166e-01 5.874047918543783275e-01 6.210102709484541794e-01 7.041387566450251212e-01 6.959223476278774134e-01 9.133877300988062498e-01 9.230647706207778525e-01 6.856884219815310155e-01 6.997988808693775820e-01 6.177944932528769417e-01 5.512902545683161515e-01 5.818280341729102911e-01 6.538267999985679646e-01 6.946673485935980219e-01 4.817938258357623571e-02 9.352008817207906333e-01 4.774162142215661042e-01 5.768063588692976529e-01 4.589648891483899540e-02 7.998946815651652997e-01 4.434260476954369201e-01 9.850053510925722566e-01 6.648626681529369309e-01 4.606293826856903140e-01 3.309042418210563774e-01 1.438901922508034614e-01 7.986559119276418484e-01 7.037818421334554042e-01 3.605119534240813772e-01 3.785959549258922641e-01 9.562491516841659100e-01 4.997955143590974147e-01 1.029540300938682762e-01 1.819017177001992502e-01 3.665425750262368831e-01 1.688063588370778412e-01 7.030735208313992901e-01 8.922375654244527610e-01 1.055706412056253152e-01 2.664739907746691561e-01 9.906029568647586325e-01 6.043845090140997911e-03 3.495786295043534775e-01 5.989441999519146131e-01 6.776147193866479679e-01 7.012991789852640601e-01 1.825838783477321536e-01 7.612293578749116385e-01 1.564769891240175292e-01 2.762157292905387251e-01 7.641900040015234818e-01
11
+ 4.746013333880729768e-01 7.609202966712714788e-01 2.537820854162747830e-01 1.709362234877408460e-01 1.886635378734374813e-01 2.439567014093724229e-02 7.640304718272151741e-01 3.483216170435471382e-01 7.744289278738043514e-01 4.190437573644867353e-01 5.319091476394965934e-02 8.580130976087452233e-01 6.259446446786639529e-01 8.793213970773006150e-01 2.441023074890465994e-01 7.753405549489799098e-01 8.760187573193888300e-01 5.946480724009295393e-02 2.873093046571124631e-01 8.710837851946537924e-01 9.103181731924696596e-01 6.534637257615111272e-01 4.128420398577182793e-01 4.905858108576378607e-01 6.178275806701372108e-02 6.368043900016381320e-01 2.865296941219959148e-01 6.371773028539067241e-01 4.924322796636745325e-01 1.709313290387282080e-01 1.856892551689268700e-01 9.592782603102242289e-01 5.402593764193130976e-02 7.287312244390512506e-01 5.679467572000697073e-01 6.255587794305905724e-02 3.069660218141317953e-01 1.089960430557104232e-01 5.550748245336984965e-01 2.555948886689661803e-01 4.140925514039996980e-01 1.180376445052062628e-01 8.832322629884041820e-01 7.784546946701487169e-02 3.177678935473182698e-01 6.681804863429485764e-02 7.047099396645268854e-01 4.133897376851528582e-01 5.600656990480865627e-01 3.883995683475501837e-01 4.459430113152932362e-01 4.214077227574740681e-01 4.763369230200156235e-01 2.701480661168440545e-01 4.296286564389811824e-01 9.601402258758658936e-01 6.326999441846863359e-01 2.442086919688498670e-01 8.407708423957936938e-01 3.626867985638081437e-01 3.641441713291436733e-01 7.932397565989488530e-01 8.902073520619256941e-01 1.929173010337000838e-01 7.309376779324568973e-01 7.305852858337777977e-01 6.510197444582447313e-01 9.512661608643838695e-01 8.461467164366111016e-01 9.245490147941206605e-01 2.658844813385705663e-01 9.538758859344749208e-01 8.215517204998477041e-01 8.217795540390903097e-01 7.569662091300560780e-01 6.262685322871274218e-01 5.597770510574888725e-01 8.155720175123675197e-01 8.545688745180864965e-01 8.986051518529034610e-01 2.477911506572628708e-01 8.462580108996445860e-01 6.065941220995090255e-01 6.500490804973033665e-01 1.120463882674053169e-01 9.299049132942927010e-02 1.388364074229719858e-02 5.901199124540731367e-01 2.795110110544174464e-02 1.644097083463245124e-01 5.341029647603202646e-01 5.276816677181681570e-01 5.439849107754858304e-01 5.371677986392331405e-02 4.515163125788429488e-01 5.036243367087100964e-01 5.721818679625961801e-01 5.271368612400184617e-03 7.720961020546839304e-01 9.015383457479009266e-01
12
+ 8.301526916287945701e-01 8.704609696144033348e-01 2.955689129581380303e-01 1.762209253489944727e-01 2.698172933050072553e-01 1.138095349991521399e-01 4.092588531860634760e-01 8.202978121681584467e-01 2.822241377079557356e-01 6.117376205659387223e-01 7.169923068016897938e-01 9.310256256264415331e-02 3.989664052931106708e-01 1.651874953308862803e-02 7.890202597932294282e-02 9.068686774810821305e-01 5.203866694486933842e-01 4.297748572844445336e-01 5.208786995443430712e-01 2.163224881365530816e-01 7.274307306357226111e-01 1.675784956180090823e-01 5.969822786565782691e-01 8.959750832846602453e-02 1.253794151891943764e-01 5.352628522116801291e-01 2.562706125890066300e-01 6.030433202137867044e-01 8.330717547440393833e-01 9.603613683422040914e-02 7.569714244468559450e-01 3.184801677796517128e-01 1.667069341164499896e-01 3.132470247801235619e-01 6.417752836394801097e-01 6.433909425912354152e-02 4.056860213146201710e-01 3.166772891331335327e-01 9.574059746098845247e-01 1.492907964460536974e-01 8.311513764927496162e-01 6.652928354977717396e-01 2.396804722185036374e-01 5.812361618600220270e-01 9.724228681350225445e-01 2.853983236378453414e-01 5.337719354896472979e-01 6.779446197712412081e-01 5.485102006140557540e-01 9.010109155962182648e-01 5.724439967467525037e-01 5.965540527411405947e-01 1.598667990086183321e-01 1.363934512727023041e-01 5.327536522697270405e-01 4.123866715061276222e-01 4.617251396918636841e-01 6.935944951381239898e-01 4.300337419593377453e-01 1.892407993760835128e-01 1.666936825594794724e-01 4.625634184864588772e-01 4.805197636774838355e-02 7.003542850133466224e-01 2.130226006716084974e-03 8.678863343041013367e-01 4.874478520451258623e-01 7.043560228741558848e-01 6.317719270475393722e-01 5.372392256296196766e-01 2.982649812986511995e-01 1.272558612133412037e-01 2.467337555730741983e-01 6.546893200021091097e-01 6.291921159383098150e-01 8.505920470407707379e-01 4.046520490181828578e-01 3.875732096593392795e-01 8.551517214319142024e-01 4.152602284179877090e-01 9.587779137989138611e-01 6.977437468944928112e-01 3.240620775541913634e-02 4.025873770391376061e-01 5.485549335619134270e-01 7.146066156157020455e-01 3.012702534568838519e-01 3.526414480395153594e-01 3.309707144485515284e-01 4.315687014460974913e-01 6.641934530697197747e-01 2.172886798352815507e-01 4.807480925564590057e-01 5.006795397998469177e-01 5.818100901154411586e-01 2.107716091585690732e-01 6.606606051140029301e-01 9.317629042790995797e-01 9.840326342340242061e-01 5.752000964817773898e-01
13
+ 9.843444595454536872e-01 1.339523968066913540e-02 6.082172659959028671e-03 7.828244785439336662e-01 5.069653703872761819e-01 2.804896494365415327e-01 2.112385836660957139e-02 6.016479440778699228e-02 7.457477935084961818e-01 3.445503949245375397e-01 4.063494277166557200e-01 8.630275274433116817e-01 5.948396018456146850e-01 1.400867933474212457e-01 6.997522422654076646e-01 5.766519767930851081e-01 5.419976500582250889e-01 7.474121304089603735e-01 2.951600193008566686e-01 7.980170422334191827e-01 1.829036799578199757e-01 6.317636496261300749e-01 2.812612231140887431e-02 5.464747656105657381e-01 3.909873503320924204e-01 4.940850205957293406e-01 8.157850130814222611e-01 5.111092739445756150e-01 9.336823640685747439e-01 7.157105167170837445e-01 7.778989455994214097e-01 1.398722535910470466e-01 5.642653936300449091e-01 3.218717164845980028e-01 9.717427501967056402e-01 3.665791984428700134e-01 3.874321311211759156e-02 9.437600858738082188e-02 5.679526822961932231e-01 5.141385991358327079e-01 7.497840799582222715e-02 5.736515309094968318e-01 1.928132849879083954e-01 6.924244068001785823e-01 1.748389677952593146e-01 4.469577663506929532e-01 1.738527450963387455e-01 7.195287763517190793e-01 8.861150811892871682e-01 1.058443750714600506e-01 1.941789362229970894e-01 9.188374820700584422e-02 7.706736301449305104e-01 6.718642548609364828e-01 5.981029087121966237e-01 4.832880127232569434e-01 3.073688779938709148e-01 5.156312334804930009e-01 1.777418420119527553e-01 8.885462205165685079e-01 4.486254681289014723e-02 1.345398129556140132e-01 7.467627984379916484e-01 4.384565546058830643e-01 7.217750080760946263e-01 3.949550352625393890e-01 4.307950907642028593e-01 6.087680934849041270e-01 3.294516167246774874e-01 1.316682090209408962e-01 1.824857738754404046e-01 5.332379826483617524e-01 3.567136182864261151e-02 1.976220743086236631e-01 5.849349042822560296e-01 1.133174406357483344e-01 7.711522754393199675e-01 8.557306786807005183e-01 3.038353471344266143e-01 4.422747047768413875e-01 2.537160404215925702e-01 2.372714099723788328e-01 5.906462765375103396e-01 4.849909323133470007e-01 2.692576210504484813e-01 4.540849506602829821e-01 9.664935719107857759e-01 2.044371576459835804e-01 4.505417469690352616e-01 7.110722322201217249e-01 3.051357995214963870e-01 8.978937034341526457e-01 6.090501112506481185e-01 6.595415779178889215e-01 6.565426836745864581e-01 6.565608489824376059e-01 2.679102664248229626e-01 3.819533138204529443e-01 6.609794961162380744e-01 2.289558446859882856e-01
14
+ 9.274935298374649140e-01 1.174096651033715855e-01 3.030761852629033637e-01 1.605508209527917174e-01 9.601854834873225775e-01 4.341959513718630648e-01 6.320768160802121560e-01 4.213429090614078110e-01 3.695553969042019160e-01 5.965457437116089556e-01 3.520335041155040479e-01 7.702703502247409961e-01 8.571112772962534709e-01 7.904077282532658844e-01 2.247339318352784554e-01 6.823720204503556097e-01 5.883435710582129996e-02 6.786037033312407596e-01 9.721137137641507886e-01 2.042576970668320557e-01 8.394085754806240862e-01 7.433082729552867862e-01 4.072614159870893147e-01 7.451483066617257123e-01 1.699472962789440045e-01 1.753052015584344314e-01 2.255269204788400428e-01 7.794755643807432799e-01 8.407732260470973662e-01 9.301182862857163558e-01 3.701995309382508648e-01 4.481909027604019657e-01 1.261889085033987001e-01 5.600591735875248833e-01 8.244692493969552061e-01 8.969188061645969601e-01 4.802217973423368313e-01 3.556164122713412201e-02 3.393317823164623270e-01 2.491242957582864292e-01 9.863253789366602797e-01 5.585415885291432625e-01 3.702350606362231344e-01 6.766101432620400535e-01 6.999259389475386284e-01 6.676108316872160220e-01 7.870681827507105544e-01 8.746765411259082024e-01 9.125268371282718727e-01 6.638849997061806452e-01 3.253268113800632522e-01 7.968625619248901337e-01 7.584122525443606211e-01 9.028886850768532701e-01 5.381622293189292083e-02 8.097562873320752752e-01 7.092942088208666895e-01 9.915538877968065323e-01 4.319294903327922652e-01 4.307127933969153721e-01 2.768507739641907772e-01 8.076253078288621046e-01 2.569233696442670967e-01 7.595893829724666979e-01 5.768081727897018673e-01 2.537536777625452045e-01 8.874419624636734616e-01 5.091705681832693342e-01 4.811826624992353585e-01 2.794462461940371290e-01 3.846927898276129021e-01 5.129562951959991679e-01 8.515004062224775794e-01 7.103144978683579858e-01 9.526388607201888847e-01 2.367905569592337889e-01 9.137336039323161740e-01 5.722969943101696710e-02 2.019723935481291255e-01 3.098764675203513619e-02 1.121146613918624357e-01 9.937693067724532314e-01 8.476717958861412772e-02 2.059652110343795917e-01 2.139791918759540446e-01 9.137860316709250919e-01 9.530862653366889425e-03 2.027843281683039400e-03 2.506229951837134484e-01 6.244523528392044165e-01 5.523937894075592325e-01 3.712168074031840792e-01 4.218847794299319665e-01 4.827576239387890711e-01 5.244634168840578425e-01 5.182241092381567604e-01 3.308639956263292881e-03 9.370528021570383448e-01 4.694554875029453012e-01 4.950447554541728135e-01
15
+ 1.525818111800841814e-01 4.708012184002630107e-02 3.899035965341954846e-01 3.928304521031263929e-01 5.602286661727436945e-01 9.738256658043862313e-01 9.404465779766183475e-01 5.750862754958349088e-01 9.547546956257608741e-01 2.750275291553152535e-01 1.682773435862793265e-01 5.865928471016079726e-04 8.543378154943809255e-01 3.547649971465383079e-01 5.058056647397523031e-01 9.116332486700751137e-02 7.534666421106954726e-01 3.082429494433007733e-01 4.527145111847344916e-01 5.456680635225539255e-01 2.504131242494785914e-01 2.509240770568589296e-01 3.949236999582302898e-01 8.782959620323271821e-03 2.474641132111736752e-01 8.229417958971670943e-01 3.444225768479134420e-01 4.000027489436257522e-01 4.247741954177396417e-01 2.497745404169693373e-02 4.325768602588443423e-01 7.336592463477830117e-01 7.667663267650381975e-02 4.179022553581047683e-01 8.745172741480690126e-01 9.417705509525042817e-02 2.807522782799587446e-01 8.212710101351362590e-01 2.211181944001613386e-01 4.319929503523877168e-01 1.858636923768219873e-02 6.737037795085246694e-01 7.997187114913413275e-01 2.976552505976116647e-01 3.272347030789168887e-01 5.550935453236346406e-01 9.224109746648162522e-01 3.192827922106745708e-01 3.500098324549234530e-01 7.821988386980260888e-01 4.478417135239194380e-01 1.580956175222456572e-01 5.300807813550156844e-01 5.806154798468634581e-01 9.456842911054151868e-01 7.688127895655872956e-01 8.456527833650537840e-01 1.784229089865225770e-01 8.114517450321339087e-01 8.062506298824222428e-01 2.113482500442499523e-01 2.629226789210241666e-01 6.478686221690072022e-01 6.006672861605766300e-02 7.013679843242253131e-01 8.784753961212666828e-01 3.487138165323044880e-02 4.928426758517070461e-01 5.976224683315064512e-01 7.629063997052759616e-01 2.761721278953045422e-01 7.240740503283805696e-01 6.131065729985127888e-01 1.630885615792579957e-01 8.473783868551159060e-01 8.347614542399306448e-02 8.137265626844719657e-01 8.512508664918938539e-01 2.777097816703766320e-01 1.729154355214796990e-01 2.203382750835449766e-01 6.134780912629795857e-01 3.524352564238901753e-01 5.370314860129862256e-01 8.013986113284543578e-02 2.555842138998117852e-01 6.553915758947851389e-01 9.679125599178584061e-01 2.549566319678178150e-01 4.008180804370896633e-01 9.145789951670967310e-01 2.787926039163850511e-01 8.599455912576436933e-02 9.637558000691170967e-02 8.274101203974880692e-01 1.803747268179315411e-01 2.175735407836230095e-01 7.825994939720237742e-01 7.928519890958951599e-02 8.707949373106749213e-01
16
+ 6.398420210047787160e-01 5.739624494012524059e-01 3.359672805578653998e-01 1.130399363175038641e-02 3.349439685346782269e-01 2.315484030880912147e-01 4.575228302577399875e-01 1.149494135594463229e-01 2.888244352925943836e-01 3.625470995156252485e-01 3.795973190611611203e-01 6.567047810450010736e-01 1.484039742710284715e-01 9.273251916560719676e-01 4.334256728976307871e-01 6.734771102219323513e-01 9.125080197222198430e-01 4.974393931097168542e-01 8.301481563280355136e-01 4.526450714147856047e-01 2.414236092573898151e-01 8.070129698367667359e-02 7.260400697427102923e-01 1.396509691839398215e-02 2.496450588391967429e-01 4.335741205447194435e-01 3.089314419194891803e-01 9.543503534526003307e-01 5.457977547458532364e-01 3.139663643587058406e-01 5.034762326753475792e-01 4.756788330475764104e-01 6.849334942793482428e-01 3.880666613022351052e-01 6.483446580176778218e-01 5.217503801099343530e-01 5.371145824070304720e-01 3.121260159429154468e-01 8.314121854062171968e-01 4.538695969561833410e-01 8.598896961203845724e-01 9.961993522734106099e-01 8.865717795946430613e-01 7.828987966783660379e-01 3.412415531643435695e-01 7.421170530151157685e-01 4.484104178639959359e-01 6.793217012099640462e-01 3.756179958191659951e-01 7.821287098222597933e-01 6.227726265188193722e-02 8.552983413221663112e-01 4.824668768009222619e-01 2.241531065858231031e-01 4.939536577599041856e-01 5.129566641128722182e-01 1.057984177672518511e-01 9.541452507300716146e-01 3.396646181755047511e-01 7.452588103611947901e-01 5.315559265659929311e-01 5.493475179850665358e-01 5.214824278139198466e-01 5.150075718147916204e-01 1.196075368500321146e-01 9.035665331176232495e-01 7.522653903639873185e-01 6.638708679914825384e-01 5.584174553800479446e-01 5.015819402508836511e-01 5.507698483308445248e-01 5.978677577011723976e-01 8.450418028759657529e-01 3.266677322748618995e-01 1.321610045897971819e-01 2.394354042746985600e-01 2.723972163557076831e-01 5.523301747352814539e-01 5.518043850608547185e-01 5.283968096837132755e-02 8.192733312104071297e-01 2.277106024970321219e-02 1.414998099027269252e-01 6.517281615256080851e-01 1.811694734825117781e-01 9.472370614713256920e-01 5.454497319021770485e-01 1.364119913158231556e-01 8.446142008509562871e-01 7.671725984742419069e-01 2.461161648406858804e-01 1.421724627107351369e-01 6.290652581179481118e-01 7.094144689448004248e-01 4.419656923472803367e-02 6.614741876652251440e-01 8.712193265403500586e-02 4.734931280852430202e-01 5.382037050480286133e-01 1.396459758005891283e-01
17
+ 9.709329844415439670e-01 8.998575745276288229e-01 9.151313462895852568e-01 6.920489275523904471e-01 2.892231405199537919e-01 6.750679746268205550e-01 5.515642485826798280e-01 1.065253097812824956e-01 2.957026803465776510e-01 8.937347659632134400e-01 9.800016515925590310e-01 7.745900896182087436e-01 1.570977683146633774e-01 1.482028765821026273e-01 2.111147779712029271e-01 9.683759902485811200e-01 6.550951580826911425e-01 8.728324682592377703e-01 5.044803166579884257e-01 8.285704754811143991e-01 1.693574499337324735e-02 6.032669995180495182e-02 1.687026879086964692e-01 7.701554026145973619e-01 1.429888016593102718e-01 5.881172815379975827e-02 9.704206919487038396e-01 4.450807650730836951e-01 1.597445784258376689e-01 9.849229394397314152e-01 4.220083573536804744e-01 9.357693600374825671e-01 2.313199262338369033e-01 4.556443403861323294e-01 2.590791012828855822e-01 8.438664994487065085e-01 5.519045677502344427e-01 4.702170125676508050e-01 6.814723205638187897e-01 7.418295483665861001e-01 3.684921032028853904e-01 1.501895844844561845e-01 4.214513377519605308e-01 8.600279963652578408e-01 6.625616611189292238e-01 5.200151456470966105e-01 7.881072743086801058e-01 2.771703241081423519e-01 9.034135930616548071e-01 5.848441705791300738e-01 8.341698181274771473e-01 1.966638677318299777e-01 7.059747894371543042e-01 7.013854316067694716e-01 1.828430942760242983e-01 4.745548949934464966e-01 6.306422394641082452e-01 7.760751707194470939e-01 9.813187212598396547e-01 2.293595795266353266e-01 7.749261876107090830e-01 2.384106107787011819e-01 9.721209688979495223e-01 2.715569353686980714e-01 2.915573577694993146e-01 3.579601509630966349e-01 3.085697512342830962e-01 4.070219981627976047e-01 1.989632411372218579e-01 7.330003339460906542e-01 5.397259604481572381e-01 6.931009942216573849e-01 1.385457419653816080e-01 1.140339999976658358e-01 3.980752590866034613e-01 9.471822621683767540e-01 5.476643721405823895e-01 6.824131903515884279e-02 5.844099130744569992e-01 2.346881692012994236e-01 9.436439228519653000e-01 4.855518260479008141e-02 8.157036123302675579e-01 1.169761256455048581e-01 5.532962903488753970e-01 1.100965596251435308e-01 9.789490602992410029e-01 8.433487462016989733e-01 1.272410782852178013e-01 2.885715258680641160e-01 7.990943955388217779e-01 1.565305358979097727e-01 9.160846960406943129e-02 8.521842244411678147e-01 4.474243106736998099e-01 3.843945818845087015e-01 4.710645906071458944e-01 2.398348154123419729e-01 6.435351435258193087e-01 7.656897921129046658e-01
18
+ 4.894328120406804539e-01 7.881019629214267574e-01 6.974585354155089512e-01 2.023858939857701156e-01 1.660984914264745926e-01 4.854517801734643534e-01 2.789848572630315715e-01 2.311636522410289718e-01 9.821076233980715608e-01 1.220641257408076052e-01 2.614036146663852866e-01 7.657560715165320220e-01 3.968360577545695378e-01 4.566023622802184434e-02 1.049701948619241598e-02 9.281162949127452766e-01 4.490137965769909201e-01 2.095846458383606725e-01 9.195504656719085679e-01 9.683515436855471004e-01 9.800174878114910060e-01 5.517610861380117804e-01 6.711570559348770670e-01 5.125258050287277989e-01 2.105581493613526423e-01 8.281813206544574868e-01 4.964783994807770995e-01 7.284974208756571645e-01 1.320629592816270348e-01 6.652194518096135045e-01 9.430156297917950958e-01 7.477263137894260003e-01 2.054087806450300979e-01 4.248209124837907247e-01 7.657518666018259257e-02 1.031614100713345028e-01 4.122242287567021712e-01 4.919658859336810686e-01 3.752650167259050651e-01 4.175771429986683270e-01 6.131376293448997927e-01 5.463797405837259591e-01 3.119918548921774004e-01 6.331762507678504459e-01 5.484632429281035559e-01 6.815448032785871302e-01 8.065695507425107991e-02 8.720129122297424207e-01 8.318188557125294480e-03 2.199323537180564170e-02 8.933872719887463454e-01 1.953120287872067706e-02 2.478721941404590234e-01 5.994061179859005994e-01 6.588362611693047155e-01 6.332808851020984564e-01 3.823849348043323326e-01 5.111091324899629251e-01 7.034808459110406531e-01 4.347681568463539481e-01 4.316973576672314961e-01 9.620411080123215664e-01 6.247837467655984467e-01 8.196961678222113301e-01 5.574601810887074294e-01 8.800635018469276094e-01 8.772255241161972528e-01 5.075275933138404527e-01 8.022583187266906224e-01 2.320670802521890286e-01 1.165626629103270195e-01 4.623759662685936744e-01 7.938327000737943617e-02 7.986374689793115378e-01 6.728842751465858862e-01 8.133909095059230765e-01 1.202639390769081329e-01 1.052937257108800262e-01 8.717600467040409473e-02 2.163819956545051104e-01 6.596483385763984852e-01 1.202843170392309258e-02 1.538789195854695091e-01 3.120247727263308901e-01 3.408168327248596308e-01 3.241861797851740556e-01 3.637074533655986208e-01 1.533669345890729119e-01 4.455921334699539660e-01 5.619140093874478437e-01 1.881731359879111887e-01 9.416670800570559052e-01 1.740018593664415247e-01 7.030242331869680505e-01 5.922055553954849172e-01 9.326211623391688077e-01 6.608322881013140027e-01 7.009721551241574478e-01 1.079126054675583202e-01 6.158176671761947940e-01
19
+ 5.185079639625639336e-01 9.613742991518259284e-01 5.555312825626229634e-01 2.647628827924735084e-01 6.003697207460141350e-01 5.392112376769145898e-01 6.781186965667050925e-01 9.908971748181496508e-01 4.124155872095397468e-01 9.814941401724619485e-02 2.684237785531295994e-02 1.774652505962848181e-01 1.707589529595294753e-01 4.640932098465534450e-01 2.882179883914587348e-01 7.276822905806898945e-01 6.145789546745269449e-01 1.100959863917608805e-01 6.798859723042820491e-01 9.096984032948918220e-01 3.971368455178179158e-01 2.959494950971321980e-01 3.742088799298171065e-02 1.960739526210202310e-01 7.536102695342027369e-01 6.680915510628401277e-01 4.136507204312135366e-01 3.613996339406737590e-01 3.605422038261204554e-01 7.098503555159476619e-01 8.093719147087541366e-01 6.344097009128880638e-01 3.990082448083617228e-01 2.805918009906902544e-01 7.078488167363675698e-01 9.969917259866583059e-01 9.442054998992396309e-01 1.329075240769165278e-01 6.810681350588387861e-02 8.503491437913293094e-01 8.347117439165431252e-01 2.381858201903953587e-01 7.884260706938626129e-01 7.109907917419661105e-01 6.390916681983604963e-02 6.174365227062991179e-01 5.085733343630816083e-01 1.716846139694149231e-01 9.065664924270055991e-02 5.625330757196970177e-01 3.539663480209681579e-01 8.937139525947165319e-01 3.981380511900556307e-02 7.403597927449541150e-01 3.803872284089604427e-02 6.729519695709765825e-01 5.306080908840085097e-01 2.091237680402112664e-01 5.902903662907804661e-01 2.094778612095482551e-01 7.323447855684165342e-01 3.644574495843493356e-01 2.006215478057034041e-01 3.737617545555030896e-01 5.253471759602216240e-01 4.287889547869583318e-01 7.086098806190446187e-01 4.510792335515292351e-01 6.383187180169215269e-01 8.779355722397681472e-01 4.221338898667141848e-01 6.375840144651815367e-01 8.683057298299173832e-01 6.093730356952498095e-01 9.297141161056151626e-01 7.770838342807246946e-01 6.549661287008456956e-02 2.835060738158660110e-01 4.474138867374952699e-01 8.530336387421445510e-01 3.160209657891883683e-01 8.301538680518486535e-01 6.646903097549101691e-01 7.187130118106234145e-01 1.651862041735395747e-01 9.578252676762609719e-01 6.490273812885494209e-02 9.777273484666341163e-01 8.930729829254262508e-01 9.851054752118463265e-01 4.094323402286751401e-01 1.139176240124337713e-01 7.612865863899589414e-01 2.266379302491570158e-01 6.998882496157835531e-01 9.945043379099228753e-01 7.111578056749194854e-01 7.806190603886183910e-01 3.410170920712443099e-01 9.446084168886822452e-01
20
+ 5.015172758330755931e-01 5.569527971282052237e-01 1.122406928736449094e-01 8.960352822124777461e-01 6.049568585854003810e-02 1.202196001338627918e-01 1.870314295763603196e-01 9.017590029396971296e-01 3.597904628087450485e-01 2.130941062746317671e-01 2.556281834629479111e-01 5.123669364829196438e-01 4.754061129282013409e-01 9.764470380372083369e-01 8.038663983900646848e-01 6.960491266420890666e-01 2.940135977911654264e-01 2.857282759910040326e-03 4.599343225832352999e-02 5.597554495210212977e-01 7.445266674304001908e-01 3.387528030535971180e-01 6.429542922125383031e-01 2.123331785532429627e-01 5.302332654117811739e-01 7.262555377662539557e-01 3.982425859900724507e-01 3.243388301740235402e-01 6.191064123738921898e-01 8.988047781373914580e-01 7.819700328765150088e-01 7.664269102804815992e-01 6.734095355422575757e-03 2.904762329148526945e-01 5.097537644843168625e-01 9.524734606001823423e-01 4.812869576591960463e-01 6.236868013640477493e-01 1.459170943214320726e-01 9.874505139403206844e-01 7.561708982837871407e-01 3.798591332432484924e-01 6.056633451375117438e-01 7.935708170258731764e-01 1.458141583518740569e-01 7.082511296391911237e-01 1.098798009731616343e-02 3.655618484905173160e-01 9.551862303858617009e-01 8.148959351152762487e-02 4.739306219219985294e-02 7.963357515359494876e-01 6.208332695202813944e-01 3.884182264923189409e-01 4.589167647950288531e-01 6.496652974138312775e-01 2.467528128074852889e-01 5.309593064844935206e-01 5.364606369543487574e-01 2.421352989851309756e-01 3.776834556696828660e-02 1.564861233558080267e-01 5.197231021782636740e-01 8.725375120634637494e-01 2.441225493455024820e-01 2.320363366041028330e-01 5.026358683423555185e-01 7.035766000474735771e-01 8.347805591467084563e-01 2.303229841813967393e-01 6.908373419683054850e-01 2.646662377366995056e-01 1.259467197942290007e-01 9.372770922994989595e-01 6.674216272867254940e-01 1.027944489143072238e-01 5.686267290346079806e-01 3.948222804451942958e-01 4.689706944496729868e-01 4.446117700449114807e-02 6.817992275557515081e-01 9.084821829413957106e-01 9.184021015315092518e-01 3.045815734169987632e-01 2.204958624923980537e-03 7.542672057172502553e-01 9.460844786545006269e-01 3.373139094575949848e-02 9.059565314915285494e-01 9.938525461318854504e-01 2.542072661725306437e-01 9.685734112479216229e-02 8.223629541824816203e-01 1.057429056898460118e-01 8.080679390260248063e-01 5.823014244609205914e-01 6.413551528031806725e-01 1.787341975438894170e-01 1.250471413912357388e-01 8.390281297596062782e-01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-euclidean-ml-iris.txt ADDED
The diff for this file is too large to render. See raw diff
 
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-euclidean-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 4.0515260e+00 4.2121458e+00 3.7357405e+00 4.2313317e+00 3.9136009e+00 4.3843298e+00 3.9811426e+00 4.3624182e+00 4.0642508e+00 4.2105933e+00 4.0747226e+00 3.9068586e+00 4.1637004e+00 4.4303203e+00 4.1841564e+00 4.1063279e+00 4.1862390e+00 4.0719925e+00 4.2227579e+00 4.3173531e+00 3.8811067e+00 3.7577567e+00 4.0623722e+00 3.9882453e+00 4.0432671e+00 3.9085109e+00 4.0283414e+00 4.0846110e+00 3.6459235e+00 3.9544001e+00 4.1134244e+00 4.1805752e+00 3.5121011e+00 4.2747789e+00 4.1048323e+00 3.9269426e+00 3.8932032e+00 3.8281172e+00 3.7288430e+00 4.0863477e+00 4.1527428e+00 4.1646409e+00 4.2027433e+00 3.8441594e+00 4.8419117e+00 4.2455384e+00 3.7622220e+00 4.3967923e+00 4.4663183e+00 4.0435853e+00 4.0421692e+00 4.3124625e+00 4.6499961e+00 4.5595743e+00 3.4230430e+00 4.2612266e+00 3.5676603e+00 4.0866580e+00 4.2307103e+00 3.8521940e+00 3.9951183e+00 3.1022409e+00 3.7290193e+00 4.1931517e+00 4.1127027e+00 3.6633651e+00 4.0235815e+00 3.9729858e+00 4.1980132e+00 4.1579993e+00 3.9948955e+00 3.9081966e+00 3.9031152e+00 3.5069036e+00 4.0015727e+00 3.6763496e+00 3.6614339e+00 3.6227109e+00 3.7357992e+00 4.0170026e+00 3.5216829e+00 3.9322227e+00 3.9094621e+00 4.0170286e+00 4.3264246e+00 4.3435483e+00 4.0788635e+00 4.4761765e+00 3.8468186e+00 4.1490333e+00 4.2800007e+00 4.2260191e+00 4.3031858e+00 4.1897413e+00 4.0530244e+00 3.5893641e+00 4.2186615e+00 3.7979503e+00 4.0915473e+00 4.1343073e+00 4.5063851e+00 3.6394889e+00 4.2508448e+00 3.7160826e+00 4.0105262e+00 4.1578269e+00 4.0290590e+00 3.6971819e+00 3.9414087e+00 4.2522313e+00 4.4091714e+00 4.1542292e+00 3.9594691e+00 4.0923600e+00 4.0855497e+00 3.8253075e+00 4.3034717e+00 4.0976731e+00 4.1316523e+00 4.0872717e+00 4.2643353e+00 3.8887280e+00 3.9411273e+00 3.8848001e+00 4.3481996e+00 3.8716733e+00 3.9084684e+00 3.7546361e+00 3.9354816e+00 3.8293694e+00 3.7568515e+00 3.7184961e+00 3.8404278e+00 4.2570811e+00 4.1423777e+00 4.0291411e+00 4.2094682e+00 3.6127418e+00 4.0459839e+00 3.7737985e+00 3.7647653e+00 3.9762006e+00 3.8999512e+00 3.8509090e+00 3.8975941e+00 3.8432839e+00 4.2109046e+00 4.1339124e+00 3.5898873e+00 4.0794519e+00 4.3504966e+00 3.8862612e+00 3.8332931e+00 4.2190310e+00 4.1366595e+00 3.7220268e+00 4.1250795e+00 3.3169452e+00 4.0757181e+00 3.6487114e+00 3.9513724e+00 4.0735549e+00 3.9137880e+00 3.9656942e+00 3.7724953e+00 4.0505153e+00 3.9062302e+00 4.5671852e+00 3.7542175e+00 4.3731708e+00 3.6733907e+00 4.4667545e+00 4.1004635e+00 4.0530038e+00 4.0346958e+00 4.2145752e+00 4.4298637e+00 4.2982360e+00 4.0878239e+00 4.4061563e+00 4.2115971e+00 3.8263277e+00 3.8603258e+00 3.8572375e+00 4.1051910e+00 4.3787786e+00 4.5309659e+00 4.0047055e+00 4.1308854e+00 3.6283561e+00
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-hamming-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 4.6000000e-01 4.3000000e-01 4.3000000e-01 5.4000000e-01 4.1000000e-01 5.3000000e-01 4.3000000e-01 5.9000000e-01 4.8000000e-01 4.7000000e-01 4.6000000e-01 4.9000000e-01 4.5000000e-01 5.5000000e-01 5.3000000e-01 4.5000000e-01 4.8000000e-01 4.7000000e-01 4.8000000e-01 5.1000000e-01 4.9000000e-01 4.4000000e-01 4.9000000e-01 4.7000000e-01 4.9000000e-01 4.7000000e-01 5.2000000e-01 4.7000000e-01 4.2000000e-01 4.9000000e-01 4.7000000e-01 5.5000000e-01 3.9000000e-01 5.5000000e-01 4.6000000e-01 4.5000000e-01 4.0000000e-01 4.8000000e-01 4.5000000e-01 4.8000000e-01 4.8000000e-01 5.0000000e-01 4.8000000e-01 4.5000000e-01 6.4000000e-01 5.7000000e-01 4.6000000e-01 5.4000000e-01 5.6000000e-01 4.8000000e-01 4.8000000e-01 5.3000000e-01 5.4000000e-01 5.3000000e-01 4.5000000e-01 5.8000000e-01 4.2000000e-01 5.4000000e-01 6.0000000e-01 5.1000000e-01 4.6000000e-01 4.1000000e-01 4.4000000e-01 5.6000000e-01 5.4000000e-01 4.8000000e-01 4.8000000e-01 5.1000000e-01 5.2000000e-01 5.5000000e-01 4.5000000e-01 4.3000000e-01 4.7000000e-01 4.7000000e-01 5.6000000e-01 4.9000000e-01 4.8000000e-01 4.5000000e-01 4.9000000e-01 4.7000000e-01 4.5000000e-01 4.5000000e-01 5.6000000e-01 4.9000000e-01 5.8000000e-01 5.4000000e-01 4.6000000e-01 5.8000000e-01 5.3000000e-01 5.4000000e-01 5.5000000e-01 5.0000000e-01 5.2000000e-01 4.8000000e-01 5.0000000e-01 3.8000000e-01 5.3000000e-01 4.8000000e-01 5.1000000e-01 4.8000000e-01 5.2000000e-01 4.7000000e-01 5.0000000e-01 4.3000000e-01 4.8000000e-01 5.2000000e-01 5.0000000e-01 4.2000000e-01 4.2000000e-01 4.7000000e-01 5.4000000e-01 5.1000000e-01 5.4000000e-01 5.1000000e-01 4.8000000e-01 4.7000000e-01 5.2000000e-01 5.2000000e-01 5.4000000e-01 5.4000000e-01 5.0000000e-01 4.5000000e-01 4.4000000e-01 4.1000000e-01 5.7000000e-01 4.6000000e-01 5.1000000e-01 5.2000000e-01 5.0000000e-01 4.8000000e-01 5.0000000e-01 4.4000000e-01 5.3000000e-01 5.2000000e-01 4.9000000e-01 5.7000000e-01 5.8000000e-01 4.9000000e-01 5.1000000e-01 4.5000000e-01 5.3000000e-01 4.5000000e-01 4.4000000e-01 3.5000000e-01 4.2000000e-01 5.3000000e-01 5.2000000e-01 5.0000000e-01 3.8000000e-01 5.2000000e-01 5.6000000e-01 4.7000000e-01 4.4000000e-01 5.1000000e-01 5.7000000e-01 4.5000000e-01 5.7000000e-01 4.3000000e-01 5.1000000e-01 3.8000000e-01 5.3000000e-01 4.8000000e-01 4.4000000e-01 5.0000000e-01 4.8000000e-01 5.0000000e-01 4.7000000e-01 6.4000000e-01 4.9000000e-01 5.2000000e-01 4.8000000e-01 5.6000000e-01 4.3000000e-01 4.8000000e-01 4.7000000e-01 6.0000000e-01 5.4000000e-01 5.5000000e-01 4.0000000e-01 5.5000000e-01 5.6000000e-01 4.9000000e-01 5.0000000e-01 4.3000000e-01 5.7000000e-01 5.0000000e-01 5.7000000e-01 4.9000000e-01 4.2000000e-01 3.9000000e-01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-jaccard-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 6.5714286e-01 6.0563380e-01 6.3235294e-01 7.3972603e-01 6.0294118e-01 7.3611111e-01 6.4179104e-01 7.7631579e-01 6.4000000e-01 6.6197183e-01 6.6666667e-01 7.0000000e-01 6.4285714e-01 7.7464789e-01 7.1621622e-01 6.4285714e-01 6.8571429e-01 6.4383562e-01 6.6666667e-01 6.5384615e-01 6.6216216e-01 6.1971831e-01 6.5333333e-01 6.5277778e-01 6.7123288e-01 6.4383562e-01 6.5000000e-01 6.3513514e-01 6.0000000e-01 6.7123288e-01 6.3513514e-01 7.4324324e-01 5.5714286e-01 7.0512821e-01 6.3888889e-01 6.0000000e-01 5.6338028e-01 6.3157895e-01 6.0810811e-01 6.2337662e-01 6.4000000e-01 6.5789474e-01 6.3157895e-01 5.6962025e-01 7.5294118e-01 7.1250000e-01 6.2162162e-01 6.7500000e-01 7.2727273e-01 6.2337662e-01 6.2337662e-01 6.7948718e-01 6.5853659e-01 6.6250000e-01 6.3380282e-01 7.3417722e-01 6.0869565e-01 7.2000000e-01 7.5949367e-01 6.4556962e-01 6.3013699e-01 5.9420290e-01 6.2857143e-01 7.1794872e-01 7.3972603e-01 6.4864865e-01 6.4864865e-01 6.8918919e-01 6.6666667e-01 7.0512821e-01 6.2500000e-01 6.2318841e-01 6.6197183e-01 6.5277778e-01 6.9135802e-01 6.6216216e-01 6.6666667e-01 6.4285714e-01 6.6216216e-01 6.8115942e-01 6.2500000e-01 6.2500000e-01 7.3684211e-01 6.4473684e-01 7.3417722e-01 7.1052632e-01 6.3888889e-01 7.3417722e-01 6.5432099e-01 6.9230769e-01 7.1428571e-01 6.7567568e-01 6.7532468e-01 6.7605634e-01 6.5789474e-01 5.4285714e-01 6.9736842e-01 6.2337662e-01 6.6233766e-01 6.7605634e-01 7.0270270e-01 6.1842105e-01 6.7567568e-01 6.2318841e-01 6.7605634e-01 6.9333333e-01 7.1428571e-01 6.0000000e-01 6.0000000e-01 6.6197183e-01 6.9230769e-01 6.8000000e-01 7.2000000e-01 6.5384615e-01 6.5753425e-01 6.6197183e-01 7.1232877e-01 6.9333333e-01 7.5000000e-01 7.1052632e-01 6.7567568e-01 6.4285714e-01 6.0273973e-01 5.8571429e-01 6.9512195e-01 6.3013699e-01 6.8918919e-01 7.0270270e-01 6.6666667e-01 6.8571429e-01 6.6666667e-01 6.1111111e-01 7.0666667e-01 6.6666667e-01 6.5333333e-01 6.8674699e-01 7.0731707e-01 6.3636364e-01 6.3750000e-01 6.1643836e-01 6.5432099e-01 5.8441558e-01 5.8666667e-01 4.7297297e-01 5.5263158e-01 6.9736842e-01 6.9333333e-01 6.5789474e-01 5.7575758e-01 6.7532468e-01 7.0886076e-01 6.4383562e-01 5.8666667e-01 6.6233766e-01 7.5000000e-01 6.2500000e-01 7.7027027e-01 6.0563380e-01 6.8000000e-01 5.6716418e-01 6.7948718e-01 6.4864865e-01 6.1971831e-01 7.1428571e-01 6.5753425e-01 6.7567568e-01 6.6197183e-01 7.7108434e-01 6.6216216e-01 7.1232877e-01 6.4000000e-01 7.0886076e-01 6.0563380e-01 6.2337662e-01 6.2666667e-01 7.7922078e-01 7.2972973e-01 7.5342466e-01 5.7971014e-01 7.3333333e-01 7.0886076e-01 6.6216216e-01 6.4102564e-01 5.8904110e-01 7.3076923e-01 6.4102564e-01 7.1250000e-01 6.4473684e-01 5.9154930e-01 5.3424658e-01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-jensenshannon-ml-iris.txt ADDED
The diff for this file is too large to render. See raw diff
 
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-minkowski-3.2-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 2.0215050e+00 2.0988154e+00 1.8614681e+00 2.0510161e+00 1.9210911e+00 2.1323516e+00 1.9565454e+00 2.1029889e+00 1.9617871e+00 2.0544792e+00 2.0357408e+00 1.8811414e+00 2.0694693e+00 2.1245977e+00 2.0632165e+00 2.0452823e+00 2.0249330e+00 1.9635489e+00 2.0508580e+00 2.0838578e+00 1.9324052e+00 1.8224609e+00 1.9795343e+00 1.9536534e+00 1.9694910e+00 1.9075569e+00 1.9590397e+00 2.0022087e+00 1.8814000e+00 1.8884208e+00 1.9961121e+00 2.0215351e+00 1.7515769e+00 2.0756437e+00 2.0109476e+00 1.9234849e+00 1.9160076e+00 1.8550862e+00 1.7733640e+00 2.0071906e+00 2.0209542e+00 2.0616569e+00 2.0565503e+00 1.9083573e+00 2.2732431e+00 1.9975503e+00 1.9080072e+00 2.1437809e+00 2.1296295e+00 1.9739085e+00 1.9834166e+00 2.1078664e+00 2.2016840e+00 2.2080962e+00 1.7340579e+00 2.0549287e+00 1.7331748e+00 1.9559688e+00 2.0343364e+00 1.8736929e+00 1.9730416e+00 1.5308944e+00 1.8421831e+00 2.0174240e+00 2.0137378e+00 1.7956151e+00 1.9606596e+00 1.9074857e+00 2.0413879e+00 2.0070305e+00 1.9584677e+00 1.8977851e+00 1.9176239e+00 1.7067419e+00 1.9461927e+00 1.8431700e+00 1.8284576e+00 1.7778704e+00 1.8350329e+00 2.0175415e+00 1.7459063e+00 1.9242505e+00 1.8757370e+00 1.9312506e+00 2.0574808e+00 2.0894636e+00 1.9780203e+00 2.1374036e+00 1.8900436e+00 2.0273032e+00 2.0681953e+00 2.0234699e+00 2.0666449e+00 2.0663485e+00 1.9281402e+00 1.7846314e+00 2.0372479e+00 1.8831230e+00 2.0186015e+00 2.0193231e+00 2.2022665e+00 1.8145737e+00 2.0466545e+00 1.8092421e+00 1.9600687e+00 2.0322961e+00 1.9556364e+00 1.8266422e+00 1.9950345e+00 2.1038429e+00 2.1164145e+00 2.0188062e+00 1.8863331e+00 2.0006971e+00 1.9971068e+00 1.8771862e+00 2.1148855e+00 1.9570638e+00 1.9859615e+00 2.0030854e+00 2.0737344e+00 1.9739259e+00 1.9266524e+00 1.9200535e+00 2.1376689e+00 1.8944425e+00 1.9330553e+00 1.8561590e+00 1.9422954e+00 1.8874178e+00 1.8624808e+00 1.8265563e+00 1.8840519e+00 2.0515092e+00 2.0174226e+00 1.9771196e+00 2.0635988e+00 1.7334466e+00 1.9912604e+00 1.8915711e+00 1.8262636e+00 1.9369173e+00 1.9560446e+00 1.9549934e+00 1.9279230e+00 1.9021073e+00 2.0113391e+00 2.0305786e+00 1.8066806e+00 1.9656739e+00 2.1219217e+00 1.8820250e+00 1.8936826e+00 2.0565131e+00 1.9839441e+00 1.8553479e+00 1.9923760e+00 1.6393276e+00 1.9786440e+00 1.8274394e+00 1.9322611e+00 2.0404318e+00 1.9216532e+00 1.9361171e+00 1.8401373e+00 1.9908059e+00 1.9495117e+00 2.1975655e+00 1.8413913e+00 2.1528773e+00 1.8434374e+00 2.1668863e+00 2.0429273e+00 1.9980016e+00 1.9790129e+00 2.0264829e+00 2.1478843e+00 2.0899600e+00 2.0280670e+00 2.1210881e+00 1.9993891e+00 1.8646871e+00 1.9099983e+00 1.9263353e+00 2.0042495e+00 2.1365919e+00 2.1830279e+00 1.9631961e+00 2.0880004e+00 1.8348369e+00
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-seuclidean-ml-iris.txt ADDED
The diff for this file is too large to render. See raw diff
 
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-seuclidean-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 1.4330520e+01 1.4635426e+01 1.3450855e+01 1.4761140e+01 1.3508642e+01 1.5434417e+01 1.3887693e+01 1.5166776e+01 1.3966038e+01 1.4950451e+01 1.4564587e+01 1.3834201e+01 1.4347008e+01 1.5641962e+01 1.4689053e+01 1.4418720e+01 1.4545856e+01 1.4151822e+01 1.4669017e+01 1.5150750e+01 1.3770166e+01 1.3288969e+01 1.4048191e+01 1.4049959e+01 1.4164158e+01 1.3727834e+01 1.4074687e+01 1.4321303e+01 1.2497330e+01 1.3820273e+01 1.4441030e+01 1.4780222e+01 1.2504339e+01 1.5022245e+01 1.4263650e+01 1.3704507e+01 1.3694385e+01 1.3667517e+01 1.3177468e+01 1.4391931e+01 1.4893903e+01 1.4475753e+01 1.4440707e+01 1.3603096e+01 1.6889651e+01 1.4731174e+01 1.3337775e+01 1.5187532e+01 1.5667271e+01 1.4226037e+01 1.4203554e+01 1.5272898e+01 1.6031460e+01 1.5991549e+01 1.1855060e+01 1.4844776e+01 1.2475182e+01 1.4408126e+01 1.4836870e+01 1.3472986e+01 1.4089281e+01 1.1018298e+01 1.3183296e+01 1.4590802e+01 1.4404230e+01 1.2717623e+01 1.3983283e+01 1.4017133e+01 1.4608005e+01 1.4402553e+01 1.3977803e+01 1.4091040e+01 1.3977459e+01 1.2630449e+01 1.4160109e+01 1.3029417e+01 1.2654432e+01 1.2794946e+01 1.3194978e+01 1.4378745e+01 1.2431908e+01 1.3852651e+01 1.3748358e+01 1.4003568e+01 1.5066681e+01 1.5192826e+01 1.4370013e+01 1.5792545e+01 1.3547546e+01 1.4411543e+01 1.4794215e+01 1.4924312e+01 1.4789153e+01 1.4875055e+01 1.4208537e+01 1.2786148e+01 1.4882476e+01 1.3302010e+01 1.4354774e+01 1.4542129e+01 1.5889633e+01 1.2928185e+01 1.4877868e+01 1.2890902e+01 1.4406165e+01 1.4498123e+01 1.4303273e+01 1.3207002e+01 1.3954732e+01 1.4841248e+01 1.5427799e+01 1.4363463e+01 1.3976277e+01 1.4284878e+01 1.4457991e+01 1.3369469e+01 1.5246610e+01 1.4487573e+01 1.4525176e+01 1.4505865e+01 1.5037347e+01 1.3834927e+01 1.3758988e+01 1.3424987e+01 1.4914766e+01 1.3783923e+01 1.3434291e+01 1.2895927e+01 1.3870360e+01 1.3342977e+01 1.3094322e+01 1.3057847e+01 1.3322375e+01 1.4940650e+01 1.4476829e+01 1.4197503e+01 1.4597035e+01 1.2963234e+01 1.4011414e+01 1.3181409e+01 1.3339615e+01 1.3928735e+01 1.3508015e+01 1.3170749e+01 1.3529133e+01 1.3454724e+01 1.4883437e+01 1.4564565e+01 1.2474313e+01 1.4435790e+01 1.5285703e+01 1.3701736e+01 1.3578312e+01 1.4807311e+01 1.4281072e+01 1.2920213e+01 1.4427803e+01 1.1408611e+01 1.4097334e+01 1.2868115e+01 1.3903683e+01 1.3800332e+01 1.3439339e+01 1.4062651e+01 1.3242107e+01 1.4400424e+01 1.3826132e+01 1.5991146e+01 1.3118258e+01 1.5377390e+01 1.2858378e+01 1.5249567e+01 1.4081585e+01 1.4458052e+01 1.4175623e+01 1.4850069e+01 1.5506668e+01 1.5014770e+01 1.4337030e+01 1.5214705e+01 1.4803729e+01 1.3188675e+01 1.3437739e+01 1.3409394e+01 1.4607386e+01 1.5394271e+01 1.5946451e+01 1.3769364e+01 1.4181208e+01 1.2551765e+01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/pdist-spearman-ml.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 9.3540954e-01 9.7904590e-01 8.6703870e-01 1.1569997e+00 8.7174317e-01 1.0627183e+00 9.1272727e-01 1.1593999e+00 9.7573357e-01 1.0072127e+00 1.0536814e+00 9.6276028e-01 9.7700570e-01 1.1513951e+00 1.0719592e+00 9.2178818e-01 1.0004680e+00 9.3689769e-01 9.8205821e-01 1.0332673e+00 9.4517852e-01 8.9437744e-01 9.7556556e-01 9.0460246e-01 9.7210921e-01 9.2230423e-01 9.9605161e-01 9.6852085e-01 8.4162016e-01 9.6667267e-01 9.7759376e-01 9.9757576e-01 7.6992499e-01 1.0151695e+00 9.8691869e-01 9.0325833e-01 8.6665467e-01 8.8844884e-01 8.4553255e-01 9.7700570e-01 9.5159916e-01 9.8906691e-01 1.0551935e+00 9.1973597e-01 1.3266247e+00 1.0982778e+00 8.4531653e-01 1.0887369e+00 1.0984938e+00 9.9851185e-01 9.0701470e-01 1.0639304e+00 1.2392919e+00 1.1422502e+00 8.1725773e-01 1.1844944e+00 7.8219022e-01 1.0817162e+00 1.2196100e+00 1.0003120e+00 1.0164536e+00 7.0724272e-01 9.7981398e-01 1.1134953e+00 1.0671107e+00 9.3600960e-01 9.9984398e-01 1.0356916e+00 1.1248005e+00 1.0696310e+00 1.0634263e+00 9.6472847e-01 9.9365137e-01 8.5724572e-01 1.1257846e+00 8.9930993e-01 9.4903090e-01 9.0667867e-01 9.1231923e-01 1.0573777e+00 9.0105011e-01 9.5255926e-01 1.0177978e+00 1.0606901e+00 1.1966997e+00 1.0891929e+00 1.0085089e+00 1.2640264e+00 9.3246925e-01 1.0198020e+00 1.2055806e+00 1.1237924e+00 1.1060666e+00 1.0517252e+00 1.0684668e+00 7.6844884e-01 1.0572697e+00 8.7373537e-01 9.6283228e-01 9.9350735e-01 1.2412601e+00 7.6322832e-01 1.0298950e+00 8.6148215e-01 1.0042724e+00 9.7012901e-01 9.3712571e-01 8.5845785e-01 8.5862586e-01 1.0336634e+00 1.0955536e+00 9.5302730e-01 9.8696670e-01 1.0633063e+00 1.0026643e+00 9.6380438e-01 1.1711251e+00 9.9273927e-01 1.0260906e+00 1.0863966e+00 1.0482808e+00 9.0361836e-01 9.2358836e-01 8.7794779e-01 1.2461206e+00 9.2985299e-01 1.0418962e+00 9.4660666e-01 9.5636364e-01 9.0646265e-01 9.9113111e-01 8.3027903e-01 9.3341734e-01 1.1378938e+00 1.0548215e+00 1.0086889e+00 1.1998920e+00 8.6063006e-01 1.0255506e+00 8.4786079e-01 1.0090729e+00 9.2542454e-01 9.5176718e-01 9.3477348e-01 9.0091809e-01 9.6404440e-01 1.1158716e+00 9.9614761e-01 7.7682568e-01 1.0605461e+00 1.0895650e+00 9.0065407e-01 8.7173117e-01 9.9821182e-01 1.2165617e+00 8.6127813e-01 1.1111071e+00 7.9015902e-01 1.0433843e+00 8.6510651e-01 1.0019202e+00 1.0154815e+00 9.4381038e-01 9.8646265e-01 1.0062526e+00 9.7426943e-01 9.8191419e-01 1.3038944e+00 8.6277828e-01 1.0830243e+00 8.6851485e-01 1.1192559e+00 9.9120312e-01 9.6540054e-01 9.1072307e-01 1.1775698e+00 1.1139154e+00 1.1083468e+00 9.9593159e-01 1.0825923e+00 1.1115032e+00 9.7430543e-01 9.5605161e-01 9.2800480e-01 9.4369037e-01 1.1136034e+00 1.1382898e+00 9.5937594e-01 9.8843084e-01 7.4563456e-01
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/random-bool-data.txt ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 0 1 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1
2
+ 1 1 1 1 1 1 1 0 0 1 1 1 0 0 0 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1
3
+ 0 1 0 1 1 0 0 1 1 1 1 0 1 0 0 1 1 0 1 1 1 0 1 1 0 1 1 1 0 1
4
+ 1 1 1 0 0 1 1 0 0 1 1 1 0 0 1 1 0 1 1 1 0 1 1 0 0 0 0 1 0 0
5
+ 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 1 1 0 0
6
+ 1 0 1 1 0 0 0 1 1 1 1 1 0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 1 1
7
+ 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 0 1 1 0 0 1 0 1 1 1 1 0 1 0
8
+ 1 0 1 1 1 0 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 1 1 1 0 1 0 0 1 0
9
+ 1 1 1 0 0 1 1 0 0 1 0 0 1 0 0 1 0 1 1 0 1 1 0 1 1 1 0 0 1 1
10
+ 1 1 0 1 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 0 0 0 0 0 1 1 0 0
11
+ 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 0 0 0 1 0 0 0 0
12
+ 1 1 1 1 0 1 0 0 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 0 1 1 1
13
+ 1 1 1 1 1 1 1 1 1 0 1 1 0 0 1 0 1 0 1 0 1 0 0 0 1 0 0 1 0 1
14
+ 0 1 1 0 0 1 1 0 0 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 1 1
15
+ 1 0 0 1 0 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0 1 0 1 0 0 1 1 0 1 1
16
+ 1 0 0 1 1 0 0 1 1 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 1 1 0 0
17
+ 1 1 0 0 1 0 0 0 1 0 0 1 0 1 0 0 1 0 1 1 0 1 0 0 0 1 1 1 1 1
18
+ 0 0 0 1 1 1 1 1 0 1 0 1 1 1 1 0 0 1 1 1 1 1 0 0 1 0 1 0 0 0
19
+ 1 0 1 1 0 1 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 1 0 1 1 0 1 1
20
+ 0 0 0 0 1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 1 1
21
+ 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 1 1 0 1 0
22
+ 1 0 1 0 1 1 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 1 0 1 1
23
+ 0 0 1 0 0 0 0 0 1 1 0 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0 0 1 0
24
+ 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 1 1 0 0 1
25
+ 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 1 0 1 1 0 0
26
+ 1 0 0 0 1 0 1 0 0 1 0 1 1 0 1 0 1 0 1 0 1 1 1 0 0 0 1 1 1 0
27
+ 1 0 0 0 1 1 1 0 0 1 0 1 1 1 0 0 0 1 1 1 0 0 0 0 1 0 0 0 1 1
28
+ 0 1 0 0 0 1 1 1 0 1 1 1 0 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 1 1
29
+ 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 1 0 1 0 1 0 1 0 1
30
+ 0 0 1 0 1 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 0 1 0 1 0
31
+ 1 1 0 1 1 1 1 1 0 1 0 0 0 1 1 1 0 1 0 0 0 1 1 0 1 0 0 0 0 1
32
+ 0 1 0 0 0 1 0 1 1 0 0 1 0 0 0 1 1 1 0 0 1 1 0 1 1 0 0 1 0 1
33
+ 1 1 0 0 0 0 0 1 1 0 1 1 0 0 1 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1
34
+ 1 1 1 0 1 0 0 1 1 0 1 1 1 0 1 0 1 1 0 0 0 1 1 0 0 1 1 1 1 1
35
+ 0 1 0 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 1 0 1 1 0 1 1 0 0 1 0
36
+ 1 1 1 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 0 1 0 1 0 0 0
37
+ 0 0 0 0 1 1 1 0 1 1 0 0 1 1 1 1 0 1 0 1 1 1 1 1 1 0 0 0 0 0
38
+ 0 1 1 1 0 0 0 1 1 1 0 1 0 0 1 1 1 1 1 0 1 0 0 1 0 0 0 0 1 1
39
+ 0 1 0 0 1 1 1 1 0 0 1 0 1 0 1 1 0 0 1 0 0 1 1 0 0 0 0 1 0 0
40
+ 1 1 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 1 0 0 0 0 1 1 1 0 1 0 0 1
41
+ 0 1 1 0 1 0 1 1 0 0 0 1 1 0 0 0 0 0 0 1 0 0 1 1 0 1 0 0 1 1
42
+ 0 0 1 1 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 1 0 1 1 0 0
43
+ 1 0 1 1 1 1 1 1 1 1 0 1 0 0 0 1 0 1 0 0 0 1 1 0 0 1 0 0 0 0
44
+ 1 0 1 1 1 0 1 1 1 1 0 0 1 0 1 1 1 0 0 0 0 1 1 1 1 1 0 1 0 0
45
+ 1 0 0 0 1 1 1 0 1 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 0 1
46
+ 1 0 1 0 1 0 0 0 1 0 0 1 1 0 1 1 0 0 0 1 0 1 1 0 1 0 0 1 0 0
47
+ 0 1 1 0 1 0 1 1 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1 1 0 1 0 1 1 1
48
+ 0 1 0 1 1 0 1 0 0 1 0 0 1 0 0 1 1 0 1 0 0 0 1 1 1 0 0 1 0 1
49
+ 1 0 1 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1
50
+ 1 1 1 1 1 1 1 1 1 1 0 0 1 0 0 1 0 0 1 1 0 0 1 1 1 1 0 1 0 1
51
+ 1 1 1 1 0 0 0 1 0 1 1 0 0 0 1 1 0 0 1 1 1 1 0 0 0 1 0 1 0 0
52
+ 1 0 1 0 0 1 1 1 1 0 1 1 0 0 1 0 0 1 1 0 1 1 1 1 1 1 0 0 0 0
53
+ 0 1 1 0 0 1 0 0 0 0 0 1 0 1 0 0 1 1 0 1 0 1 0 0 0 1 0 0 1 0
54
+ 0 0 0 1 0 0 0 1 1 1 1 1 0 0 0 1 1 0 0 0 1 1 1 0 1 0 1 1 1 0
55
+ 1 1 0 0 0 0 1 1 1 0 1 0 1 1 1 0 0 1 0 0 0 0 0 0 1 1 1 0 0 0
56
+ 1 0 1 1 1 0 1 0 1 0 0 1 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 0 0 1
57
+ 0 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 1 1 1 0 0 1 0 0
58
+ 0 0 1 1 1 1 1 0 1 0 1 0 0 1 1 1 1 0 0 0 1 0 1 1 0 1 1 1 0 0
59
+ 0 0 0 0 0 1 0 0 1 1 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0 1 0
60
+ 1 0 0 1 0 1 1 1 0 1 0 1 1 0 0 1 1 0 1 1 1 0 1 0 0 0 1 1 1 1
61
+ 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1 0 0 0
62
+ 1 0 0 1 1 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 1 0 1 1 0 0 1 0 1 0
63
+ 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 0 1
64
+ 1 0 1 1 1 0 0 0 1 0 0 1 0 0 0 1 0 1 1 1 0 0 1 1 1 1 0 0 0 1
65
+ 0 1 0 0 1 1 1 1 1 1 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 0 1 1 0 1
66
+ 0 0 1 0 1 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 0 1 0 1 1 0 0 1 0 1
67
+ 0 1 1 1 1 1 0 0 0 0 0 1 0 1 1 1 1 1 0 1 1 1 0 0 1 0 0 1 1 1
68
+ 1 1 1 1 0 1 1 1 1 1 1 0 0 1 1 0 1 1 0 1 0 1 0 1 0 1 1 0 0 0
69
+ 1 0 0 0 1 0 1 0 0 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 1 1 0
70
+ 0 0 0 0 1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0 0 1 0 1 0 0 0 1 0 0
71
+ 1 1 1 1 1 0 0 0 1 1 0 0 1 1 1 1 0 1 0 1 0 0 0 0 1 1 0 1 1 0
72
+ 1 0 1 1 0 1 0 1 0 1 1 0 1 1 1 0 0 1 0 0 1 1 0 0 1 1 0 1 0 1
73
+ 1 1 1 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 1
74
+ 0 1 1 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 1 1
75
+ 1 1 1 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0 0 1 1
76
+ 1 1 0 1 0 1 0 1 0 0 1 0 0 0 1 0 1 1 0 1 1 0 1 0 0 1 0 0 1 0
77
+ 1 0 1 1 0 0 1 1 0 0 1 1 0 0 0 1 1 0 0 1 0 0 0 0 0 1 0 1 1 0
78
+ 1 1 1 1 1 0 0 1 0 0 1 1 1 0 1 0 0 1 1 1 0 1 1 1 1 1 1 1 1 1
79
+ 1 0 1 1 0 0 1 1 0 1 1 1 0 0 0 1 0 1 0 0 0 1 1 1 1 1 0 0 1 0
80
+ 0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 1 1 1 0 0 1 1 0 0 1 0 0 1 0 0
81
+ 1 1 1 0 0 0 0 1 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 1 1 0 1 0
82
+ 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 1 0 1 0 1 1 0 0 1 0 1 0 1
83
+ 1 0 0 0 1 0 1 1 0 1 0 0 0 1 0 1 0 0 0 0 1 1 1 0 1 0 1 1 0 1
84
+ 0 1 0 0 0 0 1 0 1 1 1 0 1 1 0 1 0 1 0 1 1 0 0 0 0 0 0 1 1 1
85
+ 0 1 0 0 1 0 1 1 0 0 0 0 1 1 0 1 1 1 0 0 1 1 0 0 1 0 1 0 0 0
86
+ 0 1 0 1 1 1 1 1 1 1 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 0 1 1 0
87
+ 0 0 0 1 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0
88
+ 1 0 0 0 1 0 1 1 1 1 1 1 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 1 0 0
89
+ 1 0 0 0 1 0 1 0 0 0 1 1 0 0 0 1 1 0 0 1 1 1 1 1 1 0 1 1 1 0
90
+ 0 0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 1 1 1 0 1 0 0 0 1 1 0
91
+ 1 0 0 0 0 0 1 0 1 0 1 0 0 1 1 1 0 1 1 1 0 0 1 0 1 1 1 0 1 0
92
+ 0 1 0 0 1 1 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 1 0 0 1 1 1 0 1
93
+ 0 0 0 1 1 0 1 0 1 0 1 0 0 0 1 1 1 0 1 1 0 0 0 1 1 0 0 1 0 1
94
+ 1 1 1 1 1 1 1 1 0 0 1 1 0 0 0 1 0 1 0 1 0 0 0 1 1 0 1 0 1 0
95
+ 0 1 1 0 0 0 1 1 0 0 1 1 0 1 1 1 1 1 0 1 0 0 0 0 1 0 1 0 0 0
96
+ 1 1 1 0 1 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1 0 1 1 0 0 1
97
+ 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 1 1 1 1 1 0 1 0 0 0 1 1 0
98
+ 1 1 1 0 1 1 0 1 1 0 1 1 0 1 0 0 1 0 0 0 1 1 1 1 0 1 1 0 1 1
99
+ 0 0 1 1 1 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 0 0 0 1 1 0 0 1
100
+ 0 0 0 1 0 0 1 1 1 1 1 1 0 0 1 0 0 1 0 0 0 0 1 1 1 1 1 1 0 0
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/random-double-data.txt ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1.172993630434470589e+02 1.905532343119886605e+02 2.613653823499444115e+02 1.570270816248337269e+02 2.373767637129340642e+02 2.175366144750510671e+02 2.609909144757107242e+02 2.086671686166440622e+02 2.674986450118991002e+02 1.395992762090408235e+02 1.115453060949917159e+02 1.531034842395609701e+02 2.621042034264289668e+02 2.958729454449504033e+02 2.137960368830719062e+02 2.606436280968571282e+02 2.492136530687155869e+02 2.770806237064748530e+02 2.667325121892417883e+02 2.909243437665674037e+02 1.570328417294508085e+02 1.738762543815240917e+02 1.514157955792608163e+02 2.264748814818163396e+02 1.911869834397498380e+02 2.083706054660671043e+02 2.778115921852293013e+02 1.330374814391803397e+02 2.988697222234711717e+02 2.534167825404447001e+02
2
+ 2.090964891529778242e+02 1.322006104643973003e+02 1.443415945355371832e+02 2.991388772264980389e+02 1.649302344777914868e+02 2.839528641910463875e+02 1.677159709681393736e+02 2.597553832458208944e+02 2.861055547321268477e+02 1.866431671806918189e+02 2.131812134614140177e+02 1.881465139477683124e+02 1.271865139985419262e+02 1.821608865941132649e+02 2.793653846657656459e+02 1.745982981552271838e+02 2.440893905635109888e+02 1.926469151980868446e+02 2.752453852984189098e+02 1.333479229516146347e+02 1.756311805755703404e+02 2.039367615619088383e+02 2.441861159155101575e+02 2.136111324500645594e+02 2.893808960992043922e+02 2.723220466017930335e+02 2.367879096909125565e+02 2.831541206793258425e+02 2.017643187924728068e+02 1.293072046241175030e+02
3
+ 2.311242818257193221e+02 2.180694109009666306e+02 2.728791416531455525e+02 1.239345918565636993e+02 2.885729762050686418e+02 2.082619393005260804e+02 2.331416004257805525e+02 1.003112528445347778e+02 2.796331120515330895e+02 2.804679740148056339e+02 2.466936828597247597e+02 1.422398585800914361e+02 1.312115029632765015e+02 1.324417143647877708e+02 2.161716508991076466e+02 1.791489656100356171e+02 2.239038785146145472e+02 2.456511993086799919e+02 2.885023077068626662e+02 2.127338775308419940e+02 2.468090724782538246e+02 2.704135008577740109e+02 1.144148504575758665e+02 1.641571759150080538e+02 2.473349551308716343e+02 2.366620528761779667e+02 1.208143167141831498e+02 1.403705034199327599e+02 2.061073908129479548e+02 1.482034962693051057e+02
4
+ 1.938319500339997035e+02 2.000523826243218650e+02 1.356134735235139317e+02 1.224357428573656250e+02 1.262840705282213918e+02 1.112797762573139977e+02 1.727826315738305993e+02 2.199559683100150664e+02 1.817290208723558180e+02 2.185579898773881951e+02 1.772844462934412491e+02 1.589145011846130728e+02 1.017520743541414703e+02 2.836990856171782980e+02 1.265544072638776640e+02 2.503473341476423855e+02 2.178539278172635534e+02 2.063574432066289432e+02 1.473169457524925861e+02 1.112719632489760784e+02 1.195996070145015722e+02 1.345099678548529312e+02 2.992645259487585463e+02 2.692242364540683752e+02 2.139649193607747861e+02 2.313659165106297451e+02 2.524185025119667785e+02 2.678714004815313388e+02 1.111457754393238702e+02 1.296443575800298902e+02
5
+ 1.183944097426736306e+02 2.750477277868330930e+02 1.688558971333346790e+02 1.432283295687057034e+02 2.226043174503911359e+02 1.825124733235978169e+02 1.806485153578007612e+02 2.270256019866706936e+02 2.852913053786990076e+02 2.867562520175486043e+02 2.795056496733417362e+02 1.142488895870292822e+02 1.502985045661773427e+02 2.246907359526948937e+02 2.051158858061974115e+02 2.663351441156772808e+02 2.864853431806749882e+02 2.276548949573071070e+02 2.678087640355958001e+02 2.266463576941352187e+02 1.886763304826383774e+02 1.150603609957262563e+02 1.596187994714221929e+02 1.844565420383776484e+02 1.730173420200940768e+02 1.427940137102308995e+02 1.774757620992130001e+02 2.563086691508434001e+02 1.666317348809653822e+02 1.878143419608473437e+02
6
+ 1.642344698640436036e+02 1.591648429561690818e+02 1.561851029939521140e+02 1.854367091922420059e+02 1.494951311500319093e+02 2.443780767043579942e+02 2.741090240793212160e+02 1.519200656263381006e+02 1.391711947382712538e+02 1.482414334940778815e+02 2.574425018646875287e+02 1.455120022089010945e+02 1.620904376421240727e+02 2.098493186451893848e+02 2.377904829227144887e+02 2.881187570801528750e+02 1.785609418793050054e+02 1.500483139796714340e+02 1.697371065898091729e+02 1.824143324642365087e+02 2.329862749140337712e+02 1.372006180078979298e+02 2.250666134242961789e+02 1.760894707637434067e+02 1.874161150869196035e+02 2.860410495381969440e+02 1.539271628213176086e+02 1.051658254213322152e+02 1.501619097950496666e+02 1.205717364486104515e+02
7
+ 1.275638286377957371e+02 2.620802183565458563e+02 2.290828196339760723e+02 2.591630015014513333e+02 2.102568650793322149e+02 2.385080320420775593e+02 2.683788150825365619e+02 1.808700201925492763e+02 1.972184450648797451e+02 2.382313686117472287e+02 1.733526990293641177e+02 2.369802981553972074e+02 1.835652530901061823e+02 1.274084560526275141e+02 2.403488205519001326e+02 2.713515297463850402e+02 1.455311801633137065e+02 1.889430214806582171e+02 1.676324321357484735e+02 2.327799977696781184e+02 2.846419393176552148e+02 1.510702433968490936e+02 1.361559014852734606e+02 1.732199851325496525e+02 2.451323003571785364e+02 1.833444866660036894e+02 2.451280287301300405e+02 1.669088211440060832e+02 2.768492228383354359e+02 2.445882168033535038e+02
8
+ 2.905092787520428601e+02 2.948076984760371033e+02 1.731080208454208673e+02 2.825532355845657548e+02 1.108820315678514845e+02 2.862013985457700755e+02 2.111453776876104769e+02 2.614428154999528147e+02 1.461523265575596042e+02 2.304914832379158156e+02 2.502987607420118934e+02 2.474276046141548875e+02 1.739607960146905725e+02 2.098700376203710789e+02 2.373226438948917121e+02 1.258493219462072119e+02 2.692932028872633055e+02 2.819145908444669999e+02 1.941653933285864468e+02 1.666395497972145847e+02 2.371919109091950588e+02 1.978302896313488191e+02 1.951483674191611613e+02 2.694357972099330141e+02 2.387068160427941450e+02 2.826084316255729618e+02 1.350954172043159929e+02 1.414479610501084039e+02 1.407657276334374501e+02 2.725513503737778365e+02
9
+ 2.055761393809777360e+02 1.070553196069381556e+02 1.045726024365074096e+02 1.611577217417760153e+02 1.258091705742062629e+02 1.038769334534844120e+02 2.956016304760584035e+02 1.586570076132481972e+02 1.636816353299032585e+02 2.375674325770941095e+02 2.085436646116971531e+02 2.088922128397473443e+02 2.316234644183506930e+02 2.623581653234684268e+02 1.714245300492981698e+02 2.844387943099641234e+02 1.469270259610659650e+02 1.157700922187784727e+02 2.367694595159086361e+02 1.548671738744121740e+02 2.013687686570863207e+02 1.860374943080277887e+02 1.733446602950305930e+02 2.488507085609763010e+02 2.929099979257852056e+02 1.825615338506695480e+02 1.338575452835397925e+02 1.491478381149757979e+02 1.116052925520655066e+02 2.341983606431906537e+02
10
+ 1.014445800974648222e+02 2.539987638010908597e+02 1.871788778457793399e+02 1.454231386314719998e+02 2.284640297096368045e+02 1.174773591296971915e+02 1.395683165851895637e+02 1.137193571402578414e+02 2.370662356797280950e+02 1.767292649815032064e+02 2.688513591587910696e+02 2.913902923086397436e+02 1.122392290694582897e+02 1.366157623619356229e+02 2.667409125457835444e+02 1.834435599491967537e+02 1.437174343391732236e+02 1.130622879516462120e+02 2.898543289046954214e+02 1.559795378531963479e+02 1.765577834073310157e+02 2.422955620302867885e+02 2.384835032255701321e+02 1.708163174135501094e+02 2.012159081107001839e+02 2.825663186839160517e+02 2.627299211659199045e+02 2.173916205317264883e+02 1.878835852278120910e+02 2.578733373077019451e+02
11
+ 2.843897417914848802e+02 2.685865547709703378e+02 2.810255710736182664e+02 2.572690897085278152e+02 2.416998564827035523e+02 1.770932574976374099e+02 2.021652319180342943e+02 1.414744641219446351e+02 1.464677002516696405e+02 1.831165552459343644e+02 1.157177632931430651e+02 2.625289386264841482e+02 2.972225480003540952e+02 1.024156386789293265e+02 2.305099741095138768e+02 2.241903749843916671e+02 1.157222019118702292e+02 1.533205318359311775e+02 1.179505454242311799e+02 2.666741766563739020e+02 2.792728900733587238e+02 1.222170248460037811e+02 2.573772727215269924e+02 1.535874607134987286e+02 1.231830862844115728e+02 2.584552954023608891e+02 2.541883057030129862e+02 1.001259630352790566e+02 2.332879439260797767e+02 2.240027888381033563e+02
12
+ 1.537092645679641123e+02 1.737278083620151392e+02 1.736358049797527201e+02 2.251608985235982630e+02 1.812387130195175473e+02 1.605621432944637377e+02 1.880655312831545700e+02 2.234500385148787700e+02 1.156918728696038272e+02 2.243685096423413654e+02 1.934342626327970720e+02 1.850952349553267027e+02 2.629944548485545965e+02 1.410418270562070973e+02 1.442479234012843960e+02 2.244518961458842909e+02 1.350755563946989923e+02 1.207094763037939913e+02 1.849900977633715797e+02 1.712315707730903398e+02 1.136025349108833495e+02 2.266901327137990734e+02 2.049289406654929735e+02 2.168279721613268407e+02 2.802488024880154285e+02 2.288593244920211873e+02 2.512942787545493957e+02 1.605416563468323261e+02 1.449848598254574483e+02 1.444073785399158396e+02
13
+ 1.576600406756634243e+02 1.316580100950168912e+02 2.530050469343043460e+02 1.319013133578224028e+02 2.708693079386434306e+02 1.256852413190491689e+02 1.471714019119002046e+02 1.119112141125198576e+02 1.482405279774543772e+02 2.151504825709631064e+02 1.449998801809978488e+02 2.163638771503673581e+02 1.272949254250747657e+02 2.476027791419436141e+02 2.891208457332292028e+02 2.642744540427622724e+02 1.972643066216432999e+02 2.480891057982425423e+02 1.265454595896786003e+02 2.957735252703171227e+02 1.831389323451852533e+02 2.674516147697771657e+02 1.404389674972707667e+02 1.350952754772052913e+02 2.169062951790871807e+02 2.445227715623778408e+02 1.771545655819627427e+02 2.729961759152714649e+02 2.655105689521545855e+02 1.887977700062222084e+02
14
+ 1.336462666694000632e+02 1.333709897858500995e+02 2.263366393511863350e+02 1.847175439991091821e+02 1.121699721143812383e+02 1.985314153845103533e+02 2.097626398761568396e+02 1.994292542548276970e+02 2.119822099620050722e+02 1.121578896112172430e+02 2.285640262135607372e+02 1.530452060058861719e+02 2.280757825791220625e+02 1.002584314437652893e+02 1.549763597162410349e+02 1.962603185897801836e+02 1.520023734031539107e+02 2.188357004065238129e+02 2.078620274892635678e+02 2.253215106546470281e+02 1.707542413836397373e+02 2.818584030117174279e+02 2.256862624833151472e+02 1.123882683852972377e+02 2.188298604829752776e+02 1.623779544769217296e+02 2.272253780943444212e+02 1.236449568833132560e+02 1.456708971140968174e+02 2.173334506159979753e+02
15
+ 1.355111076933105210e+02 2.882277378633141325e+02 1.458332953325788139e+02 2.038461345794760007e+02 2.077052275373579278e+02 2.430957456359013804e+02 2.398926697516154150e+02 1.861334604823129553e+02 1.056851094080089695e+02 1.250491536199931772e+02 1.475324860190441427e+02 2.446126161547439324e+02 2.283994822545897705e+02 1.411463500178549850e+02 1.017206978570942510e+02 2.805514386584911790e+02 1.128847993259780083e+02 2.326583828053989862e+02 1.968387029218569069e+02 2.013375618903088480e+02 2.981010702857409456e+02 1.018614681114941902e+02 1.799507821883679526e+02 1.133741465580100396e+02 1.235533581072856038e+02 1.980629645203880500e+02 2.289642287691829097e+02 1.596082722591768288e+02 1.905110471998515322e+02 1.789448781159623820e+02
16
+ 2.588286452268601465e+02 1.978130463173739599e+02 1.052689337312009599e+02 1.316763830509305251e+02 2.659236586726388509e+02 1.637014132384438767e+02 1.416031833329826668e+02 2.638665530652568236e+02 1.007257384115875425e+02 1.143900271701907769e+02 2.977834670475828602e+02 1.589765734727692745e+02 1.903975572290986520e+02 2.371635535037608804e+02 1.840341975670916668e+02 2.047003785265828242e+02 2.798969769773281655e+02 2.731706896262927557e+02 1.266878907904394254e+02 1.882415083052244427e+02 2.273996647906652129e+02 1.051754139634791869e+02 1.949647447346334843e+02 2.153583447980240919e+02 2.763468452623635585e+02 1.126493843527773322e+02 1.566047572050934491e+02 1.655928523150526246e+02 1.733528322945315949e+02 1.292815908595541146e+02
17
+ 1.453195062153936874e+02 1.443849872704900008e+02 2.393030362110915519e+02 2.203850914291498668e+02 2.628192548589183275e+02 1.142161203389242132e+02 2.954875947743198594e+02 1.914138981839176950e+02 1.956478457154231023e+02 1.282875398486639824e+02 2.801001077571227142e+02 2.478095646281364566e+02 2.467477848581343949e+02 2.819656424464902784e+02 2.951823714077539194e+02 1.777239847229775478e+02 1.197979896746704185e+02 1.481181033052623661e+02 1.906710229153984528e+02 2.142395628283543658e+02 2.300980272040501973e+02 2.228884003748859186e+02 2.473330601440014220e+02 1.391193242835927322e+02 2.836257563055140736e+02 1.510096324299383923e+02 2.202302141125946946e+02 1.931468179284185851e+02 1.332427495686727639e+02 2.591048546650930575e+02
18
+ 1.878681542531208208e+02 1.576240359584147654e+02 2.653849736815447500e+02 2.963544993865212973e+02 2.044592436730770828e+02 2.022626486161902903e+02 2.692262675681025144e+02 2.660999355751699227e+02 2.275843495473382347e+02 1.090849337992742818e+02 2.095602584555617227e+02 1.896271059113536808e+02 1.103822849104477513e+02 2.916911739044173260e+02 1.131212278363718582e+02 2.998892666268029643e+02 2.476782245756396605e+02 2.259689579913920738e+02 1.853942231198421950e+02 1.358270117521841200e+02 1.538630682720535674e+02 1.002148317174243601e+02 2.538393939061405433e+02 1.631649956267838206e+02 2.086654853664906000e+02 2.065167771482954322e+02 2.184161808630845485e+02 2.204789814939956045e+02 2.876785893506615821e+02 2.415299687386639675e+02
19
+ 2.578989465605797591e+02 2.309888943086805853e+02 2.139372792253111584e+02 1.438019921733897775e+02 2.686852572045135616e+02 1.347038004304963579e+02 2.662658866335509060e+02 2.378358170108797367e+02 2.901455078003721155e+02 2.653867524737770509e+02 1.011162296015096302e+02 1.236447329941733528e+02 2.440241295351771669e+02 1.285889645706482725e+02 1.234088480316093808e+02 2.765916670935633874e+02 1.132915304101479421e+02 2.967043774237617413e+02 2.960414394814537786e+02 1.923965028192617410e+02 2.177448618307050765e+02 2.328047369831131732e+02 1.702256773965170282e+02 2.320080409490440729e+02 2.962065584958517093e+02 1.421971909775941185e+02 1.416181340866144183e+02 2.318260414882616374e+02 1.990521696869427046e+02 1.291045564046920333e+02
20
+ 1.562042774178686386e+02 1.004265446278790392e+02 2.987714610921041185e+02 1.843637355858842284e+02 1.975513718825063165e+02 2.869996482942455032e+02 1.598134132589713943e+02 1.814921031876193638e+02 2.433389905907341983e+02 2.220363745053336970e+02 1.548306942100590504e+02 2.274512269554506361e+02 2.173006200058655963e+02 2.139515436667214772e+02 1.820439741095771353e+02 2.954110718222074183e+02 2.706126458816278273e+02 2.546812106115172583e+02 1.499899738326257363e+02 1.498010641912065921e+02 1.897725780579399668e+02 2.531561160917130167e+02 2.568891780637028432e+02 2.223136077092870551e+02 1.518604819103856585e+02 1.610422120589223027e+02 1.090455809489133259e+02 1.950503873748027388e+02 1.235704160644129388e+02 2.711492093024702967e+02
21
+ 2.039597038432034424e+02 2.026680584622021684e+02 1.365818873512059213e+02 2.909476552420245525e+02 1.721994194158640425e+02 1.854386667051114443e+02 2.287109571295530372e+02 1.912591665763447963e+02 1.607322994166321450e+02 2.949516230628389053e+02 2.522065912002103403e+02 1.869433122585654701e+02 1.235797649248940644e+02 1.522422059501078024e+02 2.738245135411146975e+02 1.059681837441489307e+02 1.013027238331489173e+02 1.660100598156148237e+02 2.454471731623151243e+02 2.467503196183328100e+02 2.584564749953993896e+02 2.079587352810677316e+02 1.650926041957846451e+02 2.269719270682073784e+02 2.376254891983122093e+02 1.510146656008620596e+02 2.672848371954185041e+02 2.692845974117340688e+02 2.180714754246087921e+02 2.186797802447831884e+02
22
+ 1.704231257711912519e+02 1.993416036368699906e+02 2.293703655438095268e+02 1.494582642918422266e+02 1.988970317734676030e+02 2.329763291241497711e+02 2.594871448385057420e+02 2.168089936885102134e+02 1.825320854593447280e+02 1.816754553181755796e+02 2.164740515812325725e+02 2.676208645391697019e+02 1.298365075936954725e+02 1.802664596093496243e+02 1.015344620621038132e+02 1.955048336384612639e+02 1.938953913674110083e+02 2.716932071347151805e+02 2.391085978949223829e+02 1.852300387899809380e+02 2.933293185307651356e+02 2.502753353909542966e+02 1.326128348575908262e+02 1.132638325194699433e+02 1.382024010322260494e+02 1.899310337488860796e+02 2.577639546186944699e+02 2.130234590296898887e+02 2.056292296528304746e+02 2.070746044453983927e+02
23
+ 2.712524956603344890e+02 1.103212761114690750e+02 1.501201791543782917e+02 1.588084859702673555e+02 1.780379814134324192e+02 1.938691258391782810e+02 1.322057441019641146e+02 1.105823874551086590e+02 2.879365916037821194e+02 2.457617763012990224e+02 1.036189749330240488e+02 1.682919366264929124e+02 2.271749409116763161e+02 2.468308259697249127e+02 2.530034131464132088e+02 2.481420904342841709e+02 1.546080547019561209e+02 1.278414739842506265e+02 2.234886960240669111e+02 2.535365186455997843e+02 1.599130733896959669e+02 1.151371295028686035e+02 2.378656188176093451e+02 2.901072209563180877e+02 2.524076257924749882e+02 2.849501171254129304e+02 1.802791659856764568e+02 1.527418387706650833e+02 2.578820596338672431e+02 1.208856989199291263e+02
24
+ 1.884906470590645711e+02 2.304295185581007672e+02 1.035923344330140736e+02 1.647061655195892627e+02 1.910201770870304472e+02 1.752788518438422614e+02 2.763014227316762117e+02 2.545709641405486252e+02 1.642694881393259152e+02 1.850698110761380804e+02 2.423689469305483328e+02 2.821007056776016384e+02 1.440765548977453250e+02 1.082195827231368952e+02 1.292487205530619008e+02 2.136496853657876613e+02 2.268509220579896635e+02 2.999629735037570981e+02 2.135306905316524535e+02 2.807718279523737692e+02 1.079256111018183759e+02 2.233050677333321801e+02 1.960571416898615951e+02 2.930642308139058514e+02 1.350490077967585307e+02 2.626074042719769750e+02 2.812196827814445328e+02 2.812753678081913336e+02 1.893738913514469004e+02 1.237248675858835725e+02
25
+ 2.024005284879252144e+02 2.663611407988397559e+02 2.687079844301063076e+02 1.583164038086077312e+02 1.451019436850150441e+02 1.100558451420041450e+02 2.083655450975085159e+02 2.034012033819327598e+02 2.745375932717230398e+02 1.454718097055225599e+02 1.519068131933423729e+02 2.522666952972969625e+02 2.409340029943109300e+02 1.697386944425205115e+02 1.092659514648129289e+02 2.785598218078254149e+02 1.404092026094307357e+02 2.152301424167146990e+02 1.170396027347833723e+02 2.495323893679063474e+02 2.070836095469416591e+02 2.187978925167305135e+02 1.478606128149070855e+02 1.189323178954538207e+02 2.012925160284665651e+02 2.080878545398990127e+02 1.510128433840351647e+02 1.657302151838663065e+02 2.177026636795220043e+02 1.221198981216710422e+02
26
+ 1.411258561955272341e+02 1.419717097672817374e+02 2.247481951315160984e+02 2.805973971111802712e+02 2.755562061324142178e+02 2.039769327420251557e+02 2.994080883760036045e+02 2.417843309736466040e+02 1.023751441731232319e+02 1.491356884971497152e+02 2.542464200475323821e+02 1.496044144381669128e+02 2.829129207809560285e+02 2.479316882407134699e+02 2.441205876677642550e+02 2.045492313770996020e+02 2.855582203360229414e+02 2.884005586284110336e+02 2.039668453101600676e+02 1.690279206477617890e+02 2.136822090795746760e+02 1.254275901194574772e+02 1.084851042192170922e+02 1.656011685190305229e+02 1.415195951026897774e+02 1.578115814760412263e+02 2.619737257057257693e+02 1.492347147839753347e+02 1.627213988646173561e+02 1.343297485726322691e+02
27
+ 2.544675070683062756e+02 1.367461330002975899e+02 2.928364121110963652e+02 2.024865028281971036e+02 2.758937379397792142e+02 1.293527538914390220e+02 1.003170531204512059e+02 1.514803620238746760e+02 2.603616046431354789e+02 1.790387290949859960e+02 1.954717187769221027e+02 1.325226280128280223e+02 1.522166198122710625e+02 1.162911821325583048e+02 2.798489406348742250e+02 2.521718932296424498e+02 2.622327475379161115e+02 1.027798265388270949e+02 2.437256510683693023e+02 1.911771820917219884e+02 2.722604457055863350e+02 2.850557929858495640e+02 1.953760157441756746e+02 2.473572905253965644e+02 1.891404804097296051e+02 1.514672503279451803e+02 2.213565012031598940e+02 2.253356064978207769e+02 2.044629345029305227e+02 2.805872739342098612e+02
28
+ 2.859142434488251183e+02 1.016009480575973356e+02 1.779351649172412522e+02 2.205171340775500539e+02 2.104472905774927369e+02 1.755755724600441567e+02 2.751836189782782185e+02 2.820692049982218350e+02 1.337557428916256015e+02 1.569761138230965969e+02 1.991757527032745543e+02 2.615974376894962461e+02 1.944849272958306017e+02 1.868411694165790777e+02 2.994394032068257729e+02 2.802783326794233290e+02 2.693871918204162625e+02 1.750293298802730249e+02 1.468161278725061720e+02 1.272003326865558108e+02 2.233103517167062932e+02 2.103066399402185027e+02 2.720825853079193735e+02 2.728915492341989193e+02 2.160004538807991992e+02 1.325145501710478015e+02 2.549827549782140466e+02 2.921469675413995901e+02 1.846231529604695822e+02 1.391152989663993651e+02
29
+ 2.538717579982014456e+02 1.450483481068324352e+02 2.720200816305956550e+02 1.120834821105324011e+02 1.703801876168104741e+02 1.091293661435919233e+02 1.410263490040598526e+02 1.910022197757120352e+02 2.505223413771657022e+02 2.069613533172621374e+02 1.367200764291426935e+02 1.269156762039037574e+02 1.459486945063737267e+02 1.585863332989725905e+02 1.433846106215619329e+02 2.893202513225785424e+02 1.754070497414596730e+02 1.678900237854272746e+02 2.363821059303507752e+02 1.088858921730617908e+02 1.962435837543239927e+02 2.151311182954276831e+02 1.943029551670006754e+02 1.670799798236046172e+02 1.348235227224938910e+02 2.005836112104490212e+02 2.601588534628079969e+02 1.194827586439497935e+02 2.131891535893303740e+02 1.835674362703964277e+02
30
+ 2.872207377280434457e+02 1.680389491751975299e+02 2.268072198735419533e+02 1.324343035526375729e+02 2.746241572770433095e+02 2.142161570690199710e+02 1.852290440736100550e+02 1.772431485621305285e+02 1.144750125154023266e+02 2.162070901557998468e+02 1.490690769171257557e+02 2.904041493178549445e+02 2.673617561413327621e+02 2.904362235840736730e+02 1.438791831406123833e+02 2.596893065528289526e+02 2.617155941751458386e+02 2.388486986717779246e+02 2.718819501315180105e+02 1.265484539827731680e+02 2.508989305854047700e+02 1.677208481362706323e+02 1.527665277518251230e+02 2.069026506407369084e+02 2.223100964495413336e+02 2.859845330217733022e+02 1.430291068893224349e+02 1.186508486537613436e+02 2.043257492072551713e+02 2.909823892985461953e+02
31
+ 2.385945641230763670e+02 2.011887933217761031e+02 1.622448188725907983e+02 1.738874847453056987e+02 1.669498482708885376e+02 1.853462372214463016e+02 1.514500885098960907e+02 1.569159134451362547e+02 2.521399095730983504e+02 1.246878140446721659e+02 1.758330561641313352e+02 2.722601647479554003e+02 1.679012078705679869e+02 1.710944469563905272e+02 2.012619557548435978e+02 2.130692925302264200e+02 2.489118511754019778e+02 1.553758318484749452e+02 2.531318516516165857e+02 1.895498740333992487e+02 2.010265603399928409e+02 1.805605111948569856e+02 2.471772127430102159e+02 2.822665908577009759e+02 1.256656757093761314e+02 1.218957078832023626e+02 2.851942693987446660e+02 2.434079459678487751e+02 2.183256665756584312e+02 1.881473862468819220e+02
32
+ 2.878274557836845133e+02 1.654481949983921254e+02 1.215681808546938214e+02 2.567820905945674781e+02 2.104106688330284101e+02 2.960796083414018085e+02 2.020680111052573693e+02 2.328934707961639106e+02 1.081575190462602336e+02 1.003340046261853189e+02 2.009697278729638299e+02 2.231963192062537757e+02 1.203849639323555323e+02 1.187994179134823156e+02 2.211937485225296030e+02 1.667300587261732119e+02 1.727379541915926211e+02 2.085029285798690353e+02 2.440827389167183981e+02 2.864522928573259151e+02 2.974890568790378893e+02 2.102945085846974393e+02 1.972598274048171447e+02 1.762889209976547136e+02 1.346946323322499666e+02 1.554434255958064170e+02 2.915634104756007901e+02 1.434053307556222876e+02 1.055800565037633163e+02 2.043924431141962259e+02
33
+ 1.494596010135965116e+02 1.369114048625681335e+02 1.414146701131132886e+02 1.383970135097982848e+02 1.734304788623498155e+02 1.594301265610334610e+02 1.040146208229407137e+02 2.208381597698417806e+02 2.904998286250861383e+02 1.300157615397056929e+02 2.667076669416877621e+02 1.062418844419948556e+02 2.717657999079561364e+02 1.054097765488278640e+02 2.401074677516734823e+02 1.045408432466875297e+02 1.330046749931937882e+02 2.297648034226271534e+02 1.488059718063634307e+02 1.725671935994615183e+02 1.330818497812682608e+02 2.341687919103425770e+02 2.983144736799429211e+02 2.798846823197050071e+02 2.218705077010061473e+02 2.681931695329894865e+02 2.339384973461015420e+02 2.893058480095726281e+02 1.539801301873031321e+02 2.746688360458649640e+02
34
+ 1.330701439354522222e+02 1.727884450558678395e+02 2.309082669627648272e+02 2.027633892073664299e+02 2.725503026364725656e+02 1.999882667367585896e+02 1.904108867169430255e+02 2.952458047945178805e+02 2.903769421220866320e+02 1.593020200554085477e+02 1.236139458806368623e+02 2.670862420061573062e+02 2.910830183895285472e+02 1.860711175093342149e+02 2.161724988935532963e+02 2.564488756979296795e+02 1.231566645138573648e+02 1.554206254375235403e+02 1.148558104746345521e+02 1.512714227454516163e+02 1.953024826710307025e+02 1.296022137194406127e+02 1.500450396815122076e+02 2.611742573447975246e+02 1.601671705158374550e+02 2.391666762859087214e+02 2.566415095930981352e+02 1.923304801412870404e+02 1.194174883996373353e+02 1.970722090829630986e+02
35
+ 1.912113734453868688e+02 1.498407015577022605e+02 2.038188614169363007e+02 1.315017316695561647e+02 2.564290419741012101e+02 1.890015309531812022e+02 2.451565642315005960e+02 2.794356592632736920e+02 2.286941218755985972e+02 1.959549984609147941e+02 1.183834182035568716e+02 2.102820643179567242e+02 1.748108698585573393e+02 1.534379248653211221e+02 1.919662859034699522e+02 1.273611408042816464e+02 1.848163823983119585e+02 1.719445827292381637e+02 1.098466009889928898e+02 2.781108902268393877e+02 2.089286134506138524e+02 2.324518337977864348e+02 1.983840049195213169e+02 1.897881971862217370e+02 1.057077761008814605e+02 2.693629461665184408e+02 1.359710117509105487e+02 2.191184409971657487e+02 1.295811391257115304e+02 1.272165218667991553e+02
36
+ 1.987244486959793903e+02 1.516360617950651317e+02 2.198509518241761498e+02 2.494181713303175911e+02 2.903223989223247372e+02 2.847249789220907132e+02 1.747037051964282171e+02 1.610307305098726829e+02 1.866621867053561061e+02 1.016530888490581503e+02 2.606194448419089440e+02 1.820037020201941402e+02 2.650669443765450524e+02 1.137210849453726098e+02 1.329244106101075715e+02 1.741312140090854257e+02 2.301425980066611885e+02 1.051708772384664030e+02 1.994040172335078864e+02 1.874773290907829733e+02 2.745616984783777070e+02 2.354781865911449756e+02 1.598287033335407159e+02 2.650689470710170212e+02 1.643692352330562017e+02 2.991199217036622713e+02 2.713535332162406348e+02 2.516280148665988463e+02 1.124367393830256532e+02 1.725070309959049837e+02
37
+ 1.637875882282461077e+02 1.407642428016634426e+02 2.759741260511348173e+02 1.982469453863400304e+02 2.966736241669494802e+02 2.756530253528777052e+02 1.426661371226006167e+02 1.585144634205103102e+02 2.836415355000413001e+02 2.468213340046699784e+02 2.898204535963063790e+02 1.711408259966125343e+02 1.900542569026269177e+02 1.112151031999617032e+02 2.679918109779015936e+02 2.737346364036235400e+02 2.597479311885246602e+02 1.719445390286030886e+02 2.361360157374418236e+02 1.123330408578339785e+02 1.214203690485689719e+02 2.552722899309185891e+02 2.436705678248840456e+02 1.596697357728296254e+02 2.533254006866929444e+02 2.066863222258713790e+02 1.194370826184286329e+02 2.943584774485435673e+02 1.636272134478143130e+02 1.191267138602315185e+02
38
+ 2.350924626651462006e+02 2.263138093076711357e+02 2.206572605284771385e+02 1.704171521239532296e+02 2.000250897638135257e+02 2.966317084215347109e+02 1.350543763227695138e+02 1.248113195978286285e+02 1.480602782771696297e+02 2.391913401309390679e+02 1.908758915801345779e+02 2.476074601271855045e+02 2.408834383325319095e+02 1.009169451940341560e+02 2.567526834523320645e+02 1.791854948779896688e+02 1.412277552146151152e+02 2.660711025781407670e+02 2.073940326990519054e+02 2.509760072499196610e+02 1.358593750308925223e+02 2.127422683140523532e+02 1.874643773621423293e+02 2.844455725631112273e+02 2.197223292953194118e+02 2.049519862750077266e+02 1.674367936692717365e+02 2.806316262053937294e+02 2.040091003350897836e+02 2.675290975004411962e+02
39
+ 1.483513543637005796e+02 2.384008274111940011e+02 2.834409911154408519e+02 1.344593118283445392e+02 2.346883831968173979e+02 1.381882879805813218e+02 1.241165074750676638e+02 2.186327911062819567e+02 2.466602279029802673e+02 1.573094529523951906e+02 1.568918412618390903e+02 2.289205163045023710e+02 1.170165333644822283e+02 1.742406104080407658e+02 2.082974381484526702e+02 1.600869123712819260e+02 2.399160913983472199e+02 2.877189278027444743e+02 2.845252294036096146e+02 2.342337907657317544e+02 1.496264758341107779e+02 2.905797831387872066e+02 2.824703799011629144e+02 1.047015685176013307e+02 1.056531628249932169e+02 2.778559625738202499e+02 1.693549799118289343e+02 1.654193764711911570e+02 1.062077606699500762e+02 1.159643419206647792e+02
40
+ 2.694780377267857716e+02 2.229138360502907403e+02 2.407432883969363218e+02 1.240072643521201741e+02 2.128611568148922970e+02 2.114050669978733481e+02 1.042337934877265297e+02 1.044783539591350490e+02 2.706611056394938259e+02 1.972285130309975898e+02 1.959046941044780681e+02 2.915493579522836853e+02 1.131994346897827342e+02 1.197362406389762839e+02 2.877593780027675621e+02 1.089470964294721824e+02 1.996015695685267417e+02 2.185569019121031999e+02 2.102686704320404374e+02 2.955299037924150980e+02 2.987478446256551479e+02 2.517129931888254646e+02 1.552463625479420557e+02 2.295020326441428153e+02 2.886454895961533111e+02 1.869792800456660871e+02 2.703426621835664037e+02 1.873514421416134326e+02 2.714620374401066556e+02 1.623625260081516331e+02
41
+ 1.457420078291350194e+02 1.926195242081234369e+02 1.841639049563959247e+02 1.397830290030836125e+02 1.287503203163068406e+02 1.684614546803193775e+02 2.820658047345126533e+02 2.986548244924653090e+02 2.631399932039782925e+02 2.870930868530864473e+02 1.141938207690214426e+02 2.868552010662050407e+02 2.019110175402121286e+02 2.840219745246005232e+02 2.848478851173646262e+02 1.902287203163165259e+02 2.696968940302964484e+02 1.690355482825476656e+02 2.171695948786692725e+02 1.960363641465239652e+02 2.930566891688549731e+02 1.380341365242818483e+02 1.769912313914243214e+02 1.164985277343077996e+02 2.079184380436491324e+02 2.871364788135472850e+02 1.796231479741346391e+02 1.115892945700443875e+02 1.922852518794877028e+02 1.851500906627327083e+02
42
+ 2.894943401361737187e+02 1.972990286414578804e+02 2.801948561309920933e+02 1.993490085147259947e+02 2.539099743775018112e+02 2.972486389690005240e+02 1.162404922698449354e+02 1.801898545246462504e+02 1.283416456049016858e+02 2.289248555429664407e+02 2.419505668531598985e+02 2.755101537543703216e+02 2.786083442131507013e+02 2.461931811431258552e+02 2.699066237266536064e+02 1.088542193903703179e+02 2.302113104476973149e+02 2.158136503417114227e+02 2.797451432348925096e+02 2.832754349673875822e+02 2.207567008139471909e+02 2.920947868166995249e+02 1.300092217647513735e+02 2.953259288980694350e+02 2.539624465668687492e+02 1.304833679125420645e+02 1.051395153781939484e+02 1.855592224876973830e+02 2.160289702497469477e+02 1.227895712666205981e+02
43
+ 1.029685235386965587e+02 1.410297052380113882e+02 1.832105986621241982e+02 1.016727951098498579e+02 2.130361696974732126e+02 1.817578553203918830e+02 2.644724203174304193e+02 1.713346250427240420e+02 1.297164370175517547e+02 1.072810924841072193e+02 1.083932811014470161e+02 2.860684171745337494e+02 2.893854146138399983e+02 1.677808320623732925e+02 2.343535290724524600e+02 1.209564642240636090e+02 1.329537830609780542e+02 2.924542956964438645e+02 2.733376468658280487e+02 1.397146179999238598e+02 1.103570089598620285e+02 2.231457082965310690e+02 1.056672424832338635e+02 2.887779644840117612e+02 1.127167878193751704e+02 1.387640376146708263e+02 1.791595456124304633e+02 2.709107895779202408e+02 2.238624693992912569e+02 1.773395240564728397e+02
44
+ 2.317578772498348769e+02 1.294950944138938667e+02 1.126253428029936572e+02 1.371351849575549693e+02 1.785990678455200964e+02 1.021081186758702444e+02 1.471984209931611360e+02 2.907355141803875540e+02 1.881128962816476644e+02 2.776434621780599628e+02 2.231668573818950279e+02 1.905362514139340817e+02 1.921875823712000226e+02 1.027725913116546792e+02 2.939602582690168902e+02 1.776540079128602656e+02 2.761214484196684111e+02 1.042033722248946646e+02 1.812858538041361385e+02 1.739774673118114663e+02 2.626640185867897799e+02 1.702975408841979288e+02 2.558138050153142729e+02 1.733257751657050392e+02 2.918973111180089859e+02 2.499103812623473857e+02 1.210050998380505973e+02 2.819910650801346605e+02 1.887952629909842699e+02 1.910084514453274380e+02
45
+ 2.212539479167726029e+02 2.774434360961662378e+02 2.337566454731646104e+02 2.345785537275947661e+02 2.365459264006348405e+02 1.983982238092833086e+02 2.030822332599765332e+02 1.995891111618029186e+02 2.834365683300363798e+02 1.036872616932399609e+02 2.192093181482490252e+02 2.601252995545215754e+02 2.498786393235831724e+02 2.102914196276636858e+02 1.344974807588668000e+02 2.319076536245909210e+02 2.769341510052834110e+02 2.705990780330756138e+02 1.679097240924248240e+02 2.394521666103182724e+02 2.042111123157340842e+02 1.679545908808316028e+02 1.638112120198904051e+02 2.498667640522866407e+02 1.298749690282424183e+02 2.953546510122243944e+02 2.420377599473625025e+02 1.972281420856064642e+02 1.511153679243939223e+02 1.785899871179086063e+02
46
+ 2.568297621323404201e+02 2.469847896802298237e+02 2.766623631158322496e+02 2.476135901735717937e+02 1.788596740963971570e+02 1.849716544556056874e+02 2.568516536462929594e+02 1.692762419184084877e+02 1.468834240718183537e+02 2.716053370235183593e+02 1.674083895790932957e+02 2.340636951853666687e+02 1.637725360284847227e+02 1.316562872243186177e+02 2.850086566701365882e+02 2.066513343106022944e+02 2.990778363456342390e+02 1.780020440519503495e+02 2.906711993591478631e+02 2.149926413975278479e+02 2.151504627144789765e+02 1.458362697904619836e+02 2.339644011324822657e+02 1.740513991402896181e+02 1.804876886135730842e+02 1.706585538790989176e+02 1.113370339871644603e+02 2.032819788543359039e+02 1.225434838619497526e+02 1.558188197132453183e+02
47
+ 2.752385657001058803e+02 1.704994416021052643e+02 1.607090409105587696e+02 2.031247490318933444e+02 1.333383797740430339e+02 1.922643047184382112e+02 2.665685682619526915e+02 2.611043497447243453e+02 2.444450591022788615e+02 1.012899678037660181e+02 2.236752860048796947e+02 1.164606756896235993e+02 1.768812782093617955e+02 2.532808672341815850e+02 1.308823477633827395e+02 1.683394957344131626e+02 1.787390150786144716e+02 1.962681762314343530e+02 1.178176219749694980e+02 2.151624908275416885e+02 2.951256579216935734e+02 2.058583926262361388e+02 2.348769662163374790e+02 2.500118096543036472e+02 2.065978549387351109e+02 1.732426267043477139e+02 2.575950640438621804e+02 1.826939497339359946e+02 1.586062531006688801e+02 1.141086110094916819e+02
48
+ 2.107478059550890066e+02 1.212326460542207940e+02 2.154852140069355073e+02 2.624147598788578648e+02 1.169795422214265699e+02 1.682202484364929660e+02 2.987700686247625299e+02 2.259973608163532504e+02 1.912690930240648015e+02 1.896338093439390775e+02 2.747727757049322008e+02 2.388804299971102978e+02 2.538821160842531128e+02 1.839990833334872491e+02 2.839611350159472067e+02 2.953225980324958755e+02 1.674336071760058076e+02 1.609172697163818953e+02 2.902596210806400450e+02 1.513824951234124114e+02 1.873458283487339600e+02 1.695960935104061491e+02 2.116215526550050470e+02 1.849422962892989233e+02 1.434256749723924713e+02 1.304784783123307079e+02 2.632948417544853328e+02 1.656472047377057777e+02 2.303125851744007377e+02 1.681993961373014486e+02
49
+ 1.104191565760665128e+02 1.750924257030650040e+02 1.242494131306669090e+02 1.541741282893887899e+02 2.585460716706878657e+02 2.286423505464783261e+02 1.890990979891397501e+02 2.707781238779197679e+02 2.619171833457787670e+02 2.695823002806438353e+02 1.941989480397771786e+02 1.389058748786196134e+02 1.283479072532797431e+02 2.347481590897206729e+02 1.518985431591505630e+02 1.757095590143896402e+02 2.225334593093496096e+02 2.231309387578290568e+02 1.039310896134069395e+02 2.614149485334186238e+02 2.212890027388380076e+02 1.425609106790709859e+02 1.376620423520403733e+02 2.403640719649376933e+02 1.152284694789922526e+02 2.108068210397188409e+02 2.526640691383259991e+02 2.323633859683563969e+02 2.720522122905912283e+02 2.498034621012949685e+02
50
+ 2.223449436042899947e+02 2.823923482876032267e+02 1.728419664392092727e+02 1.542710015610415724e+02 2.699062389875002737e+02 1.776741825057288793e+02 1.800001384193664080e+02 1.819433000632012636e+02 1.436484983468620840e+02 2.344086094824976954e+02 2.824459866922626361e+02 1.860318500101035681e+02 1.749968777772715498e+02 2.792448396035428004e+02 2.134719239619671498e+02 2.649346822194891047e+02 2.535109715864082602e+02 1.651109960016319178e+02 2.407385671793928736e+02 2.276937454871455770e+02 2.965404491761371446e+02 1.771850291606413634e+02 2.317902380753697855e+02 2.233400563607936817e+02 2.471010629200553694e+02 2.999085009765063319e+02 1.263611681933084725e+02 2.954593528043474180e+02 2.279026703099021915e+02 2.630592311905735414e+02
51
+ 1.662671322607742752e+02 1.600442354914371208e+02 2.476541290397616137e+02 1.471310870365195740e+02 2.302232198157895198e+02 2.833854716762933776e+02 1.464787719165046553e+02 1.913553080525503560e+02 1.014594285276723156e+02 2.182963956218923158e+02 1.629807715448000636e+02 2.692152036144454428e+02 2.287521686048013976e+02 2.982465613581407524e+02 1.646080094271899839e+02 1.685350412843276899e+02 2.638506951547767585e+02 2.931520510309920837e+02 1.395453733045734168e+02 2.192750645467382355e+02 1.118562057344099543e+02 2.210439168983162972e+02 1.977199388190010438e+02 2.248771354041466566e+02 2.967583759675493411e+02 1.144799677712354793e+02 2.877369511761256149e+02 2.831237961244747225e+02 2.909105411130262269e+02 2.550977837950437390e+02
52
+ 1.519738194711488006e+02 1.042788193386050608e+02 1.298121344332743377e+02 1.827398187867084971e+02 2.371985543371917800e+02 1.647119082252074236e+02 2.792046599520904238e+02 1.737333830141970452e+02 2.019611337599129968e+02 2.402390448779260623e+02 2.107045415433176174e+02 2.447101973248666411e+02 1.584507446746840174e+02 2.877533155913679366e+02 1.209142860803932251e+02 1.903846717728129931e+02 1.485923447895592631e+02 1.040627746119376695e+02 2.329784390325348795e+02 1.136264746597146882e+02 1.019818146651219024e+02 2.395077159260278847e+02 2.571474008697522322e+02 2.507839876514990465e+02 2.649762964978717719e+02 1.398370322453145889e+02 1.116668292809188614e+02 1.262068209877756289e+02 2.561228606182183967e+02 1.019925993853918413e+02
53
+ 2.525550526067758881e+02 2.649927164229666232e+02 1.457764901336312846e+02 1.519121804298574148e+02 1.112983565335166247e+02 2.979018464293943680e+02 2.517559946611144142e+02 1.257251989750113239e+02 2.377842966816966737e+02 2.692916709774201536e+02 1.558791612193160745e+02 2.988101508442036334e+02 1.264682305510686575e+02 2.586186621657187743e+02 2.397705732393993969e+02 1.799773948514575750e+02 2.289212202830902072e+02 2.551439950194432242e+02 2.270410183155361210e+02 2.624250216967006395e+02 2.894508375480465361e+02 1.106681053253299183e+02 1.696755343387707171e+02 2.302155275158106917e+02 1.445113211107399138e+02 1.886794441144848236e+02 2.129906512422033131e+02 2.340704769023953986e+02 1.082933010325512981e+02 1.977265970892881626e+02
54
+ 2.874406426475449052e+02 1.913451373833616742e+02 2.647704607931181044e+02 1.881279366057496532e+02 2.840067538093052804e+02 2.179159896935567247e+02 1.839859875309309132e+02 1.189702187115672132e+02 2.794517441847542614e+02 2.815599370853284427e+02 1.258259904677427699e+02 1.428483537633051412e+02 2.541426109645265967e+02 1.338781623221585164e+02 2.877181693280556374e+02 2.041742222547631513e+02 2.429167887622087392e+02 1.861891141000048435e+02 2.815058357304060337e+02 2.932279451804108703e+02 1.428092602118218792e+02 1.129541128601477595e+02 1.104970415865426503e+02 1.361068733124779726e+02 1.702082770497633533e+02 1.583852379729134157e+02 1.614070717213254511e+02 1.054529192214523476e+02 1.116913943762218366e+02 1.806474879921846366e+02
55
+ 1.904583320230821926e+02 1.477903225290235980e+02 2.926623631581093150e+02 2.267002240281469199e+02 1.643763662729302268e+02 2.199235242233247902e+02 1.853923849032223359e+02 2.941726936508506469e+02 2.665966841434134835e+02 1.199566433868006357e+02 2.951991052054676175e+02 1.594510101065885124e+02 1.458298791153635534e+02 1.532145001211049475e+02 1.411023254500616133e+02 2.140513226665028128e+02 1.678784758049908419e+02 1.708308530430679184e+02 2.099440033407245778e+02 2.664570659333852518e+02 2.959905162222905801e+02 2.829445582187913715e+02 2.588706049990775000e+02 1.722199615074994483e+02 2.869184560072056343e+02 1.681559218785307053e+02 1.503240659973911306e+02 2.588597461006905291e+02 2.678295026364270939e+02 2.154561503934444886e+02
56
+ 2.071927904539387839e+02 2.171736003654224305e+02 1.593735315924418785e+02 2.947356579175152547e+02 1.742775794491871011e+02 2.184611101357660914e+02 2.225198306238390842e+02 2.168369296352294668e+02 1.755672175076374231e+02 2.252214925755263835e+02 1.563369877784152209e+02 2.085332604119019209e+02 2.572482649031854862e+02 2.951800051631508950e+02 1.079183556031880329e+02 1.218838648771928774e+02 2.685371616407055626e+02 2.419162624723466877e+02 1.022244855205179022e+02 1.101224552326326602e+02 2.597819405832950679e+02 1.134555412120959517e+02 2.870491931154815575e+02 1.374365654160442318e+02 2.645641258978021142e+02 2.531141673781916666e+02 2.361747183362105886e+02 1.893108861581111171e+02 1.539026912190118139e+02 2.501170032332128415e+02
57
+ 2.547888423116186232e+02 1.853670755857669974e+02 1.389074705955763420e+02 2.709929622842061008e+02 1.228800068832790515e+02 2.778321736112652616e+02 1.309641642706778555e+02 1.156980811627219055e+02 1.431313378740429982e+02 1.646591400066212714e+02 1.920182917083556049e+02 2.178001706163468043e+02 2.235489712948179886e+02 1.079088316874027242e+02 2.447091545393394370e+02 2.320303973549428065e+02 2.359105911115680101e+02 2.382951907588607128e+02 1.062067779247245483e+02 2.905379355334102911e+02 2.023335418134440715e+02 2.128348219019524095e+02 2.865957710750057004e+02 1.782427960783044796e+02 2.856139874187100531e+02 1.139905905655008098e+02 2.264676166669663360e+02 2.479179013019825675e+02 1.746165350218777803e+02 2.255842464851874070e+02
58
+ 1.883869033800616819e+02 1.965817072065136699e+02 1.890868666652849015e+02 1.898737766004000491e+02 2.779218373710688184e+02 2.134628932560298722e+02 1.100835458783813436e+02 2.768750976313177148e+02 2.547073561014202880e+02 2.728160162818061281e+02 1.733645011505617504e+02 1.625036971255624394e+02 2.977754324167240156e+02 1.632372616873928450e+02 2.174045665187836107e+02 2.606964806055048030e+02 1.625508452643421720e+02 1.715067940576683441e+02 1.218481476549646629e+02 2.842560845538128547e+02 1.928678337146606623e+02 2.708765321293922739e+02 2.077020047066411621e+02 2.923591890868326004e+02 2.230876482822842206e+02 2.689925468225608256e+02 1.036588336737814586e+02 2.052618530546818363e+02 2.648220111560104897e+02 1.868396012623422280e+02
59
+ 1.785937212608853315e+02 2.973454718025594161e+02 2.368986004504845084e+02 1.146953890760472348e+02 1.265905165006724644e+02 2.255973396401841455e+02 2.163675674740596264e+02 1.527913853500098185e+02 2.283358642424602465e+02 2.759303134283557597e+02 2.876072117803540777e+02 2.029362495845153944e+02 1.212425121544320490e+02 1.100001317370093830e+02 2.335268996183764330e+02 2.375268130741384027e+02 2.336339660612213436e+02 2.462747325703657282e+02 2.841981652294566061e+02 1.081959034831858446e+02 1.291296469376330833e+02 2.602425849072438950e+02 2.575669438145553727e+02 2.135342654708205714e+02 2.294373105308322067e+02 2.706502840281193016e+02 2.928412927772634475e+02 1.330151104176747765e+02 1.533759962548247131e+02 2.744006234275867655e+02
60
+ 2.257735103076358882e+02 2.728385269717355186e+02 2.290872800510813363e+02 2.330934692803050154e+02 1.037274604992595215e+02 2.674079561164307961e+02 1.195755645916240866e+02 1.402804464035359047e+02 2.170516922702277611e+02 2.744725918691634661e+02 2.930458735600458908e+02 1.496408395971007224e+02 1.595562419103408729e+02 2.835538666488008630e+02 1.780163567793609332e+02 2.906408145890961237e+02 1.133853019218590248e+02 1.494630592331960770e+02 1.214592101712915451e+02 2.263015460193574881e+02 2.598100406717117608e+02 1.963383361449393192e+02 2.235083985338561376e+02 2.946475410923074492e+02 1.758055989844200724e+02 2.637780439251395137e+02 2.875400021086666698e+02 1.577781508415756662e+02 2.146553072676672684e+02 1.798181279868336446e+02
61
+ 2.620574340171276617e+02 2.153711882285265915e+02 2.245961661539886904e+02 2.054509343172356921e+02 2.926008719008261210e+02 2.432564531143420652e+02 2.303655720936658611e+02 1.615953803481287991e+02 2.918921003884012748e+02 2.760746977013722017e+02 1.909442200188182710e+02 1.596536528765051060e+02 2.491411570718119037e+02 2.924629085319008936e+02 2.587604848561293807e+02 1.524605619386706792e+02 2.737599884275671798e+02 2.090365453766356723e+02 1.610548024559351461e+02 1.018774121963877803e+02 2.410901898572944049e+02 1.875862586601133444e+02 2.588626077539996686e+02 2.579873618626863845e+02 2.838744453525392828e+02 2.580071516854936817e+02 2.114887112935771256e+02 2.675506009048368696e+02 1.260391751775616029e+02 1.858866479221875920e+02
62
+ 1.963224789638335892e+02 2.444908535968891954e+02 1.962779352478895589e+02 1.553096436749702889e+02 2.483662294276224429e+02 1.067992874414757978e+02 2.633849667942634483e+02 2.454321751613854588e+02 1.854433418739394028e+02 2.562889653665436072e+02 2.506342746416453622e+02 1.900819942764665598e+02 1.704565979131312474e+02 2.916979173024495822e+02 1.898592592817412310e+02 2.687872145548625440e+02 1.525347862509104004e+02 2.786582104923993484e+02 2.310813531087783872e+02 1.166208530157265386e+02 2.602471623613457723e+02 2.102772607982462034e+02 2.183751071150112466e+02 1.065011561509572999e+02 2.813176394708128782e+02 1.792292558016025623e+02 2.804083600455996361e+02 1.557890480883644102e+02 2.439522159916458861e+02 2.652201783594097719e+02
63
+ 1.425266334964659904e+02 2.075049705342416928e+02 1.704914602333145126e+02 1.886474594627911756e+02 1.252313163849750595e+02 2.836097447326676502e+02 1.406399617929505439e+02 2.414245225193989768e+02 2.576349788827002385e+02 1.486724691707949262e+02 1.092388214497626961e+02 1.685935770192617724e+02 2.033388664740227227e+02 1.390809359458484948e+02 1.056188661648174758e+02 2.350581131530574055e+02 1.964295662906907012e+02 2.578831766420791496e+02 1.109952979966328144e+02 2.027546721440710940e+02 2.501377690830167637e+02 2.111868593440530617e+02 2.324728205186171692e+02 2.453971856382445935e+02 1.723822394524685819e+02 2.872924628066301693e+02 1.140766727214026446e+02 2.221345013854892159e+02 1.728173248741775296e+02 2.676400838220500873e+02
64
+ 1.711571121866394947e+02 1.085759247733173396e+02 2.001753766691515750e+02 2.760446855018309407e+02 2.056587091496190567e+02 1.121827347031253197e+02 2.274644480946081444e+02 2.571858980756533128e+02 2.945439217283808375e+02 1.913312305877045674e+02 1.500446430731354894e+02 1.650397772114545489e+02 2.581660073502400792e+02 2.094009769144933273e+02 1.731816092302842094e+02 2.727903589313663133e+02 2.606648610353666982e+02 1.460656197586831695e+02 2.016951883706858268e+02 1.247477859691891240e+02 1.732157361502286221e+02 1.195560196858487245e+02 1.253893910664414904e+02 2.455457677441618216e+02 1.778732818035962850e+02 2.490436815297808266e+02 1.487573988963908960e+02 1.937302250034929898e+02 1.502426775501600389e+02 1.110841009912817583e+02
65
+ 2.382535443835092508e+02 1.972031918916456732e+02 2.576267295349729807e+02 1.730194312205534288e+02 1.301593684828995094e+02 1.624008376323430127e+02 2.060036399923972681e+02 1.233366573394677630e+02 2.194763391620297739e+02 1.701495187616251314e+02 1.223397596968992218e+02 1.987622577877627350e+02 2.511738650001373117e+02 2.130204435763062634e+02 1.993899817227978133e+02 1.597764561560970265e+02 1.205224890815559604e+02 2.184250491898233690e+02 1.755709834516516139e+02 2.741081010321077542e+02 2.104755291992826187e+02 2.698148014221883386e+02 1.299106544858947814e+02 2.008369880697999292e+02 2.938716155581552130e+02 2.671516623028076083e+02 1.332347035771324215e+02 1.291435420390463378e+02 1.835021202063177554e+02 2.002866194329941720e+02
66
+ 2.554906544300547182e+02 2.365682876454178540e+02 2.924004211094360244e+02 1.662852505275750730e+02 1.123350814405425808e+02 1.910015128879867632e+02 1.341551373493250594e+02 1.313122940860927770e+02 2.397311819484906152e+02 1.559268654058377024e+02 1.407120959783594003e+02 2.371419051640040152e+02 2.217591327496910480e+02 1.881187811266301537e+02 1.632462641154496907e+02 2.970940639140721373e+02 2.422917505999918433e+02 1.356966040631749593e+02 1.702398486895437486e+02 2.608644720933497183e+02 2.783751927848827563e+02 2.951746624002826138e+02 1.720706565846523688e+02 1.275268866601749096e+02 1.880990845238362681e+02 1.129502795714700625e+02 2.919985401845127626e+02 2.747497807112307555e+02 2.667734033775608395e+02 1.373740617490475699e+02
67
+ 2.115416415080857746e+02 1.431719947715498336e+02 1.718744824503889674e+02 1.075365968452523902e+02 2.220100335193473029e+02 1.965127222891928795e+02 1.062726056237197838e+02 2.631794488147562561e+02 1.658640190278337627e+02 1.169182569761068464e+02 1.645780782039788619e+02 2.940728738870184316e+02 2.979920277570993790e+02 2.125849825405138631e+02 1.533327700316632161e+02 2.655551337415409421e+02 1.329075684859120088e+02 2.686536376777100941e+02 2.299223677315555676e+02 2.123135030200585334e+02 1.474417961566917654e+02 2.899688778344954017e+02 1.439992490259426461e+02 1.606165457016644780e+02 2.854253601360321682e+02 2.837928223954166924e+02 1.868865943198568402e+02 1.809928275876523571e+02 1.583918020284682484e+02 2.384217495701244331e+02
68
+ 1.181670050605631417e+02 1.525653020190297582e+02 2.615084872177121724e+02 1.755024420886775829e+02 2.989795566898581001e+02 1.573585789513378188e+02 1.903575226478752711e+02 1.641861715477102166e+02 2.943146494922903003e+02 2.038802368327418719e+02 2.581560000437879694e+02 1.504995935930718076e+02 1.095655891680627008e+02 2.628623226127134558e+02 1.069018430130149255e+02 2.750818506761686422e+02 1.121786007219489818e+02 1.106710601660877415e+02 1.217291564359016149e+02 2.915199334459504144e+02 1.325859381653097557e+02 1.737237090326784141e+02 1.036075961875061751e+02 2.392327113385031510e+02 2.486092083099548233e+02 1.259492139939950306e+02 2.665249241620523435e+02 2.103119814995928039e+02 2.718465347096271216e+02 2.018653364759854298e+02
69
+ 2.085808638159350608e+02 2.977621083099649582e+02 1.394173606621695285e+02 2.232898484647512873e+02 1.347812725162832521e+02 1.574683348766579627e+02 1.827258429860655724e+02 2.827887224427595356e+02 2.608349632236463549e+02 2.370910079389979046e+02 2.033290260845359398e+02 1.566531500677691042e+02 2.982287288081304837e+02 2.998057140577807900e+02 1.906108269451214596e+02 2.023344526730545851e+02 1.717672594576409040e+02 2.093320563180507747e+02 2.649028095061802333e+02 2.840422446800275793e+02 2.111868958418739908e+02 1.803076798272542760e+02 2.311954915496957312e+02 1.563425451766251513e+02 2.610066662710300989e+02 1.855286443040786537e+02 1.478912573842241045e+02 2.544380211258828410e+02 2.799416317427427430e+02 2.238937193404353252e+02
70
+ 1.269470316997365131e+02 1.895539822645488357e+02 2.443421824114378467e+02 2.632321641240823737e+02 2.164919638664115951e+02 1.042697198382110884e+02 2.896061632271033659e+02 2.068164163046922681e+02 2.059671371408958294e+02 2.352532326493898722e+02 1.046233655847859296e+02 2.755187319279126541e+02 2.344641322699609987e+02 1.434858288567621969e+02 1.255438908126368176e+02 2.548141480364848803e+02 1.466719626681152704e+02 2.020892715394597872e+02 1.195107046056347713e+02 2.012968701954913797e+02 1.996902768982717191e+02 1.560547951636197013e+02 2.162555170020900164e+02 1.483278604161245084e+02 2.615607136845001151e+02 2.424344777210258997e+02 2.524090919470299070e+02 1.726167614603126026e+02 2.199373130240069258e+02 2.318614758097714912e+02
71
+ 1.590143031424979370e+02 1.933970326403360502e+02 1.227042846200323112e+02 2.107086401017011781e+02 2.844049872407889552e+02 1.420899421875644464e+02 1.736571760246831673e+02 1.130876049831349661e+02 1.470306210908964317e+02 2.959723384067232246e+02 1.438030965279091049e+02 1.685928342779160403e+02 1.351720793691902713e+02 1.909711091249450590e+02 1.477005416416634205e+02 1.010528808923594681e+02 2.205493627613245167e+02 2.367352422049318079e+02 1.224997665062844305e+02 1.620949451166091251e+02 1.270634404764108467e+02 2.673321646154778932e+02 1.618882934467209225e+02 1.208967331765591524e+02 2.073956586593529607e+02 1.223277950209799059e+02 2.625820210851194361e+02 2.262632377752408672e+02 2.222881433937307349e+02 1.716205611551696961e+02
72
+ 2.376094214038359667e+02 2.287867757784330820e+02 2.035778067022395703e+02 2.546588007138803391e+02 1.514832565507949198e+02 1.736683542684334327e+02 1.991020520349750598e+02 1.873563480883249213e+02 1.589186331386689801e+02 1.042563150975229149e+02 2.019924784676414902e+02 1.136537158101241971e+02 1.091264020137841158e+02 1.352770409719844054e+02 2.178414513482917414e+02 1.831380105899948489e+02 1.114225947990316570e+02 1.736029819106907439e+02 1.354612112967272424e+02 1.996055424300992627e+02 2.905125217944571432e+02 2.980326934372309893e+02 1.560898949881966473e+02 1.943286005606112212e+02 2.429797193518882636e+02 2.652714760000731076e+02 2.863852813340179182e+02 1.838252831614893239e+02 1.814799327205894315e+02 2.338290144642930954e+02
73
+ 2.526381992552952340e+02 2.089745531365245483e+02 1.869938021147821701e+02 2.864405091884094645e+02 1.736924996547539877e+02 1.479914815134324613e+02 2.132537252074255321e+02 1.830098172980584934e+02 2.476607236946428827e+02 1.066503395377639265e+02 1.405219898965278276e+02 2.743866427972425299e+02 2.269305408710248173e+02 2.791638036143738191e+02 1.824422387811073634e+02 1.852994662516045423e+02 2.777032940597408128e+02 2.109153407914434126e+02 2.214759900082639490e+02 1.857033490029854761e+02 1.302118293337227328e+02 1.889562709124264188e+02 1.844813915245081546e+02 2.875482403705134402e+02 2.022892465111445404e+02 2.230217175841083872e+02 2.843056043891419904e+02 2.350834055358549222e+02 2.080929758762673032e+02 2.770814576487081240e+02
74
+ 2.389430507965955428e+02 2.463651891862864147e+02 2.369578462650186452e+02 1.902366989508459199e+02 2.003468797600664004e+02 2.681735461841141728e+02 2.362787745532336601e+02 2.323782975776413480e+02 2.525302892415198812e+02 2.828059530799229151e+02 2.840327053185673662e+02 1.223941816187275435e+02 1.056255174412387134e+02 1.386503050117574105e+02 1.384325506562210535e+02 1.176641636239777426e+02 1.670688688422628161e+02 2.506322552784647826e+02 1.181229702988334083e+02 2.607048520072489737e+02 1.667476448166365515e+02 1.310085831735554223e+02 1.553111545647699927e+02 2.907454039462255651e+02 2.844644695877585718e+02 1.989933906493695019e+02 2.662036190025202131e+02 1.792754658114438371e+02 1.073664330563030944e+02 2.793141822468826376e+02
75
+ 2.640306978448612654e+02 2.458161373226257069e+02 1.015510894380497575e+02 1.527048938693112916e+02 2.893334394723561900e+02 2.994916089563248534e+02 1.054055716033572452e+02 2.278819528330843127e+02 1.890909183007994443e+02 2.134436011261824433e+02 2.654189934957544210e+02 1.780852604264427725e+02 2.222277079756825628e+02 2.689688042831336361e+02 2.232046857529678050e+02 1.778434593737022169e+02 1.336418515516146783e+02 2.739064893378349552e+02 2.065065746675076355e+02 1.329712924393647313e+02 2.176938186185978736e+02 1.918043587714230114e+02 2.280421349429639122e+02 1.182282112372680842e+02 1.370131137248831692e+02 1.716251366233928195e+02 2.412427837766657888e+02 2.738208811966829899e+02 1.471415247536169488e+02 1.638288393831292353e+02
76
+ 2.669085627842696908e+02 2.477147782526785136e+02 1.718200513884793565e+02 2.299346472745743597e+02 2.016242169414389309e+02 1.631378839470685307e+02 1.859938403107781255e+02 1.609729169019194330e+02 1.536303039404505171e+02 2.234728543554556950e+02 1.953401084257108096e+02 2.920381588589057174e+02 2.034966688752892310e+02 1.019427894404581139e+02 2.980736970140829953e+02 1.738263823108001418e+02 1.531314323312329293e+02 1.400030133312995702e+02 1.802287961283190043e+02 1.719909696301723443e+02 1.974918793689569725e+02 1.666882741246514001e+02 2.879569025675030502e+02 1.334044307903087088e+02 1.016937569869423896e+02 1.660343944328368764e+02 2.214967229035601974e+02 2.539424882366704992e+02 1.211914878013190133e+02 2.835892388637473687e+02
77
+ 1.704109091340931741e+02 1.337843054639438378e+02 1.570106251098002588e+02 2.123587857442842335e+02 2.788290802167920219e+02 2.795601449888932848e+02 1.220747715539721696e+02 1.179984498565524405e+02 1.552783750686872963e+02 1.257256444039083192e+02 2.312614004137946893e+02 1.971625968209403084e+02 1.208837070227885135e+02 2.231693789143681386e+02 2.332576722664892941e+02 1.659208209363902711e+02 1.979623049620595907e+02 2.497459328714609512e+02 2.540243570817084446e+02 1.309045902221261599e+02 2.376613837929333499e+02 2.140333351750954023e+02 2.231625169053620539e+02 2.869160136215916737e+02 1.282002159167354023e+02 1.029173927424986488e+02 2.432034421383394545e+02 1.495648010251883306e+02 1.971910657968611247e+02 1.358409247687675361e+02
78
+ 1.833826243837603442e+02 2.960483510370855811e+02 2.343723986770386318e+02 1.560358896543934293e+02 2.499669478251469172e+02 1.762005778153444169e+02 1.918050503412152921e+02 2.089352602085182866e+02 2.770127170480132008e+02 1.268157216157417224e+02 2.670673189640755822e+02 1.547628252866769287e+02 2.602514896343354849e+02 1.557532905756793866e+02 2.574076233589491949e+02 2.646855654359934533e+02 1.749681240869035719e+02 2.465698370051858035e+02 1.076897610845538082e+02 2.337637497458482301e+02 1.791847918196868932e+02 1.967068388721293104e+02 2.340964493346380095e+02 2.762770912600988140e+02 1.174465260954359564e+02 2.950490567997024982e+02 1.354710376622284116e+02 2.342233227246520642e+02 1.617966271393036379e+02 2.107879984327653915e+02
79
+ 2.493754578342164336e+02 2.275093847135933061e+02 1.466148442335522191e+02 2.261697123059220189e+02 1.213252451599347950e+02 1.628949300801819504e+02 2.100466501082228206e+02 1.508908296808102989e+02 1.488199564735201079e+02 1.727131563468088302e+02 2.306747713688439205e+02 2.570279850661015644e+02 2.309125192178541113e+02 2.422081718543400370e+02 1.769407234272878782e+02 2.688532243604371956e+02 2.276780878660686085e+02 1.065345319601523641e+02 1.535069430280279050e+02 1.717902253122074967e+02 2.876755354986605084e+02 1.683056100689713332e+02 1.120105413679224569e+02 1.755508096146901664e+02 2.095863991316655870e+02 1.523590730880595174e+02 2.944635547123552897e+02 1.444697311944634066e+02 2.165062978405008494e+02 1.410128743297030098e+02
80
+ 1.434402193906418006e+02 2.368914090178307106e+02 1.963465933374949941e+02 1.914557752364961516e+02 2.870767419320768568e+02 2.044699144835463187e+02 1.223520556576680036e+02 2.352284247043744472e+02 2.917945011866975165e+02 2.225925999946875322e+02 2.240309397680480288e+02 2.048455962243571093e+02 1.188048963943729035e+02 2.200553599997707579e+02 1.885605934416515765e+02 2.863412817843446874e+02 2.913876692311304737e+02 2.446563674684449552e+02 2.981153955140326843e+02 1.111775924383378253e+02 2.239868361016714857e+02 2.540473271011064469e+02 1.343930974769885438e+02 2.368686732696482409e+02 1.175691554116390591e+02 1.014879352562223715e+02 1.330784448687188046e+02 2.045426156006566885e+02 1.168174380391246245e+02 1.704438548713551995e+02
81
+ 2.696784010384477597e+02 2.991318545155386346e+02 2.120364825583467336e+02 1.950895785161033018e+02 1.216112431291165592e+02 2.438998438799096391e+02 1.588292735755803733e+02 2.347670069791354024e+02 1.862846309471772770e+02 2.258642611266068343e+02 1.423367506635381119e+02 2.692888471853933083e+02 2.950212092401994255e+02 2.331327670110776467e+02 1.542291422318579635e+02 2.809064569107727038e+02 2.358857646534314654e+02 2.378124255062788563e+02 2.664164586086786812e+02 1.387157904298663880e+02 2.297158046581682243e+02 2.386372312695162634e+02 1.246509391338716171e+02 2.338956320284196408e+02 1.820257170558419944e+02 1.957425768708682767e+02 1.680974560138464540e+02 1.288235048549348676e+02 1.483029350020115089e+02 1.744880718659300669e+02
82
+ 2.512494238114035738e+02 1.112846425403449615e+02 2.472643304237797395e+02 1.241745840646870818e+02 1.808849124644312099e+02 2.524760780760417731e+02 1.836118621524309447e+02 1.408362492891266982e+02 1.099623406752946693e+02 2.383967522197594064e+02 2.436606913384966049e+02 2.770699525768120566e+02 2.597573569531676867e+02 2.935649366424795517e+02 2.702790297508025219e+02 2.563597369995835606e+02 2.279477293752616447e+02 2.477470305460766440e+02 1.962131167814513333e+02 2.859744526791636190e+02 2.703401534622389590e+02 2.763052603711840902e+02 2.934416645125817809e+02 2.193475948646207030e+02 2.822891098008749395e+02 1.085391177109117820e+02 1.782208012387337703e+02 2.335496863699061976e+02 1.715066387390946829e+02 1.948062204233656303e+02
83
+ 2.879262290016004613e+02 1.676743911135137068e+02 1.403503828589753937e+02 2.744454339345198832e+02 2.935124358491533485e+02 2.920282649929100671e+02 1.390240222956847447e+02 2.426642861805074745e+02 1.217336684570653489e+02 1.311823750440439085e+02 1.647679902066092836e+02 2.962811279981685288e+02 2.945746172932865647e+02 2.005257587949587332e+02 2.072045953580022228e+02 2.893049469033056766e+02 1.913962360581630833e+02 1.823675529874825543e+02 1.830342103129283373e+02 1.222396004373517400e+02 2.248239872372262482e+02 1.170253438297526429e+02 2.853825568202013301e+02 2.214973458763422514e+02 2.563932510909227176e+02 2.144837192650675206e+02 1.793062298958048473e+02 2.920176466690815005e+02 1.515607839109829627e+02 1.981203765908239802e+02
84
+ 1.733053660232129403e+02 1.312183264386245583e+02 1.276233157677672807e+02 2.020942572504836789e+02 2.314817368496994732e+02 2.242589617101967008e+02 2.160504620978007893e+02 2.360595788588375399e+02 2.952977074031120992e+02 2.334652590044975682e+02 1.243453875174208747e+02 1.916144242306085630e+02 1.092365115042800596e+02 1.478765005471206280e+02 2.191946613400726278e+02 2.879274886834762697e+02 2.733443652356662597e+02 1.858481832262083344e+02 2.193747651131673706e+02 2.695165737089945424e+02 2.960753121523491700e+02 1.890691006834304631e+02 2.638343907584013550e+02 1.510492177865631334e+02 1.878288206285384661e+02 2.726561149875388992e+02 1.704246795027074199e+02 1.006381753343381718e+02 2.153734239260733148e+02 2.551451126036402854e+02
85
+ 1.591849792872858984e+02 1.304671215023752779e+02 1.427456440770346831e+02 2.882324895344759170e+02 1.680635293254793510e+02 1.205800311663507642e+02 2.861305963205076637e+02 1.219224106654408928e+02 2.467003871618023538e+02 2.830287806498602095e+02 1.445950870572595193e+02 2.496562286252286640e+02 1.464987579205844099e+02 2.848280464142704318e+02 2.785616857190397013e+02 1.837468579783306950e+02 1.246964377230690673e+02 1.251791080124520050e+02 1.496399061799681363e+02 1.375936265087168522e+02 2.547928467777094852e+02 2.554856419260690927e+02 1.285559318166884850e+02 2.092144446410586909e+02 2.868951534942014518e+02 1.178319347908447270e+02 1.347784205269015274e+02 2.851299399919766984e+02 1.754694686670390809e+02 1.016886128619324694e+02
86
+ 2.606618423405234353e+02 2.125366732076933545e+02 2.822772640751277322e+02 1.096405633955119185e+02 2.437561663288932721e+02 2.129146561548243994e+02 1.148823764090175530e+02 1.516868774610028368e+02 2.090025176018670265e+02 1.817684320186263562e+02 1.584667226055155709e+02 1.501973711988126468e+02 2.530199923706828713e+02 1.847948752811591930e+02 1.778871618489498303e+02 1.664551902511519188e+02 1.100020157933824265e+02 1.352000835393275509e+02 1.710981737682794801e+02 1.530513645967782566e+02 2.588476693974693035e+02 1.775587245068043956e+02 2.006331886716666588e+02 1.389709403689849694e+02 2.489553638298030194e+02 1.673604491791948021e+02 1.991154502489720812e+02 2.423848982654565418e+02 2.882603768001737308e+02 1.620650086718309240e+02
87
+ 2.723642490909132903e+02 1.680927290528325670e+02 1.005734627393615455e+02 1.598916606218045047e+02 1.672547346703738071e+02 2.361420151042074451e+02 2.741857058408131707e+02 2.533004150866734392e+02 2.036092771261417340e+02 1.091915011443997230e+02 1.145604210422382323e+02 1.209982156413156247e+02 2.749595368914399387e+02 2.177794513808643160e+02 2.054163746311436967e+02 2.185860861470465579e+02 1.504022045473846845e+02 1.713704456854883347e+02 2.175221629008602804e+02 1.230663148243889253e+02 2.419648244223723168e+02 1.383010418990747326e+02 2.040260833828849059e+02 2.966316994044250919e+02 1.630596872908637351e+02 2.562534082821714492e+02 2.549425872735235998e+02 1.983522705781282127e+02 1.524860865223137694e+02 2.736848821358530586e+02
88
+ 1.277021385004174192e+02 2.448445434866889343e+02 1.296687360965440803e+02 1.874271582575348702e+02 1.145742775945452792e+02 1.884744688522491742e+02 1.336298647132909423e+02 1.523816963142488419e+02 2.658270705367647224e+02 1.781637174983711134e+02 1.154610011723892171e+02 2.005342781476718415e+02 1.303166615041172918e+02 2.397284110571510496e+02 1.612912854182502542e+02 2.821645080329541315e+02 2.544831471501324813e+02 2.622237400581972224e+02 1.417212269902922230e+02 2.054005404298748658e+02 1.092142219674599062e+02 1.652051184306486107e+02 2.825679563619778492e+02 2.056286073102957630e+02 1.772062144904277545e+02 1.163520479257007310e+02 1.006186351926139366e+02 1.734025793931427586e+02 1.446958902579306709e+02 2.025820689614877779e+02
89
+ 1.798382687901162740e+02 1.604629760861514001e+02 2.668981169240885265e+02 2.763242846779806996e+02 1.318105471716862098e+02 2.191362245125996537e+02 2.770758446308884686e+02 2.308910816293108326e+02 2.956895796828827656e+02 1.566426856848869988e+02 2.326210561246332418e+02 1.206555816723871715e+02 2.603144096756907970e+02 1.172571782204154829e+02 2.219493974369055991e+02 2.385109304229506790e+02 2.599678734377965839e+02 2.850516346518521686e+02 1.472948582444382168e+02 2.234296740595885922e+02 1.427895312415343199e+02 2.848238578369252423e+02 2.260232767550441508e+02 1.544648385858973541e+02 1.163971462755376791e+02 1.762731012775239492e+02 1.089523563056807660e+02 1.663966154222005116e+02 1.342495772836978745e+02 2.922401077696804350e+02
90
+ 2.806557294060240224e+02 1.077657131130299604e+02 1.622983596366119059e+02 1.723469481204717795e+02 2.678046848873893850e+02 1.442059922525422451e+02 2.629931208031973711e+02 2.741083495447689415e+02 1.194142462414748707e+02 1.688961325073638022e+02 2.967954354880449728e+02 1.822107331135221671e+02 1.292333403080546645e+02 1.856814508383810391e+02 2.103923137448445573e+02 2.517859299913771451e+02 2.551152596962431574e+02 2.077883190793959898e+02 2.986930461834413677e+02 1.196764061335889551e+02 2.378823960447958257e+02 1.692017967083341432e+02 1.471250494556689432e+02 2.608355254883699672e+02 1.757172426071724942e+02 2.629426236813185369e+02 1.040244734248400533e+02 1.533558690719498827e+02 2.011860465194789072e+02 1.720545334339216765e+02
91
+ 2.966488050331527688e+02 1.809989340563203086e+02 1.871527370563514978e+02 2.315558973515319394e+02 2.657682292004950000e+02 2.237816732699509998e+02 2.282045922056215090e+02 1.846236325909775928e+02 1.644827554373339353e+02 2.760250360653360531e+02 2.492622345937652995e+02 1.483432536002697191e+02 1.527550390024584601e+02 1.573429964258168070e+02 2.090721206423400247e+02 2.535819867756219708e+02 2.420536340362719159e+02 1.691914404667937788e+02 2.388696721384086459e+02 2.593840245957078423e+02 1.331872961625781500e+02 1.116342264469163581e+02 1.680964276125217793e+02 1.555020753508222526e+02 2.422052215908822177e+02 2.626184375196450560e+02 2.674230788003709449e+02 1.948146659156083729e+02 2.663681889818526543e+02 2.795342087705012659e+02
92
+ 1.674728956867265310e+02 2.635505920196726493e+02 1.395353777027027604e+02 1.883233466008314565e+02 1.249441512057495913e+02 2.512189370435067417e+02 2.719913755602378842e+02 1.237326636617429614e+02 2.939951219495833357e+02 1.686366002602222807e+02 1.800181056076297068e+02 2.288525977776352818e+02 2.717306800175948638e+02 1.565292507387619594e+02 1.445460932655216766e+02 2.092313282690445249e+02 2.370375511382032698e+02 2.880525812713749474e+02 1.172567175017127141e+02 1.112412797274302250e+02 2.246954385922853135e+02 2.812359340959551446e+02 1.004168603505609241e+02 1.005387863078678805e+02 1.815971195408835683e+02 2.811251817522295937e+02 2.605765849402707772e+02 2.298114360271968621e+02 2.557293814584297706e+02 2.542416589790913122e+02
93
+ 2.943583269632734414e+02 1.442274778682184717e+02 2.700917391987959491e+02 2.527420049761408904e+02 1.527279900348522688e+02 1.841979337126335281e+02 2.902442440856567600e+02 2.889101481258517765e+02 1.828125218264408716e+02 1.133179379993730862e+02 1.484787634874768116e+02 2.676352293304336740e+02 1.452118425579454311e+02 2.636966617786087568e+02 1.313546620759107100e+02 1.834019443937838787e+02 2.892465421328221282e+02 2.575015388377624959e+02 1.970702343003932242e+02 2.507528167727347181e+02 1.724897096143170074e+02 2.664268628760375464e+02 1.365257050051324370e+02 1.198011035974838308e+02 1.176831988053894520e+02 1.070946883963453899e+02 1.964638491125322446e+02 2.570844982939356100e+02 1.593905150913052466e+02 1.202569936867807598e+02
94
+ 2.734271498156417692e+02 2.352133531486530842e+02 2.590835237087205769e+02 2.260994493040042528e+02 1.805421354394846105e+02 2.728408805160995598e+02 2.367263522625478913e+02 2.580210451062748689e+02 1.204524877415260562e+02 2.946465680607327613e+02 1.547220269335912803e+02 1.186203172746691337e+02 1.923878728892914864e+02 1.094127410697402354e+02 2.222837240826847278e+02 1.529333599077602628e+02 1.861450256630199647e+02 2.125583079944122176e+02 1.527591657960447264e+02 2.694001797345342766e+02 1.986063989766776388e+02 2.192493126389772442e+02 2.986827335637019587e+02 2.790660387254000625e+02 2.781487003899754313e+02 2.564198676846006606e+02 2.597551240338123648e+02 2.358970425952163907e+02 1.951628676328612357e+02 1.078208269500064347e+02
95
+ 1.190762776130697205e+02 2.951075493308472346e+02 1.091043363430719069e+02 2.824365312299846664e+02 2.445811468414383398e+02 2.538090805786315514e+02 1.230092364266577363e+02 2.633887649939744051e+02 1.865216093980499181e+02 1.540388898662323243e+02 2.047343894245035756e+02 1.431412534309083640e+02 2.857794001060171922e+02 1.492366175285521592e+02 1.380934567887849198e+02 1.331831467466375898e+02 1.149412013934811796e+02 2.205070844660474734e+02 2.939252657951740844e+02 2.049464694042562769e+02 2.047902832862141054e+02 1.810793422252176015e+02 2.005356992447976836e+02 1.381400138775680375e+02 2.582445444487385657e+02 1.698212931623984616e+02 2.252085951830697468e+02 1.808378144669676999e+02 1.307311344108444473e+02 1.050024101356033697e+02
96
+ 1.722314120162143354e+02 2.530014253763471856e+02 1.298340795948372772e+02 2.948664870226410812e+02 2.383106068289312702e+02 1.822969205106659558e+02 2.285226769051377005e+02 2.759417691711663565e+02 2.120970517474504220e+02 2.831046044310812704e+02 2.320579821788242612e+02 1.286125039667014960e+02 1.609837368065715282e+02 2.931112965353385107e+02 1.441758663366052531e+02 2.810263276191118962e+02 1.239857273771131077e+02 2.399447548605567988e+02 1.460208836055017514e+02 1.205325462037979491e+02 2.112513935912650993e+02 1.036793750016967692e+02 1.113202625217208777e+02 1.646612561683649574e+02 1.018350908838390581e+02 1.263835026124204859e+02 2.766683711501553944e+02 1.682407929561517506e+02 2.677103056024840271e+02 2.147294480454548307e+02
97
+ 2.763536852866382105e+02 1.511976958084401872e+02 1.026794659371155944e+02 1.805990415690671398e+02 2.442493962549426385e+02 1.881796213041043018e+02 1.028768312506858535e+02 2.787706953534510603e+02 2.589640601731795755e+02 1.730107396932538677e+02 2.218419822849910190e+02 2.651646152747807719e+02 1.476149140151474342e+02 1.986450675254654072e+02 1.050693447352362853e+02 1.819666738706916931e+02 2.873544952103893593e+02 1.472060704631180954e+02 1.297023844405691761e+02 2.824778443572924971e+02 2.918073394139615289e+02 2.128134400148996974e+02 2.223096450508596149e+02 2.761940547406351811e+02 1.348708672340777639e+02 1.857009592938832441e+02 1.062906640064134649e+02 2.104442283262811202e+02 2.812954268214299418e+02 2.739038950945439979e+02
98
+ 1.837264129055918147e+02 2.399207190527903322e+02 2.843910623120511900e+02 1.773207161532972975e+02 2.056581469496123873e+02 1.558029517788254168e+02 1.458438122541016924e+02 1.893030782939712253e+02 1.139027557376393673e+02 2.228775749423569437e+02 1.367670384452707140e+02 2.854480456674787092e+02 2.424985140340279202e+02 2.940521113211518696e+02 1.330693282221190259e+02 1.212599008475133076e+02 2.754747741586869552e+02 1.062856492128348549e+02 1.212724485003486166e+02 2.100514698158626743e+02 2.547262582240854272e+02 1.999488755181088777e+02 2.578561029518564283e+02 2.784200494851090752e+02 2.728829168298310606e+02 2.071711407548560544e+02 1.708729380756020362e+02 2.726254883308487251e+02 1.104364015278258364e+02 1.175773277008901090e+02
99
+ 2.554381337818412305e+02 1.634513906120204183e+02 2.309962436793083214e+02 2.460443770945291249e+02 1.618890365991254896e+02 1.046310291743186980e+02 2.772116654811295575e+02 2.098555252827713957e+02 2.309383801112169863e+02 2.845300950466865402e+02 1.268119123926061320e+02 1.697885006171669602e+02 1.901887742560337529e+02 2.605757830463372215e+02 2.755463791239279772e+02 1.771647294768940810e+02 2.403902735905423356e+02 1.774352552408031443e+02 1.796883744424403631e+02 2.736192366006921475e+02 2.118505050785533967e+02 1.873353967662169453e+02 1.802980863638028950e+02 1.869858546159753132e+02 1.200946851663063342e+02 2.350811068219035178e+02 2.018941614745772313e+02 1.010158706413519525e+02 1.661546933057649937e+02 2.570882207683835077e+02
100
+ 2.856134023048114159e+02 1.356279054667102741e+02 1.225310201562991494e+02 1.529777144242077327e+02 2.936506440162480658e+02 2.589580133771784176e+02 1.864782805190425279e+02 1.931182124516369640e+02 2.913608028278327993e+02 1.555662042949096531e+02 1.173676742008071301e+02 2.242990267171766732e+02 2.651338851871976203e+02 1.128980005738893482e+02 1.283582653966309408e+02 2.071495534530326097e+02 1.241509031508031740e+02 2.393403040292282640e+02 2.829812266966206380e+02 2.294799861563923287e+02 2.129576840814710295e+02 2.165539860914115877e+02 1.357366103660294243e+02 2.396252028023287153e+02 1.395106368224716107e+02 1.700689743264745744e+02 1.253435651632085950e+02 1.508112259783626428e+02 2.310267786371028933e+02 2.311667616985857876e+02
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/random-int-data.txt ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -67 65 82 64 51 1 -12 2 -84 -52 12 82 -45 -84 -41 31 -49 36 -70 40 -74 -99 32 64 -6 43 -53 -43 43 96
2
+ -58 20 25 99 -25 78 -6 59 -23 30 36 25 -8 83 -43 -7 -8 42 -90 96 46 88 31 12 68 -21 -6 7 78 -19
3
+ -66 -51 0 13 42 -43 -30 -29 20 10 -24 -5 -42 38 -56 6 1 -80 -65 -91 89 64 -21 49 -84 41 6 -78 71 -2
4
+ -50 -84 -50 -66 46 -88 -10 -28 -25 6 -7 10 -35 86 41 -17 72 -67 13 -67 -76 -84 -15 35 67 40 90 38 -1 -47
5
+ -51 27 -48 26 -73 -46 -68 -56 -38 -4 49 -64 57 -86 -80 70 50 34 84 97 -76 3 -54 -89 -7 -53 15 36 -28 85
6
+ 2 -59 4 30 70 -42 -26 -1 27 -90 -18 95 -10 -36 43 24 86 -8 -100 92 80 -40 17 -93 -81 54 -8 84 -53 38
7
+ -80 0 -71 -41 -33 9 -61 0 26 80 64 67 74 68 -72 78 -72 -52 -19 37 -33 -24 -11 -71 -53 -16 25 56 -74 0
8
+ 71 -23 49 -36 -43 -70 82 69 -100 -27 50 20 30 84 -33 90 49 39 -52 -51 -86 -76 -72 -88 12 91 -96 -61 -87 -47
9
+ 21 39 1 78 68 -80 -54 71 17 -94 34 -20 14 -5 -24 55 -84 -50 -90 -24 -79 -81 53 -50 22 -13 -92 78 -22 -50
10
+ -47 -73 77 -93 -20 51 -37 -14 -37 -18 -8 -14 -71 29 -27 -5 54 77 -7 -2 15 -23 98 -34 -65 -78 -77 -90 -5 -35
11
+ 92 -33 71 24 43 -19 50 -40 -48 -33 -51 -14 23 40 -78 -14 -76 1 52 69 93 5 -13 30 -60 -20 -54 49 -52 93
12
+ 32 -86 21 -41 -86 -38 97 -35 -37 -89 -15 -18 -46 -37 8 63 -63 -61 57 50 43 -27 -45 98 -56 -81 16 -38 -25 -28
13
+ -18 19 -52 -86 92 -72 23 35 20 57 69 -22 52 -66 -74 -29 -1 -10 -97 22 -97 -93 -70 87 85 -31 42 -29 -10 -36
14
+ 78 80 -93 68 41 84 -37 -62 38 -9 99 -60 90 47 -33 -40 -59 97 -28 9 35 -6 -60 -83 -39 -97 -25 -78 95 40
15
+ 79 -35 -45 -46 69 10 29 -88 98 -44 66 11 45 -58 -11 -25 51 -44 54 30 59 98 35 -28 93 86 99 19 -27 -83
16
+ 80 77 -72 57 -35 -27 86 -67 11 77 -28 -89 -30 -31 -72 64 -95 -75 92 -32 -96 -14 6 -83 -66 -58 71 -17 58 -53
17
+ -1 17 -72 82 -57 -48 -7 -44 -80 85 -99 -9 27 -11 24 13 86 18 67 -9 12 77 98 49 49 12 -82 45 31 -68
18
+ -13 -75 -26 17 91 12 -95 -62 -54 -60 22 50 86 58 -11 -11 -21 31 16 -15 67 90 1 80 -57 -98 35 -54 51 91
19
+ 28 -75 -31 49 0 73 75 -66 50 -77 -20 82 -40 -90 -28 32 -44 89 -75 -33 -11 -19 -55 79 18 2 -39 -49 78 -72
20
+ 14 56 78 69 -40 -20 -39 71 99 -89 60 -82 -1 -77 -42 94 -41 35 72 11 -13 89 -52 -41 -93 43 -39 -61 68 -4
21
+ 88 18 -90 -75 -49 46 -28 -48 -69 -64 77 -8 91 -65 62 -27 -19 34 10 78 82 49 -34 63 78 -88 -17 -37 -85 91
22
+ 4 36 -77 -75 -12 70 42 8 7 -31 -69 -74 -65 18 85 -92 91 16 -15 24 -74 -56 71 -70 -90 20 13 73 -68 -65
23
+ 92 22 -31 -73 -59 -78 -20 -11 -61 36 -40 34 -96 -12 51 -45 -12 12 -3 -42 -71 68 -8 -91 50 -73 -96 -46 -38 -4
24
+ -87 44 -58 -83 70 -81 32 29 -79 45 -64 -52 57 73 -80 69 7 -22 31 -71 -34 -33 47 79 -17 6 -77 -89 3 50
25
+ 85 2 73 -88 -99 -13 -76 1 -90 51 30 -52 75 -2 -8 10 -83 -40 -5 -79 82 19 79 94 49 4 66 -76 6 -48
26
+ 29 -34 66 -93 45 -1 -98 92 -92 29 -10 64 -23 -81 -73 -62 -18 37 -29 -50 -52 90 -28 24 -4 -67 -33 25 -78 93
27
+ 57 -46 36 -16 34 -59 -96 -86 64 2 28 42 -32 6 -17 37 38 -40 -92 55 -22 -42 11 -77 12 81 -89 -39 -30 -39
28
+ -72 -68 -41 -5 93 55 24 -6 84 77 30 33 -51 -62 6 -5 -83 60 -1 -64 7 -7 -92 31 5 -21 -34 -14 21 -33
29
+ 26 -75 -36 -54 -21 -38 -49 -20 82 73 -84 -5 -69 84 -87 12 7 -67 -40 -50 -35 -65 80 -83 -2 1 34 -16 91 82
30
+ 61 -21 1 -64 -56 -61 74 16 0 38 51 34 -35 37 -28 -52 -14 61 14 58 50 27 -43 -27 14 56 -16 -78 50 -89
31
+ 45 -47 -61 68 -41 -70 14 -51 49 -84 64 -65 88 -39 -88 28 -55 -18 81 -2 -1 -45 65 -6 62 16 71 71 -1 47
32
+ 47 60 22 -42 -5 -74 12 66 89 -82 -85 65 74 0 -18 56 -39 84 -65 -42 -33 -60 23 33 -8 -72 3 -64 -3 -25
33
+ -70 11 -19 -12 -1 -50 -89 -61 78 28 55 92 -17 86 -17 -45 -31 68 -24 -99 -59 27 79 -2 21 -80 54 9 14 -70
34
+ -38 52 -99 50 -46 -63 -74 -41 -43 -62 -81 38 -99 17 -94 -6 44 -20 -13 -30 71 -43 43 -28 -8 57 -93 98 4 42
35
+ -17 -27 -60 -22 86 -49 39 -83 72 -16 82 74 73 -29 16 -59 81 -60 -96 51 -62 -55 -79 -31 -15 -67 -18 -83 -61 -86
36
+ 28 37 -44 7 -17 -10 -65 8 -78 -17 -46 -5 -35 -86 13 -16 27 24 60 -12 -48 -45 16 -33 70 -45 -63 -60 21 70
37
+ -75 -89 -93 -93 62 -44 -39 46 31 57 72 30 -65 29 66 -53 2 -2 71 -90 -73 -40 -63 32 68 30 25 98 38 92
38
+ 88 3 5 73 -2 -61 -94 79 99 94 71 -83 -40 80 -79 -14 -34 -99 -52 27 23 13 13 -35 -74 13 43 -19 2 -62
39
+ 92 -47 -27 9 -68 -86 -57 43 9 -81 -9 69 52 -28 80 -13 -6 -44 -81 -89 -10 30 -64 86 -76 -11 -100 15 12 -62
40
+ 76 -42 39 70 74 79 84 -52 18 -58 78 53 89 58 -32 20 -51 35 12 37 -70 -21 5 97 67 -25 -25 -10 2 30
41
+ -84 26 -60 -34 11 -27 47 85 -89 29 54 -53 66 -9 12 4 92 70 2 -12 -55 72 -62 -79 -8 68 -19 12 -8 -100
42
+ 78 -97 -76 86 -47 42 99 -3 9 49 -84 86 26 43 -26 90 23 -66 -37 -35 25 -12 -42 -12 96 -15 48 87 -95 -12
43
+ -60 57 -30 -4 -84 24 -82 -5 34 56 76 81 -64 23 32 34 -41 -48 -6 77 -42 64 87 92 82 59 9 -71 -56 -45
44
+ -74 -90 -27 93 33 15 -35 -73 78 23 17 -28 9 63 9 35 15 32 0 -4 -32 54 -76 14 -14 -8 16 -43 -81 57
45
+ -2 22 85 -33 -48 74 64 -59 -27 17 -65 27 -50 -81 41 -69 -26 -29 -83 48 -81 51 58 -62 -63 -55 -63 39 32 -34
46
+ 98 -99 13 25 -10 43 -62 50 82 -90 -51 40 -71 82 27 -73 19 -62 37 10 -21 45 -94 -45 -41 -3 44 86 -2 27
47
+ -80 -89 -57 87 -42 19 32 -49 37 -4 -30 54 46 -3 -92 89 60 37 -86 38 61 93 45 -45 -86 54 21 45 50 -53
48
+ 7 -68 71 -6 41 -72 67 45 15 46 85 59 82 19 65 75 -62 -35 47 -51 23 41 -54 27 -99 14 9 69 60 62
49
+ 99 -51 83 -47 -19 -57 -22 51 -52 52 92 80 69 1 -31 0 -19 -54 73 -5 3 82 -86 -84 -95 -83 -92 -52 -90 -79
50
+ 43 -75 62 99 66 -43 -38 -21 23 35 -63 -61 -46 5 3 -90 -28 55 87 89 -29 -46 23 -61 -5 10 -70 -63 50 -14
51
+ 39 38 10 66 -24 -45 55 -33 31 29 44 31 73 44 6 69 -21 -58 -3 93 -51 86 -16 -88 88 -30 75 78 -20 -12
52
+ -11 11 -19 40 82 6 10 22 90 -78 -88 -49 72 69 -62 42 -23 22 -38 -98 0 -3 -43 20 9 18 -67 -7 22 21
53
+ 99 80 -55 74 43 -31 60 -26 -29 -6 75 60 92 -42 85 18 1 1 -74 -44 -12 72 -57 -98 99 62 45 -40 -39 -75
54
+ 50 30 -18 -29 -80 -59 -96 46 -99 -76 -13 -75 -93 -95 -45 62 -37 53 -96 57 -40 3 14 -45 -84 58 75 16 37 -6
55
+ 1 -47 87 -99 -22 -22 -20 71 -91 13 35 -80 75 65 -87 16 -37 99 -60 49 52 18 55 -11 18 24 -65 -80 8 -79
56
+ -8 -87 86 -9 -64 -76 59 -52 -89 18 13 70 44 93 99 62 39 49 83 28 72 -71 -13 -71 -22 44 -87 73 -68 80
57
+ 41 -26 44 -63 -26 -83 -44 63 -51 -48 52 -8 55 73 -45 84 40 45 32 -34 -78 -46 -79 57 -40 11 34 -75 -20 91
58
+ 94 9 -35 -5 3 59 -63 2 -7 -72 -34 -70 78 99 -29 37 11 91 61 29 85 -15 59 79 47 41 19 -18 -92 47
59
+ -59 -89 57 -72 -79 88 -85 18 -35 -96 -57 33 83 70 -55 -16 -21 72 -53 89 -44 -86 9 -44 -26 78 2 -93 -75 6
60
+ 55 73 89 80 -69 -93 -39 -88 62 49 91 -68 87 -26 40 16 -49 -53 -57 23 -97 39 -78 44 -15 1 60 -87 43 -42
61
+ -2 -23 -74 -80 -59 52 -58 68 64 97 -86 -41 -88 35 49 3 -40 90 34 -2 3 13 -95 8 -1 6 75 92 19 -31
62
+ 57 76 65 3 37 -72 -43 57 64 -23 41 87 26 76 -18 -32 28 47 11 47 -33 -12 4 81 -92 -47 -81 43 -2 5
63
+ 68 74 66 -89 -95 -40 -78 -58 -54 -20 2 20 94 -35 58 -20 41 77 0 95 39 14 36 -40 -85 -60 -63 82 0 58
64
+ -61 -99 61 10 -2 -31 -70 37 -77 -10 85 95 -28 70 -81 -78 -68 -33 -77 77 -6 42 -100 -68 -59 -86 -42 -74 35 -32
65
+ 64 -1 -1 -64 51 11 -65 47 -87 -8 5 58 22 -80 68 -25 24 59 -25 -75 95 -22 -73 27 86 -39 -98 -1 -17 -32
66
+ 94 -50 -53 -62 -53 46 50 38 -95 -77 40 -38 -23 -14 -68 -20 -47 23 -8 -12 -92 -69 -97 30 94 -45 47 -81 82 -60
67
+ 28 67 -48 4 74 27 -30 12 -32 35 91 -83 30 -55 -7 79 97 11 93 -45 -79 31 78 65 84 -23 -26 17 -61 43
68
+ 44 60 -88 72 31 98 55 -4 66 -14 10 -81 -40 66 -15 21 69 -98 34 3 75 18 98 -6 47 -39 31 -19 30 -51
69
+ -6 18 -93 31 51 -20 -16 -33 -38 -19 71 4 -53 23 97 1 -28 -72 -44 -48 45 33 -76 86 64 49 -45 -34 -9 -76
70
+ -19 8 28 -27 -51 -58 -36 63 -92 -95 70 41 -38 -49 -95 -100 43 97 -60 -5 -56 45 -13 -3 20 -10 -21 -85 -5 63
71
+ -74 -74 -74 -39 -57 -12 51 11 -11 -22 -26 -54 71 24 -37 77 -90 77 75 86 -53 3 69 -99 -82 -59 30 81 -21 -86
72
+ 67 63 87 -15 60 -82 87 51 -39 -49 -16 74 51 17 6 47 98 89 -20 -98 97 -61 18 34 37 -36 37 -96 90 44
73
+ 53 -8 37 -76 -61 70 -77 -11 98 -80 12 -80 6 -89 8 -59 -69 -100 -52 -30 95 -58 61 29 52 -64 -51 10 16 -58
74
+ 54 -10 49 62 76 -25 80 36 13 5 59 -65 14 41 26 -78 23 -45 -51 -85 91 -43 -61 -37 94 27 -11 49 98 48
75
+ 53 -51 27 34 28 -53 18 17 31 -31 59 71 -34 25 54 -84 -34 -24 76 38 -36 15 -1 56 2 -12 0 26 -38 -62
76
+ 4 -94 -63 -21 -95 -42 -12 86 14 -86 -1 80 -48 62 -47 -52 3 91 -86 11 79 32 -24 -33 -54 19 -17 28 -33 -97
77
+ -18 41 84 1 -83 48 -99 -64 26 -52 3 -64 68 -98 93 -79 -97 11 88 74 41 -31 -42 -35 -66 18 97 -30 19 -93
78
+ -19 42 61 -91 -20 59 -11 -64 -60 85 -6 -71 33 -52 46 51 -86 -77 74 -4 74 -81 1 -39 -30 12 -12 20 66 60
79
+ 86 1 -67 -91 -92 -22 91 -90 -45 26 53 -6 99 46 -29 -40 -99 57 -45 -47 -3 -86 90 -78 -33 73 90 -51 -75 2
80
+ 88 -34 -2 30 -18 35 -23 90 99 -49 90 -79 94 -38 48 67 -35 -58 81 -24 18 -54 83 65 -58 -12 13 89 -59 57
81
+ 92 -99 94 -73 97 -78 -93 98 -78 95 -21 -17 -11 -92 69 -60 86 9 -36 -18 -33 -39 -65 74 -65 37 -49 87 -28 -81
82
+ -95 2 -18 20 93 54 86 -63 -5 -89 17 -9 75 -66 -64 -82 -46 -48 82 5 -89 19 -32 -45 53 -47 21 -9 40 34
83
+ 86 87 55 -41 49 -10 -6 -7 -99 23 90 -50 -9 -81 77 65 29 -21 22 -82 19 48 -24 -72 75 -66 -69 -17 72 6
84
+ 13 37 96 31 -65 -54 -91 -27 84 52 -9 -28 85 96 14 63 -34 -29 -85 78 -75 -44 -30 -5 4 72 -45 6 13 71
85
+ 96 -69 67 59 69 46 80 42 81 30 89 -45 -10 -44 25 31 89 16 -36 86 31 92 1 5 -2 92 -11 77 20 40
86
+ -48 98 -100 30 54 9 84 -88 5 48 93 56 -94 -89 81 33 44 -30 -95 -98 29 -33 13 -26 -59 -80 -68 -40 12 11
87
+ 82 -63 -30 -67 54 -68 50 -63 -91 -68 -45 -66 -58 16 -25 9 -50 -59 -55 4 -2 0 -63 67 30 -21 -8 55 21 -68
88
+ 9 -8 56 -6 84 81 -63 -35 81 56 -50 -54 96 -51 86 0 66 -4 -18 65 -26 -57 8 78 -54 17 18 86 21 68
89
+ 9 38 33 16 3 86 -57 28 -6 -44 -42 -2 3 -71 -86 23 34 -29 33 -30 67 63 -11 76 -65 92 30 -66 61 1
90
+ -72 -85 -1 64 -79 -78 -1 15 -35 -32 80 33 -36 -82 24 -65 -23 29 38 -31 87 55 -18 -52 -77 -22 -11 54 62 -48
91
+ 65 -77 50 16 41 -94 -21 16 85 24 60 86 -78 -13 69 46 55 5 -27 -18 -6 -1 59 -62 -58 -99 -49 -84 89 18
92
+ -21 -15 -55 60 78 98 67 94 58 -5 -36 42 36 73 13 72 -78 -68 41 -37 -33 -46 -80 40 13 -44 -71 -8 15 -77
93
+ 16 -93 -42 -10 14 57 -54 -3 -44 -21 30 -93 71 25 -60 -94 93 5 -94 -84 -72 1 -50 -34 23 -15 15 18 72 -29
94
+ -22 -82 -30 -87 -88 -25 46 32 -30 -55 -79 -85 71 -89 -57 -88 21 53 -100 -64 -92 -97 56 -51 -17 -34 -31 6 -68 84
95
+ -53 -51 90 -38 -61 57 -63 67 22 22 70 44 43 97 20 -62 -74 72 83 -32 35 -66 -29 5 -88 55 -94 94 -19 55
96
+ 57 51 29 -42 -21 63 -57 7 -48 -87 -60 -55 -77 -53 -1 -85 64 60 53 71 41 59 -61 -73 -12 86 90 10 -60 -38
97
+ 2 -9 14 67 -2 70 11 -78 26 -55 -86 -25 99 66 63 64 46 59 66 -37 -78 -70 63 1 -20 2 46 50 34 19
98
+ -87 -40 75 -11 -88 -80 -95 -20 -92 -28 83 24 88 -39 83 -36 -61 56 99 -73 -59 -85 -49 -10 91 12 -79 -18 -15 6
99
+ 35 -74 -4 -15 40 -87 81 -22 -12 -46 14 9 98 -35 -2 -12 57 -74 -52 71 70 -70 -61 -47 89 44 33 -100 54 42
100
+ -4 -34 80 -12 -15 -9 -8 -29 89 -55 -33 89 16 -33 -73 -82 98 27 88 59 48 20 -67 -21 -86 11 -50 46 64 -8
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/data/selfdual-4d-polytope.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # The facets of a self-dual 4-dim regular polytope
2
+ # with 24 octahedron facets. Taken from cddlib.
3
+ # Format b + Ax >= 0
4
+ 1 1 1 1 1
5
+ 1 1 1 1 -1
6
+ 1 1 1 -1 1
7
+ 1 1 1 -1 -1
8
+ 1 1 -1 1 1
9
+ 1 1 -1 1 -1
10
+ 1 1 -1 -1 1
11
+ 1 1 -1 -1 -1
12
+ 1 -1 1 1 1
13
+ 1 -1 1 1 -1
14
+ 1 -1 1 -1 1
15
+ 1 -1 1 -1 -1
16
+ 1 -1 -1 1 1
17
+ 1 -1 -1 1 -1
18
+ 1 -1 -1 -1 1
19
+ 1 -1 -1 -1 -1
20
+ 1 2 0 0 0
21
+ 1 0 2 0 0
22
+ 1 0 0 2 0
23
+ 1 0 0 0 2
24
+ 1 -2 0 0 0
25
+ 1 0 -2 0 0
26
+ 1 0 0 -2 0
27
+ 1 0 0 0 -2
evalkit_eagle/lib/python3.10/site-packages/scipy/spatial/tests/test_hausdorff.py ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+ from numpy.testing import (assert_allclose,
3
+ assert_array_equal,
4
+ assert_equal)
5
+ import pytest
6
+ from scipy.spatial.distance import directed_hausdorff
7
+ from scipy.spatial import distance
8
+ from scipy._lib._util import check_random_state
9
+
10
+
11
+ class TestHausdorff:
12
+ # Test various properties of the directed Hausdorff code.
13
+
14
+ def setup_method(self):
15
+ np.random.seed(1234)
16
+ random_angles = np.random.random(100) * np.pi * 2
17
+ random_columns = np.column_stack(
18
+ (random_angles, random_angles, np.zeros(100)))
19
+ random_columns[..., 0] = np.cos(random_columns[..., 0])
20
+ random_columns[..., 1] = np.sin(random_columns[..., 1])
21
+ random_columns_2 = np.column_stack(
22
+ (random_angles, random_angles, np.zeros(100)))
23
+ random_columns_2[1:, 0] = np.cos(random_columns_2[1:, 0]) * 2.0
24
+ random_columns_2[1:, 1] = np.sin(random_columns_2[1:, 1]) * 2.0
25
+ # move one point farther out so we don't have two perfect circles
26
+ random_columns_2[0, 0] = np.cos(random_columns_2[0, 0]) * 3.3
27
+ random_columns_2[0, 1] = np.sin(random_columns_2[0, 1]) * 3.3
28
+ self.path_1 = random_columns
29
+ self.path_2 = random_columns_2
30
+ self.path_1_4d = np.insert(self.path_1, 3, 5, axis=1)
31
+ self.path_2_4d = np.insert(self.path_2, 3, 27, axis=1)
32
+
33
+ def test_symmetry(self):
34
+ # Ensure that the directed (asymmetric) Hausdorff distance is
35
+ # actually asymmetric
36
+
37
+ forward = directed_hausdorff(self.path_1, self.path_2)[0]
38
+ reverse = directed_hausdorff(self.path_2, self.path_1)[0]
39
+ assert forward != reverse
40
+
41
+ def test_brute_force_comparison_forward(self):
42
+ # Ensure that the algorithm for directed_hausdorff gives the
43
+ # same result as the simple / brute force approach in the
44
+ # forward direction.
45
+ actual = directed_hausdorff(self.path_1, self.path_2)[0]
46
+ # brute force over rows:
47
+ expected = max(np.amin(distance.cdist(self.path_1, self.path_2),
48
+ axis=1))
49
+ assert_allclose(actual, expected)
50
+
51
+ def test_brute_force_comparison_reverse(self):
52
+ # Ensure that the algorithm for directed_hausdorff gives the
53
+ # same result as the simple / brute force approach in the
54
+ # reverse direction.
55
+ actual = directed_hausdorff(self.path_2, self.path_1)[0]
56
+ # brute force over columns:
57
+ expected = max(np.amin(distance.cdist(self.path_1, self.path_2),
58
+ axis=0))
59
+ assert_allclose(actual, expected)
60
+
61
+ def test_degenerate_case(self):
62
+ # The directed Hausdorff distance must be zero if both input
63
+ # data arrays match.
64
+ actual = directed_hausdorff(self.path_1, self.path_1)[0]
65
+ assert_allclose(actual, 0.0)
66
+
67
+ def test_2d_data_forward(self):
68
+ # Ensure that 2D data is handled properly for a simple case
69
+ # relative to brute force approach.
70
+ actual = directed_hausdorff(self.path_1[..., :2],
71
+ self.path_2[..., :2])[0]
72
+ expected = max(np.amin(distance.cdist(self.path_1[..., :2],
73
+ self.path_2[..., :2]),
74
+ axis=1))
75
+ assert_allclose(actual, expected)
76
+
77
+ def test_4d_data_reverse(self):
78
+ # Ensure that 4D data is handled properly for a simple case
79
+ # relative to brute force approach.
80
+ actual = directed_hausdorff(self.path_2_4d, self.path_1_4d)[0]
81
+ # brute force over columns:
82
+ expected = max(np.amin(distance.cdist(self.path_1_4d, self.path_2_4d),
83
+ axis=0))
84
+ assert_allclose(actual, expected)
85
+
86
+ def test_indices(self):
87
+ # Ensure that correct point indices are returned -- they should
88
+ # correspond to the Hausdorff pair
89
+ path_simple_1 = np.array([[-1,-12],[0,0], [1,1], [3,7], [1,2]])
90
+ path_simple_2 = np.array([[0,0], [1,1], [4,100], [10,9]])
91
+ actual = directed_hausdorff(path_simple_2, path_simple_1)[1:]
92
+ expected = (2, 3)
93
+ assert_array_equal(actual, expected)
94
+
95
+ def test_random_state(self):
96
+ # ensure that the global random state is not modified because
97
+ # the directed Hausdorff algorithm uses randomization
98
+ rs = check_random_state(None)
99
+ old_global_state = rs.get_state()
100
+ directed_hausdorff(self.path_1, self.path_2)
101
+ rs2 = check_random_state(None)
102
+ new_global_state = rs2.get_state()
103
+ assert_equal(new_global_state, old_global_state)
104
+
105
+ @pytest.mark.parametrize("seed", [None, 27870671, np.random.default_rng(177)])
106
+ def test_random_state_None_int(self, seed):
107
+ # check that seed values of None or int do not alter global
108
+ # random state
109
+ rs = check_random_state(None)
110
+ old_global_state = rs.get_state()
111
+ directed_hausdorff(self.path_1, self.path_2, seed)
112
+ rs2 = check_random_state(None)
113
+ new_global_state = rs2.get_state()
114
+ assert_equal(new_global_state, old_global_state)
115
+
116
+ def test_invalid_dimensions(self):
117
+ # Ensure that a ValueError is raised when the number of columns
118
+ # is not the same
119
+ rng = np.random.default_rng(189048172503940875434364128139223470523)
120
+ A = rng.random((3, 2))
121
+ B = rng.random((3, 5))
122
+ msg = r"need to have the same number of columns"
123
+ with pytest.raises(ValueError, match=msg):
124
+ directed_hausdorff(A, B)
125
+
126
+ # preserve use of legacy keyword `seed` during SPEC 7 transition
127
+ @pytest.mark.parametrize("A, B, seed, expected", [
128
+ # the two cases from gh-11332
129
+ ([(0,0)],
130
+ [(0,1), (0,0)],
131
+ np.int64(0),
132
+ (0.0, 0, 1)),
133
+ ([(0,0)],
134
+ [(0,1), (0,0)],
135
+ 1,
136
+ (0.0, 0, 1)),
137
+ # gh-11332 cases with a Generator
138
+ ([(0,0)],
139
+ [(0,1), (0,0)],
140
+ np.random.default_rng(0),
141
+ (0.0, 0, 1)),
142
+ ([(0,0)],
143
+ [(0,1), (0,0)],
144
+ np.random.default_rng(1),
145
+ (0.0, 0, 1)),
146
+ # slightly more complex case
147
+ ([(-5, 3), (0,0)],
148
+ [(0,1), (0,0), (-5, 3)],
149
+ 77098,
150
+ # the maximum minimum distance will
151
+ # be the last one found, but a unique
152
+ # solution is not guaranteed more broadly
153
+ (0.0, 1, 1)),
154
+ # repeated with Generator seeding
155
+ ([(-5, 3), (0,0)],
156
+ [(0,1), (0,0), (-5, 3)],
157
+ np.random.default_rng(77098),
158
+ # NOTE: using a Generator changes the
159
+ # indices but not the distance (unique solution
160
+ # not guaranteed)
161
+ (0.0, 0, 2)),
162
+ ])
163
+ def test_subsets(self, A, B, seed, expected, num_parallel_threads):
164
+ # verify fix for gh-11332
165
+ actual = directed_hausdorff(u=A, v=B, seed=seed)
166
+ # check distance
167
+ assert_allclose(actual[0], expected[0])
168
+ starting_seed = seed
169
+ if hasattr(seed, 'bit_generator'):
170
+ starting_seed = seed.bit_generator._seed_seq.entropy
171
+ # check indices
172
+ if num_parallel_threads == 1 or starting_seed != 77098:
173
+ assert actual[1:] == expected[1:]
174
+
175
+ if not isinstance(seed, np.random.RandomState):
176
+ # Check that new `rng` keyword is also accepted
177
+ actual = directed_hausdorff(u=A, v=B, rng=seed)
178
+ assert_allclose(actual[0], expected[0])
179
+
180
+
181
+ @pytest.mark.xslow
182
+ def test_massive_arr_overflow():
183
+ # on 64-bit systems we should be able to
184
+ # handle arrays that exceed the indexing
185
+ # size of a 32-bit signed integer
186
+ try:
187
+ import psutil
188
+ except ModuleNotFoundError:
189
+ pytest.skip("psutil required to check available memory")
190
+ if psutil.virtual_memory().available < 80*2**30:
191
+ # Don't run the test if there is less than 80 gig of RAM available.
192
+ pytest.skip('insufficient memory available to run this test')
193
+ size = int(3e9)
194
+ arr1 = np.zeros(shape=(size, 2))
195
+ arr2 = np.zeros(shape=(3, 2))
196
+ arr1[size - 1] = [5, 5]
197
+ actual = directed_hausdorff(u=arr1, v=arr2)
198
+ assert_allclose(actual[0], 7.0710678118654755)
199
+ assert_allclose(actual[1], size - 1)
janus/include/openssl/asn1.h ADDED
@@ -0,0 +1,1128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * WARNING: do not edit!
3
+ * Generated by Makefile from include/openssl/asn1.h.in
4
+ *
5
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
6
+ *
7
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
8
+ * this file except in compliance with the License. You can obtain a copy
9
+ * in the file LICENSE in the source distribution or at
10
+ * https://www.openssl.org/source/license.html
11
+ */
12
+
13
+
14
+
15
+ #ifndef OPENSSL_ASN1_H
16
+ # define OPENSSL_ASN1_H
17
+ # pragma once
18
+
19
+ # include <openssl/macros.h>
20
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
21
+ # define HEADER_ASN1_H
22
+ # endif
23
+
24
+ # include <time.h>
25
+ # include <openssl/e_os2.h>
26
+ # include <openssl/opensslconf.h>
27
+ # include <openssl/bio.h>
28
+ # include <openssl/safestack.h>
29
+ # include <openssl/asn1err.h>
30
+ # include <openssl/symhacks.h>
31
+
32
+ # include <openssl/types.h>
33
+ # include <openssl/bn.h>
34
+
35
+ # ifdef OPENSSL_BUILD_SHLIBCRYPTO
36
+ # undef OPENSSL_EXTERN
37
+ # define OPENSSL_EXTERN OPENSSL_EXPORT
38
+ # endif
39
+
40
+ #ifdef __cplusplus
41
+ extern "C" {
42
+ #endif
43
+
44
+ # define V_ASN1_UNIVERSAL 0x00
45
+ # define V_ASN1_APPLICATION 0x40
46
+ # define V_ASN1_CONTEXT_SPECIFIC 0x80
47
+ # define V_ASN1_PRIVATE 0xc0
48
+
49
+ # define V_ASN1_CONSTRUCTED 0x20
50
+ # define V_ASN1_PRIMITIVE_TAG 0x1f
51
+ # define V_ASN1_PRIMATIVE_TAG /*compat*/ V_ASN1_PRIMITIVE_TAG
52
+
53
+ # define V_ASN1_APP_CHOOSE -2/* let the recipient choose */
54
+ # define V_ASN1_OTHER -3/* used in ASN1_TYPE */
55
+ # define V_ASN1_ANY -4/* used in ASN1 template code */
56
+
57
+ # define V_ASN1_UNDEF -1
58
+ /* ASN.1 tag values */
59
+ # define V_ASN1_EOC 0
60
+ # define V_ASN1_BOOLEAN 1 /**/
61
+ # define V_ASN1_INTEGER 2
62
+ # define V_ASN1_BIT_STRING 3
63
+ # define V_ASN1_OCTET_STRING 4
64
+ # define V_ASN1_NULL 5
65
+ # define V_ASN1_OBJECT 6
66
+ # define V_ASN1_OBJECT_DESCRIPTOR 7
67
+ # define V_ASN1_EXTERNAL 8
68
+ # define V_ASN1_REAL 9
69
+ # define V_ASN1_ENUMERATED 10
70
+ # define V_ASN1_UTF8STRING 12
71
+ # define V_ASN1_SEQUENCE 16
72
+ # define V_ASN1_SET 17
73
+ # define V_ASN1_NUMERICSTRING 18 /**/
74
+ # define V_ASN1_PRINTABLESTRING 19
75
+ # define V_ASN1_T61STRING 20
76
+ # define V_ASN1_TELETEXSTRING 20/* alias */
77
+ # define V_ASN1_VIDEOTEXSTRING 21 /**/
78
+ # define V_ASN1_IA5STRING 22
79
+ # define V_ASN1_UTCTIME 23
80
+ # define V_ASN1_GENERALIZEDTIME 24 /**/
81
+ # define V_ASN1_GRAPHICSTRING 25 /**/
82
+ # define V_ASN1_ISO64STRING 26 /**/
83
+ # define V_ASN1_VISIBLESTRING 26/* alias */
84
+ # define V_ASN1_GENERALSTRING 27 /**/
85
+ # define V_ASN1_UNIVERSALSTRING 28 /**/
86
+ # define V_ASN1_BMPSTRING 30
87
+
88
+ /*
89
+ * NB the constants below are used internally by ASN1_INTEGER
90
+ * and ASN1_ENUMERATED to indicate the sign. They are *not* on
91
+ * the wire tag values.
92
+ */
93
+
94
+ # define V_ASN1_NEG 0x100
95
+ # define V_ASN1_NEG_INTEGER (2 | V_ASN1_NEG)
96
+ # define V_ASN1_NEG_ENUMERATED (10 | V_ASN1_NEG)
97
+
98
+ /* For use with d2i_ASN1_type_bytes() */
99
+ # define B_ASN1_NUMERICSTRING 0x0001
100
+ # define B_ASN1_PRINTABLESTRING 0x0002
101
+ # define B_ASN1_T61STRING 0x0004
102
+ # define B_ASN1_TELETEXSTRING 0x0004
103
+ # define B_ASN1_VIDEOTEXSTRING 0x0008
104
+ # define B_ASN1_IA5STRING 0x0010
105
+ # define B_ASN1_GRAPHICSTRING 0x0020
106
+ # define B_ASN1_ISO64STRING 0x0040
107
+ # define B_ASN1_VISIBLESTRING 0x0040
108
+ # define B_ASN1_GENERALSTRING 0x0080
109
+ # define B_ASN1_UNIVERSALSTRING 0x0100
110
+ # define B_ASN1_OCTET_STRING 0x0200
111
+ # define B_ASN1_BIT_STRING 0x0400
112
+ # define B_ASN1_BMPSTRING 0x0800
113
+ # define B_ASN1_UNKNOWN 0x1000
114
+ # define B_ASN1_UTF8STRING 0x2000
115
+ # define B_ASN1_UTCTIME 0x4000
116
+ # define B_ASN1_GENERALIZEDTIME 0x8000
117
+ # define B_ASN1_SEQUENCE 0x10000
118
+ /* For use with ASN1_mbstring_copy() */
119
+ # define MBSTRING_FLAG 0x1000
120
+ # define MBSTRING_UTF8 (MBSTRING_FLAG)
121
+ # define MBSTRING_ASC (MBSTRING_FLAG|1)
122
+ # define MBSTRING_BMP (MBSTRING_FLAG|2)
123
+ # define MBSTRING_UNIV (MBSTRING_FLAG|4)
124
+ # define SMIME_OLDMIME 0x400
125
+ # define SMIME_CRLFEOL 0x800
126
+ # define SMIME_STREAM 0x1000
127
+
128
+ /* Stacks for types not otherwise defined in this header */
129
+ SKM_DEFINE_STACK_OF_INTERNAL(X509_ALGOR, X509_ALGOR, X509_ALGOR)
130
+ #define sk_X509_ALGOR_num(sk) OPENSSL_sk_num(ossl_check_const_X509_ALGOR_sk_type(sk))
131
+ #define sk_X509_ALGOR_value(sk, idx) ((X509_ALGOR *)OPENSSL_sk_value(ossl_check_const_X509_ALGOR_sk_type(sk), (idx)))
132
+ #define sk_X509_ALGOR_new(cmp) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_new(ossl_check_X509_ALGOR_compfunc_type(cmp)))
133
+ #define sk_X509_ALGOR_new_null() ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_new_null())
134
+ #define sk_X509_ALGOR_new_reserve(cmp, n) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_new_reserve(ossl_check_X509_ALGOR_compfunc_type(cmp), (n)))
135
+ #define sk_X509_ALGOR_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_X509_ALGOR_sk_type(sk), (n))
136
+ #define sk_X509_ALGOR_free(sk) OPENSSL_sk_free(ossl_check_X509_ALGOR_sk_type(sk))
137
+ #define sk_X509_ALGOR_zero(sk) OPENSSL_sk_zero(ossl_check_X509_ALGOR_sk_type(sk))
138
+ #define sk_X509_ALGOR_delete(sk, i) ((X509_ALGOR *)OPENSSL_sk_delete(ossl_check_X509_ALGOR_sk_type(sk), (i)))
139
+ #define sk_X509_ALGOR_delete_ptr(sk, ptr) ((X509_ALGOR *)OPENSSL_sk_delete_ptr(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr)))
140
+ #define sk_X509_ALGOR_push(sk, ptr) OPENSSL_sk_push(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr))
141
+ #define sk_X509_ALGOR_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr))
142
+ #define sk_X509_ALGOR_pop(sk) ((X509_ALGOR *)OPENSSL_sk_pop(ossl_check_X509_ALGOR_sk_type(sk)))
143
+ #define sk_X509_ALGOR_shift(sk) ((X509_ALGOR *)OPENSSL_sk_shift(ossl_check_X509_ALGOR_sk_type(sk)))
144
+ #define sk_X509_ALGOR_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_X509_ALGOR_sk_type(sk),ossl_check_X509_ALGOR_freefunc_type(freefunc))
145
+ #define sk_X509_ALGOR_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr), (idx))
146
+ #define sk_X509_ALGOR_set(sk, idx, ptr) ((X509_ALGOR *)OPENSSL_sk_set(ossl_check_X509_ALGOR_sk_type(sk), (idx), ossl_check_X509_ALGOR_type(ptr)))
147
+ #define sk_X509_ALGOR_find(sk, ptr) OPENSSL_sk_find(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr))
148
+ #define sk_X509_ALGOR_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr))
149
+ #define sk_X509_ALGOR_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_type(ptr), pnum)
150
+ #define sk_X509_ALGOR_sort(sk) OPENSSL_sk_sort(ossl_check_X509_ALGOR_sk_type(sk))
151
+ #define sk_X509_ALGOR_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_X509_ALGOR_sk_type(sk))
152
+ #define sk_X509_ALGOR_dup(sk) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_dup(ossl_check_const_X509_ALGOR_sk_type(sk)))
153
+ #define sk_X509_ALGOR_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(X509_ALGOR) *)OPENSSL_sk_deep_copy(ossl_check_const_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_copyfunc_type(copyfunc), ossl_check_X509_ALGOR_freefunc_type(freefunc)))
154
+ #define sk_X509_ALGOR_set_cmp_func(sk, cmp) ((sk_X509_ALGOR_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_X509_ALGOR_sk_type(sk), ossl_check_X509_ALGOR_compfunc_type(cmp)))
155
+
156
+
157
+
158
+ # define ASN1_STRING_FLAG_BITS_LEFT 0x08/* Set if 0x07 has bits left value */
159
+ /*
160
+ * This indicates that the ASN1_STRING is not a real value but just a place
161
+ * holder for the location where indefinite length constructed data should be
162
+ * inserted in the memory buffer
163
+ */
164
+ # define ASN1_STRING_FLAG_NDEF 0x010
165
+
166
+ /*
167
+ * This flag is used by the CMS code to indicate that a string is not
168
+ * complete and is a place holder for content when it had all been accessed.
169
+ * The flag will be reset when content has been written to it.
170
+ */
171
+
172
+ # define ASN1_STRING_FLAG_CONT 0x020
173
+ /*
174
+ * This flag is used by ASN1 code to indicate an ASN1_STRING is an MSTRING
175
+ * type.
176
+ */
177
+ # define ASN1_STRING_FLAG_MSTRING 0x040
178
+ /* String is embedded and only content should be freed */
179
+ # define ASN1_STRING_FLAG_EMBED 0x080
180
+ /* String should be parsed in RFC 5280's time format */
181
+ # define ASN1_STRING_FLAG_X509_TIME 0x100
182
+ /* This is the base type that holds just about everything :-) */
183
+ struct asn1_string_st {
184
+ int length;
185
+ int type;
186
+ unsigned char *data;
187
+ /*
188
+ * The value of the following field depends on the type being held. It
189
+ * is mostly being used for BIT_STRING so if the input data has a
190
+ * non-zero 'unused bits' value, it will be handled correctly
191
+ */
192
+ long flags;
193
+ };
194
+
195
+ /*
196
+ * ASN1_ENCODING structure: this is used to save the received encoding of an
197
+ * ASN1 type. This is useful to get round problems with invalid encodings
198
+ * which can break signatures.
199
+ */
200
+
201
+ typedef struct ASN1_ENCODING_st {
202
+ unsigned char *enc; /* DER encoding */
203
+ long len; /* Length of encoding */
204
+ int modified; /* set to 1 if 'enc' is invalid */
205
+ } ASN1_ENCODING;
206
+
207
+ /* Used with ASN1 LONG type: if a long is set to this it is omitted */
208
+ # define ASN1_LONG_UNDEF 0x7fffffffL
209
+
210
+ # define STABLE_FLAGS_MALLOC 0x01
211
+ /*
212
+ * A zero passed to ASN1_STRING_TABLE_new_add for the flags is interpreted
213
+ * as "don't change" and STABLE_FLAGS_MALLOC is always set. By setting
214
+ * STABLE_FLAGS_MALLOC only we can clear the existing value. Use the alias
215
+ * STABLE_FLAGS_CLEAR to reflect this.
216
+ */
217
+ # define STABLE_FLAGS_CLEAR STABLE_FLAGS_MALLOC
218
+ # define STABLE_NO_MASK 0x02
219
+ # define DIRSTRING_TYPE \
220
+ (B_ASN1_PRINTABLESTRING|B_ASN1_T61STRING|B_ASN1_BMPSTRING|B_ASN1_UTF8STRING)
221
+ # define PKCS9STRING_TYPE (DIRSTRING_TYPE|B_ASN1_IA5STRING)
222
+
223
+ struct asn1_string_table_st {
224
+ int nid;
225
+ long minsize;
226
+ long maxsize;
227
+ unsigned long mask;
228
+ unsigned long flags;
229
+ };
230
+
231
+ SKM_DEFINE_STACK_OF_INTERNAL(ASN1_STRING_TABLE, ASN1_STRING_TABLE, ASN1_STRING_TABLE)
232
+ #define sk_ASN1_STRING_TABLE_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk))
233
+ #define sk_ASN1_STRING_TABLE_value(sk, idx) ((ASN1_STRING_TABLE *)OPENSSL_sk_value(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk), (idx)))
234
+ #define sk_ASN1_STRING_TABLE_new(cmp) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_new(ossl_check_ASN1_STRING_TABLE_compfunc_type(cmp)))
235
+ #define sk_ASN1_STRING_TABLE_new_null() ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_new_null())
236
+ #define sk_ASN1_STRING_TABLE_new_reserve(cmp, n) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_STRING_TABLE_compfunc_type(cmp), (n)))
237
+ #define sk_ASN1_STRING_TABLE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_STRING_TABLE_sk_type(sk), (n))
238
+ #define sk_ASN1_STRING_TABLE_free(sk) OPENSSL_sk_free(ossl_check_ASN1_STRING_TABLE_sk_type(sk))
239
+ #define sk_ASN1_STRING_TABLE_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_STRING_TABLE_sk_type(sk))
240
+ #define sk_ASN1_STRING_TABLE_delete(sk, i) ((ASN1_STRING_TABLE *)OPENSSL_sk_delete(ossl_check_ASN1_STRING_TABLE_sk_type(sk), (i)))
241
+ #define sk_ASN1_STRING_TABLE_delete_ptr(sk, ptr) ((ASN1_STRING_TABLE *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr)))
242
+ #define sk_ASN1_STRING_TABLE_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr))
243
+ #define sk_ASN1_STRING_TABLE_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr))
244
+ #define sk_ASN1_STRING_TABLE_pop(sk) ((ASN1_STRING_TABLE *)OPENSSL_sk_pop(ossl_check_ASN1_STRING_TABLE_sk_type(sk)))
245
+ #define sk_ASN1_STRING_TABLE_shift(sk) ((ASN1_STRING_TABLE *)OPENSSL_sk_shift(ossl_check_ASN1_STRING_TABLE_sk_type(sk)))
246
+ #define sk_ASN1_STRING_TABLE_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_STRING_TABLE_sk_type(sk),ossl_check_ASN1_STRING_TABLE_freefunc_type(freefunc))
247
+ #define sk_ASN1_STRING_TABLE_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr), (idx))
248
+ #define sk_ASN1_STRING_TABLE_set(sk, idx, ptr) ((ASN1_STRING_TABLE *)OPENSSL_sk_set(ossl_check_ASN1_STRING_TABLE_sk_type(sk), (idx), ossl_check_ASN1_STRING_TABLE_type(ptr)))
249
+ #define sk_ASN1_STRING_TABLE_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr))
250
+ #define sk_ASN1_STRING_TABLE_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr))
251
+ #define sk_ASN1_STRING_TABLE_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_type(ptr), pnum)
252
+ #define sk_ASN1_STRING_TABLE_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_STRING_TABLE_sk_type(sk))
253
+ #define sk_ASN1_STRING_TABLE_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk))
254
+ #define sk_ASN1_STRING_TABLE_dup(sk) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_dup(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk)))
255
+ #define sk_ASN1_STRING_TABLE_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_STRING_TABLE) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_copyfunc_type(copyfunc), ossl_check_ASN1_STRING_TABLE_freefunc_type(freefunc)))
256
+ #define sk_ASN1_STRING_TABLE_set_cmp_func(sk, cmp) ((sk_ASN1_STRING_TABLE_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_STRING_TABLE_sk_type(sk), ossl_check_ASN1_STRING_TABLE_compfunc_type(cmp)))
257
+
258
+
259
+ /* size limits: this stuff is taken straight from RFC2459 */
260
+
261
+ # define ub_name 32768
262
+ # define ub_common_name 64
263
+ # define ub_locality_name 128
264
+ # define ub_state_name 128
265
+ # define ub_organization_name 64
266
+ # define ub_organization_unit_name 64
267
+ # define ub_title 64
268
+ # define ub_email_address 128
269
+
270
+ /*
271
+ * Declarations for template structures: for full definitions see asn1t.h
272
+ */
273
+ typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;
274
+ typedef struct ASN1_TLC_st ASN1_TLC;
275
+ /* This is just an opaque pointer */
276
+ typedef struct ASN1_VALUE_st ASN1_VALUE;
277
+
278
+ /* Declare ASN1 functions: the implement macro in in asn1t.h */
279
+
280
+ /*
281
+ * The mysterious 'extern' that's passed to some macros is innocuous,
282
+ * and is there to quiet pre-C99 compilers that may complain about empty
283
+ * arguments in macro calls.
284
+ */
285
+
286
+ # define DECLARE_ASN1_FUNCTIONS_attr(attr, type) \
287
+ DECLARE_ASN1_FUNCTIONS_name_attr(attr, type, type)
288
+ # define DECLARE_ASN1_FUNCTIONS(type) \
289
+ DECLARE_ASN1_FUNCTIONS_attr(extern, type)
290
+
291
+ # define DECLARE_ASN1_ALLOC_FUNCTIONS_attr(attr, type) \
292
+ DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(attr, type, type)
293
+ # define DECLARE_ASN1_ALLOC_FUNCTIONS(type) \
294
+ DECLARE_ASN1_ALLOC_FUNCTIONS_attr(extern, type)
295
+
296
+ # define DECLARE_ASN1_FUNCTIONS_name_attr(attr, type, name) \
297
+ DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(attr, type, name) \
298
+ DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(attr, type, name)
299
+ # define DECLARE_ASN1_FUNCTIONS_name(type, name) \
300
+ DECLARE_ASN1_FUNCTIONS_name_attr(extern, type, name)
301
+
302
+ # define DECLARE_ASN1_ENCODE_FUNCTIONS_attr(attr, type, itname, name) \
303
+ DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(attr, type, name) \
304
+ DECLARE_ASN1_ITEM_attr(attr, itname)
305
+ # define DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name) \
306
+ DECLARE_ASN1_ENCODE_FUNCTIONS_attr(extern, type, itname, name)
307
+
308
+ # define DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(attr, type, name) \
309
+ DECLARE_ASN1_ENCODE_FUNCTIONS_attr(attr, type, name, name)
310
+ # define DECLARE_ASN1_ENCODE_FUNCTIONS_name(type, name) \
311
+ DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(extern, type, name)
312
+
313
+ # define DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(attr, type, name) \
314
+ attr type *d2i_##name(type **a, const unsigned char **in, long len); \
315
+ attr int i2d_##name(const type *a, unsigned char **out);
316
+ # define DECLARE_ASN1_ENCODE_FUNCTIONS_only(type, name) \
317
+ DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(extern, type, name)
318
+
319
+ # define DECLARE_ASN1_NDEF_FUNCTION_attr(attr, name) \
320
+ attr int i2d_##name##_NDEF(const name *a, unsigned char **out);
321
+ # define DECLARE_ASN1_NDEF_FUNCTION(name) \
322
+ DECLARE_ASN1_NDEF_FUNCTION_attr(extern, name)
323
+
324
+ # define DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(attr, type, name) \
325
+ attr type *name##_new(void); \
326
+ attr void name##_free(type *a);
327
+ # define DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
328
+ DECLARE_ASN1_ALLOC_FUNCTIONS_name_attr(extern, type, name)
329
+
330
+ # define DECLARE_ASN1_DUP_FUNCTION_attr(attr, type) \
331
+ DECLARE_ASN1_DUP_FUNCTION_name_attr(attr, type, type)
332
+ # define DECLARE_ASN1_DUP_FUNCTION(type) \
333
+ DECLARE_ASN1_DUP_FUNCTION_attr(extern, type)
334
+
335
+ # define DECLARE_ASN1_DUP_FUNCTION_name_attr(attr, type, name) \
336
+ attr type *name##_dup(const type *a);
337
+ # define DECLARE_ASN1_DUP_FUNCTION_name(type, name) \
338
+ DECLARE_ASN1_DUP_FUNCTION_name_attr(extern, type, name)
339
+
340
+ # define DECLARE_ASN1_PRINT_FUNCTION_attr(attr, stname) \
341
+ DECLARE_ASN1_PRINT_FUNCTION_fname_attr(attr, stname, stname)
342
+ # define DECLARE_ASN1_PRINT_FUNCTION(stname) \
343
+ DECLARE_ASN1_PRINT_FUNCTION_attr(extern, stname)
344
+
345
+ # define DECLARE_ASN1_PRINT_FUNCTION_fname_attr(attr, stname, fname) \
346
+ attr int fname##_print_ctx(BIO *out, const stname *x, int indent, \
347
+ const ASN1_PCTX *pctx);
348
+ # define DECLARE_ASN1_PRINT_FUNCTION_fname(stname, fname) \
349
+ DECLARE_ASN1_PRINT_FUNCTION_fname_attr(extern, stname, fname)
350
+
351
+ # define D2I_OF(type) type *(*)(type **,const unsigned char **,long)
352
+ # define I2D_OF(type) int (*)(const type *,unsigned char **)
353
+
354
+ # define CHECKED_D2I_OF(type, d2i) \
355
+ ((d2i_of_void*) (1 ? d2i : ((D2I_OF(type))0)))
356
+ # define CHECKED_I2D_OF(type, i2d) \
357
+ ((i2d_of_void*) (1 ? i2d : ((I2D_OF(type))0)))
358
+ # define CHECKED_NEW_OF(type, xnew) \
359
+ ((void *(*)(void)) (1 ? xnew : ((type *(*)(void))0)))
360
+ # define CHECKED_PTR_OF(type, p) \
361
+ ((void*) (1 ? p : (type*)0))
362
+ # define CHECKED_PPTR_OF(type, p) \
363
+ ((void**) (1 ? p : (type**)0))
364
+
365
+ # define TYPEDEF_D2I_OF(type) typedef type *d2i_of_##type(type **,const unsigned char **,long)
366
+ # define TYPEDEF_I2D_OF(type) typedef int i2d_of_##type(const type *,unsigned char **)
367
+ # define TYPEDEF_D2I2D_OF(type) TYPEDEF_D2I_OF(type); TYPEDEF_I2D_OF(type)
368
+
369
+ typedef void *d2i_of_void(void **, const unsigned char **, long);
370
+ typedef int i2d_of_void(const void *, unsigned char **);
371
+
372
+ /*-
373
+ * The following macros and typedefs allow an ASN1_ITEM
374
+ * to be embedded in a structure and referenced. Since
375
+ * the ASN1_ITEM pointers need to be globally accessible
376
+ * (possibly from shared libraries) they may exist in
377
+ * different forms. On platforms that support it the
378
+ * ASN1_ITEM structure itself will be globally exported.
379
+ * Other platforms will export a function that returns
380
+ * an ASN1_ITEM pointer.
381
+ *
382
+ * To handle both cases transparently the macros below
383
+ * should be used instead of hard coding an ASN1_ITEM
384
+ * pointer in a structure.
385
+ *
386
+ * The structure will look like this:
387
+ *
388
+ * typedef struct SOMETHING_st {
389
+ * ...
390
+ * ASN1_ITEM_EXP *iptr;
391
+ * ...
392
+ * } SOMETHING;
393
+ *
394
+ * It would be initialised as e.g.:
395
+ *
396
+ * SOMETHING somevar = {...,ASN1_ITEM_ref(X509),...};
397
+ *
398
+ * and the actual pointer extracted with:
399
+ *
400
+ * const ASN1_ITEM *it = ASN1_ITEM_ptr(somevar.iptr);
401
+ *
402
+ * Finally an ASN1_ITEM pointer can be extracted from an
403
+ * appropriate reference with: ASN1_ITEM_rptr(X509). This
404
+ * would be used when a function takes an ASN1_ITEM * argument.
405
+ *
406
+ */
407
+
408
+
409
+ /*
410
+ * Platforms that can't easily handle shared global variables are declared as
411
+ * functions returning ASN1_ITEM pointers.
412
+ */
413
+
414
+ /* ASN1_ITEM pointer exported type */
415
+ typedef const ASN1_ITEM *ASN1_ITEM_EXP (void);
416
+
417
+ /* Macro to obtain ASN1_ITEM pointer from exported type */
418
+ # define ASN1_ITEM_ptr(iptr) (iptr())
419
+
420
+ /* Macro to include ASN1_ITEM pointer from base type */
421
+ # define ASN1_ITEM_ref(iptr) (iptr##_it)
422
+
423
+ # define ASN1_ITEM_rptr(ref) (ref##_it())
424
+
425
+ # define DECLARE_ASN1_ITEM_attr(attr, name) \
426
+ attr const ASN1_ITEM * name##_it(void);
427
+ # define DECLARE_ASN1_ITEM(name) \
428
+ DECLARE_ASN1_ITEM_attr(extern, name)
429
+
430
+ /* Parameters used by ASN1_STRING_print_ex() */
431
+
432
+ /*
433
+ * These determine which characters to escape: RFC2253 special characters,
434
+ * control characters and MSB set characters
435
+ */
436
+
437
+ # define ASN1_STRFLGS_ESC_2253 1
438
+ # define ASN1_STRFLGS_ESC_CTRL 2
439
+ # define ASN1_STRFLGS_ESC_MSB 4
440
+
441
+ /* Lower 8 bits are reserved as an output type specifier */
442
+ # define ASN1_DTFLGS_TYPE_MASK 0x0FUL
443
+ # define ASN1_DTFLGS_RFC822 0x00UL
444
+ # define ASN1_DTFLGS_ISO8601 0x01UL
445
+
446
+ /*
447
+ * This flag determines how we do escaping: normally RC2253 backslash only,
448
+ * set this to use backslash and quote.
449
+ */
450
+
451
+ # define ASN1_STRFLGS_ESC_QUOTE 8
452
+
453
+ /* These three flags are internal use only. */
454
+
455
+ /* Character is a valid PrintableString character */
456
+ # define CHARTYPE_PRINTABLESTRING 0x10
457
+ /* Character needs escaping if it is the first character */
458
+ # define CHARTYPE_FIRST_ESC_2253 0x20
459
+ /* Character needs escaping if it is the last character */
460
+ # define CHARTYPE_LAST_ESC_2253 0x40
461
+
462
+ /*
463
+ * NB the internal flags are safely reused below by flags handled at the top
464
+ * level.
465
+ */
466
+
467
+ /*
468
+ * If this is set we convert all character strings to UTF8 first
469
+ */
470
+
471
+ # define ASN1_STRFLGS_UTF8_CONVERT 0x10
472
+
473
+ /*
474
+ * If this is set we don't attempt to interpret content: just assume all
475
+ * strings are 1 byte per character. This will produce some pretty odd
476
+ * looking output!
477
+ */
478
+
479
+ # define ASN1_STRFLGS_IGNORE_TYPE 0x20
480
+
481
+ /* If this is set we include the string type in the output */
482
+ # define ASN1_STRFLGS_SHOW_TYPE 0x40
483
+
484
+ /*
485
+ * This determines which strings to display and which to 'dump' (hex dump of
486
+ * content octets or DER encoding). We can only dump non character strings or
487
+ * everything. If we don't dump 'unknown' they are interpreted as character
488
+ * strings with 1 octet per character and are subject to the usual escaping
489
+ * options.
490
+ */
491
+
492
+ # define ASN1_STRFLGS_DUMP_ALL 0x80
493
+ # define ASN1_STRFLGS_DUMP_UNKNOWN 0x100
494
+
495
+ /*
496
+ * These determine what 'dumping' does, we can dump the content octets or the
497
+ * DER encoding: both use the RFC2253 #XXXXX notation.
498
+ */
499
+
500
+ # define ASN1_STRFLGS_DUMP_DER 0x200
501
+
502
+ /*
503
+ * This flag specifies that RC2254 escaping shall be performed.
504
+ */
505
+ #define ASN1_STRFLGS_ESC_2254 0x400
506
+
507
+ /*
508
+ * All the string flags consistent with RFC2253, escaping control characters
509
+ * isn't essential in RFC2253 but it is advisable anyway.
510
+ */
511
+
512
+ # define ASN1_STRFLGS_RFC2253 (ASN1_STRFLGS_ESC_2253 | \
513
+ ASN1_STRFLGS_ESC_CTRL | \
514
+ ASN1_STRFLGS_ESC_MSB | \
515
+ ASN1_STRFLGS_UTF8_CONVERT | \
516
+ ASN1_STRFLGS_DUMP_UNKNOWN | \
517
+ ASN1_STRFLGS_DUMP_DER)
518
+
519
+
520
+ struct asn1_type_st {
521
+ int type;
522
+ union {
523
+ char *ptr;
524
+ ASN1_BOOLEAN boolean;
525
+ ASN1_STRING *asn1_string;
526
+ ASN1_OBJECT *object;
527
+ ASN1_INTEGER *integer;
528
+ ASN1_ENUMERATED *enumerated;
529
+ ASN1_BIT_STRING *bit_string;
530
+ ASN1_OCTET_STRING *octet_string;
531
+ ASN1_PRINTABLESTRING *printablestring;
532
+ ASN1_T61STRING *t61string;
533
+ ASN1_IA5STRING *ia5string;
534
+ ASN1_GENERALSTRING *generalstring;
535
+ ASN1_BMPSTRING *bmpstring;
536
+ ASN1_UNIVERSALSTRING *universalstring;
537
+ ASN1_UTCTIME *utctime;
538
+ ASN1_GENERALIZEDTIME *generalizedtime;
539
+ ASN1_VISIBLESTRING *visiblestring;
540
+ ASN1_UTF8STRING *utf8string;
541
+ /*
542
+ * set and sequence are left complete and still contain the set or
543
+ * sequence bytes
544
+ */
545
+ ASN1_STRING *set;
546
+ ASN1_STRING *sequence;
547
+ ASN1_VALUE *asn1_value;
548
+ } value;
549
+ };
550
+
551
+ SKM_DEFINE_STACK_OF_INTERNAL(ASN1_TYPE, ASN1_TYPE, ASN1_TYPE)
552
+ #define sk_ASN1_TYPE_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_TYPE_sk_type(sk))
553
+ #define sk_ASN1_TYPE_value(sk, idx) ((ASN1_TYPE *)OPENSSL_sk_value(ossl_check_const_ASN1_TYPE_sk_type(sk), (idx)))
554
+ #define sk_ASN1_TYPE_new(cmp) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_new(ossl_check_ASN1_TYPE_compfunc_type(cmp)))
555
+ #define sk_ASN1_TYPE_new_null() ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_new_null())
556
+ #define sk_ASN1_TYPE_new_reserve(cmp, n) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_TYPE_compfunc_type(cmp), (n)))
557
+ #define sk_ASN1_TYPE_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_TYPE_sk_type(sk), (n))
558
+ #define sk_ASN1_TYPE_free(sk) OPENSSL_sk_free(ossl_check_ASN1_TYPE_sk_type(sk))
559
+ #define sk_ASN1_TYPE_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_TYPE_sk_type(sk))
560
+ #define sk_ASN1_TYPE_delete(sk, i) ((ASN1_TYPE *)OPENSSL_sk_delete(ossl_check_ASN1_TYPE_sk_type(sk), (i)))
561
+ #define sk_ASN1_TYPE_delete_ptr(sk, ptr) ((ASN1_TYPE *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr)))
562
+ #define sk_ASN1_TYPE_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr))
563
+ #define sk_ASN1_TYPE_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr))
564
+ #define sk_ASN1_TYPE_pop(sk) ((ASN1_TYPE *)OPENSSL_sk_pop(ossl_check_ASN1_TYPE_sk_type(sk)))
565
+ #define sk_ASN1_TYPE_shift(sk) ((ASN1_TYPE *)OPENSSL_sk_shift(ossl_check_ASN1_TYPE_sk_type(sk)))
566
+ #define sk_ASN1_TYPE_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_TYPE_sk_type(sk),ossl_check_ASN1_TYPE_freefunc_type(freefunc))
567
+ #define sk_ASN1_TYPE_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr), (idx))
568
+ #define sk_ASN1_TYPE_set(sk, idx, ptr) ((ASN1_TYPE *)OPENSSL_sk_set(ossl_check_ASN1_TYPE_sk_type(sk), (idx), ossl_check_ASN1_TYPE_type(ptr)))
569
+ #define sk_ASN1_TYPE_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr))
570
+ #define sk_ASN1_TYPE_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr))
571
+ #define sk_ASN1_TYPE_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_type(ptr), pnum)
572
+ #define sk_ASN1_TYPE_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_TYPE_sk_type(sk))
573
+ #define sk_ASN1_TYPE_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_TYPE_sk_type(sk))
574
+ #define sk_ASN1_TYPE_dup(sk) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_dup(ossl_check_const_ASN1_TYPE_sk_type(sk)))
575
+ #define sk_ASN1_TYPE_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_TYPE) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_copyfunc_type(copyfunc), ossl_check_ASN1_TYPE_freefunc_type(freefunc)))
576
+ #define sk_ASN1_TYPE_set_cmp_func(sk, cmp) ((sk_ASN1_TYPE_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_TYPE_sk_type(sk), ossl_check_ASN1_TYPE_compfunc_type(cmp)))
577
+
578
+
579
+ typedef STACK_OF(ASN1_TYPE) ASN1_SEQUENCE_ANY;
580
+
581
+ DECLARE_ASN1_ENCODE_FUNCTIONS_name(ASN1_SEQUENCE_ANY, ASN1_SEQUENCE_ANY)
582
+ DECLARE_ASN1_ENCODE_FUNCTIONS_name(ASN1_SEQUENCE_ANY, ASN1_SET_ANY)
583
+
584
+ /* This is used to contain a list of bit names */
585
+ typedef struct BIT_STRING_BITNAME_st {
586
+ int bitnum;
587
+ const char *lname;
588
+ const char *sname;
589
+ } BIT_STRING_BITNAME;
590
+
591
+ # define B_ASN1_TIME \
592
+ B_ASN1_UTCTIME | \
593
+ B_ASN1_GENERALIZEDTIME
594
+
595
+ # define B_ASN1_PRINTABLE \
596
+ B_ASN1_NUMERICSTRING| \
597
+ B_ASN1_PRINTABLESTRING| \
598
+ B_ASN1_T61STRING| \
599
+ B_ASN1_IA5STRING| \
600
+ B_ASN1_BIT_STRING| \
601
+ B_ASN1_UNIVERSALSTRING|\
602
+ B_ASN1_BMPSTRING|\
603
+ B_ASN1_UTF8STRING|\
604
+ B_ASN1_SEQUENCE|\
605
+ B_ASN1_UNKNOWN
606
+
607
+ # define B_ASN1_DIRECTORYSTRING \
608
+ B_ASN1_PRINTABLESTRING| \
609
+ B_ASN1_TELETEXSTRING|\
610
+ B_ASN1_BMPSTRING|\
611
+ B_ASN1_UNIVERSALSTRING|\
612
+ B_ASN1_UTF8STRING
613
+
614
+ # define B_ASN1_DISPLAYTEXT \
615
+ B_ASN1_IA5STRING| \
616
+ B_ASN1_VISIBLESTRING| \
617
+ B_ASN1_BMPSTRING|\
618
+ B_ASN1_UTF8STRING
619
+
620
+ DECLARE_ASN1_ALLOC_FUNCTIONS_name(ASN1_TYPE, ASN1_TYPE)
621
+ DECLARE_ASN1_ENCODE_FUNCTIONS(ASN1_TYPE, ASN1_ANY, ASN1_TYPE)
622
+
623
+ int ASN1_TYPE_get(const ASN1_TYPE *a);
624
+ void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
625
+ int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
626
+ int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
627
+
628
+ ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
629
+ void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
630
+
631
+ SKM_DEFINE_STACK_OF_INTERNAL(ASN1_OBJECT, ASN1_OBJECT, ASN1_OBJECT)
632
+ #define sk_ASN1_OBJECT_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_OBJECT_sk_type(sk))
633
+ #define sk_ASN1_OBJECT_value(sk, idx) ((ASN1_OBJECT *)OPENSSL_sk_value(ossl_check_const_ASN1_OBJECT_sk_type(sk), (idx)))
634
+ #define sk_ASN1_OBJECT_new(cmp) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_new(ossl_check_ASN1_OBJECT_compfunc_type(cmp)))
635
+ #define sk_ASN1_OBJECT_new_null() ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_new_null())
636
+ #define sk_ASN1_OBJECT_new_reserve(cmp, n) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_OBJECT_compfunc_type(cmp), (n)))
637
+ #define sk_ASN1_OBJECT_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_OBJECT_sk_type(sk), (n))
638
+ #define sk_ASN1_OBJECT_free(sk) OPENSSL_sk_free(ossl_check_ASN1_OBJECT_sk_type(sk))
639
+ #define sk_ASN1_OBJECT_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_OBJECT_sk_type(sk))
640
+ #define sk_ASN1_OBJECT_delete(sk, i) ((ASN1_OBJECT *)OPENSSL_sk_delete(ossl_check_ASN1_OBJECT_sk_type(sk), (i)))
641
+ #define sk_ASN1_OBJECT_delete_ptr(sk, ptr) ((ASN1_OBJECT *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr)))
642
+ #define sk_ASN1_OBJECT_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr))
643
+ #define sk_ASN1_OBJECT_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr))
644
+ #define sk_ASN1_OBJECT_pop(sk) ((ASN1_OBJECT *)OPENSSL_sk_pop(ossl_check_ASN1_OBJECT_sk_type(sk)))
645
+ #define sk_ASN1_OBJECT_shift(sk) ((ASN1_OBJECT *)OPENSSL_sk_shift(ossl_check_ASN1_OBJECT_sk_type(sk)))
646
+ #define sk_ASN1_OBJECT_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_OBJECT_sk_type(sk),ossl_check_ASN1_OBJECT_freefunc_type(freefunc))
647
+ #define sk_ASN1_OBJECT_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr), (idx))
648
+ #define sk_ASN1_OBJECT_set(sk, idx, ptr) ((ASN1_OBJECT *)OPENSSL_sk_set(ossl_check_ASN1_OBJECT_sk_type(sk), (idx), ossl_check_ASN1_OBJECT_type(ptr)))
649
+ #define sk_ASN1_OBJECT_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr))
650
+ #define sk_ASN1_OBJECT_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr))
651
+ #define sk_ASN1_OBJECT_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_type(ptr), pnum)
652
+ #define sk_ASN1_OBJECT_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_OBJECT_sk_type(sk))
653
+ #define sk_ASN1_OBJECT_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_OBJECT_sk_type(sk))
654
+ #define sk_ASN1_OBJECT_dup(sk) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_dup(ossl_check_const_ASN1_OBJECT_sk_type(sk)))
655
+ #define sk_ASN1_OBJECT_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_OBJECT) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_copyfunc_type(copyfunc), ossl_check_ASN1_OBJECT_freefunc_type(freefunc)))
656
+ #define sk_ASN1_OBJECT_set_cmp_func(sk, cmp) ((sk_ASN1_OBJECT_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_OBJECT_sk_type(sk), ossl_check_ASN1_OBJECT_compfunc_type(cmp)))
657
+
658
+
659
+ DECLARE_ASN1_FUNCTIONS(ASN1_OBJECT)
660
+
661
+ ASN1_STRING *ASN1_STRING_new(void);
662
+ void ASN1_STRING_free(ASN1_STRING *a);
663
+ void ASN1_STRING_clear_free(ASN1_STRING *a);
664
+ int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
665
+ DECLARE_ASN1_DUP_FUNCTION(ASN1_STRING)
666
+ ASN1_STRING *ASN1_STRING_type_new(int type);
667
+ int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
668
+ /*
669
+ * Since this is used to store all sorts of things, via macros, for now,
670
+ * make its data void *
671
+ */
672
+ int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
673
+ void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len);
674
+ int ASN1_STRING_length(const ASN1_STRING *x);
675
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
676
+ OSSL_DEPRECATEDIN_3_0 void ASN1_STRING_length_set(ASN1_STRING *x, int n);
677
+ # endif
678
+ int ASN1_STRING_type(const ASN1_STRING *x);
679
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
680
+ OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x);
681
+ # endif
682
+ const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
683
+
684
+ DECLARE_ASN1_FUNCTIONS(ASN1_BIT_STRING)
685
+ int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length);
686
+ int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
687
+ int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
688
+ int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a,
689
+ const unsigned char *flags, int flags_len);
690
+
691
+ int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs,
692
+ BIT_STRING_BITNAME *tbl, int indent);
693
+ int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl);
694
+ int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value,
695
+ BIT_STRING_BITNAME *tbl);
696
+
697
+ SKM_DEFINE_STACK_OF_INTERNAL(ASN1_INTEGER, ASN1_INTEGER, ASN1_INTEGER)
698
+ #define sk_ASN1_INTEGER_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_INTEGER_sk_type(sk))
699
+ #define sk_ASN1_INTEGER_value(sk, idx) ((ASN1_INTEGER *)OPENSSL_sk_value(ossl_check_const_ASN1_INTEGER_sk_type(sk), (idx)))
700
+ #define sk_ASN1_INTEGER_new(cmp) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new(ossl_check_ASN1_INTEGER_compfunc_type(cmp)))
701
+ #define sk_ASN1_INTEGER_new_null() ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new_null())
702
+ #define sk_ASN1_INTEGER_new_reserve(cmp, n) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_INTEGER_compfunc_type(cmp), (n)))
703
+ #define sk_ASN1_INTEGER_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_INTEGER_sk_type(sk), (n))
704
+ #define sk_ASN1_INTEGER_free(sk) OPENSSL_sk_free(ossl_check_ASN1_INTEGER_sk_type(sk))
705
+ #define sk_ASN1_INTEGER_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_INTEGER_sk_type(sk))
706
+ #define sk_ASN1_INTEGER_delete(sk, i) ((ASN1_INTEGER *)OPENSSL_sk_delete(ossl_check_ASN1_INTEGER_sk_type(sk), (i)))
707
+ #define sk_ASN1_INTEGER_delete_ptr(sk, ptr) ((ASN1_INTEGER *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr)))
708
+ #define sk_ASN1_INTEGER_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr))
709
+ #define sk_ASN1_INTEGER_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr))
710
+ #define sk_ASN1_INTEGER_pop(sk) ((ASN1_INTEGER *)OPENSSL_sk_pop(ossl_check_ASN1_INTEGER_sk_type(sk)))
711
+ #define sk_ASN1_INTEGER_shift(sk) ((ASN1_INTEGER *)OPENSSL_sk_shift(ossl_check_ASN1_INTEGER_sk_type(sk)))
712
+ #define sk_ASN1_INTEGER_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_INTEGER_sk_type(sk),ossl_check_ASN1_INTEGER_freefunc_type(freefunc))
713
+ #define sk_ASN1_INTEGER_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr), (idx))
714
+ #define sk_ASN1_INTEGER_set(sk, idx, ptr) ((ASN1_INTEGER *)OPENSSL_sk_set(ossl_check_ASN1_INTEGER_sk_type(sk), (idx), ossl_check_ASN1_INTEGER_type(ptr)))
715
+ #define sk_ASN1_INTEGER_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr))
716
+ #define sk_ASN1_INTEGER_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr))
717
+ #define sk_ASN1_INTEGER_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_type(ptr), pnum)
718
+ #define sk_ASN1_INTEGER_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_INTEGER_sk_type(sk))
719
+ #define sk_ASN1_INTEGER_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_INTEGER_sk_type(sk))
720
+ #define sk_ASN1_INTEGER_dup(sk) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_dup(ossl_check_const_ASN1_INTEGER_sk_type(sk)))
721
+ #define sk_ASN1_INTEGER_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_INTEGER) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_copyfunc_type(copyfunc), ossl_check_ASN1_INTEGER_freefunc_type(freefunc)))
722
+ #define sk_ASN1_INTEGER_set_cmp_func(sk, cmp) ((sk_ASN1_INTEGER_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_INTEGER_sk_type(sk), ossl_check_ASN1_INTEGER_compfunc_type(cmp)))
723
+
724
+
725
+
726
+ DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER)
727
+ ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp,
728
+ long length);
729
+ DECLARE_ASN1_DUP_FUNCTION(ASN1_INTEGER)
730
+ int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y);
731
+
732
+ DECLARE_ASN1_FUNCTIONS(ASN1_ENUMERATED)
733
+
734
+ int ASN1_UTCTIME_check(const ASN1_UTCTIME *a);
735
+ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
736
+ ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
737
+ int offset_day, long offset_sec);
738
+ int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);
739
+ int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
740
+
741
+ int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a);
742
+ ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
743
+ time_t t);
744
+ ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s,
745
+ time_t t, int offset_day,
746
+ long offset_sec);
747
+ int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str);
748
+
749
+ int ASN1_TIME_diff(int *pday, int *psec,
750
+ const ASN1_TIME *from, const ASN1_TIME *to);
751
+
752
+ DECLARE_ASN1_FUNCTIONS(ASN1_OCTET_STRING)
753
+ DECLARE_ASN1_DUP_FUNCTION(ASN1_OCTET_STRING)
754
+ int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a,
755
+ const ASN1_OCTET_STRING *b);
756
+ int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, const unsigned char *data,
757
+ int len);
758
+
759
+ SKM_DEFINE_STACK_OF_INTERNAL(ASN1_UTF8STRING, ASN1_UTF8STRING, ASN1_UTF8STRING)
760
+ #define sk_ASN1_UTF8STRING_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_UTF8STRING_sk_type(sk))
761
+ #define sk_ASN1_UTF8STRING_value(sk, idx) ((ASN1_UTF8STRING *)OPENSSL_sk_value(ossl_check_const_ASN1_UTF8STRING_sk_type(sk), (idx)))
762
+ #define sk_ASN1_UTF8STRING_new(cmp) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_new(ossl_check_ASN1_UTF8STRING_compfunc_type(cmp)))
763
+ #define sk_ASN1_UTF8STRING_new_null() ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_new_null())
764
+ #define sk_ASN1_UTF8STRING_new_reserve(cmp, n) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_UTF8STRING_compfunc_type(cmp), (n)))
765
+ #define sk_ASN1_UTF8STRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_UTF8STRING_sk_type(sk), (n))
766
+ #define sk_ASN1_UTF8STRING_free(sk) OPENSSL_sk_free(ossl_check_ASN1_UTF8STRING_sk_type(sk))
767
+ #define sk_ASN1_UTF8STRING_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_UTF8STRING_sk_type(sk))
768
+ #define sk_ASN1_UTF8STRING_delete(sk, i) ((ASN1_UTF8STRING *)OPENSSL_sk_delete(ossl_check_ASN1_UTF8STRING_sk_type(sk), (i)))
769
+ #define sk_ASN1_UTF8STRING_delete_ptr(sk, ptr) ((ASN1_UTF8STRING *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr)))
770
+ #define sk_ASN1_UTF8STRING_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr))
771
+ #define sk_ASN1_UTF8STRING_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr))
772
+ #define sk_ASN1_UTF8STRING_pop(sk) ((ASN1_UTF8STRING *)OPENSSL_sk_pop(ossl_check_ASN1_UTF8STRING_sk_type(sk)))
773
+ #define sk_ASN1_UTF8STRING_shift(sk) ((ASN1_UTF8STRING *)OPENSSL_sk_shift(ossl_check_ASN1_UTF8STRING_sk_type(sk)))
774
+ #define sk_ASN1_UTF8STRING_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_UTF8STRING_sk_type(sk),ossl_check_ASN1_UTF8STRING_freefunc_type(freefunc))
775
+ #define sk_ASN1_UTF8STRING_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr), (idx))
776
+ #define sk_ASN1_UTF8STRING_set(sk, idx, ptr) ((ASN1_UTF8STRING *)OPENSSL_sk_set(ossl_check_ASN1_UTF8STRING_sk_type(sk), (idx), ossl_check_ASN1_UTF8STRING_type(ptr)))
777
+ #define sk_ASN1_UTF8STRING_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr))
778
+ #define sk_ASN1_UTF8STRING_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr))
779
+ #define sk_ASN1_UTF8STRING_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_type(ptr), pnum)
780
+ #define sk_ASN1_UTF8STRING_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_UTF8STRING_sk_type(sk))
781
+ #define sk_ASN1_UTF8STRING_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_UTF8STRING_sk_type(sk))
782
+ #define sk_ASN1_UTF8STRING_dup(sk) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_dup(ossl_check_const_ASN1_UTF8STRING_sk_type(sk)))
783
+ #define sk_ASN1_UTF8STRING_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_UTF8STRING) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_copyfunc_type(copyfunc), ossl_check_ASN1_UTF8STRING_freefunc_type(freefunc)))
784
+ #define sk_ASN1_UTF8STRING_set_cmp_func(sk, cmp) ((sk_ASN1_UTF8STRING_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_UTF8STRING_sk_type(sk), ossl_check_ASN1_UTF8STRING_compfunc_type(cmp)))
785
+
786
+
787
+ DECLARE_ASN1_FUNCTIONS(ASN1_VISIBLESTRING)
788
+ DECLARE_ASN1_FUNCTIONS(ASN1_UNIVERSALSTRING)
789
+ DECLARE_ASN1_FUNCTIONS(ASN1_UTF8STRING)
790
+ DECLARE_ASN1_FUNCTIONS(ASN1_NULL)
791
+ DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING)
792
+
793
+ int UTF8_getc(const unsigned char *str, int len, unsigned long *val);
794
+ int UTF8_putc(unsigned char *str, int len, unsigned long value);
795
+
796
+ SKM_DEFINE_STACK_OF_INTERNAL(ASN1_GENERALSTRING, ASN1_GENERALSTRING, ASN1_GENERALSTRING)
797
+ #define sk_ASN1_GENERALSTRING_num(sk) OPENSSL_sk_num(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk))
798
+ #define sk_ASN1_GENERALSTRING_value(sk, idx) ((ASN1_GENERALSTRING *)OPENSSL_sk_value(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk), (idx)))
799
+ #define sk_ASN1_GENERALSTRING_new(cmp) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_new(ossl_check_ASN1_GENERALSTRING_compfunc_type(cmp)))
800
+ #define sk_ASN1_GENERALSTRING_new_null() ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_new_null())
801
+ #define sk_ASN1_GENERALSTRING_new_reserve(cmp, n) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_new_reserve(ossl_check_ASN1_GENERALSTRING_compfunc_type(cmp), (n)))
802
+ #define sk_ASN1_GENERALSTRING_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_ASN1_GENERALSTRING_sk_type(sk), (n))
803
+ #define sk_ASN1_GENERALSTRING_free(sk) OPENSSL_sk_free(ossl_check_ASN1_GENERALSTRING_sk_type(sk))
804
+ #define sk_ASN1_GENERALSTRING_zero(sk) OPENSSL_sk_zero(ossl_check_ASN1_GENERALSTRING_sk_type(sk))
805
+ #define sk_ASN1_GENERALSTRING_delete(sk, i) ((ASN1_GENERALSTRING *)OPENSSL_sk_delete(ossl_check_ASN1_GENERALSTRING_sk_type(sk), (i)))
806
+ #define sk_ASN1_GENERALSTRING_delete_ptr(sk, ptr) ((ASN1_GENERALSTRING *)OPENSSL_sk_delete_ptr(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr)))
807
+ #define sk_ASN1_GENERALSTRING_push(sk, ptr) OPENSSL_sk_push(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr))
808
+ #define sk_ASN1_GENERALSTRING_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr))
809
+ #define sk_ASN1_GENERALSTRING_pop(sk) ((ASN1_GENERALSTRING *)OPENSSL_sk_pop(ossl_check_ASN1_GENERALSTRING_sk_type(sk)))
810
+ #define sk_ASN1_GENERALSTRING_shift(sk) ((ASN1_GENERALSTRING *)OPENSSL_sk_shift(ossl_check_ASN1_GENERALSTRING_sk_type(sk)))
811
+ #define sk_ASN1_GENERALSTRING_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_ASN1_GENERALSTRING_sk_type(sk),ossl_check_ASN1_GENERALSTRING_freefunc_type(freefunc))
812
+ #define sk_ASN1_GENERALSTRING_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr), (idx))
813
+ #define sk_ASN1_GENERALSTRING_set(sk, idx, ptr) ((ASN1_GENERALSTRING *)OPENSSL_sk_set(ossl_check_ASN1_GENERALSTRING_sk_type(sk), (idx), ossl_check_ASN1_GENERALSTRING_type(ptr)))
814
+ #define sk_ASN1_GENERALSTRING_find(sk, ptr) OPENSSL_sk_find(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr))
815
+ #define sk_ASN1_GENERALSTRING_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr))
816
+ #define sk_ASN1_GENERALSTRING_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_type(ptr), pnum)
817
+ #define sk_ASN1_GENERALSTRING_sort(sk) OPENSSL_sk_sort(ossl_check_ASN1_GENERALSTRING_sk_type(sk))
818
+ #define sk_ASN1_GENERALSTRING_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk))
819
+ #define sk_ASN1_GENERALSTRING_dup(sk) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_dup(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk)))
820
+ #define sk_ASN1_GENERALSTRING_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(ASN1_GENERALSTRING) *)OPENSSL_sk_deep_copy(ossl_check_const_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_copyfunc_type(copyfunc), ossl_check_ASN1_GENERALSTRING_freefunc_type(freefunc)))
821
+ #define sk_ASN1_GENERALSTRING_set_cmp_func(sk, cmp) ((sk_ASN1_GENERALSTRING_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_ASN1_GENERALSTRING_sk_type(sk), ossl_check_ASN1_GENERALSTRING_compfunc_type(cmp)))
822
+
823
+
824
+ DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE)
825
+
826
+ DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING)
827
+ DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT)
828
+ DECLARE_ASN1_FUNCTIONS(ASN1_PRINTABLESTRING)
829
+ DECLARE_ASN1_FUNCTIONS(ASN1_T61STRING)
830
+ DECLARE_ASN1_FUNCTIONS(ASN1_IA5STRING)
831
+ DECLARE_ASN1_FUNCTIONS(ASN1_GENERALSTRING)
832
+ DECLARE_ASN1_FUNCTIONS(ASN1_UTCTIME)
833
+ DECLARE_ASN1_FUNCTIONS(ASN1_GENERALIZEDTIME)
834
+ DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
835
+
836
+ DECLARE_ASN1_DUP_FUNCTION(ASN1_TIME)
837
+ DECLARE_ASN1_DUP_FUNCTION(ASN1_UTCTIME)
838
+ DECLARE_ASN1_DUP_FUNCTION(ASN1_GENERALIZEDTIME)
839
+
840
+ DECLARE_ASN1_ITEM(ASN1_OCTET_STRING_NDEF)
841
+
842
+ ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
843
+ ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
844
+ int offset_day, long offset_sec);
845
+ int ASN1_TIME_check(const ASN1_TIME *t);
846
+ ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
847
+ ASN1_GENERALIZEDTIME **out);
848
+ int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
849
+ int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str);
850
+ int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
851
+ int ASN1_TIME_normalize(ASN1_TIME *s);
852
+ int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
853
+ int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
854
+
855
+ int i2a_ASN1_INTEGER(BIO *bp, const ASN1_INTEGER *a);
856
+ int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size);
857
+ int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a);
858
+ int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size);
859
+ int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a);
860
+ int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size);
861
+ int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type);
862
+ int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a);
863
+
864
+ int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num);
865
+ ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len,
866
+ const char *sn, const char *ln);
867
+
868
+ int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a);
869
+ int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r);
870
+ int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a);
871
+ int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r);
872
+
873
+ int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
874
+ long ASN1_INTEGER_get(const ASN1_INTEGER *a);
875
+ ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
876
+ BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
877
+
878
+ int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a);
879
+ int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r);
880
+
881
+
882
+ int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
883
+ long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a);
884
+ ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
885
+ BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);
886
+
887
+ /* General */
888
+ /* given a string, return the correct type, max is the maximum length */
889
+ int ASN1_PRINTABLE_type(const unsigned char *s, int max);
890
+
891
+ unsigned long ASN1_tag2bit(int tag);
892
+
893
+ /* SPECIALS */
894
+ int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag,
895
+ int *pclass, long omax);
896
+ int ASN1_check_infinite_end(unsigned char **p, long len);
897
+ int ASN1_const_check_infinite_end(const unsigned char **p, long len);
898
+ void ASN1_put_object(unsigned char **pp, int constructed, int length,
899
+ int tag, int xclass);
900
+ int ASN1_put_eoc(unsigned char **pp);
901
+ int ASN1_object_size(int constructed, int length, int tag);
902
+
903
+ /* Used to implement other functions */
904
+ void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x);
905
+
906
+ # define ASN1_dup_of(type,i2d,d2i,x) \
907
+ ((type*)ASN1_dup(CHECKED_I2D_OF(type, i2d), \
908
+ CHECKED_D2I_OF(type, d2i), \
909
+ CHECKED_PTR_OF(const type, x)))
910
+
911
+ void *ASN1_item_dup(const ASN1_ITEM *it, const void *x);
912
+ int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1,
913
+ X509_ALGOR *algor2, ASN1_BIT_STRING *signature,
914
+ const void *data, const ASN1_OCTET_STRING *id,
915
+ EVP_PKEY *pkey, const EVP_MD *md, OSSL_LIB_CTX *libctx,
916
+ const char *propq);
917
+ int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg,
918
+ const ASN1_BIT_STRING *signature, const void *data,
919
+ const ASN1_OCTET_STRING *id, EVP_PKEY *pkey,
920
+ OSSL_LIB_CTX *libctx, const char *propq);
921
+
922
+ /* ASN1 alloc/free macros for when a type is only used internally */
923
+
924
+ # define M_ASN1_new_of(type) (type *)ASN1_item_new(ASN1_ITEM_rptr(type))
925
+ # define M_ASN1_free_of(x, type) \
926
+ ASN1_item_free(CHECKED_PTR_OF(type, x), ASN1_ITEM_rptr(type))
927
+
928
+ # ifndef OPENSSL_NO_STDIO
929
+ void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x);
930
+
931
+ # define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \
932
+ ((type*)ASN1_d2i_fp(CHECKED_NEW_OF(type, xnew), \
933
+ CHECKED_D2I_OF(type, d2i), \
934
+ in, \
935
+ CHECKED_PPTR_OF(type, x)))
936
+
937
+ void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x,
938
+ OSSL_LIB_CTX *libctx, const char *propq);
939
+ void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
940
+ int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x);
941
+
942
+ # define ASN1_i2d_fp_of(type,i2d,out,x) \
943
+ (ASN1_i2d_fp(CHECKED_I2D_OF(type, i2d), \
944
+ out, \
945
+ CHECKED_PTR_OF(const type, x)))
946
+
947
+ int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x);
948
+ int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags);
949
+ # endif
950
+
951
+ int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in);
952
+
953
+ void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x);
954
+
955
+ # define ASN1_d2i_bio_of(type,xnew,d2i,in,x) \
956
+ ((type*)ASN1_d2i_bio( CHECKED_NEW_OF(type, xnew), \
957
+ CHECKED_D2I_OF(type, d2i), \
958
+ in, \
959
+ CHECKED_PPTR_OF(type, x)))
960
+
961
+ void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *pval,
962
+ OSSL_LIB_CTX *libctx, const char *propq);
963
+ void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *pval);
964
+ int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x);
965
+
966
+ # define ASN1_i2d_bio_of(type,i2d,out,x) \
967
+ (ASN1_i2d_bio(CHECKED_I2D_OF(type, i2d), \
968
+ out, \
969
+ CHECKED_PTR_OF(const type, x)))
970
+
971
+ int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x);
972
+ BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val);
973
+ int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
974
+ int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a);
975
+ int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm);
976
+ int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags);
977
+ int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
978
+ int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags);
979
+ int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int off);
980
+ int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
981
+ unsigned char *buf, int off);
982
+ int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent);
983
+ int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent,
984
+ int dump);
985
+ const char *ASN1_tag2str(int tag);
986
+
987
+ /* Used to load and write Netscape format cert */
988
+
989
+ int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s);
990
+
991
+ int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len);
992
+ int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len);
993
+ int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num,
994
+ unsigned char *data, int len);
995
+ int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num,
996
+ unsigned char *data, int max_len);
997
+
998
+ void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it);
999
+
1000
+ ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it,
1001
+ ASN1_OCTET_STRING **oct);
1002
+
1003
+ void ASN1_STRING_set_default_mask(unsigned long mask);
1004
+ int ASN1_STRING_set_default_mask_asc(const char *p);
1005
+ unsigned long ASN1_STRING_get_default_mask(void);
1006
+ int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len,
1007
+ int inform, unsigned long mask);
1008
+ int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
1009
+ int inform, unsigned long mask,
1010
+ long minsize, long maxsize);
1011
+
1012
+ ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out,
1013
+ const unsigned char *in, int inlen,
1014
+ int inform, int nid);
1015
+ ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid);
1016
+ int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long);
1017
+ void ASN1_STRING_TABLE_cleanup(void);
1018
+
1019
+ /* ASN1 template functions */
1020
+
1021
+ /* Old API compatible functions */
1022
+ ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
1023
+ ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx,
1024
+ const char *propq);
1025
+ void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
1026
+ ASN1_VALUE *ASN1_item_d2i_ex(ASN1_VALUE **val, const unsigned char **in,
1027
+ long len, const ASN1_ITEM *it,
1028
+ OSSL_LIB_CTX *libctx, const char *propq);
1029
+ ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
1030
+ long len, const ASN1_ITEM *it);
1031
+ int ASN1_item_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
1032
+ int ASN1_item_ndef_i2d(const ASN1_VALUE *val, unsigned char **out,
1033
+ const ASN1_ITEM *it);
1034
+
1035
+ void ASN1_add_oid_module(void);
1036
+ void ASN1_add_stable_module(void);
1037
+
1038
+ ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);
1039
+ ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf);
1040
+ int ASN1_str2mask(const char *str, unsigned long *pmask);
1041
+
1042
+ /* ASN1 Print flags */
1043
+
1044
+ /* Indicate missing OPTIONAL fields */
1045
+ # define ASN1_PCTX_FLAGS_SHOW_ABSENT 0x001
1046
+ /* Mark start and end of SEQUENCE */
1047
+ # define ASN1_PCTX_FLAGS_SHOW_SEQUENCE 0x002
1048
+ /* Mark start and end of SEQUENCE/SET OF */
1049
+ # define ASN1_PCTX_FLAGS_SHOW_SSOF 0x004
1050
+ /* Show the ASN1 type of primitives */
1051
+ # define ASN1_PCTX_FLAGS_SHOW_TYPE 0x008
1052
+ /* Don't show ASN1 type of ANY */
1053
+ # define ASN1_PCTX_FLAGS_NO_ANY_TYPE 0x010
1054
+ /* Don't show ASN1 type of MSTRINGs */
1055
+ # define ASN1_PCTX_FLAGS_NO_MSTRING_TYPE 0x020
1056
+ /* Don't show field names in SEQUENCE */
1057
+ # define ASN1_PCTX_FLAGS_NO_FIELD_NAME 0x040
1058
+ /* Show structure names of each SEQUENCE field */
1059
+ # define ASN1_PCTX_FLAGS_SHOW_FIELD_STRUCT_NAME 0x080
1060
+ /* Don't show structure name even at top level */
1061
+ # define ASN1_PCTX_FLAGS_NO_STRUCT_NAME 0x100
1062
+
1063
+ int ASN1_item_print(BIO *out, const ASN1_VALUE *ifld, int indent,
1064
+ const ASN1_ITEM *it, const ASN1_PCTX *pctx);
1065
+ ASN1_PCTX *ASN1_PCTX_new(void);
1066
+ void ASN1_PCTX_free(ASN1_PCTX *p);
1067
+ unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p);
1068
+ void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags);
1069
+ unsigned long ASN1_PCTX_get_nm_flags(const ASN1_PCTX *p);
1070
+ void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags);
1071
+ unsigned long ASN1_PCTX_get_cert_flags(const ASN1_PCTX *p);
1072
+ void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags);
1073
+ unsigned long ASN1_PCTX_get_oid_flags(const ASN1_PCTX *p);
1074
+ void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags);
1075
+ unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p);
1076
+ void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags);
1077
+
1078
+ ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx));
1079
+ void ASN1_SCTX_free(ASN1_SCTX *p);
1080
+ const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p);
1081
+ const ASN1_TEMPLATE *ASN1_SCTX_get_template(ASN1_SCTX *p);
1082
+ unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p);
1083
+ void ASN1_SCTX_set_app_data(ASN1_SCTX *p, void *data);
1084
+ void *ASN1_SCTX_get_app_data(ASN1_SCTX *p);
1085
+
1086
+ const BIO_METHOD *BIO_f_asn1(void);
1087
+
1088
+ /* cannot constify val because of CMS_stream() */
1089
+ BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it);
1090
+
1091
+ int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
1092
+ const ASN1_ITEM *it);
1093
+ int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
1094
+ const char *hdr, const ASN1_ITEM *it);
1095
+ /* cannot constify val because of CMS_dataFinal() */
1096
+ int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
1097
+ int ctype_nid, int econt_nid,
1098
+ STACK_OF(X509_ALGOR) *mdalgs, const ASN1_ITEM *it);
1099
+ int SMIME_write_ASN1_ex(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
1100
+ int ctype_nid, int econt_nid,
1101
+ STACK_OF(X509_ALGOR) *mdalgs, const ASN1_ITEM *it,
1102
+ OSSL_LIB_CTX *libctx, const char *propq);
1103
+ ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
1104
+ ASN1_VALUE *SMIME_read_ASN1_ex(BIO *bio, int flags, BIO **bcont,
1105
+ const ASN1_ITEM *it, ASN1_VALUE **x,
1106
+ OSSL_LIB_CTX *libctx, const char *propq);
1107
+ int SMIME_crlf_copy(BIO *in, BIO *out, int flags);
1108
+ int SMIME_text(BIO *in, BIO *out);
1109
+
1110
+ const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
1111
+ const ASN1_ITEM *ASN1_ITEM_get(size_t i);
1112
+
1113
+ /* Legacy compatibility */
1114
+ # define DECLARE_ASN1_FUNCTIONS_fname(type, itname, name) \
1115
+ DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
1116
+ DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name)
1117
+ # define DECLARE_ASN1_FUNCTIONS_const(type) DECLARE_ASN1_FUNCTIONS(type)
1118
+ # define DECLARE_ASN1_ENCODE_FUNCTIONS_const(type, name) \
1119
+ DECLARE_ASN1_ENCODE_FUNCTIONS(type, name)
1120
+ # define I2D_OF_const(type) I2D_OF(type)
1121
+ # define ASN1_dup_of_const(type,i2d,d2i,x) ASN1_dup_of(type,i2d,d2i,x)
1122
+ # define ASN1_i2d_fp_of_const(type,i2d,out,x) ASN1_i2d_fp_of(type,i2d,out,x)
1123
+ # define ASN1_i2d_bio_of_const(type,i2d,out,x) ASN1_i2d_bio_of(type,i2d,out,x)
1124
+
1125
+ # ifdef __cplusplus
1126
+ }
1127
+ # endif
1128
+ #endif
janus/include/openssl/asn1_mac.h ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #error "This file is obsolete; please update your software."
janus/include/openssl/async.h ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #include <stdlib.h>
11
+
12
+ #ifndef OPENSSL_ASYNC_H
13
+ # define OPENSSL_ASYNC_H
14
+ # pragma once
15
+
16
+ # include <openssl/macros.h>
17
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
18
+ # define HEADER_ASYNC_H
19
+ # endif
20
+
21
+ #if defined(_WIN32)
22
+ # if defined(BASETYPES) || defined(_WINDEF_H)
23
+ /* application has to include <windows.h> to use this */
24
+ #define OSSL_ASYNC_FD HANDLE
25
+ #define OSSL_BAD_ASYNC_FD INVALID_HANDLE_VALUE
26
+ # endif
27
+ #else
28
+ #define OSSL_ASYNC_FD int
29
+ #define OSSL_BAD_ASYNC_FD -1
30
+ #endif
31
+ # include <openssl/asyncerr.h>
32
+
33
+
34
+ # ifdef __cplusplus
35
+ extern "C" {
36
+ # endif
37
+
38
+ typedef struct async_job_st ASYNC_JOB;
39
+ typedef struct async_wait_ctx_st ASYNC_WAIT_CTX;
40
+ typedef int (*ASYNC_callback_fn)(void *arg);
41
+
42
+ #define ASYNC_ERR 0
43
+ #define ASYNC_NO_JOBS 1
44
+ #define ASYNC_PAUSE 2
45
+ #define ASYNC_FINISH 3
46
+
47
+ #define ASYNC_STATUS_UNSUPPORTED 0
48
+ #define ASYNC_STATUS_ERR 1
49
+ #define ASYNC_STATUS_OK 2
50
+ #define ASYNC_STATUS_EAGAIN 3
51
+
52
+ int ASYNC_init_thread(size_t max_size, size_t init_size);
53
+ void ASYNC_cleanup_thread(void);
54
+
55
+ #ifdef OSSL_ASYNC_FD
56
+ ASYNC_WAIT_CTX *ASYNC_WAIT_CTX_new(void);
57
+ void ASYNC_WAIT_CTX_free(ASYNC_WAIT_CTX *ctx);
58
+ int ASYNC_WAIT_CTX_set_wait_fd(ASYNC_WAIT_CTX *ctx, const void *key,
59
+ OSSL_ASYNC_FD fd,
60
+ void *custom_data,
61
+ void (*cleanup)(ASYNC_WAIT_CTX *, const void *,
62
+ OSSL_ASYNC_FD, void *));
63
+ int ASYNC_WAIT_CTX_get_fd(ASYNC_WAIT_CTX *ctx, const void *key,
64
+ OSSL_ASYNC_FD *fd, void **custom_data);
65
+ int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd,
66
+ size_t *numfds);
67
+ int ASYNC_WAIT_CTX_get_callback(ASYNC_WAIT_CTX *ctx,
68
+ ASYNC_callback_fn *callback,
69
+ void **callback_arg);
70
+ int ASYNC_WAIT_CTX_set_callback(ASYNC_WAIT_CTX *ctx,
71
+ ASYNC_callback_fn callback,
72
+ void *callback_arg);
73
+ int ASYNC_WAIT_CTX_set_status(ASYNC_WAIT_CTX *ctx, int status);
74
+ int ASYNC_WAIT_CTX_get_status(ASYNC_WAIT_CTX *ctx);
75
+ int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *addfd,
76
+ size_t *numaddfds, OSSL_ASYNC_FD *delfd,
77
+ size_t *numdelfds);
78
+ int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key);
79
+ #endif
80
+
81
+ int ASYNC_is_capable(void);
82
+
83
+ int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *ctx, int *ret,
84
+ int (*func)(void *), void *args, size_t size);
85
+ int ASYNC_pause_job(void);
86
+
87
+ ASYNC_JOB *ASYNC_get_current_job(void);
88
+ ASYNC_WAIT_CTX *ASYNC_get_wait_ctx(ASYNC_JOB *job);
89
+ void ASYNC_block_pause(void);
90
+ void ASYNC_unblock_pause(void);
91
+
92
+
93
+ # ifdef __cplusplus
94
+ }
95
+ # endif
96
+ #endif
janus/include/openssl/bioerr.h ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Generated by util/mkerr.pl DO NOT EDIT
3
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_BIOERR_H
12
+ # define OPENSSL_BIOERR_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+ # include <openssl/symhacks.h>
17
+ # include <openssl/cryptoerr_legacy.h>
18
+
19
+
20
+
21
+ /*
22
+ * BIO reason codes.
23
+ */
24
+ # define BIO_R_ACCEPT_ERROR 100
25
+ # define BIO_R_ADDRINFO_ADDR_IS_NOT_AF_INET 141
26
+ # define BIO_R_AMBIGUOUS_HOST_OR_SERVICE 129
27
+ # define BIO_R_BAD_FOPEN_MODE 101
28
+ # define BIO_R_BROKEN_PIPE 124
29
+ # define BIO_R_CONNECT_ERROR 103
30
+ # define BIO_R_CONNECT_TIMEOUT 147
31
+ # define BIO_R_GETHOSTBYNAME_ADDR_IS_NOT_AF_INET 107
32
+ # define BIO_R_GETSOCKNAME_ERROR 132
33
+ # define BIO_R_GETSOCKNAME_TRUNCATED_ADDRESS 133
34
+ # define BIO_R_GETTING_SOCKTYPE 134
35
+ # define BIO_R_INVALID_ARGUMENT 125
36
+ # define BIO_R_INVALID_SOCKET 135
37
+ # define BIO_R_IN_USE 123
38
+ # define BIO_R_LENGTH_TOO_LONG 102
39
+ # define BIO_R_LISTEN_V6_ONLY 136
40
+ # define BIO_R_LOOKUP_RETURNED_NOTHING 142
41
+ # define BIO_R_MALFORMED_HOST_OR_SERVICE 130
42
+ # define BIO_R_NBIO_CONNECT_ERROR 110
43
+ # define BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED 143
44
+ # define BIO_R_NO_HOSTNAME_OR_SERVICE_SPECIFIED 144
45
+ # define BIO_R_NO_PORT_DEFINED 113
46
+ # define BIO_R_NO_SUCH_FILE 128
47
+ # define BIO_R_NULL_PARAMETER 115 /* unused */
48
+ # define BIO_R_TRANSFER_ERROR 104
49
+ # define BIO_R_TRANSFER_TIMEOUT 105
50
+ # define BIO_R_UNABLE_TO_BIND_SOCKET 117
51
+ # define BIO_R_UNABLE_TO_CREATE_SOCKET 118
52
+ # define BIO_R_UNABLE_TO_KEEPALIVE 137
53
+ # define BIO_R_UNABLE_TO_LISTEN_SOCKET 119
54
+ # define BIO_R_UNABLE_TO_NODELAY 138
55
+ # define BIO_R_UNABLE_TO_REUSEADDR 139
56
+ # define BIO_R_UNAVAILABLE_IP_FAMILY 145
57
+ # define BIO_R_UNINITIALIZED 120
58
+ # define BIO_R_UNKNOWN_INFO_TYPE 140
59
+ # define BIO_R_UNSUPPORTED_IP_FAMILY 146
60
+ # define BIO_R_UNSUPPORTED_METHOD 121
61
+ # define BIO_R_UNSUPPORTED_PROTOCOL_FAMILY 131
62
+ # define BIO_R_WRITE_TO_READ_ONLY_BIO 126
63
+ # define BIO_R_WSASTARTUP 122
64
+
65
+ #endif
janus/include/openssl/blowfish.h ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_BLOWFISH_H
11
+ # define OPENSSL_BLOWFISH_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_BLOWFISH_H
17
+ # endif
18
+
19
+ # include <openssl/opensslconf.h>
20
+
21
+ # ifndef OPENSSL_NO_BF
22
+ # include <openssl/e_os2.h>
23
+ # ifdef __cplusplus
24
+ extern "C" {
25
+ # endif
26
+
27
+ # define BF_BLOCK 8
28
+
29
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
30
+
31
+ # define BF_ENCRYPT 1
32
+ # define BF_DECRYPT 0
33
+
34
+ /*-
35
+ * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
36
+ * ! BF_LONG has to be at least 32 bits wide. !
37
+ * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
38
+ */
39
+ # define BF_LONG unsigned int
40
+
41
+ # define BF_ROUNDS 16
42
+
43
+ typedef struct bf_key_st {
44
+ BF_LONG P[BF_ROUNDS + 2];
45
+ BF_LONG S[4 * 256];
46
+ } BF_KEY;
47
+
48
+ # endif /* OPENSSL_NO_DEPRECATED_3_0 */
49
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
50
+ OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len,
51
+ const unsigned char *data);
52
+ OSSL_DEPRECATEDIN_3_0 void BF_encrypt(BF_LONG *data, const BF_KEY *key);
53
+ OSSL_DEPRECATEDIN_3_0 void BF_decrypt(BF_LONG *data, const BF_KEY *key);
54
+ OSSL_DEPRECATEDIN_3_0 void BF_ecb_encrypt(const unsigned char *in,
55
+ unsigned char *out, const BF_KEY *key,
56
+ int enc);
57
+ OSSL_DEPRECATEDIN_3_0 void BF_cbc_encrypt(const unsigned char *in,
58
+ unsigned char *out, long length,
59
+ const BF_KEY *schedule,
60
+ unsigned char *ivec, int enc);
61
+ OSSL_DEPRECATEDIN_3_0 void BF_cfb64_encrypt(const unsigned char *in,
62
+ unsigned char *out,
63
+ long length, const BF_KEY *schedule,
64
+ unsigned char *ivec, int *num,
65
+ int enc);
66
+ OSSL_DEPRECATEDIN_3_0 void BF_ofb64_encrypt(const unsigned char *in,
67
+ unsigned char *out,
68
+ long length, const BF_KEY *schedule,
69
+ unsigned char *ivec, int *num);
70
+ OSSL_DEPRECATEDIN_3_0 const char *BF_options(void);
71
+ # endif
72
+
73
+ # ifdef __cplusplus
74
+ }
75
+ # endif
76
+ # endif
77
+
78
+ #endif
janus/include/openssl/cmperr.h ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Generated by util/mkerr.pl DO NOT EDIT
3
+ * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_CMPERR_H
12
+ # define OPENSSL_CMPERR_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+ # include <openssl/symhacks.h>
17
+ # include <openssl/cryptoerr_legacy.h>
18
+
19
+
20
+ # ifndef OPENSSL_NO_CMP
21
+
22
+
23
+ /*
24
+ * CMP reason codes.
25
+ */
26
+ # define CMP_R_ALGORITHM_NOT_SUPPORTED 139
27
+ # define CMP_R_BAD_CHECKAFTER_IN_POLLREP 167
28
+ # define CMP_R_BAD_REQUEST_ID 108
29
+ # define CMP_R_CERTHASH_UNMATCHED 156
30
+ # define CMP_R_CERTID_NOT_FOUND 109
31
+ # define CMP_R_CERTIFICATE_NOT_ACCEPTED 169
32
+ # define CMP_R_CERTIFICATE_NOT_FOUND 112
33
+ # define CMP_R_CERTREQMSG_NOT_FOUND 157
34
+ # define CMP_R_CERTRESPONSE_NOT_FOUND 113
35
+ # define CMP_R_CERT_AND_KEY_DO_NOT_MATCH 114
36
+ # define CMP_R_CHECKAFTER_OUT_OF_RANGE 181
37
+ # define CMP_R_ENCOUNTERED_KEYUPDATEWARNING 176
38
+ # define CMP_R_ENCOUNTERED_WAITING 162
39
+ # define CMP_R_ERROR_CALCULATING_PROTECTION 115
40
+ # define CMP_R_ERROR_CREATING_CERTCONF 116
41
+ # define CMP_R_ERROR_CREATING_CERTREP 117
42
+ # define CMP_R_ERROR_CREATING_CERTREQ 163
43
+ # define CMP_R_ERROR_CREATING_ERROR 118
44
+ # define CMP_R_ERROR_CREATING_GENM 119
45
+ # define CMP_R_ERROR_CREATING_GENP 120
46
+ # define CMP_R_ERROR_CREATING_PKICONF 122
47
+ # define CMP_R_ERROR_CREATING_POLLREP 123
48
+ # define CMP_R_ERROR_CREATING_POLLREQ 124
49
+ # define CMP_R_ERROR_CREATING_RP 125
50
+ # define CMP_R_ERROR_CREATING_RR 126
51
+ # define CMP_R_ERROR_PARSING_PKISTATUS 107
52
+ # define CMP_R_ERROR_PROCESSING_MESSAGE 158
53
+ # define CMP_R_ERROR_PROTECTING_MESSAGE 127
54
+ # define CMP_R_ERROR_SETTING_CERTHASH 128
55
+ # define CMP_R_ERROR_UNEXPECTED_CERTCONF 160
56
+ # define CMP_R_ERROR_VALIDATING_PROTECTION 140
57
+ # define CMP_R_ERROR_VALIDATING_SIGNATURE 171
58
+ # define CMP_R_FAILED_BUILDING_OWN_CHAIN 164
59
+ # define CMP_R_FAILED_EXTRACTING_PUBKEY 141
60
+ # define CMP_R_FAILURE_OBTAINING_RANDOM 110
61
+ # define CMP_R_FAIL_INFO_OUT_OF_RANGE 129
62
+ # define CMP_R_INVALID_ARGS 100
63
+ # define CMP_R_INVALID_OPTION 174
64
+ # define CMP_R_MISSING_CERTID 165
65
+ # define CMP_R_MISSING_KEY_INPUT_FOR_CREATING_PROTECTION 130
66
+ # define CMP_R_MISSING_KEY_USAGE_DIGITALSIGNATURE 142
67
+ # define CMP_R_MISSING_P10CSR 121
68
+ # define CMP_R_MISSING_PBM_SECRET 166
69
+ # define CMP_R_MISSING_PRIVATE_KEY 131
70
+ # define CMP_R_MISSING_PRIVATE_KEY_FOR_POPO 190
71
+ # define CMP_R_MISSING_PROTECTION 143
72
+ # define CMP_R_MISSING_PUBLIC_KEY 183
73
+ # define CMP_R_MISSING_REFERENCE_CERT 168
74
+ # define CMP_R_MISSING_SECRET 178
75
+ # define CMP_R_MISSING_SENDER_IDENTIFICATION 111
76
+ # define CMP_R_MISSING_TRUST_ANCHOR 179
77
+ # define CMP_R_MISSING_TRUST_STORE 144
78
+ # define CMP_R_MULTIPLE_REQUESTS_NOT_SUPPORTED 161
79
+ # define CMP_R_MULTIPLE_RESPONSES_NOT_SUPPORTED 170
80
+ # define CMP_R_MULTIPLE_SAN_SOURCES 102
81
+ # define CMP_R_NO_STDIO 194
82
+ # define CMP_R_NO_SUITABLE_SENDER_CERT 145
83
+ # define CMP_R_NULL_ARGUMENT 103
84
+ # define CMP_R_PKIBODY_ERROR 146
85
+ # define CMP_R_PKISTATUSINFO_NOT_FOUND 132
86
+ # define CMP_R_POLLING_FAILED 172
87
+ # define CMP_R_POTENTIALLY_INVALID_CERTIFICATE 147
88
+ # define CMP_R_RECEIVED_ERROR 180
89
+ # define CMP_R_RECIPNONCE_UNMATCHED 148
90
+ # define CMP_R_REQUEST_NOT_ACCEPTED 149
91
+ # define CMP_R_REQUEST_REJECTED_BY_SERVER 182
92
+ # define CMP_R_SENDER_GENERALNAME_TYPE_NOT_SUPPORTED 150
93
+ # define CMP_R_SRVCERT_DOES_NOT_VALIDATE_MSG 151
94
+ # define CMP_R_TOTAL_TIMEOUT 184
95
+ # define CMP_R_TRANSACTIONID_UNMATCHED 152
96
+ # define CMP_R_TRANSFER_ERROR 159
97
+ # define CMP_R_UNEXPECTED_PKIBODY 133
98
+ # define CMP_R_UNEXPECTED_PKISTATUS 185
99
+ # define CMP_R_UNEXPECTED_PVNO 153
100
+ # define CMP_R_UNKNOWN_ALGORITHM_ID 134
101
+ # define CMP_R_UNKNOWN_CERT_TYPE 135
102
+ # define CMP_R_UNKNOWN_PKISTATUS 186
103
+ # define CMP_R_UNSUPPORTED_ALGORITHM 136
104
+ # define CMP_R_UNSUPPORTED_KEY_TYPE 137
105
+ # define CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC 154
106
+ # define CMP_R_VALUE_TOO_LARGE 175
107
+ # define CMP_R_VALUE_TOO_SMALL 177
108
+ # define CMP_R_WRONG_ALGORITHM_OID 138
109
+ # define CMP_R_WRONG_CERTID 189
110
+ # define CMP_R_WRONG_CERTID_IN_RP 187
111
+ # define CMP_R_WRONG_PBM_VALUE 155
112
+ # define CMP_R_WRONG_RP_COMPONENT_COUNT 188
113
+ # define CMP_R_WRONG_SERIAL_IN_RP 173
114
+
115
+ # endif
116
+ #endif
janus/include/openssl/core.h ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_CORE_H
11
+ # define OPENSSL_CORE_H
12
+ # pragma once
13
+
14
+ # include <stddef.h>
15
+ # include <openssl/types.h>
16
+
17
+ # ifdef __cplusplus
18
+ extern "C" {
19
+ # endif
20
+
21
+ /*-
22
+ * Base types
23
+ * ----------
24
+ *
25
+ * These are the types that the OpenSSL core and providers have in common
26
+ * to communicate data between them.
27
+ */
28
+
29
+ /* Opaque handles to be used with core upcall functions from providers */
30
+ typedef struct ossl_core_handle_st OSSL_CORE_HANDLE;
31
+ typedef struct openssl_core_ctx_st OPENSSL_CORE_CTX;
32
+ typedef struct ossl_core_bio_st OSSL_CORE_BIO;
33
+
34
+ /*
35
+ * Dispatch table element. function_id numbers and the functions are defined
36
+ * in core_dispatch.h, see macros with 'OSSL_CORE_MAKE_FUNC' in their names.
37
+ *
38
+ * An array of these is always terminated by function_id == 0
39
+ */
40
+ struct ossl_dispatch_st {
41
+ int function_id;
42
+ void (*function)(void);
43
+ };
44
+
45
+ /*
46
+ * Other items, essentially an int<->pointer map element.
47
+ *
48
+ * We make this type distinct from OSSL_DISPATCH to ensure that dispatch
49
+ * tables remain tables with function pointers only.
50
+ *
51
+ * This is used whenever we need to pass things like a table of error reason
52
+ * codes <-> reason string maps, ...
53
+ *
54
+ * Usage determines which field works as key if any, rather than field order.
55
+ *
56
+ * An array of these is always terminated by id == 0 && ptr == NULL
57
+ */
58
+ struct ossl_item_st {
59
+ unsigned int id;
60
+ void *ptr;
61
+ };
62
+
63
+ /*
64
+ * Type to tie together algorithm names, property definition string and
65
+ * the algorithm implementation in the form of a dispatch table.
66
+ *
67
+ * An array of these is always terminated by algorithm_names == NULL
68
+ */
69
+ struct ossl_algorithm_st {
70
+ const char *algorithm_names; /* key */
71
+ const char *property_definition; /* key */
72
+ const OSSL_DISPATCH *implementation;
73
+ const char *algorithm_description;
74
+ };
75
+
76
+ /*
77
+ * Type to pass object data in a uniform way, without exposing the object
78
+ * structure.
79
+ *
80
+ * An array of these is always terminated by key == NULL
81
+ */
82
+ struct ossl_param_st {
83
+ const char *key; /* the name of the parameter */
84
+ unsigned int data_type; /* declare what kind of content is in buffer */
85
+ void *data; /* value being passed in or out */
86
+ size_t data_size; /* data size */
87
+ size_t return_size; /* returned content size */
88
+ };
89
+
90
+ /* Currently supported OSSL_PARAM data types */
91
+ /*
92
+ * OSSL_PARAM_INTEGER and OSSL_PARAM_UNSIGNED_INTEGER
93
+ * are arbitrary length and therefore require an arbitrarily sized buffer,
94
+ * since they may be used to pass numbers larger than what is natively
95
+ * available.
96
+ *
97
+ * The number must be buffered in native form, i.e. MSB first on B_ENDIAN
98
+ * systems and LSB first on L_ENDIAN systems. This means that arbitrary
99
+ * native integers can be stored in the buffer, just make sure that the
100
+ * buffer size is correct and the buffer itself is properly aligned (for
101
+ * example by having the buffer field point at a C integer).
102
+ */
103
+ # define OSSL_PARAM_INTEGER 1
104
+ # define OSSL_PARAM_UNSIGNED_INTEGER 2
105
+ /*-
106
+ * OSSL_PARAM_REAL
107
+ * is a C binary floating point values in native form and alignment.
108
+ */
109
+ # define OSSL_PARAM_REAL 3
110
+ /*-
111
+ * OSSL_PARAM_UTF8_STRING
112
+ * is a printable string. It is expected to be printed as it is.
113
+ */
114
+ # define OSSL_PARAM_UTF8_STRING 4
115
+ /*-
116
+ * OSSL_PARAM_OCTET_STRING
117
+ * is a string of bytes with no further specification. It is expected to be
118
+ * printed as a hexdump.
119
+ */
120
+ # define OSSL_PARAM_OCTET_STRING 5
121
+ /*-
122
+ * OSSL_PARAM_UTF8_PTR
123
+ * is a pointer to a printable string. It is expected to be printed as it is.
124
+ *
125
+ * The difference between this and OSSL_PARAM_UTF8_STRING is that only pointers
126
+ * are manipulated for this type.
127
+ *
128
+ * This is more relevant for parameter requests, where the responding
129
+ * function doesn't need to copy the data to the provided buffer, but
130
+ * sets the provided buffer to point at the actual data instead.
131
+ *
132
+ * WARNING! Using these is FRAGILE, as it assumes that the actual
133
+ * data and its location are constant.
134
+ *
135
+ * EXTRA WARNING! If you are not completely sure you most likely want
136
+ * to use the OSSL_PARAM_UTF8_STRING type.
137
+ */
138
+ # define OSSL_PARAM_UTF8_PTR 6
139
+ /*-
140
+ * OSSL_PARAM_OCTET_PTR
141
+ * is a pointer to a string of bytes with no further specification. It is
142
+ * expected to be printed as a hexdump.
143
+ *
144
+ * The difference between this and OSSL_PARAM_OCTET_STRING is that only pointers
145
+ * are manipulated for this type.
146
+ *
147
+ * This is more relevant for parameter requests, where the responding
148
+ * function doesn't need to copy the data to the provided buffer, but
149
+ * sets the provided buffer to point at the actual data instead.
150
+ *
151
+ * WARNING! Using these is FRAGILE, as it assumes that the actual
152
+ * data and its location are constant.
153
+ *
154
+ * EXTRA WARNING! If you are not completely sure you most likely want
155
+ * to use the OSSL_PARAM_OCTET_STRING type.
156
+ */
157
+ # define OSSL_PARAM_OCTET_PTR 7
158
+
159
+ /*
160
+ * Typedef for the thread stop handling callback. Used both internally and by
161
+ * providers.
162
+ *
163
+ * Providers may register for notifications about threads stopping by
164
+ * registering a callback to hear about such events. Providers register the
165
+ * callback using the OSSL_FUNC_CORE_THREAD_START function in the |in| dispatch
166
+ * table passed to OSSL_provider_init(). The arg passed back to a provider will
167
+ * be the provider side context object.
168
+ */
169
+ typedef void (*OSSL_thread_stop_handler_fn)(void *arg);
170
+
171
+
172
+ /*-
173
+ * Provider entry point
174
+ * --------------------
175
+ *
176
+ * This function is expected to be present in any dynamically loadable
177
+ * provider module. By definition, if this function doesn't exist in a
178
+ * module, that module is not an OpenSSL provider module.
179
+ */
180
+ /*-
181
+ * |handle| pointer to opaque type OSSL_CORE_HANDLE. This can be used
182
+ * together with some functions passed via |in| to query data.
183
+ * |in| is the array of functions that the Core passes to the provider.
184
+ * |out| will be the array of base functions that the provider passes
185
+ * back to the Core.
186
+ * |provctx| a provider side context object, optionally created if the
187
+ * provider needs it. This value is passed to other provider
188
+ * functions, notably other context constructors.
189
+ */
190
+ typedef int (OSSL_provider_init_fn)(const OSSL_CORE_HANDLE *handle,
191
+ const OSSL_DISPATCH *in,
192
+ const OSSL_DISPATCH **out,
193
+ void **provctx);
194
+ # ifdef __VMS
195
+ # pragma names save
196
+ # pragma names uppercase,truncated
197
+ # endif
198
+ OPENSSL_EXPORT OSSL_provider_init_fn OSSL_provider_init;
199
+ # ifdef __VMS
200
+ # pragma names restore
201
+ # endif
202
+
203
+ /*
204
+ * Generic callback function signature.
205
+ *
206
+ * The expectation is that any provider function that wants to offer
207
+ * a callback / hook can do so by taking an argument with this type,
208
+ * as well as a pointer to caller-specific data. When calling the
209
+ * callback, the provider function can populate an OSSL_PARAM array
210
+ * with data of its choice and pass that in the callback call, along
211
+ * with the caller data argument.
212
+ *
213
+ * libcrypto may use the OSSL_PARAM array to create arguments for an
214
+ * application callback it knows about.
215
+ */
216
+ typedef int (OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg);
217
+ typedef int (OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[],
218
+ OSSL_PARAM out_params[], void *arg);
219
+ /*
220
+ * Passphrase callback function signature
221
+ *
222
+ * This is similar to the generic callback function above, but adds a
223
+ * result parameter.
224
+ */
225
+ typedef int (OSSL_PASSPHRASE_CALLBACK)(char *pass, size_t pass_size,
226
+ size_t *pass_len,
227
+ const OSSL_PARAM params[], void *arg);
228
+
229
+ # ifdef __cplusplus
230
+ }
231
+ # endif
232
+
233
+ #endif
janus/include/openssl/core_names.h ADDED
@@ -0,0 +1,556 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_CORE_NAMES_H
11
+ # define OPENSSL_CORE_NAMES_H
12
+ # pragma once
13
+
14
+ # ifdef __cplusplus
15
+ extern "C" {
16
+ # endif
17
+
18
+ /* Well known parameter names that core passes to providers */
19
+ #define OSSL_PROV_PARAM_CORE_VERSION "openssl-version" /* utf8_ptr */
20
+ #define OSSL_PROV_PARAM_CORE_PROV_NAME "provider-name" /* utf8_ptr */
21
+ #define OSSL_PROV_PARAM_CORE_MODULE_FILENAME "module-filename" /* utf8_ptr */
22
+
23
+ /* Well known parameter names that Providers can define */
24
+ #define OSSL_PROV_PARAM_NAME "name" /* utf8_ptr */
25
+ #define OSSL_PROV_PARAM_VERSION "version" /* utf8_ptr */
26
+ #define OSSL_PROV_PARAM_BUILDINFO "buildinfo" /* utf8_ptr */
27
+ #define OSSL_PROV_PARAM_STATUS "status" /* uint */
28
+ #define OSSL_PROV_PARAM_SECURITY_CHECKS "security-checks" /* uint */
29
+
30
+ /* Self test callback parameters */
31
+ #define OSSL_PROV_PARAM_SELF_TEST_PHASE "st-phase" /* utf8_string */
32
+ #define OSSL_PROV_PARAM_SELF_TEST_TYPE "st-type" /* utf8_string */
33
+ #define OSSL_PROV_PARAM_SELF_TEST_DESC "st-desc" /* utf8_string */
34
+
35
+ /*-
36
+ * Provider-native object abstractions
37
+ *
38
+ * These are used when a provider wants to pass object data or an object
39
+ * reference back to libcrypto. This is only useful for provider functions
40
+ * that take a callback to which an OSSL_PARAM array with these parameters
41
+ * can be passed.
42
+ *
43
+ * This set of parameter names is explained in detail in provider-object(7)
44
+ * (doc/man7/provider-object.pod)
45
+ */
46
+ #define OSSL_OBJECT_PARAM_TYPE "type" /* INTEGER */
47
+ #define OSSL_OBJECT_PARAM_DATA_TYPE "data-type" /* UTF8_STRING */
48
+ #define OSSL_OBJECT_PARAM_DATA_STRUCTURE "data-structure" /* UTF8_STRING */
49
+ #define OSSL_OBJECT_PARAM_REFERENCE "reference" /* OCTET_STRING */
50
+ #define OSSL_OBJECT_PARAM_DATA "data" /* OCTET_STRING or UTF8_STRING */
51
+ #define OSSL_OBJECT_PARAM_DESC "desc" /* UTF8_STRING */
52
+
53
+ /*
54
+ * Algorithm parameters
55
+ * If "engine" or "properties" are specified, they should always be paired
56
+ * with the algorithm type.
57
+ * Note these are common names that are shared by many types (such as kdf, mac,
58
+ * and pkey) e.g: see OSSL_MAC_PARAM_DIGEST below.
59
+ */
60
+ #define OSSL_ALG_PARAM_DIGEST "digest" /* utf8_string */
61
+ #define OSSL_ALG_PARAM_CIPHER "cipher" /* utf8_string */
62
+ #define OSSL_ALG_PARAM_ENGINE "engine" /* utf8_string */
63
+ #define OSSL_ALG_PARAM_MAC "mac" /* utf8_string */
64
+ #define OSSL_ALG_PARAM_PROPERTIES "properties"/* utf8_string */
65
+
66
+ /* cipher parameters */
67
+ #define OSSL_CIPHER_PARAM_PADDING "padding" /* uint */
68
+ #define OSSL_CIPHER_PARAM_USE_BITS "use-bits" /* uint */
69
+ #define OSSL_CIPHER_PARAM_TLS_VERSION "tls-version" /* uint */
70
+ #define OSSL_CIPHER_PARAM_TLS_MAC "tls-mac" /* octet_ptr */
71
+ #define OSSL_CIPHER_PARAM_TLS_MAC_SIZE "tls-mac-size" /* size_t */
72
+ #define OSSL_CIPHER_PARAM_MODE "mode" /* uint */
73
+ #define OSSL_CIPHER_PARAM_BLOCK_SIZE "blocksize" /* size_t */
74
+ #define OSSL_CIPHER_PARAM_AEAD "aead" /* int, 0 or 1 */
75
+ #define OSSL_CIPHER_PARAM_CUSTOM_IV "custom-iv" /* int, 0 or 1 */
76
+ #define OSSL_CIPHER_PARAM_CTS "cts" /* int, 0 or 1 */
77
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK "tls-multi" /* int, 0 or 1 */
78
+ #define OSSL_CIPHER_PARAM_HAS_RAND_KEY "has-randkey" /* int, 0 or 1 */
79
+ #define OSSL_CIPHER_PARAM_KEYLEN "keylen" /* size_t */
80
+ #define OSSL_CIPHER_PARAM_IVLEN "ivlen" /* size_t */
81
+ #define OSSL_CIPHER_PARAM_IV "iv" /* octet_string OR octet_ptr */
82
+ #define OSSL_CIPHER_PARAM_UPDATED_IV "updated-iv" /* octet_string OR octet_ptr */
83
+ #define OSSL_CIPHER_PARAM_NUM "num" /* uint */
84
+ #define OSSL_CIPHER_PARAM_ROUNDS "rounds" /* uint */
85
+ #define OSSL_CIPHER_PARAM_AEAD_TAG "tag" /* octet_string */
86
+ #define OSSL_CIPHER_PARAM_AEAD_TLS1_AAD "tlsaad" /* octet_string */
87
+ #define OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD "tlsaadpad" /* size_t */
88
+ #define OSSL_CIPHER_PARAM_AEAD_TLS1_IV_FIXED "tlsivfixed" /* octet_string */
89
+ #define OSSL_CIPHER_PARAM_AEAD_TLS1_GET_IV_GEN "tlsivgen" /* octet_string */
90
+ #define OSSL_CIPHER_PARAM_AEAD_TLS1_SET_IV_INV "tlsivinv" /* octet_string */
91
+ #define OSSL_CIPHER_PARAM_AEAD_IVLEN OSSL_CIPHER_PARAM_IVLEN
92
+ #define OSSL_CIPHER_PARAM_AEAD_TAGLEN "taglen" /* size_t */
93
+ #define OSSL_CIPHER_PARAM_AEAD_MAC_KEY "mackey" /* octet_string */
94
+ #define OSSL_CIPHER_PARAM_RANDOM_KEY "randkey" /* octet_string */
95
+ #define OSSL_CIPHER_PARAM_RC2_KEYBITS "keybits" /* size_t */
96
+ #define OSSL_CIPHER_PARAM_SPEED "speed" /* uint */
97
+ #define OSSL_CIPHER_PARAM_CTS_MODE "cts_mode" /* utf8_string */
98
+ /* For passing the AlgorithmIdentifier parameter in DER form */
99
+ #define OSSL_CIPHER_PARAM_ALGORITHM_ID_PARAMS "alg_id_param" /* octet_string */
100
+
101
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_SEND_FRAGMENT \
102
+ "tls1multi_maxsndfrag" /* uint */
103
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_BUFSIZE \
104
+ "tls1multi_maxbufsz" /* size_t */
105
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE \
106
+ "tls1multi_interleave" /* uint */
107
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD \
108
+ "tls1multi_aad" /* octet_string */
109
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD_PACKLEN \
110
+ "tls1multi_aadpacklen" /* uint */
111
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC \
112
+ "tls1multi_enc" /* octet_string */
113
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_IN \
114
+ "tls1multi_encin" /* octet_string */
115
+ #define OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_LEN \
116
+ "tls1multi_enclen" /* size_t */
117
+
118
+ /* OSSL_CIPHER_PARAM_CTS_MODE Values */
119
+ #define OSSL_CIPHER_CTS_MODE_CS1 "CS1"
120
+ #define OSSL_CIPHER_CTS_MODE_CS2 "CS2"
121
+ #define OSSL_CIPHER_CTS_MODE_CS3 "CS3"
122
+
123
+ /* digest parameters */
124
+ #define OSSL_DIGEST_PARAM_XOFLEN "xoflen" /* size_t */
125
+ #define OSSL_DIGEST_PARAM_SSL3_MS "ssl3-ms" /* octet string */
126
+ #define OSSL_DIGEST_PARAM_PAD_TYPE "pad-type" /* uint */
127
+ #define OSSL_DIGEST_PARAM_MICALG "micalg" /* utf8 string */
128
+ #define OSSL_DIGEST_PARAM_BLOCK_SIZE "blocksize" /* size_t */
129
+ #define OSSL_DIGEST_PARAM_SIZE "size" /* size_t */
130
+ #define OSSL_DIGEST_PARAM_XOF "xof" /* int, 0 or 1 */
131
+ #define OSSL_DIGEST_PARAM_ALGID_ABSENT "algid-absent" /* int, 0 or 1 */
132
+
133
+ /* Known DIGEST names (not a complete list) */
134
+ #define OSSL_DIGEST_NAME_MD5 "MD5"
135
+ #define OSSL_DIGEST_NAME_MD5_SHA1 "MD5-SHA1"
136
+ #define OSSL_DIGEST_NAME_SHA1 "SHA1"
137
+ #define OSSL_DIGEST_NAME_SHA2_224 "SHA2-224"
138
+ #define OSSL_DIGEST_NAME_SHA2_256 "SHA2-256"
139
+ #define OSSL_DIGEST_NAME_SHA2_384 "SHA2-384"
140
+ #define OSSL_DIGEST_NAME_SHA2_512 "SHA2-512"
141
+ #define OSSL_DIGEST_NAME_SHA2_512_224 "SHA2-512/224"
142
+ #define OSSL_DIGEST_NAME_SHA2_512_256 "SHA2-512/256"
143
+ #define OSSL_DIGEST_NAME_MD2 "MD2"
144
+ #define OSSL_DIGEST_NAME_MD4 "MD4"
145
+ #define OSSL_DIGEST_NAME_MDC2 "MDC2"
146
+ #define OSSL_DIGEST_NAME_RIPEMD160 "RIPEMD160"
147
+ #define OSSL_DIGEST_NAME_SHA3_224 "SHA3-224"
148
+ #define OSSL_DIGEST_NAME_SHA3_256 "SHA3-256"
149
+ #define OSSL_DIGEST_NAME_SHA3_384 "SHA3-384"
150
+ #define OSSL_DIGEST_NAME_SHA3_512 "SHA3-512"
151
+ #define OSSL_DIGEST_NAME_KECCAK_KMAC128 "KECCAK-KMAC-128"
152
+ #define OSSL_DIGEST_NAME_KECCAK_KMAC256 "KECCAK-KMAC-256"
153
+ #define OSSL_DIGEST_NAME_SM3 "SM3"
154
+
155
+ /* MAC parameters */
156
+ #define OSSL_MAC_PARAM_KEY "key" /* octet string */
157
+ #define OSSL_MAC_PARAM_IV "iv" /* octet string */
158
+ #define OSSL_MAC_PARAM_CUSTOM "custom" /* utf8 string */
159
+ #define OSSL_MAC_PARAM_SALT "salt" /* octet string */
160
+ #define OSSL_MAC_PARAM_XOF "xof" /* int, 0 or 1 */
161
+ #define OSSL_MAC_PARAM_DIGEST_NOINIT "digest-noinit" /* int, 0 or 1 */
162
+ #define OSSL_MAC_PARAM_DIGEST_ONESHOT "digest-oneshot" /* int, 0 or 1 */
163
+ #define OSSL_MAC_PARAM_C_ROUNDS "c-rounds" /* unsigned int */
164
+ #define OSSL_MAC_PARAM_D_ROUNDS "d-rounds" /* unsigned int */
165
+
166
+ /*
167
+ * If "engine" or "properties" are specified, they should always be paired
168
+ * with "cipher" or "digest".
169
+ */
170
+ #define OSSL_MAC_PARAM_CIPHER OSSL_ALG_PARAM_CIPHER /* utf8 string */
171
+ #define OSSL_MAC_PARAM_DIGEST OSSL_ALG_PARAM_DIGEST /* utf8 string */
172
+ #define OSSL_MAC_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES /* utf8 string */
173
+ #define OSSL_MAC_PARAM_SIZE "size" /* size_t */
174
+ #define OSSL_MAC_PARAM_BLOCK_SIZE "block-size" /* size_t */
175
+ #define OSSL_MAC_PARAM_TLS_DATA_SIZE "tls-data-size" /* size_t */
176
+
177
+ /* Known MAC names */
178
+ #define OSSL_MAC_NAME_BLAKE2BMAC "BLAKE2BMAC"
179
+ #define OSSL_MAC_NAME_BLAKE2SMAC "BLAKE2SMAC"
180
+ #define OSSL_MAC_NAME_CMAC "CMAC"
181
+ #define OSSL_MAC_NAME_GMAC "GMAC"
182
+ #define OSSL_MAC_NAME_HMAC "HMAC"
183
+ #define OSSL_MAC_NAME_KMAC128 "KMAC128"
184
+ #define OSSL_MAC_NAME_KMAC256 "KMAC256"
185
+ #define OSSL_MAC_NAME_POLY1305 "POLY1305"
186
+ #define OSSL_MAC_NAME_SIPHASH "SIPHASH"
187
+
188
+ /* KDF / PRF parameters */
189
+ #define OSSL_KDF_PARAM_SECRET "secret" /* octet string */
190
+ #define OSSL_KDF_PARAM_KEY "key" /* octet string */
191
+ #define OSSL_KDF_PARAM_SALT "salt" /* octet string */
192
+ #define OSSL_KDF_PARAM_PASSWORD "pass" /* octet string */
193
+ #define OSSL_KDF_PARAM_PREFIX "prefix" /* octet string */
194
+ #define OSSL_KDF_PARAM_LABEL "label" /* octet string */
195
+ #define OSSL_KDF_PARAM_DATA "data" /* octet string */
196
+ #define OSSL_KDF_PARAM_DIGEST OSSL_ALG_PARAM_DIGEST /* utf8 string */
197
+ #define OSSL_KDF_PARAM_CIPHER OSSL_ALG_PARAM_CIPHER /* utf8 string */
198
+ #define OSSL_KDF_PARAM_MAC OSSL_ALG_PARAM_MAC /* utf8 string */
199
+ #define OSSL_KDF_PARAM_MAC_SIZE "maclen" /* size_t */
200
+ #define OSSL_KDF_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES /* utf8 string */
201
+ #define OSSL_KDF_PARAM_ITER "iter" /* unsigned int */
202
+ #define OSSL_KDF_PARAM_MODE "mode" /* utf8 string or int */
203
+ #define OSSL_KDF_PARAM_PKCS5 "pkcs5" /* int */
204
+ #define OSSL_KDF_PARAM_UKM "ukm" /* octet string */
205
+ #define OSSL_KDF_PARAM_CEK_ALG "cekalg" /* utf8 string */
206
+ #define OSSL_KDF_PARAM_SCRYPT_N "n" /* uint64_t */
207
+ #define OSSL_KDF_PARAM_SCRYPT_R "r" /* uint32_t */
208
+ #define OSSL_KDF_PARAM_SCRYPT_P "p" /* uint32_t */
209
+ #define OSSL_KDF_PARAM_SCRYPT_MAXMEM "maxmem_bytes" /* uint64_t */
210
+ #define OSSL_KDF_PARAM_INFO "info" /* octet string */
211
+ #define OSSL_KDF_PARAM_SEED "seed" /* octet string */
212
+ #define OSSL_KDF_PARAM_SSHKDF_XCGHASH "xcghash" /* octet string */
213
+ #define OSSL_KDF_PARAM_SSHKDF_SESSION_ID "session_id" /* octet string */
214
+ #define OSSL_KDF_PARAM_SSHKDF_TYPE "type" /* int */
215
+ #define OSSL_KDF_PARAM_SIZE "size" /* size_t */
216
+ #define OSSL_KDF_PARAM_CONSTANT "constant" /* octet string */
217
+ #define OSSL_KDF_PARAM_PKCS12_ID "id" /* int */
218
+ #define OSSL_KDF_PARAM_KBKDF_USE_L "use-l" /* int */
219
+ #define OSSL_KDF_PARAM_KBKDF_USE_SEPARATOR "use-separator" /* int */
220
+ #define OSSL_KDF_PARAM_X942_ACVPINFO "acvp-info"
221
+ #define OSSL_KDF_PARAM_X942_PARTYUINFO "partyu-info"
222
+ #define OSSL_KDF_PARAM_X942_PARTYVINFO "partyv-info"
223
+ #define OSSL_KDF_PARAM_X942_SUPP_PUBINFO "supp-pubinfo"
224
+ #define OSSL_KDF_PARAM_X942_SUPP_PRIVINFO "supp-privinfo"
225
+ #define OSSL_KDF_PARAM_X942_USE_KEYBITS "use-keybits"
226
+
227
+ /* Known KDF names */
228
+ #define OSSL_KDF_NAME_HKDF "HKDF"
229
+ #define OSSL_KDF_NAME_TLS1_3_KDF "TLS13-KDF"
230
+ #define OSSL_KDF_NAME_PBKDF1 "PBKDF1"
231
+ #define OSSL_KDF_NAME_PBKDF2 "PBKDF2"
232
+ #define OSSL_KDF_NAME_SCRYPT "SCRYPT"
233
+ #define OSSL_KDF_NAME_SSHKDF "SSHKDF"
234
+ #define OSSL_KDF_NAME_SSKDF "SSKDF"
235
+ #define OSSL_KDF_NAME_TLS1_PRF "TLS1-PRF"
236
+ #define OSSL_KDF_NAME_X942KDF_ASN1 "X942KDF-ASN1"
237
+ #define OSSL_KDF_NAME_X942KDF_CONCAT "X942KDF-CONCAT"
238
+ #define OSSL_KDF_NAME_X963KDF "X963KDF"
239
+ #define OSSL_KDF_NAME_KBKDF "KBKDF"
240
+ #define OSSL_KDF_NAME_KRB5KDF "KRB5KDF"
241
+
242
+ /* Known RAND names */
243
+ #define OSSL_RAND_PARAM_STATE "state"
244
+ #define OSSL_RAND_PARAM_STRENGTH "strength"
245
+ #define OSSL_RAND_PARAM_MAX_REQUEST "max_request"
246
+ #define OSSL_RAND_PARAM_TEST_ENTROPY "test_entropy"
247
+ #define OSSL_RAND_PARAM_TEST_NONCE "test_nonce"
248
+
249
+ /* RAND/DRBG names */
250
+ #define OSSL_DRBG_PARAM_RESEED_REQUESTS "reseed_requests"
251
+ #define OSSL_DRBG_PARAM_RESEED_TIME_INTERVAL "reseed_time_interval"
252
+ #define OSSL_DRBG_PARAM_MIN_ENTROPYLEN "min_entropylen"
253
+ #define OSSL_DRBG_PARAM_MAX_ENTROPYLEN "max_entropylen"
254
+ #define OSSL_DRBG_PARAM_MIN_NONCELEN "min_noncelen"
255
+ #define OSSL_DRBG_PARAM_MAX_NONCELEN "max_noncelen"
256
+ #define OSSL_DRBG_PARAM_MAX_PERSLEN "max_perslen"
257
+ #define OSSL_DRBG_PARAM_MAX_ADINLEN "max_adinlen"
258
+ #define OSSL_DRBG_PARAM_RESEED_COUNTER "reseed_counter"
259
+ #define OSSL_DRBG_PARAM_RESEED_TIME "reseed_time"
260
+ #define OSSL_DRBG_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES
261
+ #define OSSL_DRBG_PARAM_DIGEST OSSL_ALG_PARAM_DIGEST
262
+ #define OSSL_DRBG_PARAM_CIPHER OSSL_ALG_PARAM_CIPHER
263
+ #define OSSL_DRBG_PARAM_MAC OSSL_ALG_PARAM_MAC
264
+ #define OSSL_DRBG_PARAM_USE_DF "use_derivation_function"
265
+
266
+ /* DRBG call back parameters */
267
+ #define OSSL_DRBG_PARAM_ENTROPY_REQUIRED "entropy_required"
268
+ #define OSSL_DRBG_PARAM_PREDICTION_RESISTANCE "prediction_resistance"
269
+ #define OSSL_DRBG_PARAM_MIN_LENGTH "minium_length"
270
+ #define OSSL_DRBG_PARAM_MAX_LENGTH "maxium_length"
271
+ #define OSSL_DRBG_PARAM_RANDOM_DATA "random_data"
272
+ #define OSSL_DRBG_PARAM_SIZE "size"
273
+
274
+ /* PKEY parameters */
275
+ /* Common PKEY parameters */
276
+ #define OSSL_PKEY_PARAM_BITS "bits" /* integer */
277
+ #define OSSL_PKEY_PARAM_MAX_SIZE "max-size" /* integer */
278
+ #define OSSL_PKEY_PARAM_SECURITY_BITS "security-bits" /* integer */
279
+ #define OSSL_PKEY_PARAM_DIGEST OSSL_ALG_PARAM_DIGEST
280
+ #define OSSL_PKEY_PARAM_CIPHER OSSL_ALG_PARAM_CIPHER /* utf8 string */
281
+ #define OSSL_PKEY_PARAM_ENGINE OSSL_ALG_PARAM_ENGINE /* utf8 string */
282
+ #define OSSL_PKEY_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES
283
+ #define OSSL_PKEY_PARAM_DEFAULT_DIGEST "default-digest" /* utf8 string */
284
+ #define OSSL_PKEY_PARAM_MANDATORY_DIGEST "mandatory-digest" /* utf8 string */
285
+ #define OSSL_PKEY_PARAM_PAD_MODE "pad-mode"
286
+ #define OSSL_PKEY_PARAM_DIGEST_SIZE "digest-size"
287
+ #define OSSL_PKEY_PARAM_MASKGENFUNC "mgf"
288
+ #define OSSL_PKEY_PARAM_MGF1_DIGEST "mgf1-digest"
289
+ #define OSSL_PKEY_PARAM_MGF1_PROPERTIES "mgf1-properties"
290
+ #define OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY "encoded-pub-key"
291
+ #define OSSL_PKEY_PARAM_GROUP_NAME "group"
292
+ #define OSSL_PKEY_PARAM_DIST_ID "distid"
293
+ #define OSSL_PKEY_PARAM_PUB_KEY "pub"
294
+ #define OSSL_PKEY_PARAM_PRIV_KEY "priv"
295
+
296
+ /* Diffie-Hellman/DSA Parameters */
297
+ #define OSSL_PKEY_PARAM_FFC_P "p"
298
+ #define OSSL_PKEY_PARAM_FFC_G "g"
299
+ #define OSSL_PKEY_PARAM_FFC_Q "q"
300
+ #define OSSL_PKEY_PARAM_FFC_GINDEX "gindex"
301
+ #define OSSL_PKEY_PARAM_FFC_PCOUNTER "pcounter"
302
+ #define OSSL_PKEY_PARAM_FFC_SEED "seed"
303
+ #define OSSL_PKEY_PARAM_FFC_COFACTOR "j"
304
+ #define OSSL_PKEY_PARAM_FFC_H "hindex"
305
+ #define OSSL_PKEY_PARAM_FFC_VALIDATE_PQ "validate-pq"
306
+ #define OSSL_PKEY_PARAM_FFC_VALIDATE_G "validate-g"
307
+ #define OSSL_PKEY_PARAM_FFC_VALIDATE_LEGACY "validate-legacy"
308
+
309
+ /* Diffie-Hellman params */
310
+ #define OSSL_PKEY_PARAM_DH_GENERATOR "safeprime-generator"
311
+ #define OSSL_PKEY_PARAM_DH_PRIV_LEN "priv_len"
312
+
313
+ /* Elliptic Curve Domain Parameters */
314
+ #define OSSL_PKEY_PARAM_EC_PUB_X "qx"
315
+ #define OSSL_PKEY_PARAM_EC_PUB_Y "qy"
316
+
317
+ /* Elliptic Curve Explicit Domain Parameters */
318
+ #define OSSL_PKEY_PARAM_EC_FIELD_TYPE "field-type"
319
+ #define OSSL_PKEY_PARAM_EC_P "p"
320
+ #define OSSL_PKEY_PARAM_EC_A "a"
321
+ #define OSSL_PKEY_PARAM_EC_B "b"
322
+ #define OSSL_PKEY_PARAM_EC_GENERATOR "generator"
323
+ #define OSSL_PKEY_PARAM_EC_ORDER "order"
324
+ #define OSSL_PKEY_PARAM_EC_COFACTOR "cofactor"
325
+ #define OSSL_PKEY_PARAM_EC_SEED "seed"
326
+ #define OSSL_PKEY_PARAM_EC_CHAR2_M "m"
327
+ #define OSSL_PKEY_PARAM_EC_CHAR2_TYPE "basis-type"
328
+ #define OSSL_PKEY_PARAM_EC_CHAR2_TP_BASIS "tp"
329
+ #define OSSL_PKEY_PARAM_EC_CHAR2_PP_K1 "k1"
330
+ #define OSSL_PKEY_PARAM_EC_CHAR2_PP_K2 "k2"
331
+ #define OSSL_PKEY_PARAM_EC_CHAR2_PP_K3 "k3"
332
+ #define OSSL_PKEY_PARAM_EC_DECODED_FROM_EXPLICIT_PARAMS "decoded-from-explicit"
333
+
334
+ /* Elliptic Curve Key Parameters */
335
+ #define OSSL_PKEY_PARAM_USE_COFACTOR_FLAG "use-cofactor-flag"
336
+ #define OSSL_PKEY_PARAM_USE_COFACTOR_ECDH \
337
+ OSSL_PKEY_PARAM_USE_COFACTOR_FLAG
338
+
339
+ /* RSA Keys */
340
+ /*
341
+ * n, e, d are the usual public and private key components
342
+ *
343
+ * rsa-num is the number of factors, including p and q
344
+ * rsa-factor is used for each factor: p, q, r_i (i = 3, ...)
345
+ * rsa-exponent is used for each exponent: dP, dQ, d_i (i = 3, ...)
346
+ * rsa-coefficient is used for each coefficient: qInv, t_i (i = 3, ...)
347
+ *
348
+ * The number of rsa-factor items must be equal to the number of rsa-exponent
349
+ * items, and the number of rsa-coefficients must be one less.
350
+ * (the base i for the coefficients is 2, not 1, at least as implied by
351
+ * RFC 8017)
352
+ */
353
+ #define OSSL_PKEY_PARAM_RSA_N "n"
354
+ #define OSSL_PKEY_PARAM_RSA_E "e"
355
+ #define OSSL_PKEY_PARAM_RSA_D "d"
356
+ #define OSSL_PKEY_PARAM_RSA_FACTOR "rsa-factor"
357
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT "rsa-exponent"
358
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT "rsa-coefficient"
359
+ #define OSSL_PKEY_PARAM_RSA_FACTOR1 OSSL_PKEY_PARAM_RSA_FACTOR"1"
360
+ #define OSSL_PKEY_PARAM_RSA_FACTOR2 OSSL_PKEY_PARAM_RSA_FACTOR"2"
361
+ #define OSSL_PKEY_PARAM_RSA_FACTOR3 OSSL_PKEY_PARAM_RSA_FACTOR"3"
362
+ #define OSSL_PKEY_PARAM_RSA_FACTOR4 OSSL_PKEY_PARAM_RSA_FACTOR"4"
363
+ #define OSSL_PKEY_PARAM_RSA_FACTOR5 OSSL_PKEY_PARAM_RSA_FACTOR"5"
364
+ #define OSSL_PKEY_PARAM_RSA_FACTOR6 OSSL_PKEY_PARAM_RSA_FACTOR"6"
365
+ #define OSSL_PKEY_PARAM_RSA_FACTOR7 OSSL_PKEY_PARAM_RSA_FACTOR"7"
366
+ #define OSSL_PKEY_PARAM_RSA_FACTOR8 OSSL_PKEY_PARAM_RSA_FACTOR"8"
367
+ #define OSSL_PKEY_PARAM_RSA_FACTOR9 OSSL_PKEY_PARAM_RSA_FACTOR"9"
368
+ #define OSSL_PKEY_PARAM_RSA_FACTOR10 OSSL_PKEY_PARAM_RSA_FACTOR"10"
369
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT1 OSSL_PKEY_PARAM_RSA_EXPONENT"1"
370
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT2 OSSL_PKEY_PARAM_RSA_EXPONENT"2"
371
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT3 OSSL_PKEY_PARAM_RSA_EXPONENT"3"
372
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT4 OSSL_PKEY_PARAM_RSA_EXPONENT"4"
373
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT5 OSSL_PKEY_PARAM_RSA_EXPONENT"5"
374
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT6 OSSL_PKEY_PARAM_RSA_EXPONENT"6"
375
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT7 OSSL_PKEY_PARAM_RSA_EXPONENT"7"
376
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT8 OSSL_PKEY_PARAM_RSA_EXPONENT"8"
377
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT9 OSSL_PKEY_PARAM_RSA_EXPONENT"9"
378
+ #define OSSL_PKEY_PARAM_RSA_EXPONENT10 OSSL_PKEY_PARAM_RSA_EXPONENT"10"
379
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT1 OSSL_PKEY_PARAM_RSA_COEFFICIENT"1"
380
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT2 OSSL_PKEY_PARAM_RSA_COEFFICIENT"2"
381
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT3 OSSL_PKEY_PARAM_RSA_COEFFICIENT"3"
382
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT4 OSSL_PKEY_PARAM_RSA_COEFFICIENT"4"
383
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT5 OSSL_PKEY_PARAM_RSA_COEFFICIENT"5"
384
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT6 OSSL_PKEY_PARAM_RSA_COEFFICIENT"6"
385
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT7 OSSL_PKEY_PARAM_RSA_COEFFICIENT"7"
386
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT8 OSSL_PKEY_PARAM_RSA_COEFFICIENT"8"
387
+ #define OSSL_PKEY_PARAM_RSA_COEFFICIENT9 OSSL_PKEY_PARAM_RSA_COEFFICIENT"9"
388
+
389
+ /* RSA padding modes */
390
+ #define OSSL_PKEY_RSA_PAD_MODE_NONE "none"
391
+ #define OSSL_PKEY_RSA_PAD_MODE_PKCSV15 "pkcs1"
392
+ #define OSSL_PKEY_RSA_PAD_MODE_OAEP "oaep"
393
+ #define OSSL_PKEY_RSA_PAD_MODE_X931 "x931"
394
+ #define OSSL_PKEY_RSA_PAD_MODE_PSS "pss"
395
+
396
+ /* RSA pss padding salt length */
397
+ #define OSSL_PKEY_RSA_PSS_SALT_LEN_DIGEST "digest"
398
+ #define OSSL_PKEY_RSA_PSS_SALT_LEN_MAX "max"
399
+ #define OSSL_PKEY_RSA_PSS_SALT_LEN_AUTO "auto"
400
+
401
+ /* Key generation parameters */
402
+ #define OSSL_PKEY_PARAM_RSA_BITS OSSL_PKEY_PARAM_BITS
403
+ #define OSSL_PKEY_PARAM_RSA_PRIMES "primes"
404
+ #define OSSL_PKEY_PARAM_RSA_DIGEST OSSL_PKEY_PARAM_DIGEST
405
+ #define OSSL_PKEY_PARAM_RSA_DIGEST_PROPS OSSL_PKEY_PARAM_PROPERTIES
406
+ #define OSSL_PKEY_PARAM_RSA_MASKGENFUNC OSSL_PKEY_PARAM_MASKGENFUNC
407
+ #define OSSL_PKEY_PARAM_RSA_MGF1_DIGEST OSSL_PKEY_PARAM_MGF1_DIGEST
408
+ #define OSSL_PKEY_PARAM_RSA_PSS_SALTLEN "saltlen"
409
+
410
+ /* Key generation parameters */
411
+ #define OSSL_PKEY_PARAM_FFC_TYPE "type"
412
+ #define OSSL_PKEY_PARAM_FFC_PBITS "pbits"
413
+ #define OSSL_PKEY_PARAM_FFC_QBITS "qbits"
414
+ #define OSSL_PKEY_PARAM_FFC_DIGEST OSSL_PKEY_PARAM_DIGEST
415
+ #define OSSL_PKEY_PARAM_FFC_DIGEST_PROPS OSSL_PKEY_PARAM_PROPERTIES
416
+
417
+ #define OSSL_PKEY_PARAM_EC_ENCODING "encoding" /* utf8_string */
418
+ #define OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT "point-format"
419
+ #define OSSL_PKEY_PARAM_EC_GROUP_CHECK_TYPE "group-check"
420
+ #define OSSL_PKEY_PARAM_EC_INCLUDE_PUBLIC "include-public"
421
+
422
+ /* OSSL_PKEY_PARAM_EC_ENCODING values */
423
+ #define OSSL_PKEY_EC_ENCODING_EXPLICIT "explicit"
424
+ #define OSSL_PKEY_EC_ENCODING_GROUP "named_curve"
425
+
426
+ #define OSSL_PKEY_EC_POINT_CONVERSION_FORMAT_UNCOMPRESSED "uncompressed"
427
+ #define OSSL_PKEY_EC_POINT_CONVERSION_FORMAT_COMPRESSED "compressed"
428
+ #define OSSL_PKEY_EC_POINT_CONVERSION_FORMAT_HYBRID "hybrid"
429
+
430
+ #define OSSL_PKEY_EC_GROUP_CHECK_DEFAULT "default"
431
+ #define OSSL_PKEY_EC_GROUP_CHECK_NAMED "named"
432
+ #define OSSL_PKEY_EC_GROUP_CHECK_NAMED_NIST "named-nist"
433
+
434
+ /* Key Exchange parameters */
435
+ #define OSSL_EXCHANGE_PARAM_PAD "pad" /* uint */
436
+ #define OSSL_EXCHANGE_PARAM_EC_ECDH_COFACTOR_MODE "ecdh-cofactor-mode" /* int */
437
+ #define OSSL_EXCHANGE_PARAM_KDF_TYPE "kdf-type" /* utf8_string */
438
+ #define OSSL_EXCHANGE_PARAM_KDF_DIGEST "kdf-digest" /* utf8_string */
439
+ #define OSSL_EXCHANGE_PARAM_KDF_DIGEST_PROPS "kdf-digest-props" /* utf8_string */
440
+ #define OSSL_EXCHANGE_PARAM_KDF_OUTLEN "kdf-outlen" /* size_t */
441
+ /* The following parameter is an octet_string on set and an octet_ptr on get */
442
+ #define OSSL_EXCHANGE_PARAM_KDF_UKM "kdf-ukm"
443
+
444
+ /* Signature parameters */
445
+ #define OSSL_SIGNATURE_PARAM_ALGORITHM_ID "algorithm-id"
446
+ #define OSSL_SIGNATURE_PARAM_PAD_MODE OSSL_PKEY_PARAM_PAD_MODE
447
+ #define OSSL_SIGNATURE_PARAM_DIGEST OSSL_PKEY_PARAM_DIGEST
448
+ #define OSSL_SIGNATURE_PARAM_PROPERTIES OSSL_PKEY_PARAM_PROPERTIES
449
+ #define OSSL_SIGNATURE_PARAM_PSS_SALTLEN "saltlen"
450
+ #define OSSL_SIGNATURE_PARAM_MGF1_DIGEST OSSL_PKEY_PARAM_MGF1_DIGEST
451
+ #define OSSL_SIGNATURE_PARAM_MGF1_PROPERTIES \
452
+ OSSL_PKEY_PARAM_MGF1_PROPERTIES
453
+ #define OSSL_SIGNATURE_PARAM_DIGEST_SIZE OSSL_PKEY_PARAM_DIGEST_SIZE
454
+
455
+ /* Asym cipher parameters */
456
+ #define OSSL_ASYM_CIPHER_PARAM_DIGEST OSSL_PKEY_PARAM_DIGEST
457
+ #define OSSL_ASYM_CIPHER_PARAM_PROPERTIES OSSL_PKEY_PARAM_PROPERTIES
458
+ #define OSSL_ASYM_CIPHER_PARAM_ENGINE OSSL_PKEY_PARAM_ENGINE
459
+ #define OSSL_ASYM_CIPHER_PARAM_PAD_MODE OSSL_PKEY_PARAM_PAD_MODE
460
+ #define OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST \
461
+ OSSL_PKEY_PARAM_MGF1_DIGEST
462
+ #define OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST_PROPS \
463
+ OSSL_PKEY_PARAM_MGF1_PROPERTIES
464
+ #define OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST OSSL_ALG_PARAM_DIGEST
465
+ #define OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS "digest-props"
466
+ /* The following parameter is an octet_string on set and an octet_ptr on get */
467
+ #define OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL "oaep-label"
468
+ #define OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION "tls-client-version"
469
+ #define OSSL_ASYM_CIPHER_PARAM_TLS_NEGOTIATED_VERSION "tls-negotiated-version"
470
+
471
+ /*
472
+ * Encoder / decoder parameters
473
+ */
474
+ #define OSSL_ENCODER_PARAM_CIPHER OSSL_ALG_PARAM_CIPHER
475
+ #define OSSL_ENCODER_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES
476
+ /* Currently PVK only, but reusable for others as needed */
477
+ #define OSSL_ENCODER_PARAM_ENCRYPT_LEVEL "encrypt-level"
478
+ #define OSSL_ENCODER_PARAM_SAVE_PARAMETERS "save-parameters" /* integer */
479
+
480
+ #define OSSL_DECODER_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES
481
+
482
+ /* Passphrase callback parameters */
483
+ #define OSSL_PASSPHRASE_PARAM_INFO "info"
484
+
485
+ /* Keygen callback parameters, from provider to libcrypto */
486
+ #define OSSL_GEN_PARAM_POTENTIAL "potential" /* integer */
487
+ #define OSSL_GEN_PARAM_ITERATION "iteration" /* integer */
488
+
489
+ /* ACVP Test parameters : These should not be used normally */
490
+ #define OSSL_PKEY_PARAM_RSA_TEST_XP1 "xp1"
491
+ #define OSSL_PKEY_PARAM_RSA_TEST_XP2 "xp2"
492
+ #define OSSL_PKEY_PARAM_RSA_TEST_XP "xp"
493
+ #define OSSL_PKEY_PARAM_RSA_TEST_XQ1 "xq1"
494
+ #define OSSL_PKEY_PARAM_RSA_TEST_XQ2 "xq2"
495
+ #define OSSL_PKEY_PARAM_RSA_TEST_XQ "xq"
496
+ #define OSSL_PKEY_PARAM_RSA_TEST_P1 "p1"
497
+ #define OSSL_PKEY_PARAM_RSA_TEST_P2 "p2"
498
+ #define OSSL_PKEY_PARAM_RSA_TEST_Q1 "q1"
499
+ #define OSSL_PKEY_PARAM_RSA_TEST_Q2 "q2"
500
+ #define OSSL_SIGNATURE_PARAM_KAT "kat"
501
+
502
+ /* KEM parameters */
503
+ #define OSSL_KEM_PARAM_OPERATION "operation"
504
+
505
+ /* OSSL_KEM_PARAM_OPERATION values */
506
+ #define OSSL_KEM_PARAM_OPERATION_RSASVE "RSASVE"
507
+
508
+ /* Capabilities */
509
+
510
+ /* TLS-GROUP Capability */
511
+ #define OSSL_CAPABILITY_TLS_GROUP_NAME "tls-group-name"
512
+ #define OSSL_CAPABILITY_TLS_GROUP_NAME_INTERNAL "tls-group-name-internal"
513
+ #define OSSL_CAPABILITY_TLS_GROUP_ID "tls-group-id"
514
+ #define OSSL_CAPABILITY_TLS_GROUP_ALG "tls-group-alg"
515
+ #define OSSL_CAPABILITY_TLS_GROUP_SECURITY_BITS "tls-group-sec-bits"
516
+ #define OSSL_CAPABILITY_TLS_GROUP_IS_KEM "tls-group-is-kem"
517
+ #define OSSL_CAPABILITY_TLS_GROUP_MIN_TLS "tls-min-tls"
518
+ #define OSSL_CAPABILITY_TLS_GROUP_MAX_TLS "tls-max-tls"
519
+ #define OSSL_CAPABILITY_TLS_GROUP_MIN_DTLS "tls-min-dtls"
520
+ #define OSSL_CAPABILITY_TLS_GROUP_MAX_DTLS "tls-max-dtls"
521
+
522
+ /*-
523
+ * storemgmt parameters
524
+ */
525
+
526
+ /*
527
+ * Used by storemgmt_ctx_set_params():
528
+ *
529
+ * - OSSL_STORE_PARAM_EXPECT is an INTEGER, and the value is any of the
530
+ * OSSL_STORE_INFO numbers. This is used to set the expected type of
531
+ * object loaded.
532
+ *
533
+ * - OSSL_STORE_PARAM_SUBJECT, OSSL_STORE_PARAM_ISSUER,
534
+ * OSSL_STORE_PARAM_SERIAL, OSSL_STORE_PARAM_FINGERPRINT,
535
+ * OSSL_STORE_PARAM_DIGEST, OSSL_STORE_PARAM_ALIAS
536
+ * are used as search criteria.
537
+ * (OSSL_STORE_PARAM_DIGEST is used with OSSL_STORE_PARAM_FINGERPRINT)
538
+ */
539
+ #define OSSL_STORE_PARAM_EXPECT "expect" /* INTEGER */
540
+ #define OSSL_STORE_PARAM_SUBJECT "subject" /* DER blob => OCTET_STRING */
541
+ #define OSSL_STORE_PARAM_ISSUER "name" /* DER blob => OCTET_STRING */
542
+ #define OSSL_STORE_PARAM_SERIAL "serial" /* INTEGER */
543
+ #define OSSL_STORE_PARAM_DIGEST "digest" /* UTF8_STRING */
544
+ #define OSSL_STORE_PARAM_FINGERPRINT "fingerprint" /* OCTET_STRING */
545
+ #define OSSL_STORE_PARAM_ALIAS "alias" /* UTF8_STRING */
546
+
547
+ /* You may want to pass properties for the provider implementation to use */
548
+ #define OSSL_STORE_PARAM_PROPERTIES "properties" /* utf8_string */
549
+ /* OSSL_DECODER input type if a decoder is used by the store */
550
+ #define OSSL_STORE_PARAM_INPUT_TYPE "input-type" /* UTF8_STRING */
551
+
552
+ # ifdef __cplusplus
553
+ }
554
+ # endif
555
+
556
+ #endif
janus/include/openssl/crypto.h ADDED
@@ -0,0 +1,558 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * WARNING: do not edit!
3
+ * Generated by Makefile from include/openssl/crypto.h.in
4
+ *
5
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
6
+ * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
7
+ *
8
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
9
+ * this file except in compliance with the License. You can obtain a copy
10
+ * in the file LICENSE in the source distribution or at
11
+ * https://www.openssl.org/source/license.html
12
+ */
13
+
14
+
15
+
16
+ #ifndef OPENSSL_CRYPTO_H
17
+ # define OPENSSL_CRYPTO_H
18
+ # pragma once
19
+
20
+ # include <openssl/macros.h>
21
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
22
+ # define HEADER_CRYPTO_H
23
+ # endif
24
+
25
+ # include <stdlib.h>
26
+ # include <time.h>
27
+
28
+ # include <openssl/e_os2.h>
29
+
30
+ # ifndef OPENSSL_NO_STDIO
31
+ # include <stdio.h>
32
+ # endif
33
+
34
+ # include <openssl/safestack.h>
35
+ # include <openssl/opensslv.h>
36
+ # include <openssl/types.h>
37
+ # include <openssl/opensslconf.h>
38
+ # include <openssl/cryptoerr.h>
39
+ # include <openssl/core.h>
40
+
41
+ # ifdef CHARSET_EBCDIC
42
+ # include <openssl/ebcdic.h>
43
+ # endif
44
+
45
+ /*
46
+ * Resolve problems on some operating systems with symbol names that clash
47
+ * one way or another
48
+ */
49
+ # include <openssl/symhacks.h>
50
+
51
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
52
+ # include <openssl/opensslv.h>
53
+ # endif
54
+
55
+ #ifdef __cplusplus
56
+ extern "C" {
57
+ #endif
58
+
59
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
60
+ # define SSLeay OpenSSL_version_num
61
+ # define SSLeay_version OpenSSL_version
62
+ # define SSLEAY_VERSION_NUMBER OPENSSL_VERSION_NUMBER
63
+ # define SSLEAY_VERSION OPENSSL_VERSION
64
+ # define SSLEAY_CFLAGS OPENSSL_CFLAGS
65
+ # define SSLEAY_BUILT_ON OPENSSL_BUILT_ON
66
+ # define SSLEAY_PLATFORM OPENSSL_PLATFORM
67
+ # define SSLEAY_DIR OPENSSL_DIR
68
+
69
+ /*
70
+ * Old type for allocating dynamic locks. No longer used. Use the new thread
71
+ * API instead.
72
+ */
73
+ typedef struct {
74
+ int dummy;
75
+ } CRYPTO_dynlock;
76
+
77
+ # endif /* OPENSSL_NO_DEPRECATED_1_1_0 */
78
+
79
+ typedef void CRYPTO_RWLOCK;
80
+
81
+ CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
82
+ __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
83
+ __owur int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock);
84
+ int CRYPTO_THREAD_unlock(CRYPTO_RWLOCK *lock);
85
+ void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock);
86
+
87
+ int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
88
+ int CRYPTO_atomic_or(uint64_t *val, uint64_t op, uint64_t *ret,
89
+ CRYPTO_RWLOCK *lock);
90
+ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
91
+
92
+ /* No longer needed, so this is a no-op */
93
+ #define OPENSSL_malloc_init() while(0) continue
94
+
95
+ # define OPENSSL_malloc(num) \
96
+ CRYPTO_malloc(num, OPENSSL_FILE, OPENSSL_LINE)
97
+ # define OPENSSL_zalloc(num) \
98
+ CRYPTO_zalloc(num, OPENSSL_FILE, OPENSSL_LINE)
99
+ # define OPENSSL_realloc(addr, num) \
100
+ CRYPTO_realloc(addr, num, OPENSSL_FILE, OPENSSL_LINE)
101
+ # define OPENSSL_clear_realloc(addr, old_num, num) \
102
+ CRYPTO_clear_realloc(addr, old_num, num, OPENSSL_FILE, OPENSSL_LINE)
103
+ # define OPENSSL_clear_free(addr, num) \
104
+ CRYPTO_clear_free(addr, num, OPENSSL_FILE, OPENSSL_LINE)
105
+ # define OPENSSL_free(addr) \
106
+ CRYPTO_free(addr, OPENSSL_FILE, OPENSSL_LINE)
107
+ # define OPENSSL_memdup(str, s) \
108
+ CRYPTO_memdup((str), s, OPENSSL_FILE, OPENSSL_LINE)
109
+ # define OPENSSL_strdup(str) \
110
+ CRYPTO_strdup(str, OPENSSL_FILE, OPENSSL_LINE)
111
+ # define OPENSSL_strndup(str, n) \
112
+ CRYPTO_strndup(str, n, OPENSSL_FILE, OPENSSL_LINE)
113
+ # define OPENSSL_secure_malloc(num) \
114
+ CRYPTO_secure_malloc(num, OPENSSL_FILE, OPENSSL_LINE)
115
+ # define OPENSSL_secure_zalloc(num) \
116
+ CRYPTO_secure_zalloc(num, OPENSSL_FILE, OPENSSL_LINE)
117
+ # define OPENSSL_secure_free(addr) \
118
+ CRYPTO_secure_free(addr, OPENSSL_FILE, OPENSSL_LINE)
119
+ # define OPENSSL_secure_clear_free(addr, num) \
120
+ CRYPTO_secure_clear_free(addr, num, OPENSSL_FILE, OPENSSL_LINE)
121
+ # define OPENSSL_secure_actual_size(ptr) \
122
+ CRYPTO_secure_actual_size(ptr)
123
+
124
+ size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
125
+ size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
126
+ size_t OPENSSL_strnlen(const char *str, size_t maxlen);
127
+ int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
128
+ const unsigned char *buf, size_t buflen,
129
+ const char sep);
130
+ char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
131
+ int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
132
+ const char *str, const char sep);
133
+ unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen);
134
+ int OPENSSL_hexchar2int(unsigned char c);
135
+ int OPENSSL_strcasecmp(const char *s1, const char *s2);
136
+ int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
137
+
138
+ # define OPENSSL_MALLOC_MAX_NELEMS(type) (((1U<<(sizeof(int)*8-1))-1)/sizeof(type))
139
+
140
+ /*
141
+ * These functions return the values of OPENSSL_VERSION_MAJOR,
142
+ * OPENSSL_VERSION_MINOR, OPENSSL_VERSION_PATCH, OPENSSL_VERSION_PRE_RELEASE
143
+ * and OPENSSL_VERSION_BUILD_METADATA, respectively.
144
+ */
145
+ unsigned int OPENSSL_version_major(void);
146
+ unsigned int OPENSSL_version_minor(void);
147
+ unsigned int OPENSSL_version_patch(void);
148
+ const char *OPENSSL_version_pre_release(void);
149
+ const char *OPENSSL_version_build_metadata(void);
150
+
151
+ unsigned long OpenSSL_version_num(void);
152
+ const char *OpenSSL_version(int type);
153
+ # define OPENSSL_VERSION 0
154
+ # define OPENSSL_CFLAGS 1
155
+ # define OPENSSL_BUILT_ON 2
156
+ # define OPENSSL_PLATFORM 3
157
+ # define OPENSSL_DIR 4
158
+ # define OPENSSL_ENGINES_DIR 5
159
+ # define OPENSSL_VERSION_STRING 6
160
+ # define OPENSSL_FULL_VERSION_STRING 7
161
+ # define OPENSSL_MODULES_DIR 8
162
+ # define OPENSSL_CPU_INFO 9
163
+
164
+ const char *OPENSSL_info(int type);
165
+ /*
166
+ * The series starts at 1001 to avoid confusion with the OpenSSL_version
167
+ * types.
168
+ */
169
+ # define OPENSSL_INFO_CONFIG_DIR 1001
170
+ # define OPENSSL_INFO_ENGINES_DIR 1002
171
+ # define OPENSSL_INFO_MODULES_DIR 1003
172
+ # define OPENSSL_INFO_DSO_EXTENSION 1004
173
+ # define OPENSSL_INFO_DIR_FILENAME_SEPARATOR 1005
174
+ # define OPENSSL_INFO_LIST_SEPARATOR 1006
175
+ # define OPENSSL_INFO_SEED_SOURCE 1007
176
+ # define OPENSSL_INFO_CPU_SETTINGS 1008
177
+
178
+ int OPENSSL_issetugid(void);
179
+
180
+ struct crypto_ex_data_st {
181
+ OSSL_LIB_CTX *ctx;
182
+ STACK_OF(void) *sk;
183
+ };
184
+
185
+ SKM_DEFINE_STACK_OF_INTERNAL(void, void, void)
186
+ #define sk_void_num(sk) OPENSSL_sk_num(ossl_check_const_void_sk_type(sk))
187
+ #define sk_void_value(sk, idx) ((void *)OPENSSL_sk_value(ossl_check_const_void_sk_type(sk), (idx)))
188
+ #define sk_void_new(cmp) ((STACK_OF(void) *)OPENSSL_sk_new(ossl_check_void_compfunc_type(cmp)))
189
+ #define sk_void_new_null() ((STACK_OF(void) *)OPENSSL_sk_new_null())
190
+ #define sk_void_new_reserve(cmp, n) ((STACK_OF(void) *)OPENSSL_sk_new_reserve(ossl_check_void_compfunc_type(cmp), (n)))
191
+ #define sk_void_reserve(sk, n) OPENSSL_sk_reserve(ossl_check_void_sk_type(sk), (n))
192
+ #define sk_void_free(sk) OPENSSL_sk_free(ossl_check_void_sk_type(sk))
193
+ #define sk_void_zero(sk) OPENSSL_sk_zero(ossl_check_void_sk_type(sk))
194
+ #define sk_void_delete(sk, i) ((void *)OPENSSL_sk_delete(ossl_check_void_sk_type(sk), (i)))
195
+ #define sk_void_delete_ptr(sk, ptr) ((void *)OPENSSL_sk_delete_ptr(ossl_check_void_sk_type(sk), ossl_check_void_type(ptr)))
196
+ #define sk_void_push(sk, ptr) OPENSSL_sk_push(ossl_check_void_sk_type(sk), ossl_check_void_type(ptr))
197
+ #define sk_void_unshift(sk, ptr) OPENSSL_sk_unshift(ossl_check_void_sk_type(sk), ossl_check_void_type(ptr))
198
+ #define sk_void_pop(sk) ((void *)OPENSSL_sk_pop(ossl_check_void_sk_type(sk)))
199
+ #define sk_void_shift(sk) ((void *)OPENSSL_sk_shift(ossl_check_void_sk_type(sk)))
200
+ #define sk_void_pop_free(sk, freefunc) OPENSSL_sk_pop_free(ossl_check_void_sk_type(sk),ossl_check_void_freefunc_type(freefunc))
201
+ #define sk_void_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_void_sk_type(sk), ossl_check_void_type(ptr), (idx))
202
+ #define sk_void_set(sk, idx, ptr) ((void *)OPENSSL_sk_set(ossl_check_void_sk_type(sk), (idx), ossl_check_void_type(ptr)))
203
+ #define sk_void_find(sk, ptr) OPENSSL_sk_find(ossl_check_void_sk_type(sk), ossl_check_void_type(ptr))
204
+ #define sk_void_find_ex(sk, ptr) OPENSSL_sk_find_ex(ossl_check_void_sk_type(sk), ossl_check_void_type(ptr))
205
+ #define sk_void_find_all(sk, ptr, pnum) OPENSSL_sk_find_all(ossl_check_void_sk_type(sk), ossl_check_void_type(ptr), pnum)
206
+ #define sk_void_sort(sk) OPENSSL_sk_sort(ossl_check_void_sk_type(sk))
207
+ #define sk_void_is_sorted(sk) OPENSSL_sk_is_sorted(ossl_check_const_void_sk_type(sk))
208
+ #define sk_void_dup(sk) ((STACK_OF(void) *)OPENSSL_sk_dup(ossl_check_const_void_sk_type(sk)))
209
+ #define sk_void_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(void) *)OPENSSL_sk_deep_copy(ossl_check_const_void_sk_type(sk), ossl_check_void_copyfunc_type(copyfunc), ossl_check_void_freefunc_type(freefunc)))
210
+ #define sk_void_set_cmp_func(sk, cmp) ((sk_void_compfunc)OPENSSL_sk_set_cmp_func(ossl_check_void_sk_type(sk), ossl_check_void_compfunc_type(cmp)))
211
+
212
+
213
+
214
+ /*
215
+ * Per class, we have a STACK of function pointers.
216
+ */
217
+ # define CRYPTO_EX_INDEX_SSL 0
218
+ # define CRYPTO_EX_INDEX_SSL_CTX 1
219
+ # define CRYPTO_EX_INDEX_SSL_SESSION 2
220
+ # define CRYPTO_EX_INDEX_X509 3
221
+ # define CRYPTO_EX_INDEX_X509_STORE 4
222
+ # define CRYPTO_EX_INDEX_X509_STORE_CTX 5
223
+ # define CRYPTO_EX_INDEX_DH 6
224
+ # define CRYPTO_EX_INDEX_DSA 7
225
+ # define CRYPTO_EX_INDEX_EC_KEY 8
226
+ # define CRYPTO_EX_INDEX_RSA 9
227
+ # define CRYPTO_EX_INDEX_ENGINE 10
228
+ # define CRYPTO_EX_INDEX_UI 11
229
+ # define CRYPTO_EX_INDEX_BIO 12
230
+ # define CRYPTO_EX_INDEX_APP 13
231
+ # define CRYPTO_EX_INDEX_UI_METHOD 14
232
+ # define CRYPTO_EX_INDEX_RAND_DRBG 15
233
+ # define CRYPTO_EX_INDEX_DRBG CRYPTO_EX_INDEX_RAND_DRBG
234
+ # define CRYPTO_EX_INDEX_OSSL_LIB_CTX 16
235
+ # define CRYPTO_EX_INDEX_EVP_PKEY 17
236
+ # define CRYPTO_EX_INDEX__COUNT 18
237
+
238
+ typedef void CRYPTO_EX_new (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
239
+ int idx, long argl, void *argp);
240
+ typedef void CRYPTO_EX_free (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
241
+ int idx, long argl, void *argp);
242
+ typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
243
+ void **from_d, int idx, long argl, void *argp);
244
+ __owur int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp,
245
+ CRYPTO_EX_new *new_func,
246
+ CRYPTO_EX_dup *dup_func,
247
+ CRYPTO_EX_free *free_func);
248
+ /* No longer use an index. */
249
+ int CRYPTO_free_ex_index(int class_index, int idx);
250
+
251
+ /*
252
+ * Initialise/duplicate/free CRYPTO_EX_DATA variables corresponding to a
253
+ * given class (invokes whatever per-class callbacks are applicable)
254
+ */
255
+ int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
256
+ int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
257
+ const CRYPTO_EX_DATA *from);
258
+
259
+ void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
260
+
261
+ /* Allocate a single item in the CRYPTO_EX_DATA variable */
262
+ int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad,
263
+ int idx);
264
+
265
+ /*
266
+ * Get/set data in a CRYPTO_EX_DATA variable corresponding to a particular
267
+ * index (relative to the class type involved)
268
+ */
269
+ int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val);
270
+ void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
271
+
272
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
273
+ /*
274
+ * This function cleans up all "ex_data" state. It mustn't be called under
275
+ * potential race-conditions.
276
+ */
277
+ # define CRYPTO_cleanup_all_ex_data() while(0) continue
278
+
279
+ /*
280
+ * The old locking functions have been removed completely without compatibility
281
+ * macros. This is because the old functions either could not properly report
282
+ * errors, or the returned error values were not clearly documented.
283
+ * Replacing the locking functions with no-ops would cause race condition
284
+ * issues in the affected applications. It is far better for them to fail at
285
+ * compile time.
286
+ * On the other hand, the locking callbacks are no longer used. Consequently,
287
+ * the callback management functions can be safely replaced with no-op macros.
288
+ */
289
+ # define CRYPTO_num_locks() (1)
290
+ # define CRYPTO_set_locking_callback(func)
291
+ # define CRYPTO_get_locking_callback() (NULL)
292
+ # define CRYPTO_set_add_lock_callback(func)
293
+ # define CRYPTO_get_add_lock_callback() (NULL)
294
+
295
+ /*
296
+ * These defines where used in combination with the old locking callbacks,
297
+ * they are not called anymore, but old code that's not called might still
298
+ * use them.
299
+ */
300
+ # define CRYPTO_LOCK 1
301
+ # define CRYPTO_UNLOCK 2
302
+ # define CRYPTO_READ 4
303
+ # define CRYPTO_WRITE 8
304
+
305
+ /* This structure is no longer used */
306
+ typedef struct crypto_threadid_st {
307
+ int dummy;
308
+ } CRYPTO_THREADID;
309
+ /* Only use CRYPTO_THREADID_set_[numeric|pointer]() within callbacks */
310
+ # define CRYPTO_THREADID_set_numeric(id, val)
311
+ # define CRYPTO_THREADID_set_pointer(id, ptr)
312
+ # define CRYPTO_THREADID_set_callback(threadid_func) (0)
313
+ # define CRYPTO_THREADID_get_callback() (NULL)
314
+ # define CRYPTO_THREADID_current(id)
315
+ # define CRYPTO_THREADID_cmp(a, b) (-1)
316
+ # define CRYPTO_THREADID_cpy(dest, src)
317
+ # define CRYPTO_THREADID_hash(id) (0UL)
318
+
319
+ # ifndef OPENSSL_NO_DEPRECATED_1_0_0
320
+ # define CRYPTO_set_id_callback(func)
321
+ # define CRYPTO_get_id_callback() (NULL)
322
+ # define CRYPTO_thread_id() (0UL)
323
+ # endif /* OPENSSL_NO_DEPRECATED_1_0_0 */
324
+
325
+ # define CRYPTO_set_dynlock_create_callback(dyn_create_function)
326
+ # define CRYPTO_set_dynlock_lock_callback(dyn_lock_function)
327
+ # define CRYPTO_set_dynlock_destroy_callback(dyn_destroy_function)
328
+ # define CRYPTO_get_dynlock_create_callback() (NULL)
329
+ # define CRYPTO_get_dynlock_lock_callback() (NULL)
330
+ # define CRYPTO_get_dynlock_destroy_callback() (NULL)
331
+ # endif /* OPENSSL_NO_DEPRECATED_1_1_0 */
332
+
333
+ typedef void *(*CRYPTO_malloc_fn)(size_t num, const char *file, int line);
334
+ typedef void *(*CRYPTO_realloc_fn)(void *addr, size_t num, const char *file,
335
+ int line);
336
+ typedef void (*CRYPTO_free_fn)(void *addr, const char *file, int line);
337
+ int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
338
+ CRYPTO_realloc_fn realloc_fn,
339
+ CRYPTO_free_fn free_fn);
340
+ void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
341
+ CRYPTO_realloc_fn *realloc_fn,
342
+ CRYPTO_free_fn *free_fn);
343
+
344
+ void *CRYPTO_malloc(size_t num, const char *file, int line);
345
+ void *CRYPTO_zalloc(size_t num, const char *file, int line);
346
+ void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
347
+ char *CRYPTO_strdup(const char *str, const char *file, int line);
348
+ char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
349
+ void CRYPTO_free(void *ptr, const char *file, int line);
350
+ void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
351
+ void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
352
+ void *CRYPTO_clear_realloc(void *addr, size_t old_num, size_t num,
353
+ const char *file, int line);
354
+
355
+ int CRYPTO_secure_malloc_init(size_t sz, size_t minsize);
356
+ int CRYPTO_secure_malloc_done(void);
357
+ void *CRYPTO_secure_malloc(size_t num, const char *file, int line);
358
+ void *CRYPTO_secure_zalloc(size_t num, const char *file, int line);
359
+ void CRYPTO_secure_free(void *ptr, const char *file, int line);
360
+ void CRYPTO_secure_clear_free(void *ptr, size_t num,
361
+ const char *file, int line);
362
+ int CRYPTO_secure_allocated(const void *ptr);
363
+ int CRYPTO_secure_malloc_initialized(void);
364
+ size_t CRYPTO_secure_actual_size(void *ptr);
365
+ size_t CRYPTO_secure_used(void);
366
+
367
+ void OPENSSL_cleanse(void *ptr, size_t len);
368
+
369
+ # ifndef OPENSSL_NO_CRYPTO_MDEBUG
370
+ /*
371
+ * The following can be used to detect memory leaks in the library. If
372
+ * used, it turns on malloc checking
373
+ */
374
+ # define CRYPTO_MEM_CHECK_OFF 0x0 /* Control only */
375
+ # define CRYPTO_MEM_CHECK_ON 0x1 /* Control and mode bit */
376
+ # define CRYPTO_MEM_CHECK_ENABLE 0x2 /* Control and mode bit */
377
+ # define CRYPTO_MEM_CHECK_DISABLE 0x3 /* Control only */
378
+
379
+ void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount);
380
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
381
+ # define OPENSSL_mem_debug_push(info) \
382
+ CRYPTO_mem_debug_push(info, OPENSSL_FILE, OPENSSL_LINE)
383
+ # define OPENSSL_mem_debug_pop() \
384
+ CRYPTO_mem_debug_pop()
385
+ # endif
386
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
387
+ OSSL_DEPRECATEDIN_3_0 int CRYPTO_set_mem_debug(int flag);
388
+ OSSL_DEPRECATEDIN_3_0 int CRYPTO_mem_ctrl(int mode);
389
+ OSSL_DEPRECATEDIN_3_0 int CRYPTO_mem_debug_push(const char *info,
390
+ const char *file, int line);
391
+ OSSL_DEPRECATEDIN_3_0 int CRYPTO_mem_debug_pop(void);
392
+ OSSL_DEPRECATEDIN_3_0 void CRYPTO_mem_debug_malloc(void *addr, size_t num,
393
+ int flag,
394
+ const char *file, int line);
395
+ OSSL_DEPRECATEDIN_3_0 void CRYPTO_mem_debug_realloc(void *addr1, void *addr2,
396
+ size_t num, int flag,
397
+ const char *file, int line);
398
+ OSSL_DEPRECATEDIN_3_0 void CRYPTO_mem_debug_free(void *addr, int flag,
399
+ const char *file, int line);
400
+ OSSL_DEPRECATEDIN_3_0
401
+ int CRYPTO_mem_leaks_cb(int (*cb)(const char *str, size_t len, void *u),
402
+ void *u);
403
+ # endif
404
+ # ifndef OPENSSL_NO_STDIO
405
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
406
+ OSSL_DEPRECATEDIN_3_0 int CRYPTO_mem_leaks_fp(FILE *);
407
+ # endif
408
+ # endif
409
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
410
+ OSSL_DEPRECATEDIN_3_0 int CRYPTO_mem_leaks(BIO *bio);
411
+ # endif
412
+ # endif /* OPENSSL_NO_CRYPTO_MDEBUG */
413
+
414
+ /* die if we have to */
415
+ ossl_noreturn void OPENSSL_die(const char *assertion, const char *file, int line);
416
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
417
+ # define OpenSSLDie(f,l,a) OPENSSL_die((a),(f),(l))
418
+ # endif
419
+ # define OPENSSL_assert(e) \
420
+ (void)((e) ? 0 : (OPENSSL_die("assertion failed: " #e, OPENSSL_FILE, OPENSSL_LINE), 1))
421
+
422
+ int OPENSSL_isservice(void);
423
+
424
+ void OPENSSL_init(void);
425
+ # ifdef OPENSSL_SYS_UNIX
426
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
427
+ OSSL_DEPRECATEDIN_3_0 void OPENSSL_fork_prepare(void);
428
+ OSSL_DEPRECATEDIN_3_0 void OPENSSL_fork_parent(void);
429
+ OSSL_DEPRECATEDIN_3_0 void OPENSSL_fork_child(void);
430
+ # endif
431
+ # endif
432
+
433
+ struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
434
+ int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
435
+ int OPENSSL_gmtime_diff(int *pday, int *psec,
436
+ const struct tm *from, const struct tm *to);
437
+
438
+ /*
439
+ * CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal.
440
+ * It takes an amount of time dependent on |len|, but independent of the
441
+ * contents of |a| and |b|. Unlike memcmp, it cannot be used to put elements
442
+ * into a defined order as the return value when a != b is undefined, other
443
+ * than to be non-zero.
444
+ */
445
+ int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len);
446
+
447
+ /* Standard initialisation options */
448
+ # define OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS 0x00000001L
449
+ # define OPENSSL_INIT_LOAD_CRYPTO_STRINGS 0x00000002L
450
+ # define OPENSSL_INIT_ADD_ALL_CIPHERS 0x00000004L
451
+ # define OPENSSL_INIT_ADD_ALL_DIGESTS 0x00000008L
452
+ # define OPENSSL_INIT_NO_ADD_ALL_CIPHERS 0x00000010L
453
+ # define OPENSSL_INIT_NO_ADD_ALL_DIGESTS 0x00000020L
454
+ # define OPENSSL_INIT_LOAD_CONFIG 0x00000040L
455
+ # define OPENSSL_INIT_NO_LOAD_CONFIG 0x00000080L
456
+ # define OPENSSL_INIT_ASYNC 0x00000100L
457
+ # define OPENSSL_INIT_ENGINE_RDRAND 0x00000200L
458
+ # define OPENSSL_INIT_ENGINE_DYNAMIC 0x00000400L
459
+ # define OPENSSL_INIT_ENGINE_OPENSSL 0x00000800L
460
+ # define OPENSSL_INIT_ENGINE_CRYPTODEV 0x00001000L
461
+ # define OPENSSL_INIT_ENGINE_CAPI 0x00002000L
462
+ # define OPENSSL_INIT_ENGINE_PADLOCK 0x00004000L
463
+ # define OPENSSL_INIT_ENGINE_AFALG 0x00008000L
464
+ /* FREE: 0x00010000L */
465
+ # define OPENSSL_INIT_ATFORK 0x00020000L
466
+ /* OPENSSL_INIT_BASE_ONLY 0x00040000L */
467
+ # define OPENSSL_INIT_NO_ATEXIT 0x00080000L
468
+ /* OPENSSL_INIT flag range 0x03f00000 reserved for OPENSSL_init_ssl() */
469
+ /* FREE: 0x04000000L */
470
+ /* FREE: 0x08000000L */
471
+ /* FREE: 0x10000000L */
472
+ /* FREE: 0x20000000L */
473
+ /* FREE: 0x40000000L */
474
+ /* FREE: 0x80000000L */
475
+ /* Max OPENSSL_INIT flag value is 0x80000000 */
476
+
477
+ /* openssl and dasync not counted as builtin */
478
+ # define OPENSSL_INIT_ENGINE_ALL_BUILTIN \
479
+ (OPENSSL_INIT_ENGINE_RDRAND | OPENSSL_INIT_ENGINE_DYNAMIC \
480
+ | OPENSSL_INIT_ENGINE_CRYPTODEV | OPENSSL_INIT_ENGINE_CAPI | \
481
+ OPENSSL_INIT_ENGINE_PADLOCK)
482
+
483
+ /* Library initialisation functions */
484
+ void OPENSSL_cleanup(void);
485
+ int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
486
+ int OPENSSL_atexit(void (*handler)(void));
487
+ void OPENSSL_thread_stop(void);
488
+ void OPENSSL_thread_stop_ex(OSSL_LIB_CTX *ctx);
489
+
490
+ /* Low-level control of initialization */
491
+ OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void);
492
+ # ifndef OPENSSL_NO_STDIO
493
+ int OPENSSL_INIT_set_config_filename(OPENSSL_INIT_SETTINGS *settings,
494
+ const char *config_filename);
495
+ void OPENSSL_INIT_set_config_file_flags(OPENSSL_INIT_SETTINGS *settings,
496
+ unsigned long flags);
497
+ int OPENSSL_INIT_set_config_appname(OPENSSL_INIT_SETTINGS *settings,
498
+ const char *config_appname);
499
+ # endif
500
+ void OPENSSL_INIT_free(OPENSSL_INIT_SETTINGS *settings);
501
+
502
+ # if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG)
503
+ # if defined(_WIN32)
504
+ # if defined(BASETYPES) || defined(_WINDEF_H)
505
+ /* application has to include <windows.h> in order to use this */
506
+ typedef DWORD CRYPTO_THREAD_LOCAL;
507
+ typedef DWORD CRYPTO_THREAD_ID;
508
+
509
+ typedef LONG CRYPTO_ONCE;
510
+ # define CRYPTO_ONCE_STATIC_INIT 0
511
+ # endif
512
+ # else
513
+ # if defined(__TANDEM) && defined(_SPT_MODEL_)
514
+ # define SPT_THREAD_SIGNAL 1
515
+ # define SPT_THREAD_AWARE 1
516
+ # include <spthread.h>
517
+ # else
518
+ # include <pthread.h>
519
+ # endif
520
+ typedef pthread_once_t CRYPTO_ONCE;
521
+ typedef pthread_key_t CRYPTO_THREAD_LOCAL;
522
+ typedef pthread_t CRYPTO_THREAD_ID;
523
+
524
+ # define CRYPTO_ONCE_STATIC_INIT PTHREAD_ONCE_INIT
525
+ # endif
526
+ # endif
527
+
528
+ # if !defined(CRYPTO_ONCE_STATIC_INIT)
529
+ typedef unsigned int CRYPTO_ONCE;
530
+ typedef unsigned int CRYPTO_THREAD_LOCAL;
531
+ typedef unsigned int CRYPTO_THREAD_ID;
532
+ # define CRYPTO_ONCE_STATIC_INIT 0
533
+ # endif
534
+
535
+ int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void));
536
+
537
+ int CRYPTO_THREAD_init_local(CRYPTO_THREAD_LOCAL *key, void (*cleanup)(void *));
538
+ void *CRYPTO_THREAD_get_local(CRYPTO_THREAD_LOCAL *key);
539
+ int CRYPTO_THREAD_set_local(CRYPTO_THREAD_LOCAL *key, void *val);
540
+ int CRYPTO_THREAD_cleanup_local(CRYPTO_THREAD_LOCAL *key);
541
+
542
+ CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void);
543
+ int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b);
544
+
545
+ OSSL_LIB_CTX *OSSL_LIB_CTX_new(void);
546
+ OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_CORE_HANDLE *handle,
547
+ const OSSL_DISPATCH *in);
548
+ OSSL_LIB_CTX *OSSL_LIB_CTX_new_child(const OSSL_CORE_HANDLE *handle,
549
+ const OSSL_DISPATCH *in);
550
+ int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file);
551
+ void OSSL_LIB_CTX_free(OSSL_LIB_CTX *);
552
+ OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void);
553
+ OSSL_LIB_CTX *OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX *libctx);
554
+
555
+ # ifdef __cplusplus
556
+ }
557
+ # endif
558
+ #endif
janus/include/openssl/cryptoerr_legacy.h ADDED
@@ -0,0 +1,1466 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ /*
11
+ * This header file preserves symbols from pre-3.0 OpenSSL.
12
+ * It should never be included directly, as it's already included
13
+ * by the public {lib}err.h headers, and since it will go away some
14
+ * time in the future.
15
+ */
16
+
17
+ #ifndef OPENSSL_CRYPTOERR_LEGACY_H
18
+ # define OPENSSL_CRYPTOERR_LEGACY_H
19
+ # pragma once
20
+
21
+ # include <openssl/macros.h>
22
+ # include <openssl/symhacks.h>
23
+
24
+ # ifdef __cplusplus
25
+ extern "C" {
26
+ # endif
27
+
28
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
29
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_ASN1_strings(void);
30
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_ASYNC_strings(void);
31
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void);
32
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_BN_strings(void);
33
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_BUF_strings(void);
34
+ # ifndef OPENSSL_NO_CMS
35
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_CMS_strings(void);
36
+ # endif
37
+ # ifndef OPENSSL_NO_COMP
38
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_COMP_strings(void);
39
+ # endif
40
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_CONF_strings(void);
41
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_CRYPTO_strings(void);
42
+ # ifndef OPENSSL_NO_CT
43
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_CT_strings(void);
44
+ # endif
45
+ # ifndef OPENSSL_NO_DH
46
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_DH_strings(void);
47
+ # endif
48
+ # ifndef OPENSSL_NO_DSA
49
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_DSA_strings(void);
50
+ # endif
51
+ # ifndef OPENSSL_NO_EC
52
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_EC_strings(void);
53
+ # endif
54
+ # ifndef OPENSSL_NO_ENGINE
55
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_ENGINE_strings(void);
56
+ # endif
57
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_ERR_strings(void);
58
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_EVP_strings(void);
59
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_KDF_strings(void);
60
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_OBJ_strings(void);
61
+ # ifndef OPENSSL_NO_OCSP
62
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_OCSP_strings(void);
63
+ # endif
64
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_PEM_strings(void);
65
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_PKCS12_strings(void);
66
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_PKCS7_strings(void);
67
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_RAND_strings(void);
68
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_RSA_strings(void);
69
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_OSSL_STORE_strings(void);
70
+ # ifndef OPENSSL_NO_TS
71
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_TS_strings(void);
72
+ # endif
73
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_UI_strings(void);
74
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_X509_strings(void);
75
+ OSSL_DEPRECATEDIN_3_0 int ERR_load_X509V3_strings(void);
76
+
77
+ /* Collected _F_ macros from OpenSSL 1.1.1 */
78
+
79
+ /*
80
+ * ASN1 function codes.
81
+ */
82
+ # define ASN1_F_A2D_ASN1_OBJECT 0
83
+ # define ASN1_F_A2I_ASN1_INTEGER 0
84
+ # define ASN1_F_A2I_ASN1_STRING 0
85
+ # define ASN1_F_APPEND_EXP 0
86
+ # define ASN1_F_ASN1_BIO_INIT 0
87
+ # define ASN1_F_ASN1_BIT_STRING_SET_BIT 0
88
+ # define ASN1_F_ASN1_CB 0
89
+ # define ASN1_F_ASN1_CHECK_TLEN 0
90
+ # define ASN1_F_ASN1_COLLECT 0
91
+ # define ASN1_F_ASN1_D2I_EX_PRIMITIVE 0
92
+ # define ASN1_F_ASN1_D2I_FP 0
93
+ # define ASN1_F_ASN1_D2I_READ_BIO 0
94
+ # define ASN1_F_ASN1_DIGEST 0
95
+ # define ASN1_F_ASN1_DO_ADB 0
96
+ # define ASN1_F_ASN1_DO_LOCK 0
97
+ # define ASN1_F_ASN1_DUP 0
98
+ # define ASN1_F_ASN1_ENC_SAVE 0
99
+ # define ASN1_F_ASN1_EX_C2I 0
100
+ # define ASN1_F_ASN1_FIND_END 0
101
+ # define ASN1_F_ASN1_GENERALIZEDTIME_ADJ 0
102
+ # define ASN1_F_ASN1_GENERATE_V3 0
103
+ # define ASN1_F_ASN1_GET_INT64 0
104
+ # define ASN1_F_ASN1_GET_OBJECT 0
105
+ # define ASN1_F_ASN1_GET_UINT64 0
106
+ # define ASN1_F_ASN1_I2D_BIO 0
107
+ # define ASN1_F_ASN1_I2D_FP 0
108
+ # define ASN1_F_ASN1_ITEM_D2I_FP 0
109
+ # define ASN1_F_ASN1_ITEM_DUP 0
110
+ # define ASN1_F_ASN1_ITEM_EMBED_D2I 0
111
+ # define ASN1_F_ASN1_ITEM_EMBED_NEW 0
112
+ # define ASN1_F_ASN1_ITEM_FLAGS_I2D 0
113
+ # define ASN1_F_ASN1_ITEM_I2D_BIO 0
114
+ # define ASN1_F_ASN1_ITEM_I2D_FP 0
115
+ # define ASN1_F_ASN1_ITEM_PACK 0
116
+ # define ASN1_F_ASN1_ITEM_SIGN 0
117
+ # define ASN1_F_ASN1_ITEM_SIGN_CTX 0
118
+ # define ASN1_F_ASN1_ITEM_UNPACK 0
119
+ # define ASN1_F_ASN1_ITEM_VERIFY 0
120
+ # define ASN1_F_ASN1_MBSTRING_NCOPY 0
121
+ # define ASN1_F_ASN1_OBJECT_NEW 0
122
+ # define ASN1_F_ASN1_OUTPUT_DATA 0
123
+ # define ASN1_F_ASN1_PCTX_NEW 0
124
+ # define ASN1_F_ASN1_PRIMITIVE_NEW 0
125
+ # define ASN1_F_ASN1_SCTX_NEW 0
126
+ # define ASN1_F_ASN1_SIGN 0
127
+ # define ASN1_F_ASN1_STR2TYPE 0
128
+ # define ASN1_F_ASN1_STRING_GET_INT64 0
129
+ # define ASN1_F_ASN1_STRING_GET_UINT64 0
130
+ # define ASN1_F_ASN1_STRING_SET 0
131
+ # define ASN1_F_ASN1_STRING_TABLE_ADD 0
132
+ # define ASN1_F_ASN1_STRING_TO_BN 0
133
+ # define ASN1_F_ASN1_STRING_TYPE_NEW 0
134
+ # define ASN1_F_ASN1_TEMPLATE_EX_D2I 0
135
+ # define ASN1_F_ASN1_TEMPLATE_NEW 0
136
+ # define ASN1_F_ASN1_TEMPLATE_NOEXP_D2I 0
137
+ # define ASN1_F_ASN1_TIME_ADJ 0
138
+ # define ASN1_F_ASN1_TYPE_GET_INT_OCTETSTRING 0
139
+ # define ASN1_F_ASN1_TYPE_GET_OCTETSTRING 0
140
+ # define ASN1_F_ASN1_UTCTIME_ADJ 0
141
+ # define ASN1_F_ASN1_VERIFY 0
142
+ # define ASN1_F_B64_READ_ASN1 0
143
+ # define ASN1_F_B64_WRITE_ASN1 0
144
+ # define ASN1_F_BIO_NEW_NDEF 0
145
+ # define ASN1_F_BITSTR_CB 0
146
+ # define ASN1_F_BN_TO_ASN1_STRING 0
147
+ # define ASN1_F_C2I_ASN1_BIT_STRING 0
148
+ # define ASN1_F_C2I_ASN1_INTEGER 0
149
+ # define ASN1_F_C2I_ASN1_OBJECT 0
150
+ # define ASN1_F_C2I_IBUF 0
151
+ # define ASN1_F_C2I_UINT64_INT 0
152
+ # define ASN1_F_COLLECT_DATA 0
153
+ # define ASN1_F_D2I_ASN1_OBJECT 0
154
+ # define ASN1_F_D2I_ASN1_UINTEGER 0
155
+ # define ASN1_F_D2I_AUTOPRIVATEKEY 0
156
+ # define ASN1_F_D2I_PRIVATEKEY 0
157
+ # define ASN1_F_D2I_PUBLICKEY 0
158
+ # define ASN1_F_DO_BUF 0
159
+ # define ASN1_F_DO_CREATE 0
160
+ # define ASN1_F_DO_DUMP 0
161
+ # define ASN1_F_DO_TCREATE 0
162
+ # define ASN1_F_I2A_ASN1_OBJECT 0
163
+ # define ASN1_F_I2D_ASN1_BIO_STREAM 0
164
+ # define ASN1_F_I2D_ASN1_OBJECT 0
165
+ # define ASN1_F_I2D_DSA_PUBKEY 0
166
+ # define ASN1_F_I2D_EC_PUBKEY 0
167
+ # define ASN1_F_I2D_PRIVATEKEY 0
168
+ # define ASN1_F_I2D_PUBLICKEY 0
169
+ # define ASN1_F_I2D_RSA_PUBKEY 0
170
+ # define ASN1_F_LONG_C2I 0
171
+ # define ASN1_F_NDEF_PREFIX 0
172
+ # define ASN1_F_NDEF_SUFFIX 0
173
+ # define ASN1_F_OID_MODULE_INIT 0
174
+ # define ASN1_F_PARSE_TAGGING 0
175
+ # define ASN1_F_PKCS5_PBE2_SET_IV 0
176
+ # define ASN1_F_PKCS5_PBE2_SET_SCRYPT 0
177
+ # define ASN1_F_PKCS5_PBE_SET 0
178
+ # define ASN1_F_PKCS5_PBE_SET0_ALGOR 0
179
+ # define ASN1_F_PKCS5_PBKDF2_SET 0
180
+ # define ASN1_F_PKCS5_SCRYPT_SET 0
181
+ # define ASN1_F_SMIME_READ_ASN1 0
182
+ # define ASN1_F_SMIME_TEXT 0
183
+ # define ASN1_F_STABLE_GET 0
184
+ # define ASN1_F_STBL_MODULE_INIT 0
185
+ # define ASN1_F_UINT32_C2I 0
186
+ # define ASN1_F_UINT32_NEW 0
187
+ # define ASN1_F_UINT64_C2I 0
188
+ # define ASN1_F_UINT64_NEW 0
189
+ # define ASN1_F_X509_CRL_ADD0_REVOKED 0
190
+ # define ASN1_F_X509_INFO_NEW 0
191
+ # define ASN1_F_X509_NAME_ENCODE 0
192
+ # define ASN1_F_X509_NAME_EX_D2I 0
193
+ # define ASN1_F_X509_NAME_EX_NEW 0
194
+ # define ASN1_F_X509_PKEY_NEW 0
195
+
196
+ /*
197
+ * ASYNC function codes.
198
+ */
199
+ # define ASYNC_F_ASYNC_CTX_NEW 0
200
+ # define ASYNC_F_ASYNC_INIT_THREAD 0
201
+ # define ASYNC_F_ASYNC_JOB_NEW 0
202
+ # define ASYNC_F_ASYNC_PAUSE_JOB 0
203
+ # define ASYNC_F_ASYNC_START_FUNC 0
204
+ # define ASYNC_F_ASYNC_START_JOB 0
205
+ # define ASYNC_F_ASYNC_WAIT_CTX_SET_WAIT_FD 0
206
+
207
+ /*
208
+ * BIO function codes.
209
+ */
210
+ # define BIO_F_ACPT_STATE 0
211
+ # define BIO_F_ADDRINFO_WRAP 0
212
+ # define BIO_F_ADDR_STRINGS 0
213
+ # define BIO_F_BIO_ACCEPT 0
214
+ # define BIO_F_BIO_ACCEPT_EX 0
215
+ # define BIO_F_BIO_ACCEPT_NEW 0
216
+ # define BIO_F_BIO_ADDR_NEW 0
217
+ # define BIO_F_BIO_BIND 0
218
+ # define BIO_F_BIO_CALLBACK_CTRL 0
219
+ # define BIO_F_BIO_CONNECT 0
220
+ # define BIO_F_BIO_CONNECT_NEW 0
221
+ # define BIO_F_BIO_CTRL 0
222
+ # define BIO_F_BIO_GETS 0
223
+ # define BIO_F_BIO_GET_HOST_IP 0
224
+ # define BIO_F_BIO_GET_NEW_INDEX 0
225
+ # define BIO_F_BIO_GET_PORT 0
226
+ # define BIO_F_BIO_LISTEN 0
227
+ # define BIO_F_BIO_LOOKUP 0
228
+ # define BIO_F_BIO_LOOKUP_EX 0
229
+ # define BIO_F_BIO_MAKE_PAIR 0
230
+ # define BIO_F_BIO_METH_NEW 0
231
+ # define BIO_F_BIO_NEW 0
232
+ # define BIO_F_BIO_NEW_DGRAM_SCTP 0
233
+ # define BIO_F_BIO_NEW_FILE 0
234
+ # define BIO_F_BIO_NEW_MEM_BUF 0
235
+ # define BIO_F_BIO_NREAD 0
236
+ # define BIO_F_BIO_NREAD0 0
237
+ # define BIO_F_BIO_NWRITE 0
238
+ # define BIO_F_BIO_NWRITE0 0
239
+ # define BIO_F_BIO_PARSE_HOSTSERV 0
240
+ # define BIO_F_BIO_PUTS 0
241
+ # define BIO_F_BIO_READ 0
242
+ # define BIO_F_BIO_READ_EX 0
243
+ # define BIO_F_BIO_READ_INTERN 0
244
+ # define BIO_F_BIO_SOCKET 0
245
+ # define BIO_F_BIO_SOCKET_NBIO 0
246
+ # define BIO_F_BIO_SOCK_INFO 0
247
+ # define BIO_F_BIO_SOCK_INIT 0
248
+ # define BIO_F_BIO_WRITE 0
249
+ # define BIO_F_BIO_WRITE_EX 0
250
+ # define BIO_F_BIO_WRITE_INTERN 0
251
+ # define BIO_F_BUFFER_CTRL 0
252
+ # define BIO_F_CONN_CTRL 0
253
+ # define BIO_F_CONN_STATE 0
254
+ # define BIO_F_DGRAM_SCTP_NEW 0
255
+ # define BIO_F_DGRAM_SCTP_READ 0
256
+ # define BIO_F_DGRAM_SCTP_WRITE 0
257
+ # define BIO_F_DOAPR_OUTCH 0
258
+ # define BIO_F_FILE_CTRL 0
259
+ # define BIO_F_FILE_READ 0
260
+ # define BIO_F_LINEBUFFER_CTRL 0
261
+ # define BIO_F_LINEBUFFER_NEW 0
262
+ # define BIO_F_MEM_WRITE 0
263
+ # define BIO_F_NBIOF_NEW 0
264
+ # define BIO_F_SLG_WRITE 0
265
+ # define BIO_F_SSL_NEW 0
266
+
267
+ /*
268
+ * BN function codes.
269
+ */
270
+ # define BN_F_BNRAND 0
271
+ # define BN_F_BNRAND_RANGE 0
272
+ # define BN_F_BN_BLINDING_CONVERT_EX 0
273
+ # define BN_F_BN_BLINDING_CREATE_PARAM 0
274
+ # define BN_F_BN_BLINDING_INVERT_EX 0
275
+ # define BN_F_BN_BLINDING_NEW 0
276
+ # define BN_F_BN_BLINDING_UPDATE 0
277
+ # define BN_F_BN_BN2DEC 0
278
+ # define BN_F_BN_BN2HEX 0
279
+ # define BN_F_BN_COMPUTE_WNAF 0
280
+ # define BN_F_BN_CTX_GET 0
281
+ # define BN_F_BN_CTX_NEW 0
282
+ # define BN_F_BN_CTX_START 0
283
+ # define BN_F_BN_DIV 0
284
+ # define BN_F_BN_DIV_RECP 0
285
+ # define BN_F_BN_EXP 0
286
+ # define BN_F_BN_EXPAND_INTERNAL 0
287
+ # define BN_F_BN_GENCB_NEW 0
288
+ # define BN_F_BN_GENERATE_DSA_NONCE 0
289
+ # define BN_F_BN_GENERATE_PRIME_EX 0
290
+ # define BN_F_BN_GF2M_MOD 0
291
+ # define BN_F_BN_GF2M_MOD_EXP 0
292
+ # define BN_F_BN_GF2M_MOD_MUL 0
293
+ # define BN_F_BN_GF2M_MOD_SOLVE_QUAD 0
294
+ # define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR 0
295
+ # define BN_F_BN_GF2M_MOD_SQR 0
296
+ # define BN_F_BN_GF2M_MOD_SQRT 0
297
+ # define BN_F_BN_LSHIFT 0
298
+ # define BN_F_BN_MOD_EXP2_MONT 0
299
+ # define BN_F_BN_MOD_EXP_MONT 0
300
+ # define BN_F_BN_MOD_EXP_MONT_CONSTTIME 0
301
+ # define BN_F_BN_MOD_EXP_MONT_WORD 0
302
+ # define BN_F_BN_MOD_EXP_RECP 0
303
+ # define BN_F_BN_MOD_EXP_SIMPLE 0
304
+ # define BN_F_BN_MOD_INVERSE 0
305
+ # define BN_F_BN_MOD_INVERSE_NO_BRANCH 0
306
+ # define BN_F_BN_MOD_LSHIFT_QUICK 0
307
+ # define BN_F_BN_MOD_SQRT 0
308
+ # define BN_F_BN_MONT_CTX_NEW 0
309
+ # define BN_F_BN_MPI2BN 0
310
+ # define BN_F_BN_NEW 0
311
+ # define BN_F_BN_POOL_GET 0
312
+ # define BN_F_BN_RAND 0
313
+ # define BN_F_BN_RAND_RANGE 0
314
+ # define BN_F_BN_RECP_CTX_NEW 0
315
+ # define BN_F_BN_RSHIFT 0
316
+ # define BN_F_BN_SET_WORDS 0
317
+ # define BN_F_BN_STACK_PUSH 0
318
+ # define BN_F_BN_USUB 0
319
+
320
+ /*
321
+ * BUF function codes.
322
+ */
323
+ # define BUF_F_BUF_MEM_GROW 0
324
+ # define BUF_F_BUF_MEM_GROW_CLEAN 0
325
+ # define BUF_F_BUF_MEM_NEW 0
326
+
327
+ # ifndef OPENSSL_NO_CMS
328
+ /*
329
+ * CMS function codes.
330
+ */
331
+ # define CMS_F_CHECK_CONTENT 0
332
+ # define CMS_F_CMS_ADD0_CERT 0
333
+ # define CMS_F_CMS_ADD0_RECIPIENT_KEY 0
334
+ # define CMS_F_CMS_ADD0_RECIPIENT_PASSWORD 0
335
+ # define CMS_F_CMS_ADD1_RECEIPTREQUEST 0
336
+ # define CMS_F_CMS_ADD1_RECIPIENT_CERT 0
337
+ # define CMS_F_CMS_ADD1_SIGNER 0
338
+ # define CMS_F_CMS_ADD1_SIGNINGTIME 0
339
+ # define CMS_F_CMS_COMPRESS 0
340
+ # define CMS_F_CMS_COMPRESSEDDATA_CREATE 0
341
+ # define CMS_F_CMS_COMPRESSEDDATA_INIT_BIO 0
342
+ # define CMS_F_CMS_COPY_CONTENT 0
343
+ # define CMS_F_CMS_COPY_MESSAGEDIGEST 0
344
+ # define CMS_F_CMS_DATA 0
345
+ # define CMS_F_CMS_DATAFINAL 0
346
+ # define CMS_F_CMS_DATAINIT 0
347
+ # define CMS_F_CMS_DECRYPT 0
348
+ # define CMS_F_CMS_DECRYPT_SET1_KEY 0
349
+ # define CMS_F_CMS_DECRYPT_SET1_PASSWORD 0
350
+ # define CMS_F_CMS_DECRYPT_SET1_PKEY 0
351
+ # define CMS_F_CMS_DIGESTALGORITHM_FIND_CTX 0
352
+ # define CMS_F_CMS_DIGESTALGORITHM_INIT_BIO 0
353
+ # define CMS_F_CMS_DIGESTEDDATA_DO_FINAL 0
354
+ # define CMS_F_CMS_DIGEST_VERIFY 0
355
+ # define CMS_F_CMS_ENCODE_RECEIPT 0
356
+ # define CMS_F_CMS_ENCRYPT 0
357
+ # define CMS_F_CMS_ENCRYPTEDCONTENT_INIT 0
358
+ # define CMS_F_CMS_ENCRYPTEDCONTENT_INIT_BIO 0
359
+ # define CMS_F_CMS_ENCRYPTEDDATA_DECRYPT 0
360
+ # define CMS_F_CMS_ENCRYPTEDDATA_ENCRYPT 0
361
+ # define CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY 0
362
+ # define CMS_F_CMS_ENVELOPEDDATA_CREATE 0
363
+ # define CMS_F_CMS_ENVELOPEDDATA_INIT_BIO 0
364
+ # define CMS_F_CMS_ENVELOPED_DATA_INIT 0
365
+ # define CMS_F_CMS_ENV_ASN1_CTRL 0
366
+ # define CMS_F_CMS_FINAL 0
367
+ # define CMS_F_CMS_GET0_CERTIFICATE_CHOICES 0
368
+ # define CMS_F_CMS_GET0_CONTENT 0
369
+ # define CMS_F_CMS_GET0_ECONTENT_TYPE 0
370
+ # define CMS_F_CMS_GET0_ENVELOPED 0
371
+ # define CMS_F_CMS_GET0_REVOCATION_CHOICES 0
372
+ # define CMS_F_CMS_GET0_SIGNED 0
373
+ # define CMS_F_CMS_MSGSIGDIGEST_ADD1 0
374
+ # define CMS_F_CMS_RECEIPTREQUEST_CREATE0 0
375
+ # define CMS_F_CMS_RECEIPT_VERIFY 0
376
+ # define CMS_F_CMS_RECIPIENTINFO_DECRYPT 0
377
+ # define CMS_F_CMS_RECIPIENTINFO_ENCRYPT 0
378
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_ENCRYPT 0
379
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG 0
380
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID 0
381
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_REKS 0
382
+ # define CMS_F_CMS_RECIPIENTINFO_KARI_ORIG_ID_CMP 0
383
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_DECRYPT 0
384
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ENCRYPT 0
385
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_GET0_ID 0
386
+ # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP 0
387
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_CERT_CMP 0
388
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_DECRYPT 0
389
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_ENCRYPT 0
390
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_ALGS 0
391
+ # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_SIGNER_ID 0
392
+ # define CMS_F_CMS_RECIPIENTINFO_PWRI_CRYPT 0
393
+ # define CMS_F_CMS_RECIPIENTINFO_SET0_KEY 0
394
+ # define CMS_F_CMS_RECIPIENTINFO_SET0_PASSWORD 0
395
+ # define CMS_F_CMS_RECIPIENTINFO_SET0_PKEY 0
396
+ # define CMS_F_CMS_SD_ASN1_CTRL 0
397
+ # define CMS_F_CMS_SET1_IAS 0
398
+ # define CMS_F_CMS_SET1_KEYID 0
399
+ # define CMS_F_CMS_SET1_SIGNERIDENTIFIER 0
400
+ # define CMS_F_CMS_SET_DETACHED 0
401
+ # define CMS_F_CMS_SIGN 0
402
+ # define CMS_F_CMS_SIGNED_DATA_INIT 0
403
+ # define CMS_F_CMS_SIGNERINFO_CONTENT_SIGN 0
404
+ # define CMS_F_CMS_SIGNERINFO_SIGN 0
405
+ # define CMS_F_CMS_SIGNERINFO_VERIFY 0
406
+ # define CMS_F_CMS_SIGNERINFO_VERIFY_CERT 0
407
+ # define CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT 0
408
+ # define CMS_F_CMS_SIGN_RECEIPT 0
409
+ # define CMS_F_CMS_SI_CHECK_ATTRIBUTES 0
410
+ # define CMS_F_CMS_STREAM 0
411
+ # define CMS_F_CMS_UNCOMPRESS 0
412
+ # define CMS_F_CMS_VERIFY 0
413
+ # define CMS_F_KEK_UNWRAP_KEY 0
414
+ # endif
415
+
416
+ # ifndef OPENSSL_NO_COMP
417
+ /*
418
+ * COMP function codes.
419
+ */
420
+ # define COMP_F_BIO_ZLIB_FLUSH 0
421
+ # define COMP_F_BIO_ZLIB_NEW 0
422
+ # define COMP_F_BIO_ZLIB_READ 0
423
+ # define COMP_F_BIO_ZLIB_WRITE 0
424
+ # define COMP_F_COMP_CTX_NEW 0
425
+ # endif
426
+
427
+ /*
428
+ * CONF function codes.
429
+ */
430
+ # define CONF_F_CONF_DUMP_FP 0
431
+ # define CONF_F_CONF_LOAD 0
432
+ # define CONF_F_CONF_LOAD_FP 0
433
+ # define CONF_F_CONF_PARSE_LIST 0
434
+ # define CONF_F_DEF_LOAD 0
435
+ # define CONF_F_DEF_LOAD_BIO 0
436
+ # define CONF_F_GET_NEXT_FILE 0
437
+ # define CONF_F_MODULE_ADD 0
438
+ # define CONF_F_MODULE_INIT 0
439
+ # define CONF_F_MODULE_LOAD_DSO 0
440
+ # define CONF_F_MODULE_RUN 0
441
+ # define CONF_F_NCONF_DUMP_BIO 0
442
+ # define CONF_F_NCONF_DUMP_FP 0
443
+ # define CONF_F_NCONF_GET_NUMBER_E 0
444
+ # define CONF_F_NCONF_GET_SECTION 0
445
+ # define CONF_F_NCONF_GET_STRING 0
446
+ # define CONF_F_NCONF_LOAD 0
447
+ # define CONF_F_NCONF_LOAD_BIO 0
448
+ # define CONF_F_NCONF_LOAD_FP 0
449
+ # define CONF_F_NCONF_NEW 0
450
+ # define CONF_F_PROCESS_INCLUDE 0
451
+ # define CONF_F_SSL_MODULE_INIT 0
452
+ # define CONF_F_STR_COPY 0
453
+
454
+ /*
455
+ * CRYPTO function codes.
456
+ */
457
+ # define CRYPTO_F_CMAC_CTX_NEW 0
458
+ # define CRYPTO_F_CRYPTO_DUP_EX_DATA 0
459
+ # define CRYPTO_F_CRYPTO_FREE_EX_DATA 0
460
+ # define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX 0
461
+ # define CRYPTO_F_CRYPTO_MEMDUP 0
462
+ # define CRYPTO_F_CRYPTO_NEW_EX_DATA 0
463
+ # define CRYPTO_F_CRYPTO_OCB128_COPY_CTX 0
464
+ # define CRYPTO_F_CRYPTO_OCB128_INIT 0
465
+ # define CRYPTO_F_CRYPTO_SET_EX_DATA 0
466
+ # define CRYPTO_F_GET_AND_LOCK 0
467
+ # define CRYPTO_F_OPENSSL_ATEXIT 0
468
+ # define CRYPTO_F_OPENSSL_BUF2HEXSTR 0
469
+ # define CRYPTO_F_OPENSSL_FOPEN 0
470
+ # define CRYPTO_F_OPENSSL_HEXSTR2BUF 0
471
+ # define CRYPTO_F_OPENSSL_INIT_CRYPTO 0
472
+ # define CRYPTO_F_OPENSSL_LH_NEW 0
473
+ # define CRYPTO_F_OPENSSL_SK_DEEP_COPY 0
474
+ # define CRYPTO_F_OPENSSL_SK_DUP 0
475
+ # define CRYPTO_F_PKEY_HMAC_INIT 0
476
+ # define CRYPTO_F_PKEY_POLY1305_INIT 0
477
+ # define CRYPTO_F_PKEY_SIPHASH_INIT 0
478
+ # define CRYPTO_F_SK_RESERVE 0
479
+
480
+ # ifndef OPENSSL_NO_CT
481
+ /*
482
+ * CT function codes.
483
+ */
484
+ # define CT_F_CTLOG_NEW 0
485
+ # define CT_F_CTLOG_NEW_FROM_BASE64 0
486
+ # define CT_F_CTLOG_NEW_FROM_CONF 0
487
+ # define CT_F_CTLOG_STORE_LOAD_CTX_NEW 0
488
+ # define CT_F_CTLOG_STORE_LOAD_FILE 0
489
+ # define CT_F_CTLOG_STORE_LOAD_LOG 0
490
+ # define CT_F_CTLOG_STORE_NEW 0
491
+ # define CT_F_CT_BASE64_DECODE 0
492
+ # define CT_F_CT_POLICY_EVAL_CTX_NEW 0
493
+ # define CT_F_CT_V1_LOG_ID_FROM_PKEY 0
494
+ # define CT_F_I2O_SCT 0
495
+ # define CT_F_I2O_SCT_LIST 0
496
+ # define CT_F_I2O_SCT_SIGNATURE 0
497
+ # define CT_F_O2I_SCT 0
498
+ # define CT_F_O2I_SCT_LIST 0
499
+ # define CT_F_O2I_SCT_SIGNATURE 0
500
+ # define CT_F_SCT_CTX_NEW 0
501
+ # define CT_F_SCT_CTX_VERIFY 0
502
+ # define CT_F_SCT_NEW 0
503
+ # define CT_F_SCT_NEW_FROM_BASE64 0
504
+ # define CT_F_SCT_SET0_LOG_ID 0
505
+ # define CT_F_SCT_SET1_EXTENSIONS 0
506
+ # define CT_F_SCT_SET1_LOG_ID 0
507
+ # define CT_F_SCT_SET1_SIGNATURE 0
508
+ # define CT_F_SCT_SET_LOG_ENTRY_TYPE 0
509
+ # define CT_F_SCT_SET_SIGNATURE_NID 0
510
+ # define CT_F_SCT_SET_VERSION 0
511
+ # endif
512
+
513
+ # ifndef OPENSSL_NO_DH
514
+ /*
515
+ * DH function codes.
516
+ */
517
+ # define DH_F_COMPUTE_KEY 0
518
+ # define DH_F_DHPARAMS_PRINT_FP 0
519
+ # define DH_F_DH_BUILTIN_GENPARAMS 0
520
+ # define DH_F_DH_CHECK_EX 0
521
+ # define DH_F_DH_CHECK_PARAMS_EX 0
522
+ # define DH_F_DH_CHECK_PUB_KEY_EX 0
523
+ # define DH_F_DH_CMS_DECRYPT 0
524
+ # define DH_F_DH_CMS_SET_PEERKEY 0
525
+ # define DH_F_DH_CMS_SET_SHARED_INFO 0
526
+ # define DH_F_DH_METH_DUP 0
527
+ # define DH_F_DH_METH_NEW 0
528
+ # define DH_F_DH_METH_SET1_NAME 0
529
+ # define DH_F_DH_NEW_BY_NID 0
530
+ # define DH_F_DH_NEW_METHOD 0
531
+ # define DH_F_DH_PARAM_DECODE 0
532
+ # define DH_F_DH_PKEY_PUBLIC_CHECK 0
533
+ # define DH_F_DH_PRIV_DECODE 0
534
+ # define DH_F_DH_PRIV_ENCODE 0
535
+ # define DH_F_DH_PUB_DECODE 0
536
+ # define DH_F_DH_PUB_ENCODE 0
537
+ # define DH_F_DO_DH_PRINT 0
538
+ # define DH_F_GENERATE_KEY 0
539
+ # define DH_F_PKEY_DH_CTRL_STR 0
540
+ # define DH_F_PKEY_DH_DERIVE 0
541
+ # define DH_F_PKEY_DH_INIT 0
542
+ # define DH_F_PKEY_DH_KEYGEN 0
543
+ # endif
544
+
545
+ # ifndef OPENSSL_NO_DSA
546
+ /*
547
+ * DSA function codes.
548
+ */
549
+ # define DSA_F_DSAPARAMS_PRINT 0
550
+ # define DSA_F_DSAPARAMS_PRINT_FP 0
551
+ # define DSA_F_DSA_BUILTIN_PARAMGEN 0
552
+ # define DSA_F_DSA_BUILTIN_PARAMGEN2 0
553
+ # define DSA_F_DSA_DO_SIGN 0
554
+ # define DSA_F_DSA_DO_VERIFY 0
555
+ # define DSA_F_DSA_METH_DUP 0
556
+ # define DSA_F_DSA_METH_NEW 0
557
+ # define DSA_F_DSA_METH_SET1_NAME 0
558
+ # define DSA_F_DSA_NEW_METHOD 0
559
+ # define DSA_F_DSA_PARAM_DECODE 0
560
+ # define DSA_F_DSA_PRINT_FP 0
561
+ # define DSA_F_DSA_PRIV_DECODE 0
562
+ # define DSA_F_DSA_PRIV_ENCODE 0
563
+ # define DSA_F_DSA_PUB_DECODE 0
564
+ # define DSA_F_DSA_PUB_ENCODE 0
565
+ # define DSA_F_DSA_SIGN 0
566
+ # define DSA_F_DSA_SIGN_SETUP 0
567
+ # define DSA_F_DSA_SIG_NEW 0
568
+ # define DSA_F_OLD_DSA_PRIV_DECODE 0
569
+ # define DSA_F_PKEY_DSA_CTRL 0
570
+ # define DSA_F_PKEY_DSA_CTRL_STR 0
571
+ # define DSA_F_PKEY_DSA_KEYGEN 0
572
+ # endif
573
+
574
+ # ifndef OPENSSL_NO_EC
575
+ /*
576
+ * EC function codes.
577
+ */
578
+ # define EC_F_BN_TO_FELEM 0
579
+ # define EC_F_D2I_ECPARAMETERS 0
580
+ # define EC_F_D2I_ECPKPARAMETERS 0
581
+ # define EC_F_D2I_ECPRIVATEKEY 0
582
+ # define EC_F_DO_EC_KEY_PRINT 0
583
+ # define EC_F_ECDH_CMS_DECRYPT 0
584
+ # define EC_F_ECDH_CMS_SET_SHARED_INFO 0
585
+ # define EC_F_ECDH_COMPUTE_KEY 0
586
+ # define EC_F_ECDH_SIMPLE_COMPUTE_KEY 0
587
+ # define EC_F_ECDSA_DO_SIGN_EX 0
588
+ # define EC_F_ECDSA_DO_VERIFY 0
589
+ # define EC_F_ECDSA_SIGN_EX 0
590
+ # define EC_F_ECDSA_SIGN_SETUP 0
591
+ # define EC_F_ECDSA_SIG_NEW 0
592
+ # define EC_F_ECDSA_VERIFY 0
593
+ # define EC_F_ECD_ITEM_VERIFY 0
594
+ # define EC_F_ECKEY_PARAM2TYPE 0
595
+ # define EC_F_ECKEY_PARAM_DECODE 0
596
+ # define EC_F_ECKEY_PRIV_DECODE 0
597
+ # define EC_F_ECKEY_PRIV_ENCODE 0
598
+ # define EC_F_ECKEY_PUB_DECODE 0
599
+ # define EC_F_ECKEY_PUB_ENCODE 0
600
+ # define EC_F_ECKEY_TYPE2PARAM 0
601
+ # define EC_F_ECPARAMETERS_PRINT 0
602
+ # define EC_F_ECPARAMETERS_PRINT_FP 0
603
+ # define EC_F_ECPKPARAMETERS_PRINT 0
604
+ # define EC_F_ECPKPARAMETERS_PRINT_FP 0
605
+ # define EC_F_ECP_NISTZ256_GET_AFFINE 0
606
+ # define EC_F_ECP_NISTZ256_INV_MOD_ORD 0
607
+ # define EC_F_ECP_NISTZ256_MULT_PRECOMPUTE 0
608
+ # define EC_F_ECP_NISTZ256_POINTS_MUL 0
609
+ # define EC_F_ECP_NISTZ256_PRE_COMP_NEW 0
610
+ # define EC_F_ECP_NISTZ256_WINDOWED_MUL 0
611
+ # define EC_F_ECX_KEY_OP 0
612
+ # define EC_F_ECX_PRIV_ENCODE 0
613
+ # define EC_F_ECX_PUB_ENCODE 0
614
+ # define EC_F_EC_ASN1_GROUP2CURVE 0
615
+ # define EC_F_EC_ASN1_GROUP2FIELDID 0
616
+ # define EC_F_EC_GF2M_MONTGOMERY_POINT_MULTIPLY 0
617
+ # define EC_F_EC_GF2M_SIMPLE_FIELD_INV 0
618
+ # define EC_F_EC_GF2M_SIMPLE_GROUP_CHECK_DISCRIMINANT 0
619
+ # define EC_F_EC_GF2M_SIMPLE_GROUP_SET_CURVE 0
620
+ # define EC_F_EC_GF2M_SIMPLE_LADDER_POST 0
621
+ # define EC_F_EC_GF2M_SIMPLE_LADDER_PRE 0
622
+ # define EC_F_EC_GF2M_SIMPLE_OCT2POINT 0
623
+ # define EC_F_EC_GF2M_SIMPLE_POINT2OCT 0
624
+ # define EC_F_EC_GF2M_SIMPLE_POINTS_MUL 0
625
+ # define EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES 0
626
+ # define EC_F_EC_GF2M_SIMPLE_POINT_SET_AFFINE_COORDINATES 0
627
+ # define EC_F_EC_GF2M_SIMPLE_SET_COMPRESSED_COORDINATES 0
628
+ # define EC_F_EC_GFP_MONT_FIELD_DECODE 0
629
+ # define EC_F_EC_GFP_MONT_FIELD_ENCODE 0
630
+ # define EC_F_EC_GFP_MONT_FIELD_INV 0
631
+ # define EC_F_EC_GFP_MONT_FIELD_MUL 0
632
+ # define EC_F_EC_GFP_MONT_FIELD_SET_TO_ONE 0
633
+ # define EC_F_EC_GFP_MONT_FIELD_SQR 0
634
+ # define EC_F_EC_GFP_MONT_GROUP_SET_CURVE 0
635
+ # define EC_F_EC_GFP_NISTP224_GROUP_SET_CURVE 0
636
+ # define EC_F_EC_GFP_NISTP224_POINTS_MUL 0
637
+ # define EC_F_EC_GFP_NISTP224_POINT_GET_AFFINE_COORDINATES 0
638
+ # define EC_F_EC_GFP_NISTP256_GROUP_SET_CURVE 0
639
+ # define EC_F_EC_GFP_NISTP256_POINTS_MUL 0
640
+ # define EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES 0
641
+ # define EC_F_EC_GFP_NISTP521_GROUP_SET_CURVE 0
642
+ # define EC_F_EC_GFP_NISTP521_POINTS_MUL 0
643
+ # define EC_F_EC_GFP_NISTP521_POINT_GET_AFFINE_COORDINATES 0
644
+ # define EC_F_EC_GFP_NIST_FIELD_MUL 0
645
+ # define EC_F_EC_GFP_NIST_FIELD_SQR 0
646
+ # define EC_F_EC_GFP_NIST_GROUP_SET_CURVE 0
647
+ # define EC_F_EC_GFP_SIMPLE_BLIND_COORDINATES 0
648
+ # define EC_F_EC_GFP_SIMPLE_FIELD_INV 0
649
+ # define EC_F_EC_GFP_SIMPLE_GROUP_CHECK_DISCRIMINANT 0
650
+ # define EC_F_EC_GFP_SIMPLE_GROUP_SET_CURVE 0
651
+ # define EC_F_EC_GFP_SIMPLE_MAKE_AFFINE 0
652
+ # define EC_F_EC_GFP_SIMPLE_OCT2POINT 0
653
+ # define EC_F_EC_GFP_SIMPLE_POINT2OCT 0
654
+ # define EC_F_EC_GFP_SIMPLE_POINTS_MAKE_AFFINE 0
655
+ # define EC_F_EC_GFP_SIMPLE_POINT_GET_AFFINE_COORDINATES 0
656
+ # define EC_F_EC_GFP_SIMPLE_POINT_SET_AFFINE_COORDINATES 0
657
+ # define EC_F_EC_GFP_SIMPLE_SET_COMPRESSED_COORDINATES 0
658
+ # define EC_F_EC_GROUP_CHECK 0
659
+ # define EC_F_EC_GROUP_CHECK_DISCRIMINANT 0
660
+ # define EC_F_EC_GROUP_COPY 0
661
+ # define EC_F_EC_GROUP_GET_CURVE 0
662
+ # define EC_F_EC_GROUP_GET_CURVE_GF2M 0
663
+ # define EC_F_EC_GROUP_GET_CURVE_GFP 0
664
+ # define EC_F_EC_GROUP_GET_DEGREE 0
665
+ # define EC_F_EC_GROUP_GET_ECPARAMETERS 0
666
+ # define EC_F_EC_GROUP_GET_ECPKPARAMETERS 0
667
+ # define EC_F_EC_GROUP_GET_PENTANOMIAL_BASIS 0
668
+ # define EC_F_EC_GROUP_GET_TRINOMIAL_BASIS 0
669
+ # define EC_F_EC_GROUP_NEW 0
670
+ # define EC_F_EC_GROUP_NEW_BY_CURVE_NAME 0
671
+ # define EC_F_EC_GROUP_NEW_FROM_DATA 0
672
+ # define EC_F_EC_GROUP_NEW_FROM_ECPARAMETERS 0
673
+ # define EC_F_EC_GROUP_NEW_FROM_ECPKPARAMETERS 0
674
+ # define EC_F_EC_GROUP_SET_CURVE 0
675
+ # define EC_F_EC_GROUP_SET_CURVE_GF2M 0
676
+ # define EC_F_EC_GROUP_SET_CURVE_GFP 0
677
+ # define EC_F_EC_GROUP_SET_GENERATOR 0
678
+ # define EC_F_EC_GROUP_SET_SEED 0
679
+ # define EC_F_EC_KEY_CHECK_KEY 0
680
+ # define EC_F_EC_KEY_COPY 0
681
+ # define EC_F_EC_KEY_GENERATE_KEY 0
682
+ # define EC_F_EC_KEY_NEW 0
683
+ # define EC_F_EC_KEY_NEW_METHOD 0
684
+ # define EC_F_EC_KEY_OCT2PRIV 0
685
+ # define EC_F_EC_KEY_PRINT 0
686
+ # define EC_F_EC_KEY_PRINT_FP 0
687
+ # define EC_F_EC_KEY_PRIV2BUF 0
688
+ # define EC_F_EC_KEY_PRIV2OCT 0
689
+ # define EC_F_EC_KEY_SET_PUBLIC_KEY_AFFINE_COORDINATES 0
690
+ # define EC_F_EC_KEY_SIMPLE_CHECK_KEY 0
691
+ # define EC_F_EC_KEY_SIMPLE_OCT2PRIV 0
692
+ # define EC_F_EC_KEY_SIMPLE_PRIV2OCT 0
693
+ # define EC_F_EC_PKEY_CHECK 0
694
+ # define EC_F_EC_PKEY_PARAM_CHECK 0
695
+ # define EC_F_EC_POINTS_MAKE_AFFINE 0
696
+ # define EC_F_EC_POINTS_MUL 0
697
+ # define EC_F_EC_POINT_ADD 0
698
+ # define EC_F_EC_POINT_BN2POINT 0
699
+ # define EC_F_EC_POINT_CMP 0
700
+ # define EC_F_EC_POINT_COPY 0
701
+ # define EC_F_EC_POINT_DBL 0
702
+ # define EC_F_EC_POINT_GET_AFFINE_COORDINATES 0
703
+ # define EC_F_EC_POINT_GET_AFFINE_COORDINATES_GF2M 0
704
+ # define EC_F_EC_POINT_GET_AFFINE_COORDINATES_GFP 0
705
+ # define EC_F_EC_POINT_GET_JPROJECTIVE_COORDINATES_GFP 0
706
+ # define EC_F_EC_POINT_INVERT 0
707
+ # define EC_F_EC_POINT_IS_AT_INFINITY 0
708
+ # define EC_F_EC_POINT_IS_ON_CURVE 0
709
+ # define EC_F_EC_POINT_MAKE_AFFINE 0
710
+ # define EC_F_EC_POINT_NEW 0
711
+ # define EC_F_EC_POINT_OCT2POINT 0
712
+ # define EC_F_EC_POINT_POINT2BUF 0
713
+ # define EC_F_EC_POINT_POINT2OCT 0
714
+ # define EC_F_EC_POINT_SET_AFFINE_COORDINATES 0
715
+ # define EC_F_EC_POINT_SET_AFFINE_COORDINATES_GF2M 0
716
+ # define EC_F_EC_POINT_SET_AFFINE_COORDINATES_GFP 0
717
+ # define EC_F_EC_POINT_SET_COMPRESSED_COORDINATES 0
718
+ # define EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GF2M 0
719
+ # define EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GFP 0
720
+ # define EC_F_EC_POINT_SET_JPROJECTIVE_COORDINATES_GFP 0
721
+ # define EC_F_EC_POINT_SET_TO_INFINITY 0
722
+ # define EC_F_EC_PRE_COMP_NEW 0
723
+ # define EC_F_EC_SCALAR_MUL_LADDER 0
724
+ # define EC_F_EC_WNAF_MUL 0
725
+ # define EC_F_EC_WNAF_PRECOMPUTE_MULT 0
726
+ # define EC_F_I2D_ECPARAMETERS 0
727
+ # define EC_F_I2D_ECPKPARAMETERS 0
728
+ # define EC_F_I2D_ECPRIVATEKEY 0
729
+ # define EC_F_I2O_ECPUBLICKEY 0
730
+ # define EC_F_NISTP224_PRE_COMP_NEW 0
731
+ # define EC_F_NISTP256_PRE_COMP_NEW 0
732
+ # define EC_F_NISTP521_PRE_COMP_NEW 0
733
+ # define EC_F_O2I_ECPUBLICKEY 0
734
+ # define EC_F_OLD_EC_PRIV_DECODE 0
735
+ # define EC_F_OSSL_ECDH_COMPUTE_KEY 0
736
+ # define EC_F_OSSL_ECDSA_SIGN_SIG 0
737
+ # define EC_F_OSSL_ECDSA_VERIFY_SIG 0
738
+ # define EC_F_PKEY_ECD_CTRL 0
739
+ # define EC_F_PKEY_ECD_DIGESTSIGN 0
740
+ # define EC_F_PKEY_ECD_DIGESTSIGN25519 0
741
+ # define EC_F_PKEY_ECD_DIGESTSIGN448 0
742
+ # define EC_F_PKEY_ECX_DERIVE 0
743
+ # define EC_F_PKEY_EC_CTRL 0
744
+ # define EC_F_PKEY_EC_CTRL_STR 0
745
+ # define EC_F_PKEY_EC_DERIVE 0
746
+ # define EC_F_PKEY_EC_INIT 0
747
+ # define EC_F_PKEY_EC_KDF_DERIVE 0
748
+ # define EC_F_PKEY_EC_KEYGEN 0
749
+ # define EC_F_PKEY_EC_PARAMGEN 0
750
+ # define EC_F_PKEY_EC_SIGN 0
751
+ # define EC_F_VALIDATE_ECX_DERIVE 0
752
+ # endif
753
+
754
+ # ifndef OPENSSL_NO_ENGINE
755
+ /*
756
+ * ENGINE function codes.
757
+ */
758
+ # define ENGINE_F_DIGEST_UPDATE 0
759
+ # define ENGINE_F_DYNAMIC_CTRL 0
760
+ # define ENGINE_F_DYNAMIC_GET_DATA_CTX 0
761
+ # define ENGINE_F_DYNAMIC_LOAD 0
762
+ # define ENGINE_F_DYNAMIC_SET_DATA_CTX 0
763
+ # define ENGINE_F_ENGINE_ADD 0
764
+ # define ENGINE_F_ENGINE_BY_ID 0
765
+ # define ENGINE_F_ENGINE_CMD_IS_EXECUTABLE 0
766
+ # define ENGINE_F_ENGINE_CTRL 0
767
+ # define ENGINE_F_ENGINE_CTRL_CMD 0
768
+ # define ENGINE_F_ENGINE_CTRL_CMD_STRING 0
769
+ # define ENGINE_F_ENGINE_FINISH 0
770
+ # define ENGINE_F_ENGINE_GET_CIPHER 0
771
+ # define ENGINE_F_ENGINE_GET_DIGEST 0
772
+ # define ENGINE_F_ENGINE_GET_FIRST 0
773
+ # define ENGINE_F_ENGINE_GET_LAST 0
774
+ # define ENGINE_F_ENGINE_GET_NEXT 0
775
+ # define ENGINE_F_ENGINE_GET_PKEY_ASN1_METH 0
776
+ # define ENGINE_F_ENGINE_GET_PKEY_METH 0
777
+ # define ENGINE_F_ENGINE_GET_PREV 0
778
+ # define ENGINE_F_ENGINE_INIT 0
779
+ # define ENGINE_F_ENGINE_LIST_ADD 0
780
+ # define ENGINE_F_ENGINE_LIST_REMOVE 0
781
+ # define ENGINE_F_ENGINE_LOAD_PRIVATE_KEY 0
782
+ # define ENGINE_F_ENGINE_LOAD_PUBLIC_KEY 0
783
+ # define ENGINE_F_ENGINE_LOAD_SSL_CLIENT_CERT 0
784
+ # define ENGINE_F_ENGINE_NEW 0
785
+ # define ENGINE_F_ENGINE_PKEY_ASN1_FIND_STR 0
786
+ # define ENGINE_F_ENGINE_REMOVE 0
787
+ # define ENGINE_F_ENGINE_SET_DEFAULT_STRING 0
788
+ # define ENGINE_F_ENGINE_SET_ID 0
789
+ # define ENGINE_F_ENGINE_SET_NAME 0
790
+ # define ENGINE_F_ENGINE_TABLE_REGISTER 0
791
+ # define ENGINE_F_ENGINE_UNLOCKED_FINISH 0
792
+ # define ENGINE_F_ENGINE_UP_REF 0
793
+ # define ENGINE_F_INT_CLEANUP_ITEM 0
794
+ # define ENGINE_F_INT_CTRL_HELPER 0
795
+ # define ENGINE_F_INT_ENGINE_CONFIGURE 0
796
+ # define ENGINE_F_INT_ENGINE_MODULE_INIT 0
797
+ # define ENGINE_F_OSSL_HMAC_INIT 0
798
+ # endif
799
+
800
+ /*
801
+ * EVP function codes.
802
+ */
803
+ # define EVP_F_AESNI_INIT_KEY 0
804
+ # define EVP_F_AESNI_XTS_INIT_KEY 0
805
+ # define EVP_F_AES_GCM_CTRL 0
806
+ # define EVP_F_AES_INIT_KEY 0
807
+ # define EVP_F_AES_OCB_CIPHER 0
808
+ # define EVP_F_AES_T4_INIT_KEY 0
809
+ # define EVP_F_AES_T4_XTS_INIT_KEY 0
810
+ # define EVP_F_AES_WRAP_CIPHER 0
811
+ # define EVP_F_AES_XTS_INIT_KEY 0
812
+ # define EVP_F_ALG_MODULE_INIT 0
813
+ # define EVP_F_ARIA_CCM_INIT_KEY 0
814
+ # define EVP_F_ARIA_GCM_CTRL 0
815
+ # define EVP_F_ARIA_GCM_INIT_KEY 0
816
+ # define EVP_F_ARIA_INIT_KEY 0
817
+ # define EVP_F_B64_NEW 0
818
+ # define EVP_F_CAMELLIA_INIT_KEY 0
819
+ # define EVP_F_CHACHA20_POLY1305_CTRL 0
820
+ # define EVP_F_CMLL_T4_INIT_KEY 0
821
+ # define EVP_F_DES_EDE3_WRAP_CIPHER 0
822
+ # define EVP_F_DO_SIGVER_INIT 0
823
+ # define EVP_F_ENC_NEW 0
824
+ # define EVP_F_EVP_CIPHERINIT_EX 0
825
+ # define EVP_F_EVP_CIPHER_ASN1_TO_PARAM 0
826
+ # define EVP_F_EVP_CIPHER_CTX_COPY 0
827
+ # define EVP_F_EVP_CIPHER_CTX_CTRL 0
828
+ # define EVP_F_EVP_CIPHER_CTX_SET_KEY_LENGTH 0
829
+ # define EVP_F_EVP_CIPHER_PARAM_TO_ASN1 0
830
+ # define EVP_F_EVP_DECRYPTFINAL_EX 0
831
+ # define EVP_F_EVP_DECRYPTUPDATE 0
832
+ # define EVP_F_EVP_DIGESTFINALXOF 0
833
+ # define EVP_F_EVP_DIGESTINIT_EX 0
834
+ # define EVP_F_EVP_ENCRYPTDECRYPTUPDATE 0
835
+ # define EVP_F_EVP_ENCRYPTFINAL_EX 0
836
+ # define EVP_F_EVP_ENCRYPTUPDATE 0
837
+ # define EVP_F_EVP_MD_CTX_COPY_EX 0
838
+ # define EVP_F_EVP_MD_SIZE 0
839
+ # define EVP_F_EVP_OPENINIT 0
840
+ # define EVP_F_EVP_PBE_ALG_ADD 0
841
+ # define EVP_F_EVP_PBE_ALG_ADD_TYPE 0
842
+ # define EVP_F_EVP_PBE_CIPHERINIT 0
843
+ # define EVP_F_EVP_PBE_SCRYPT 0
844
+ # define EVP_F_EVP_PKCS82PKEY 0
845
+ # define EVP_F_EVP_PKEY2PKCS8 0
846
+ # define EVP_F_EVP_PKEY_ASN1_ADD0 0
847
+ # define EVP_F_EVP_PKEY_CHECK 0
848
+ # define EVP_F_EVP_PKEY_COPY_PARAMETERS 0
849
+ # define EVP_F_EVP_PKEY_CTX_CTRL 0
850
+ # define EVP_F_EVP_PKEY_CTX_CTRL_STR 0
851
+ # define EVP_F_EVP_PKEY_CTX_DUP 0
852
+ # define EVP_F_EVP_PKEY_CTX_MD 0
853
+ # define EVP_F_EVP_PKEY_DECRYPT 0
854
+ # define EVP_F_EVP_PKEY_DECRYPT_INIT 0
855
+ # define EVP_F_EVP_PKEY_DECRYPT_OLD 0
856
+ # define EVP_F_EVP_PKEY_DERIVE 0
857
+ # define EVP_F_EVP_PKEY_DERIVE_INIT 0
858
+ # define EVP_F_EVP_PKEY_DERIVE_SET_PEER 0
859
+ # define EVP_F_EVP_PKEY_ENCRYPT 0
860
+ # define EVP_F_EVP_PKEY_ENCRYPT_INIT 0
861
+ # define EVP_F_EVP_PKEY_ENCRYPT_OLD 0
862
+ # define EVP_F_EVP_PKEY_GET0_DH 0
863
+ # define EVP_F_EVP_PKEY_GET0_DSA 0
864
+ # define EVP_F_EVP_PKEY_GET0_EC_KEY 0
865
+ # define EVP_F_EVP_PKEY_GET0_HMAC 0
866
+ # define EVP_F_EVP_PKEY_GET0_POLY1305 0
867
+ # define EVP_F_EVP_PKEY_GET0_RSA 0
868
+ # define EVP_F_EVP_PKEY_GET0_SIPHASH 0
869
+ # define EVP_F_EVP_PKEY_GET_RAW_PRIVATE_KEY 0
870
+ # define EVP_F_EVP_PKEY_GET_RAW_PUBLIC_KEY 0
871
+ # define EVP_F_EVP_PKEY_KEYGEN 0
872
+ # define EVP_F_EVP_PKEY_KEYGEN_INIT 0
873
+ # define EVP_F_EVP_PKEY_METH_ADD0 0
874
+ # define EVP_F_EVP_PKEY_METH_NEW 0
875
+ # define EVP_F_EVP_PKEY_NEW 0
876
+ # define EVP_F_EVP_PKEY_NEW_CMAC_KEY 0
877
+ # define EVP_F_EVP_PKEY_NEW_RAW_PRIVATE_KEY 0
878
+ # define EVP_F_EVP_PKEY_NEW_RAW_PUBLIC_KEY 0
879
+ # define EVP_F_EVP_PKEY_PARAMGEN 0
880
+ # define EVP_F_EVP_PKEY_PARAMGEN_INIT 0
881
+ # define EVP_F_EVP_PKEY_PARAM_CHECK 0
882
+ # define EVP_F_EVP_PKEY_PUBLIC_CHECK 0
883
+ # define EVP_F_EVP_PKEY_SET1_ENGINE 0
884
+ # define EVP_F_EVP_PKEY_SET_ALIAS_TYPE 0
885
+ # define EVP_F_EVP_PKEY_SIGN 0
886
+ # define EVP_F_EVP_PKEY_SIGN_INIT 0
887
+ # define EVP_F_EVP_PKEY_VERIFY 0
888
+ # define EVP_F_EVP_PKEY_VERIFY_INIT 0
889
+ # define EVP_F_EVP_PKEY_VERIFY_RECOVER 0
890
+ # define EVP_F_EVP_PKEY_VERIFY_RECOVER_INIT 0
891
+ # define EVP_F_EVP_SIGNFINAL 0
892
+ # define EVP_F_EVP_VERIFYFINAL 0
893
+ # define EVP_F_INT_CTX_NEW 0
894
+ # define EVP_F_OK_NEW 0
895
+ # define EVP_F_PKCS5_PBE_KEYIVGEN 0
896
+ # define EVP_F_PKCS5_V2_PBE_KEYIVGEN 0
897
+ # define EVP_F_PKCS5_V2_PBKDF2_KEYIVGEN 0
898
+ # define EVP_F_PKCS5_V2_SCRYPT_KEYIVGEN 0
899
+ # define EVP_F_PKEY_SET_TYPE 0
900
+ # define EVP_F_RC2_MAGIC_TO_METH 0
901
+ # define EVP_F_RC5_CTRL 0
902
+ # define EVP_F_R_32_12_16_INIT_KEY 0
903
+ # define EVP_F_S390X_AES_GCM_CTRL 0
904
+ # define EVP_F_UPDATE 0
905
+
906
+ /*
907
+ * KDF function codes.
908
+ */
909
+ # define KDF_F_PKEY_HKDF_CTRL_STR 0
910
+ # define KDF_F_PKEY_HKDF_DERIVE 0
911
+ # define KDF_F_PKEY_HKDF_INIT 0
912
+ # define KDF_F_PKEY_SCRYPT_CTRL_STR 0
913
+ # define KDF_F_PKEY_SCRYPT_CTRL_UINT64 0
914
+ # define KDF_F_PKEY_SCRYPT_DERIVE 0
915
+ # define KDF_F_PKEY_SCRYPT_INIT 0
916
+ # define KDF_F_PKEY_SCRYPT_SET_MEMBUF 0
917
+ # define KDF_F_PKEY_TLS1_PRF_CTRL_STR 0
918
+ # define KDF_F_PKEY_TLS1_PRF_DERIVE 0
919
+ # define KDF_F_PKEY_TLS1_PRF_INIT 0
920
+ # define KDF_F_TLS1_PRF_ALG 0
921
+
922
+ /*
923
+ * KDF reason codes.
924
+ */
925
+ # define KDF_R_INVALID_DIGEST 0
926
+ # define KDF_R_MISSING_ITERATION_COUNT 0
927
+ # define KDF_R_MISSING_KEY 0
928
+ # define KDF_R_MISSING_MESSAGE_DIGEST 0
929
+ # define KDF_R_MISSING_PARAMETER 0
930
+ # define KDF_R_MISSING_PASS 0
931
+ # define KDF_R_MISSING_SALT 0
932
+ # define KDF_R_MISSING_SECRET 0
933
+ # define KDF_R_MISSING_SEED 0
934
+ # define KDF_R_UNKNOWN_PARAMETER_TYPE 0
935
+ # define KDF_R_VALUE_ERROR 0
936
+ # define KDF_R_VALUE_MISSING 0
937
+
938
+ /*
939
+ * OBJ function codes.
940
+ */
941
+ # define OBJ_F_OBJ_ADD_OBJECT 0
942
+ # define OBJ_F_OBJ_ADD_SIGID 0
943
+ # define OBJ_F_OBJ_CREATE 0
944
+ # define OBJ_F_OBJ_DUP 0
945
+ # define OBJ_F_OBJ_NAME_NEW_INDEX 0
946
+ # define OBJ_F_OBJ_NID2LN 0
947
+ # define OBJ_F_OBJ_NID2OBJ 0
948
+ # define OBJ_F_OBJ_NID2SN 0
949
+ # define OBJ_F_OBJ_TXT2OBJ 0
950
+
951
+ # ifndef OPENSSL_NO_OCSP
952
+ /*
953
+ * OCSP function codes.
954
+ */
955
+ # define OCSP_F_D2I_OCSP_NONCE 0
956
+ # define OCSP_F_OCSP_BASIC_ADD1_STATUS 0
957
+ # define OCSP_F_OCSP_BASIC_SIGN 0
958
+ # define OCSP_F_OCSP_BASIC_SIGN_CTX 0
959
+ # define OCSP_F_OCSP_BASIC_VERIFY 0
960
+ # define OCSP_F_OCSP_CERT_ID_NEW 0
961
+ # define OCSP_F_OCSP_CHECK_DELEGATED 0
962
+ # define OCSP_F_OCSP_CHECK_IDS 0
963
+ # define OCSP_F_OCSP_CHECK_ISSUER 0
964
+ # define OCSP_F_OCSP_CHECK_VALIDITY 0
965
+ # define OCSP_F_OCSP_MATCH_ISSUERID 0
966
+ # define OCSP_F_OCSP_PARSE_URL 0
967
+ # define OCSP_F_OCSP_REQUEST_SIGN 0
968
+ # define OCSP_F_OCSP_REQUEST_VERIFY 0
969
+ # define OCSP_F_OCSP_RESPONSE_GET1_BASIC 0
970
+ # define OCSP_F_PARSE_HTTP_LINE1 0
971
+ # endif
972
+
973
+ /*
974
+ * PEM function codes.
975
+ */
976
+ # define PEM_F_B2I_DSS 0
977
+ # define PEM_F_B2I_PVK_BIO 0
978
+ # define PEM_F_B2I_RSA 0
979
+ # define PEM_F_CHECK_BITLEN_DSA 0
980
+ # define PEM_F_CHECK_BITLEN_RSA 0
981
+ # define PEM_F_D2I_PKCS8PRIVATEKEY_BIO 0
982
+ # define PEM_F_D2I_PKCS8PRIVATEKEY_FP 0
983
+ # define PEM_F_DO_B2I 0
984
+ # define PEM_F_DO_B2I_BIO 0
985
+ # define PEM_F_DO_BLOB_HEADER 0
986
+ # define PEM_F_DO_I2B 0
987
+ # define PEM_F_DO_PK8PKEY 0
988
+ # define PEM_F_DO_PK8PKEY_FP 0
989
+ # define PEM_F_DO_PVK_BODY 0
990
+ # define PEM_F_DO_PVK_HEADER 0
991
+ # define PEM_F_GET_HEADER_AND_DATA 0
992
+ # define PEM_F_GET_NAME 0
993
+ # define PEM_F_I2B_PVK 0
994
+ # define PEM_F_I2B_PVK_BIO 0
995
+ # define PEM_F_LOAD_IV 0
996
+ # define PEM_F_PEM_ASN1_READ 0
997
+ # define PEM_F_PEM_ASN1_READ_BIO 0
998
+ # define PEM_F_PEM_ASN1_WRITE 0
999
+ # define PEM_F_PEM_ASN1_WRITE_BIO 0
1000
+ # define PEM_F_PEM_DEF_CALLBACK 0
1001
+ # define PEM_F_PEM_DO_HEADER 0
1002
+ # define PEM_F_PEM_GET_EVP_CIPHER_INFO 0
1003
+ # define PEM_F_PEM_READ 0
1004
+ # define PEM_F_PEM_READ_BIO 0
1005
+ # define PEM_F_PEM_READ_BIO_DHPARAMS 0
1006
+ # define PEM_F_PEM_READ_BIO_EX 0
1007
+ # define PEM_F_PEM_READ_BIO_PARAMETERS 0
1008
+ # define PEM_F_PEM_READ_BIO_PRIVATEKEY 0
1009
+ # define PEM_F_PEM_READ_DHPARAMS 0
1010
+ # define PEM_F_PEM_READ_PRIVATEKEY 0
1011
+ # define PEM_F_PEM_SIGNFINAL 0
1012
+ # define PEM_F_PEM_WRITE 0
1013
+ # define PEM_F_PEM_WRITE_BIO 0
1014
+ # define PEM_F_PEM_WRITE_BIO_PRIVATEKEY_TRADITIONAL 0
1015
+ # define PEM_F_PEM_WRITE_PRIVATEKEY 0
1016
+ # define PEM_F_PEM_X509_INFO_READ 0
1017
+ # define PEM_F_PEM_X509_INFO_READ_BIO 0
1018
+ # define PEM_F_PEM_X509_INFO_WRITE_BIO 0
1019
+
1020
+ /*
1021
+ * PKCS12 function codes.
1022
+ */
1023
+ # define PKCS12_F_OPENSSL_ASC2UNI 0
1024
+ # define PKCS12_F_OPENSSL_UNI2ASC 0
1025
+ # define PKCS12_F_OPENSSL_UNI2UTF8 0
1026
+ # define PKCS12_F_OPENSSL_UTF82UNI 0
1027
+ # define PKCS12_F_PKCS12_CREATE 0
1028
+ # define PKCS12_F_PKCS12_GEN_MAC 0
1029
+ # define PKCS12_F_PKCS12_INIT 0
1030
+ # define PKCS12_F_PKCS12_ITEM_DECRYPT_D2I 0
1031
+ # define PKCS12_F_PKCS12_ITEM_I2D_ENCRYPT 0
1032
+ # define PKCS12_F_PKCS12_ITEM_PACK_SAFEBAG 0
1033
+ # define PKCS12_F_PKCS12_KEY_GEN_ASC 0
1034
+ # define PKCS12_F_PKCS12_KEY_GEN_UNI 0
1035
+ # define PKCS12_F_PKCS12_KEY_GEN_UTF8 0
1036
+ # define PKCS12_F_PKCS12_NEWPASS 0
1037
+ # define PKCS12_F_PKCS12_PACK_P7DATA 0
1038
+ # define PKCS12_F_PKCS12_PACK_P7ENCDATA 0
1039
+ # define PKCS12_F_PKCS12_PARSE 0
1040
+ # define PKCS12_F_PKCS12_PBE_CRYPT 0
1041
+ # define PKCS12_F_PKCS12_PBE_KEYIVGEN 0
1042
+ # define PKCS12_F_PKCS12_SAFEBAG_CREATE0_P8INF 0
1043
+ # define PKCS12_F_PKCS12_SAFEBAG_CREATE0_PKCS8 0
1044
+ # define PKCS12_F_PKCS12_SAFEBAG_CREATE_PKCS8_ENCRYPT 0
1045
+ # define PKCS12_F_PKCS12_SETUP_MAC 0
1046
+ # define PKCS12_F_PKCS12_SET_MAC 0
1047
+ # define PKCS12_F_PKCS12_UNPACK_AUTHSAFES 0
1048
+ # define PKCS12_F_PKCS12_UNPACK_P7DATA 0
1049
+ # define PKCS12_F_PKCS12_VERIFY_MAC 0
1050
+ # define PKCS12_F_PKCS8_ENCRYPT 0
1051
+ # define PKCS12_F_PKCS8_SET0_PBE 0
1052
+
1053
+ /*
1054
+ * PKCS7 function codes.
1055
+ */
1056
+ # define PKCS7_F_DO_PKCS7_SIGNED_ATTRIB 0
1057
+ # define PKCS7_F_PKCS7_ADD0_ATTRIB_SIGNING_TIME 0
1058
+ # define PKCS7_F_PKCS7_ADD_ATTRIB_SMIMECAP 0
1059
+ # define PKCS7_F_PKCS7_ADD_CERTIFICATE 0
1060
+ # define PKCS7_F_PKCS7_ADD_CRL 0
1061
+ # define PKCS7_F_PKCS7_ADD_RECIPIENT_INFO 0
1062
+ # define PKCS7_F_PKCS7_ADD_SIGNATURE 0
1063
+ # define PKCS7_F_PKCS7_ADD_SIGNER 0
1064
+ # define PKCS7_F_PKCS7_BIO_ADD_DIGEST 0
1065
+ # define PKCS7_F_PKCS7_COPY_EXISTING_DIGEST 0
1066
+ # define PKCS7_F_PKCS7_CTRL 0
1067
+ # define PKCS7_F_PKCS7_DATADECODE 0
1068
+ # define PKCS7_F_PKCS7_DATAFINAL 0
1069
+ # define PKCS7_F_PKCS7_DATAINIT 0
1070
+ # define PKCS7_F_PKCS7_DATAVERIFY 0
1071
+ # define PKCS7_F_PKCS7_DECRYPT 0
1072
+ # define PKCS7_F_PKCS7_DECRYPT_RINFO 0
1073
+ # define PKCS7_F_PKCS7_ENCODE_RINFO 0
1074
+ # define PKCS7_F_PKCS7_ENCRYPT 0
1075
+ # define PKCS7_F_PKCS7_FINAL 0
1076
+ # define PKCS7_F_PKCS7_FIND_DIGEST 0
1077
+ # define PKCS7_F_PKCS7_GET0_SIGNERS 0
1078
+ # define PKCS7_F_PKCS7_RECIP_INFO_SET 0
1079
+ # define PKCS7_F_PKCS7_SET_CIPHER 0
1080
+ # define PKCS7_F_PKCS7_SET_CONTENT 0
1081
+ # define PKCS7_F_PKCS7_SET_DIGEST 0
1082
+ # define PKCS7_F_PKCS7_SET_TYPE 0
1083
+ # define PKCS7_F_PKCS7_SIGN 0
1084
+ # define PKCS7_F_PKCS7_SIGNATUREVERIFY 0
1085
+ # define PKCS7_F_PKCS7_SIGNER_INFO_SET 0
1086
+ # define PKCS7_F_PKCS7_SIGNER_INFO_SIGN 0
1087
+ # define PKCS7_F_PKCS7_SIGN_ADD_SIGNER 0
1088
+ # define PKCS7_F_PKCS7_SIMPLE_SMIMECAP 0
1089
+ # define PKCS7_F_PKCS7_VERIFY 0
1090
+
1091
+ /*
1092
+ * RAND function codes.
1093
+ */
1094
+ # define RAND_F_DATA_COLLECT_METHOD 0
1095
+ # define RAND_F_DRBG_BYTES 0
1096
+ # define RAND_F_DRBG_GET_ENTROPY 0
1097
+ # define RAND_F_DRBG_SETUP 0
1098
+ # define RAND_F_GET_ENTROPY 0
1099
+ # define RAND_F_RAND_BYTES 0
1100
+ # define RAND_F_RAND_DRBG_ENABLE_LOCKING 0
1101
+ # define RAND_F_RAND_DRBG_GENERATE 0
1102
+ # define RAND_F_RAND_DRBG_GET_ENTROPY 0
1103
+ # define RAND_F_RAND_DRBG_GET_NONCE 0
1104
+ # define RAND_F_RAND_DRBG_INSTANTIATE 0
1105
+ # define RAND_F_RAND_DRBG_NEW 0
1106
+ # define RAND_F_RAND_DRBG_RESEED 0
1107
+ # define RAND_F_RAND_DRBG_RESTART 0
1108
+ # define RAND_F_RAND_DRBG_SET 0
1109
+ # define RAND_F_RAND_DRBG_SET_DEFAULTS 0
1110
+ # define RAND_F_RAND_DRBG_UNINSTANTIATE 0
1111
+ # define RAND_F_RAND_LOAD_FILE 0
1112
+ # define RAND_F_RAND_POOL_ACQUIRE_ENTROPY 0
1113
+ # define RAND_F_RAND_POOL_ADD 0
1114
+ # define RAND_F_RAND_POOL_ADD_BEGIN 0
1115
+ # define RAND_F_RAND_POOL_ADD_END 0
1116
+ # define RAND_F_RAND_POOL_ATTACH 0
1117
+ # define RAND_F_RAND_POOL_BYTES_NEEDED 0
1118
+ # define RAND_F_RAND_POOL_GROW 0
1119
+ # define RAND_F_RAND_POOL_NEW 0
1120
+ # define RAND_F_RAND_PSEUDO_BYTES 0
1121
+ # define RAND_F_RAND_WRITE_FILE 0
1122
+
1123
+ /*
1124
+ * RSA function codes.
1125
+ */
1126
+ # define RSA_F_CHECK_PADDING_MD 0
1127
+ # define RSA_F_ENCODE_PKCS1 0
1128
+ # define RSA_F_INT_RSA_VERIFY 0
1129
+ # define RSA_F_OLD_RSA_PRIV_DECODE 0
1130
+ # define RSA_F_PKEY_PSS_INIT 0
1131
+ # define RSA_F_PKEY_RSA_CTRL 0
1132
+ # define RSA_F_PKEY_RSA_CTRL_STR 0
1133
+ # define RSA_F_PKEY_RSA_SIGN 0
1134
+ # define RSA_F_PKEY_RSA_VERIFY 0
1135
+ # define RSA_F_PKEY_RSA_VERIFYRECOVER 0
1136
+ # define RSA_F_RSA_ALGOR_TO_MD 0
1137
+ # define RSA_F_RSA_BUILTIN_KEYGEN 0
1138
+ # define RSA_F_RSA_CHECK_KEY 0
1139
+ # define RSA_F_RSA_CHECK_KEY_EX 0
1140
+ # define RSA_F_RSA_CMS_DECRYPT 0
1141
+ # define RSA_F_RSA_CMS_VERIFY 0
1142
+ # define RSA_F_RSA_ITEM_VERIFY 0
1143
+ # define RSA_F_RSA_METH_DUP 0
1144
+ # define RSA_F_RSA_METH_NEW 0
1145
+ # define RSA_F_RSA_METH_SET1_NAME 0
1146
+ # define RSA_F_RSA_MGF1_TO_MD 0
1147
+ # define RSA_F_RSA_MULTIP_INFO_NEW 0
1148
+ # define RSA_F_RSA_NEW_METHOD 0
1149
+ # define RSA_F_RSA_NULL 0
1150
+ # define RSA_F_RSA_NULL_PRIVATE_DECRYPT 0
1151
+ # define RSA_F_RSA_NULL_PRIVATE_ENCRYPT 0
1152
+ # define RSA_F_RSA_NULL_PUBLIC_DECRYPT 0
1153
+ # define RSA_F_RSA_NULL_PUBLIC_ENCRYPT 0
1154
+ # define RSA_F_RSA_OSSL_PRIVATE_DECRYPT 0
1155
+ # define RSA_F_RSA_OSSL_PRIVATE_ENCRYPT 0
1156
+ # define RSA_F_RSA_OSSL_PUBLIC_DECRYPT 0
1157
+ # define RSA_F_RSA_OSSL_PUBLIC_ENCRYPT 0
1158
+ # define RSA_F_RSA_PADDING_ADD_NONE 0
1159
+ # define RSA_F_RSA_PADDING_ADD_PKCS1_OAEP 0
1160
+ # define RSA_F_RSA_PADDING_ADD_PKCS1_OAEP_MGF1 0
1161
+ # define RSA_F_RSA_PADDING_ADD_PKCS1_PSS 0
1162
+ # define RSA_F_RSA_PADDING_ADD_PKCS1_PSS_MGF1 0
1163
+ # define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1 0
1164
+ # define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_2 0
1165
+ # define RSA_F_RSA_PADDING_ADD_SSLV23 0
1166
+ # define RSA_F_RSA_PADDING_ADD_X931 0
1167
+ # define RSA_F_RSA_PADDING_CHECK_NONE 0
1168
+ # define RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP 0
1169
+ # define RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP_MGF1 0
1170
+ # define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1 0
1171
+ # define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2 0
1172
+ # define RSA_F_RSA_PADDING_CHECK_SSLV23 0
1173
+ # define RSA_F_RSA_PADDING_CHECK_X931 0
1174
+ # define RSA_F_RSA_PARAM_DECODE 0
1175
+ # define RSA_F_RSA_PRINT 0
1176
+ # define RSA_F_RSA_PRINT_FP 0
1177
+ # define RSA_F_RSA_PRIV_DECODE 0
1178
+ # define RSA_F_RSA_PRIV_ENCODE 0
1179
+ # define RSA_F_RSA_PSS_GET_PARAM 0
1180
+ # define RSA_F_RSA_PSS_TO_CTX 0
1181
+ # define RSA_F_RSA_PUB_DECODE 0
1182
+ # define RSA_F_RSA_SETUP_BLINDING 0
1183
+ # define RSA_F_RSA_SIGN 0
1184
+ # define RSA_F_RSA_SIGN_ASN1_OCTET_STRING 0
1185
+ # define RSA_F_RSA_VERIFY 0
1186
+ # define RSA_F_RSA_VERIFY_ASN1_OCTET_STRING 0
1187
+ # define RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1 0
1188
+ # define RSA_F_SETUP_TBUF 0
1189
+
1190
+ /*
1191
+ * OSSL_STORE function codes.
1192
+ */
1193
+ # define OSSL_STORE_F_FILE_CTRL 0
1194
+ # define OSSL_STORE_F_FILE_FIND 0
1195
+ # define OSSL_STORE_F_FILE_GET_PASS 0
1196
+ # define OSSL_STORE_F_FILE_LOAD 0
1197
+ # define OSSL_STORE_F_FILE_LOAD_TRY_DECODE 0
1198
+ # define OSSL_STORE_F_FILE_NAME_TO_URI 0
1199
+ # define OSSL_STORE_F_FILE_OPEN 0
1200
+ # define OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO 0
1201
+ # define OSSL_STORE_F_OSSL_STORE_EXPECT 0
1202
+ # define OSSL_STORE_F_OSSL_STORE_FILE_ATTACH_PEM_BIO_INT 0
1203
+ # define OSSL_STORE_F_OSSL_STORE_FIND 0
1204
+ # define OSSL_STORE_F_OSSL_STORE_GET0_LOADER_INT 0
1205
+ # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CERT 0
1206
+ # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CRL 0
1207
+ # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME 0
1208
+ # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME_DESCRIPTION 0
1209
+ # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PARAMS 0
1210
+ # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PKEY 0
1211
+ # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CERT 0
1212
+ # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CRL 0
1213
+ # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_EMBEDDED 0
1214
+ # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_NAME 0
1215
+ # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PARAMS 0
1216
+ # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PKEY 0
1217
+ # define OSSL_STORE_F_OSSL_STORE_INFO_SET0_NAME_DESCRIPTION 0
1218
+ # define OSSL_STORE_F_OSSL_STORE_INIT_ONCE 0
1219
+ # define OSSL_STORE_F_OSSL_STORE_LOADER_NEW 0
1220
+ # define OSSL_STORE_F_OSSL_STORE_OPEN 0
1221
+ # define OSSL_STORE_F_OSSL_STORE_OPEN_INT 0
1222
+ # define OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT 0
1223
+ # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ALIAS 0
1224
+ # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ISSUER_SERIAL 0
1225
+ # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT 0
1226
+ # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_NAME 0
1227
+ # define OSSL_STORE_F_OSSL_STORE_UNREGISTER_LOADER_INT 0
1228
+ # define OSSL_STORE_F_TRY_DECODE_PARAMS 0
1229
+ # define OSSL_STORE_F_TRY_DECODE_PKCS12 0
1230
+ # define OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED 0
1231
+
1232
+ # ifndef OPENSSL_NO_TS
1233
+ /*
1234
+ * TS function codes.
1235
+ */
1236
+ # define TS_F_DEF_SERIAL_CB 0
1237
+ # define TS_F_DEF_TIME_CB 0
1238
+ # define TS_F_ESS_ADD_SIGNING_CERT 0
1239
+ # define TS_F_ESS_ADD_SIGNING_CERT_V2 0
1240
+ # define TS_F_ESS_CERT_ID_NEW_INIT 0
1241
+ # define TS_F_ESS_CERT_ID_V2_NEW_INIT 0
1242
+ # define TS_F_ESS_SIGNING_CERT_NEW_INIT 0
1243
+ # define TS_F_ESS_SIGNING_CERT_V2_NEW_INIT 0
1244
+ # define TS_F_INT_TS_RESP_VERIFY_TOKEN 0
1245
+ # define TS_F_PKCS7_TO_TS_TST_INFO 0
1246
+ # define TS_F_TS_ACCURACY_SET_MICROS 0
1247
+ # define TS_F_TS_ACCURACY_SET_MILLIS 0
1248
+ # define TS_F_TS_ACCURACY_SET_SECONDS 0
1249
+ # define TS_F_TS_CHECK_IMPRINTS 0
1250
+ # define TS_F_TS_CHECK_NONCES 0
1251
+ # define TS_F_TS_CHECK_POLICY 0
1252
+ # define TS_F_TS_CHECK_SIGNING_CERTS 0
1253
+ # define TS_F_TS_CHECK_STATUS_INFO 0
1254
+ # define TS_F_TS_COMPUTE_IMPRINT 0
1255
+ # define TS_F_TS_CONF_INVALID 0
1256
+ # define TS_F_TS_CONF_LOAD_CERT 0
1257
+ # define TS_F_TS_CONF_LOAD_CERTS 0
1258
+ # define TS_F_TS_CONF_LOAD_KEY 0
1259
+ # define TS_F_TS_CONF_LOOKUP_FAIL 0
1260
+ # define TS_F_TS_CONF_SET_DEFAULT_ENGINE 0
1261
+ # define TS_F_TS_GET_STATUS_TEXT 0
1262
+ # define TS_F_TS_MSG_IMPRINT_SET_ALGO 0
1263
+ # define TS_F_TS_REQ_SET_MSG_IMPRINT 0
1264
+ # define TS_F_TS_REQ_SET_NONCE 0
1265
+ # define TS_F_TS_REQ_SET_POLICY_ID 0
1266
+ # define TS_F_TS_RESP_CREATE_RESPONSE 0
1267
+ # define TS_F_TS_RESP_CREATE_TST_INFO 0
1268
+ # define TS_F_TS_RESP_CTX_ADD_FAILURE_INFO 0
1269
+ # define TS_F_TS_RESP_CTX_ADD_MD 0
1270
+ # define TS_F_TS_RESP_CTX_ADD_POLICY 0
1271
+ # define TS_F_TS_RESP_CTX_NEW 0
1272
+ # define TS_F_TS_RESP_CTX_SET_ACCURACY 0
1273
+ # define TS_F_TS_RESP_CTX_SET_CERTS 0
1274
+ # define TS_F_TS_RESP_CTX_SET_DEF_POLICY 0
1275
+ # define TS_F_TS_RESP_CTX_SET_SIGNER_CERT 0
1276
+ # define TS_F_TS_RESP_CTX_SET_STATUS_INFO 0
1277
+ # define TS_F_TS_RESP_GET_POLICY 0
1278
+ # define TS_F_TS_RESP_SET_GENTIME_WITH_PRECISION 0
1279
+ # define TS_F_TS_RESP_SET_STATUS_INFO 0
1280
+ # define TS_F_TS_RESP_SET_TST_INFO 0
1281
+ # define TS_F_TS_RESP_SIGN 0
1282
+ # define TS_F_TS_RESP_VERIFY_SIGNATURE 0
1283
+ # define TS_F_TS_TST_INFO_SET_ACCURACY 0
1284
+ # define TS_F_TS_TST_INFO_SET_MSG_IMPRINT 0
1285
+ # define TS_F_TS_TST_INFO_SET_NONCE 0
1286
+ # define TS_F_TS_TST_INFO_SET_POLICY_ID 0
1287
+ # define TS_F_TS_TST_INFO_SET_SERIAL 0
1288
+ # define TS_F_TS_TST_INFO_SET_TIME 0
1289
+ # define TS_F_TS_TST_INFO_SET_TSA 0
1290
+ # define TS_F_TS_VERIFY 0
1291
+ # define TS_F_TS_VERIFY_CERT 0
1292
+ # define TS_F_TS_VERIFY_CTX_NEW 0
1293
+ # endif
1294
+
1295
+ /*
1296
+ * UI function codes.
1297
+ */
1298
+ # define UI_F_CLOSE_CONSOLE 0
1299
+ # define UI_F_ECHO_CONSOLE 0
1300
+ # define UI_F_GENERAL_ALLOCATE_BOOLEAN 0
1301
+ # define UI_F_GENERAL_ALLOCATE_PROMPT 0
1302
+ # define UI_F_NOECHO_CONSOLE 0
1303
+ # define UI_F_OPEN_CONSOLE 0
1304
+ # define UI_F_UI_CONSTRUCT_PROMPT 0
1305
+ # define UI_F_UI_CREATE_METHOD 0
1306
+ # define UI_F_UI_CTRL 0
1307
+ # define UI_F_UI_DUP_ERROR_STRING 0
1308
+ # define UI_F_UI_DUP_INFO_STRING 0
1309
+ # define UI_F_UI_DUP_INPUT_BOOLEAN 0
1310
+ # define UI_F_UI_DUP_INPUT_STRING 0
1311
+ # define UI_F_UI_DUP_USER_DATA 0
1312
+ # define UI_F_UI_DUP_VERIFY_STRING 0
1313
+ # define UI_F_UI_GET0_RESULT 0
1314
+ # define UI_F_UI_GET_RESULT_LENGTH 0
1315
+ # define UI_F_UI_NEW_METHOD 0
1316
+ # define UI_F_UI_PROCESS 0
1317
+ # define UI_F_UI_SET_RESULT 0
1318
+ # define UI_F_UI_SET_RESULT_EX 0
1319
+
1320
+ /*
1321
+ * X509 function codes.
1322
+ */
1323
+ # define X509_F_ADD_CERT_DIR 0
1324
+ # define X509_F_BUILD_CHAIN 0
1325
+ # define X509_F_BY_FILE_CTRL 0
1326
+ # define X509_F_CHECK_NAME_CONSTRAINTS 0
1327
+ # define X509_F_CHECK_POLICY 0
1328
+ # define X509_F_DANE_I2D 0
1329
+ # define X509_F_DIR_CTRL 0
1330
+ # define X509_F_GET_CERT_BY_SUBJECT 0
1331
+ # define X509_F_I2D_X509_AUX 0
1332
+ # define X509_F_LOOKUP_CERTS_SK 0
1333
+ # define X509_F_NETSCAPE_SPKI_B64_DECODE 0
1334
+ # define X509_F_NETSCAPE_SPKI_B64_ENCODE 0
1335
+ # define X509_F_NEW_DIR 0
1336
+ # define X509_F_X509AT_ADD1_ATTR 0
1337
+ # define X509_F_X509V3_ADD_EXT 0
1338
+ # define X509_F_X509_ATTRIBUTE_CREATE_BY_NID 0
1339
+ # define X509_F_X509_ATTRIBUTE_CREATE_BY_OBJ 0
1340
+ # define X509_F_X509_ATTRIBUTE_CREATE_BY_TXT 0
1341
+ # define X509_F_X509_ATTRIBUTE_GET0_DATA 0
1342
+ # define X509_F_X509_ATTRIBUTE_SET1_DATA 0
1343
+ # define X509_F_X509_CHECK_PRIVATE_KEY 0
1344
+ # define X509_F_X509_CRL_DIFF 0
1345
+ # define X509_F_X509_CRL_METHOD_NEW 0
1346
+ # define X509_F_X509_CRL_PRINT_FP 0
1347
+ # define X509_F_X509_EXTENSION_CREATE_BY_NID 0
1348
+ # define X509_F_X509_EXTENSION_CREATE_BY_OBJ 0
1349
+ # define X509_F_X509_GET_PUBKEY_PARAMETERS 0
1350
+ # define X509_F_X509_LOAD_CERT_CRL_FILE 0
1351
+ # define X509_F_X509_LOAD_CERT_FILE 0
1352
+ # define X509_F_X509_LOAD_CRL_FILE 0
1353
+ # define X509_F_X509_LOOKUP_METH_NEW 0
1354
+ # define X509_F_X509_LOOKUP_NEW 0
1355
+ # define X509_F_X509_NAME_ADD_ENTRY 0
1356
+ # define X509_F_X509_NAME_CANON 0
1357
+ # define X509_F_X509_NAME_ENTRY_CREATE_BY_NID 0
1358
+ # define X509_F_X509_NAME_ENTRY_CREATE_BY_TXT 0
1359
+ # define X509_F_X509_NAME_ENTRY_SET_OBJECT 0
1360
+ # define X509_F_X509_NAME_ONELINE 0
1361
+ # define X509_F_X509_NAME_PRINT 0
1362
+ # define X509_F_X509_OBJECT_NEW 0
1363
+ # define X509_F_X509_PRINT_EX_FP 0
1364
+ # define X509_F_X509_PUBKEY_DECODE 0
1365
+ # define X509_F_X509_PUBKEY_GET 0
1366
+ # define X509_F_X509_PUBKEY_GET0 0
1367
+ # define X509_F_X509_PUBKEY_SET 0
1368
+ # define X509_F_X509_REQ_CHECK_PRIVATE_KEY 0
1369
+ # define X509_F_X509_REQ_PRINT_EX 0
1370
+ # define X509_F_X509_REQ_PRINT_FP 0
1371
+ # define X509_F_X509_REQ_TO_X509 0
1372
+ # define X509_F_X509_STORE_ADD_CERT 0
1373
+ # define X509_F_X509_STORE_ADD_CRL 0
1374
+ # define X509_F_X509_STORE_ADD_LOOKUP 0
1375
+ # define X509_F_X509_STORE_CTX_GET1_ISSUER 0
1376
+ # define X509_F_X509_STORE_CTX_INIT 0
1377
+ # define X509_F_X509_STORE_CTX_NEW 0
1378
+ # define X509_F_X509_STORE_CTX_PURPOSE_INHERIT 0
1379
+ # define X509_F_X509_STORE_NEW 0
1380
+ # define X509_F_X509_TO_X509_REQ 0
1381
+ # define X509_F_X509_TRUST_ADD 0
1382
+ # define X509_F_X509_TRUST_SET 0
1383
+ # define X509_F_X509_VERIFY_CERT 0
1384
+ # define X509_F_X509_VERIFY_PARAM_NEW 0
1385
+
1386
+ /*
1387
+ * X509V3 function codes.
1388
+ */
1389
+ # define X509V3_F_A2I_GENERAL_NAME 0
1390
+ # define X509V3_F_ADDR_VALIDATE_PATH_INTERNAL 0
1391
+ # define X509V3_F_ASIDENTIFIERCHOICE_CANONIZE 0
1392
+ # define X509V3_F_ASIDENTIFIERCHOICE_IS_CANONICAL 0
1393
+ # define X509V3_F_BIGNUM_TO_STRING 0
1394
+ # define X509V3_F_COPY_EMAIL 0
1395
+ # define X509V3_F_COPY_ISSUER 0
1396
+ # define X509V3_F_DO_DIRNAME 0
1397
+ # define X509V3_F_DO_EXT_I2D 0
1398
+ # define X509V3_F_DO_EXT_NCONF 0
1399
+ # define X509V3_F_GNAMES_FROM_SECTNAME 0
1400
+ # define X509V3_F_I2S_ASN1_ENUMERATED 0
1401
+ # define X509V3_F_I2S_ASN1_IA5STRING 0
1402
+ # define X509V3_F_I2S_ASN1_INTEGER 0
1403
+ # define X509V3_F_I2V_AUTHORITY_INFO_ACCESS 0
1404
+ # define X509V3_F_LEVEL_ADD_NODE 0
1405
+ # define X509V3_F_NOTICE_SECTION 0
1406
+ # define X509V3_F_NREF_NOS 0
1407
+ # define X509V3_F_POLICY_CACHE_CREATE 0
1408
+ # define X509V3_F_POLICY_CACHE_NEW 0
1409
+ # define X509V3_F_POLICY_DATA_NEW 0
1410
+ # define X509V3_F_POLICY_SECTION 0
1411
+ # define X509V3_F_PROCESS_PCI_VALUE 0
1412
+ # define X509V3_F_R2I_CERTPOL 0
1413
+ # define X509V3_F_R2I_PCI 0
1414
+ # define X509V3_F_S2I_ASN1_IA5STRING 0
1415
+ # define X509V3_F_S2I_ASN1_INTEGER 0
1416
+ # define X509V3_F_S2I_ASN1_OCTET_STRING 0
1417
+ # define X509V3_F_S2I_SKEY_ID 0
1418
+ # define X509V3_F_SET_DIST_POINT_NAME 0
1419
+ # define X509V3_F_SXNET_ADD_ID_ASC 0
1420
+ # define X509V3_F_SXNET_ADD_ID_INTEGER 0
1421
+ # define X509V3_F_SXNET_ADD_ID_ULONG 0
1422
+ # define X509V3_F_SXNET_GET_ID_ASC 0
1423
+ # define X509V3_F_SXNET_GET_ID_ULONG 0
1424
+ # define X509V3_F_TREE_INIT 0
1425
+ # define X509V3_F_V2I_ASIDENTIFIERS 0
1426
+ # define X509V3_F_V2I_ASN1_BIT_STRING 0
1427
+ # define X509V3_F_V2I_AUTHORITY_INFO_ACCESS 0
1428
+ # define X509V3_F_V2I_AUTHORITY_KEYID 0
1429
+ # define X509V3_F_V2I_BASIC_CONSTRAINTS 0
1430
+ # define X509V3_F_V2I_CRLD 0
1431
+ # define X509V3_F_V2I_EXTENDED_KEY_USAGE 0
1432
+ # define X509V3_F_V2I_GENERAL_NAMES 0
1433
+ # define X509V3_F_V2I_GENERAL_NAME_EX 0
1434
+ # define X509V3_F_V2I_IDP 0
1435
+ # define X509V3_F_V2I_IPADDRBLOCKS 0
1436
+ # define X509V3_F_V2I_ISSUER_ALT 0
1437
+ # define X509V3_F_V2I_NAME_CONSTRAINTS 0
1438
+ # define X509V3_F_V2I_POLICY_CONSTRAINTS 0
1439
+ # define X509V3_F_V2I_POLICY_MAPPINGS 0
1440
+ # define X509V3_F_V2I_SUBJECT_ALT 0
1441
+ # define X509V3_F_V2I_TLS_FEATURE 0
1442
+ # define X509V3_F_V3_GENERIC_EXTENSION 0
1443
+ # define X509V3_F_X509V3_ADD1_I2D 0
1444
+ # define X509V3_F_X509V3_ADD_VALUE 0
1445
+ # define X509V3_F_X509V3_EXT_ADD 0
1446
+ # define X509V3_F_X509V3_EXT_ADD_ALIAS 0
1447
+ # define X509V3_F_X509V3_EXT_I2D 0
1448
+ # define X509V3_F_X509V3_EXT_NCONF 0
1449
+ # define X509V3_F_X509V3_GET_SECTION 0
1450
+ # define X509V3_F_X509V3_GET_STRING 0
1451
+ # define X509V3_F_X509V3_GET_VALUE_BOOL 0
1452
+ # define X509V3_F_X509V3_PARSE_LIST 0
1453
+ # define X509V3_F_X509_PURPOSE_ADD 0
1454
+ # define X509V3_F_X509_PURPOSE_SET 0
1455
+
1456
+ /*
1457
+ * Compatibility defines.
1458
+ */
1459
+ # define EVP_R_OPERATON_NOT_INITIALIZED EVP_R_OPERATION_NOT_INITIALIZED
1460
+
1461
+ # endif
1462
+
1463
+ # ifdef __cplusplus
1464
+ }
1465
+ # endif
1466
+ #endif
janus/include/openssl/cterr.h ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Generated by util/mkerr.pl DO NOT EDIT
3
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_CTERR_H
12
+ # define OPENSSL_CTERR_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+ # include <openssl/symhacks.h>
17
+ # include <openssl/cryptoerr_legacy.h>
18
+
19
+
20
+ # ifndef OPENSSL_NO_CT
21
+
22
+
23
+ /*
24
+ * CT reason codes.
25
+ */
26
+ # define CT_R_BASE64_DECODE_ERROR 108
27
+ # define CT_R_INVALID_LOG_ID_LENGTH 100
28
+ # define CT_R_LOG_CONF_INVALID 109
29
+ # define CT_R_LOG_CONF_INVALID_KEY 110
30
+ # define CT_R_LOG_CONF_MISSING_DESCRIPTION 111
31
+ # define CT_R_LOG_CONF_MISSING_KEY 112
32
+ # define CT_R_LOG_KEY_INVALID 113
33
+ # define CT_R_SCT_FUTURE_TIMESTAMP 116
34
+ # define CT_R_SCT_INVALID 104
35
+ # define CT_R_SCT_INVALID_SIGNATURE 107
36
+ # define CT_R_SCT_LIST_INVALID 105
37
+ # define CT_R_SCT_LOG_ID_MISMATCH 114
38
+ # define CT_R_SCT_NOT_SET 106
39
+ # define CT_R_SCT_UNSUPPORTED_VERSION 115
40
+ # define CT_R_UNRECOGNIZED_SIGNATURE_NID 101
41
+ # define CT_R_UNSUPPORTED_ENTRY_TYPE 102
42
+ # define CT_R_UNSUPPORTED_VERSION 103
43
+
44
+ # endif
45
+ #endif
janus/include/openssl/des.h ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_DES_H
11
+ # define OPENSSL_DES_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_DES_H
17
+ # endif
18
+
19
+ # include <openssl/opensslconf.h>
20
+
21
+ # ifndef OPENSSL_NO_DES
22
+ # ifdef __cplusplus
23
+ extern "C" {
24
+ # endif
25
+ # include <openssl/e_os2.h>
26
+
27
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
28
+ typedef unsigned int DES_LONG;
29
+
30
+ # ifdef OPENSSL_BUILD_SHLIBCRYPTO
31
+ # undef OPENSSL_EXTERN
32
+ # define OPENSSL_EXTERN OPENSSL_EXPORT
33
+ # endif
34
+
35
+ typedef unsigned char DES_cblock[8];
36
+ typedef /* const */ unsigned char const_DES_cblock[8];
37
+ /*
38
+ * With "const", gcc 2.8.1 on Solaris thinks that DES_cblock * and
39
+ * const_DES_cblock * are incompatible pointer types.
40
+ */
41
+
42
+ typedef struct DES_ks {
43
+ union {
44
+ DES_cblock cblock;
45
+ /*
46
+ * make sure things are correct size on machines with 8 byte longs
47
+ */
48
+ DES_LONG deslong[2];
49
+ } ks[16];
50
+ } DES_key_schedule;
51
+
52
+ # define DES_KEY_SZ (sizeof(DES_cblock))
53
+ # define DES_SCHEDULE_SZ (sizeof(DES_key_schedule))
54
+
55
+ # define DES_ENCRYPT 1
56
+ # define DES_DECRYPT 0
57
+
58
+ # define DES_CBC_MODE 0
59
+ # define DES_PCBC_MODE 1
60
+
61
+ # define DES_ecb2_encrypt(i,o,k1,k2,e) \
62
+ DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
63
+
64
+ # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
65
+ DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
66
+
67
+ # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
68
+ DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
69
+
70
+ # define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
71
+ DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
72
+
73
+ # define DES_fixup_key_parity DES_set_odd_parity
74
+ # endif
75
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
76
+ OSSL_DEPRECATEDIN_3_0 const char *DES_options(void);
77
+ OSSL_DEPRECATEDIN_3_0
78
+ void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
79
+ DES_key_schedule *ks1, DES_key_schedule *ks2,
80
+ DES_key_schedule *ks3, int enc);
81
+ OSSL_DEPRECATEDIN_3_0
82
+ DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output,
83
+ long length, DES_key_schedule *schedule,
84
+ const_DES_cblock *ivec);
85
+ # endif
86
+ /* DES_cbc_encrypt does not update the IV! Use DES_ncbc_encrypt instead. */
87
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
88
+ OSSL_DEPRECATEDIN_3_0
89
+ void DES_cbc_encrypt(const unsigned char *input, unsigned char *output,
90
+ long length, DES_key_schedule *schedule, DES_cblock *ivec,
91
+ int enc);
92
+ OSSL_DEPRECATEDIN_3_0
93
+ void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output,
94
+ long length, DES_key_schedule *schedule, DES_cblock *ivec,
95
+ int enc);
96
+ OSSL_DEPRECATEDIN_3_0
97
+ void DES_xcbc_encrypt(const unsigned char *input, unsigned char *output,
98
+ long length, DES_key_schedule *schedule, DES_cblock *ivec,
99
+ const_DES_cblock *inw, const_DES_cblock *outw, int enc);
100
+ OSSL_DEPRECATEDIN_3_0
101
+ void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
102
+ long length, DES_key_schedule *schedule, DES_cblock *ivec,
103
+ int enc);
104
+ OSSL_DEPRECATEDIN_3_0
105
+ void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
106
+ DES_key_schedule *ks, int enc);
107
+ # endif
108
+
109
+ /*
110
+ * This is the DES encryption function that gets called by just about every
111
+ * other DES routine in the library. You should not use this function except
112
+ * to implement 'modes' of DES. I say this because the functions that call
113
+ * this routine do the conversion from 'char *' to long, and this needs to be
114
+ * done to make sure 'non-aligned' memory access do not occur. The
115
+ * characters are loaded 'little endian'. Data is a pointer to 2 unsigned
116
+ * long's and ks is the DES_key_schedule to use. enc, is non zero specifies
117
+ * encryption, zero if decryption.
118
+ */
119
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
120
+ OSSL_DEPRECATEDIN_3_0
121
+ void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc);
122
+ # endif
123
+
124
+ /*
125
+ * This functions is the same as DES_encrypt1() except that the DES initial
126
+ * permutation (IP) and final permutation (FP) have been left out. As for
127
+ * DES_encrypt1(), you should not use this function. It is used by the
128
+ * routines in the library that implement triple DES. IP() DES_encrypt2()
129
+ * DES_encrypt2() DES_encrypt2() FP() is the same as DES_encrypt1()
130
+ * DES_encrypt1() DES_encrypt1() except faster :-).
131
+ */
132
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
133
+ OSSL_DEPRECATEDIN_3_0
134
+ void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc);
135
+ OSSL_DEPRECATEDIN_3_0
136
+ void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2,
137
+ DES_key_schedule *ks3);
138
+ OSSL_DEPRECATEDIN_3_0
139
+ void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2,
140
+ DES_key_schedule *ks3);
141
+ OSSL_DEPRECATEDIN_3_0
142
+ void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output,
143
+ long length, DES_key_schedule *ks1,
144
+ DES_key_schedule *ks2, DES_key_schedule *ks3,
145
+ DES_cblock *ivec, int enc);
146
+ OSSL_DEPRECATEDIN_3_0
147
+ void DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out,
148
+ long length, DES_key_schedule *ks1,
149
+ DES_key_schedule *ks2, DES_key_schedule *ks3,
150
+ DES_cblock *ivec, int *num, int enc);
151
+ OSSL_DEPRECATEDIN_3_0
152
+ void DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out,
153
+ int numbits, long length, DES_key_schedule *ks1,
154
+ DES_key_schedule *ks2, DES_key_schedule *ks3,
155
+ DES_cblock *ivec, int enc);
156
+ OSSL_DEPRECATEDIN_3_0
157
+ void DES_ede3_ofb64_encrypt(const unsigned char *in, unsigned char *out,
158
+ long length, DES_key_schedule *ks1,
159
+ DES_key_schedule *ks2, DES_key_schedule *ks3,
160
+ DES_cblock *ivec, int *num);
161
+ OSSL_DEPRECATEDIN_3_0
162
+ char *DES_fcrypt(const char *buf, const char *salt, char *ret);
163
+ OSSL_DEPRECATEDIN_3_0
164
+ char *DES_crypt(const char *buf, const char *salt);
165
+ OSSL_DEPRECATEDIN_3_0
166
+ void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
167
+ long length, DES_key_schedule *schedule, DES_cblock *ivec);
168
+ OSSL_DEPRECATEDIN_3_0
169
+ void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output,
170
+ long length, DES_key_schedule *schedule,
171
+ DES_cblock *ivec, int enc);
172
+ OSSL_DEPRECATEDIN_3_0
173
+ DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[],
174
+ long length, int out_count, DES_cblock *seed);
175
+ OSSL_DEPRECATEDIN_3_0 int DES_random_key(DES_cblock *ret);
176
+ OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key);
177
+ OSSL_DEPRECATEDIN_3_0 int DES_check_key_parity(const_DES_cblock *key);
178
+ OSSL_DEPRECATEDIN_3_0 int DES_is_weak_key(const_DES_cblock *key);
179
+ # endif
180
+ /*
181
+ * DES_set_key (= set_key = DES_key_sched = key_sched) calls
182
+ * DES_set_key_checked
183
+ */
184
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
185
+ OSSL_DEPRECATEDIN_3_0
186
+ int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule);
187
+ OSSL_DEPRECATEDIN_3_0
188
+ int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule);
189
+ OSSL_DEPRECATEDIN_3_0
190
+ int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule);
191
+ OSSL_DEPRECATEDIN_3_0
192
+ void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule);
193
+ OSSL_DEPRECATEDIN_3_0 void DES_string_to_key(const char *str, DES_cblock *key);
194
+ OSSL_DEPRECATEDIN_3_0
195
+ void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2);
196
+ OSSL_DEPRECATEDIN_3_0
197
+ void DES_cfb64_encrypt(const unsigned char *in, unsigned char *out,
198
+ long length, DES_key_schedule *schedule,
199
+ DES_cblock *ivec, int *num, int enc);
200
+ OSSL_DEPRECATEDIN_3_0
201
+ void DES_ofb64_encrypt(const unsigned char *in, unsigned char *out,
202
+ long length, DES_key_schedule *schedule,
203
+ DES_cblock *ivec, int *num);
204
+ # endif
205
+
206
+ # ifdef __cplusplus
207
+ }
208
+ # endif
209
+ # endif
210
+
211
+ #endif
janus/include/openssl/dh.h ADDED
@@ -0,0 +1,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_DH_H
11
+ # define OPENSSL_DH_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_DH_H
17
+ # endif
18
+
19
+ # include <openssl/opensslconf.h>
20
+ # include <openssl/types.h>
21
+
22
+ # ifdef __cplusplus
23
+ extern "C" {
24
+ # endif
25
+
26
+ #include <stdlib.h>
27
+
28
+ /* DH parameter generation types used by EVP_PKEY_CTX_set_dh_paramgen_type() */
29
+ # define DH_PARAMGEN_TYPE_GENERATOR 0 /* Use a safe prime generator */
30
+ # define DH_PARAMGEN_TYPE_FIPS_186_2 1 /* Use FIPS186-2 standard */
31
+ # define DH_PARAMGEN_TYPE_FIPS_186_4 2 /* Use FIPS186-4 standard */
32
+ # define DH_PARAMGEN_TYPE_GROUP 3 /* Use a named safe prime group */
33
+
34
+ int EVP_PKEY_CTX_set_dh_paramgen_type(EVP_PKEY_CTX *ctx, int typ);
35
+ int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex);
36
+ int EVP_PKEY_CTX_set_dh_paramgen_seed(EVP_PKEY_CTX *ctx,
37
+ const unsigned char *seed,
38
+ size_t seedlen);
39
+ int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits);
40
+ int EVP_PKEY_CTX_set_dh_paramgen_subprime_len(EVP_PKEY_CTX *ctx, int qlen);
41
+ int EVP_PKEY_CTX_set_dh_paramgen_generator(EVP_PKEY_CTX *ctx, int gen);
42
+ int EVP_PKEY_CTX_set_dh_nid(EVP_PKEY_CTX *ctx, int nid);
43
+ int EVP_PKEY_CTX_set_dh_rfc5114(EVP_PKEY_CTX *ctx, int gen);
44
+ int EVP_PKEY_CTX_set_dhx_rfc5114(EVP_PKEY_CTX *ctx, int gen);
45
+ int EVP_PKEY_CTX_set_dh_pad(EVP_PKEY_CTX *ctx, int pad);
46
+
47
+ int EVP_PKEY_CTX_set_dh_kdf_type(EVP_PKEY_CTX *ctx, int kdf);
48
+ int EVP_PKEY_CTX_get_dh_kdf_type(EVP_PKEY_CTX *ctx);
49
+ int EVP_PKEY_CTX_set0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT *oid);
50
+ int EVP_PKEY_CTX_get0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT **oid);
51
+ int EVP_PKEY_CTX_set_dh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
52
+ int EVP_PKEY_CTX_get_dh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
53
+ int EVP_PKEY_CTX_set_dh_kdf_outlen(EVP_PKEY_CTX *ctx, int len);
54
+ int EVP_PKEY_CTX_get_dh_kdf_outlen(EVP_PKEY_CTX *ctx, int *len);
55
+ int EVP_PKEY_CTX_set0_dh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char *ukm, int len);
56
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
57
+ OSSL_DEPRECATEDIN_3_0
58
+ int EVP_PKEY_CTX_get0_dh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char **ukm);
59
+ #endif
60
+
61
+ # define EVP_PKEY_CTRL_DH_PARAMGEN_PRIME_LEN (EVP_PKEY_ALG_CTRL + 1)
62
+ # define EVP_PKEY_CTRL_DH_PARAMGEN_GENERATOR (EVP_PKEY_ALG_CTRL + 2)
63
+ # define EVP_PKEY_CTRL_DH_RFC5114 (EVP_PKEY_ALG_CTRL + 3)
64
+ # define EVP_PKEY_CTRL_DH_PARAMGEN_SUBPRIME_LEN (EVP_PKEY_ALG_CTRL + 4)
65
+ # define EVP_PKEY_CTRL_DH_PARAMGEN_TYPE (EVP_PKEY_ALG_CTRL + 5)
66
+ # define EVP_PKEY_CTRL_DH_KDF_TYPE (EVP_PKEY_ALG_CTRL + 6)
67
+ # define EVP_PKEY_CTRL_DH_KDF_MD (EVP_PKEY_ALG_CTRL + 7)
68
+ # define EVP_PKEY_CTRL_GET_DH_KDF_MD (EVP_PKEY_ALG_CTRL + 8)
69
+ # define EVP_PKEY_CTRL_DH_KDF_OUTLEN (EVP_PKEY_ALG_CTRL + 9)
70
+ # define EVP_PKEY_CTRL_GET_DH_KDF_OUTLEN (EVP_PKEY_ALG_CTRL + 10)
71
+ # define EVP_PKEY_CTRL_DH_KDF_UKM (EVP_PKEY_ALG_CTRL + 11)
72
+ # define EVP_PKEY_CTRL_GET_DH_KDF_UKM (EVP_PKEY_ALG_CTRL + 12)
73
+ # define EVP_PKEY_CTRL_DH_KDF_OID (EVP_PKEY_ALG_CTRL + 13)
74
+ # define EVP_PKEY_CTRL_GET_DH_KDF_OID (EVP_PKEY_ALG_CTRL + 14)
75
+ # define EVP_PKEY_CTRL_DH_NID (EVP_PKEY_ALG_CTRL + 15)
76
+ # define EVP_PKEY_CTRL_DH_PAD (EVP_PKEY_ALG_CTRL + 16)
77
+
78
+ /* KDF types */
79
+ # define EVP_PKEY_DH_KDF_NONE 1
80
+ # define EVP_PKEY_DH_KDF_X9_42 2
81
+
82
+ # ifndef OPENSSL_NO_DH
83
+ # include <openssl/e_os2.h>
84
+ # include <openssl/bio.h>
85
+ # include <openssl/asn1.h>
86
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
87
+ # include <openssl/bn.h>
88
+ # endif
89
+ # include <openssl/dherr.h>
90
+
91
+ # ifndef OPENSSL_DH_MAX_MODULUS_BITS
92
+ # define OPENSSL_DH_MAX_MODULUS_BITS 10000
93
+ # endif
94
+
95
+ # ifndef OPENSSL_DH_CHECK_MAX_MODULUS_BITS
96
+ # define OPENSSL_DH_CHECK_MAX_MODULUS_BITS 32768
97
+ # endif
98
+
99
+ # define OPENSSL_DH_FIPS_MIN_MODULUS_BITS 1024
100
+
101
+ # define DH_FLAG_CACHE_MONT_P 0x01
102
+
103
+ # define DH_FLAG_TYPE_MASK 0xF000
104
+ # define DH_FLAG_TYPE_DH 0x0000
105
+ # define DH_FLAG_TYPE_DHX 0x1000
106
+
107
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
108
+ /*
109
+ * Does nothing. Previously this switched off constant time behaviour.
110
+ */
111
+ # define DH_FLAG_NO_EXP_CONSTTIME 0x00
112
+ # endif
113
+
114
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
115
+ /*
116
+ * If this flag is set the DH method is FIPS compliant and can be used in
117
+ * FIPS mode. This is set in the validated module method. If an application
118
+ * sets this flag in its own methods it is its responsibility to ensure the
119
+ * result is compliant.
120
+ */
121
+
122
+ # define DH_FLAG_FIPS_METHOD 0x0400
123
+
124
+ /*
125
+ * If this flag is set the operations normally disabled in FIPS mode are
126
+ * permitted it is then the applications responsibility to ensure that the
127
+ * usage is compliant.
128
+ */
129
+
130
+ # define DH_FLAG_NON_FIPS_ALLOW 0x0400
131
+ # endif
132
+
133
+ /* Already defined in ossl_typ.h */
134
+ /* typedef struct dh_st DH; */
135
+ /* typedef struct dh_method DH_METHOD; */
136
+
137
+ DECLARE_ASN1_ITEM(DHparams)
138
+
139
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
140
+ # define DH_GENERATOR_2 2
141
+ # define DH_GENERATOR_3 3
142
+ # define DH_GENERATOR_5 5
143
+
144
+ /* DH_check error codes, some of them shared with DH_check_pub_key */
145
+ /*
146
+ * NB: These values must align with the equivalently named macros in
147
+ * internal/ffc.h.
148
+ */
149
+ # define DH_CHECK_P_NOT_PRIME 0x01
150
+ # define DH_CHECK_P_NOT_SAFE_PRIME 0x02
151
+ # define DH_UNABLE_TO_CHECK_GENERATOR 0x04
152
+ # define DH_NOT_SUITABLE_GENERATOR 0x08
153
+ # define DH_CHECK_Q_NOT_PRIME 0x10
154
+ # define DH_CHECK_INVALID_Q_VALUE 0x20 /* +DH_check_pub_key */
155
+ # define DH_CHECK_INVALID_J_VALUE 0x40
156
+ # define DH_MODULUS_TOO_SMALL 0x80
157
+ # define DH_MODULUS_TOO_LARGE 0x100 /* +DH_check_pub_key */
158
+
159
+ /* DH_check_pub_key error codes */
160
+ # define DH_CHECK_PUBKEY_TOO_SMALL 0x01
161
+ # define DH_CHECK_PUBKEY_TOO_LARGE 0x02
162
+ # define DH_CHECK_PUBKEY_INVALID 0x04
163
+
164
+ /*
165
+ * primes p where (p-1)/2 is prime too are called "safe"; we define this for
166
+ * backward compatibility:
167
+ */
168
+ # define DH_CHECK_P_NOT_STRONG_PRIME DH_CHECK_P_NOT_SAFE_PRIME
169
+
170
+ # define d2i_DHparams_fp(fp, x) \
171
+ (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
172
+ (char *(*)())d2i_DHparams, \
173
+ (fp), \
174
+ (unsigned char **)(x))
175
+ # define i2d_DHparams_fp(fp, x) \
176
+ ASN1_i2d_fp(i2d_DHparams,(fp), (unsigned char *)(x))
177
+ # define d2i_DHparams_bio(bp, x) \
178
+ ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x)
179
+ # define i2d_DHparams_bio(bp, x) \
180
+ ASN1_i2d_bio_of(DH, i2d_DHparams, bp, x)
181
+
182
+ # define d2i_DHxparams_fp(fp,x) \
183
+ (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
184
+ (char *(*)())d2i_DHxparams, \
185
+ (fp), \
186
+ (unsigned char **)(x))
187
+ # define i2d_DHxparams_fp(fp, x) \
188
+ ASN1_i2d_fp(i2d_DHxparams,(fp), (unsigned char *)(x))
189
+ # define d2i_DHxparams_bio(bp, x) \
190
+ ASN1_d2i_bio_of(DH, DH_new, d2i_DHxparams, bp, x)
191
+ # define i2d_DHxparams_bio(bp, x) \
192
+ ASN1_i2d_bio_of(DH, i2d_DHxparams, bp, x)
193
+
194
+ DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
195
+
196
+ OSSL_DEPRECATEDIN_3_0 const DH_METHOD *DH_OpenSSL(void);
197
+
198
+ OSSL_DEPRECATEDIN_3_0 void DH_set_default_method(const DH_METHOD *meth);
199
+ OSSL_DEPRECATEDIN_3_0 const DH_METHOD *DH_get_default_method(void);
200
+ OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth);
201
+ OSSL_DEPRECATEDIN_3_0 DH *DH_new_method(ENGINE *engine);
202
+
203
+ OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
204
+ OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
205
+ OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH *dh);
206
+ OSSL_DEPRECATEDIN_3_0 int DH_bits(const DH *dh);
207
+ OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh);
208
+ OSSL_DEPRECATEDIN_3_0 int DH_security_bits(const DH *dh);
209
+
210
+ # define DH_get_ex_new_index(l, p, newf, dupf, freef) \
211
+ CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DH, l, p, newf, dupf, freef)
212
+
213
+ OSSL_DEPRECATEDIN_3_0 int DH_set_ex_data(DH *d, int idx, void *arg);
214
+ OSSL_DEPRECATEDIN_3_0 void *DH_get_ex_data(const DH *d, int idx);
215
+
216
+ OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len,
217
+ int generator,
218
+ BN_GENCB *cb);
219
+
220
+ OSSL_DEPRECATEDIN_3_0 int DH_check_params_ex(const DH *dh);
221
+ OSSL_DEPRECATEDIN_3_0 int DH_check_ex(const DH *dh);
222
+ OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key);
223
+ OSSL_DEPRECATEDIN_3_0 int DH_check_params(const DH *dh, int *ret);
224
+ OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes);
225
+ OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key,
226
+ int *codes);
227
+ OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
228
+ OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
229
+ const BIGNUM *pub_key, DH *dh);
230
+ OSSL_DEPRECATEDIN_3_0 int DH_compute_key_padded(unsigned char *key,
231
+ const BIGNUM *pub_key, DH *dh);
232
+
233
+ DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
234
+ DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHxparams)
235
+
236
+ # ifndef OPENSSL_NO_STDIO
237
+ OSSL_DEPRECATEDIN_3_0 int DHparams_print_fp(FILE *fp, const DH *x);
238
+ # endif
239
+ OSSL_DEPRECATEDIN_3_0 int DHparams_print(BIO *bp, const DH *x);
240
+
241
+ /* RFC 5114 parameters */
242
+ OSSL_DEPRECATEDIN_3_0 DH *DH_get_1024_160(void);
243
+ OSSL_DEPRECATEDIN_3_0 DH *DH_get_2048_224(void);
244
+ OSSL_DEPRECATEDIN_3_0 DH *DH_get_2048_256(void);
245
+
246
+ /* Named parameters, currently RFC7919 and RFC3526 */
247
+ OSSL_DEPRECATEDIN_3_0 DH *DH_new_by_nid(int nid);
248
+ OSSL_DEPRECATEDIN_3_0 int DH_get_nid(const DH *dh);
249
+
250
+ /* RFC2631 KDF */
251
+ OSSL_DEPRECATEDIN_3_0 int DH_KDF_X9_42(unsigned char *out, size_t outlen,
252
+ const unsigned char *Z, size_t Zlen,
253
+ ASN1_OBJECT *key_oid,
254
+ const unsigned char *ukm,
255
+ size_t ukmlen, const EVP_MD *md);
256
+
257
+ OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
258
+ const BIGNUM **q, const BIGNUM **g);
259
+ OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
260
+ OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
261
+ const BIGNUM **priv_key);
262
+ OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
263
+ OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_p(const DH *dh);
264
+ OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_q(const DH *dh);
265
+ OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_g(const DH *dh);
266
+ OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_priv_key(const DH *dh);
267
+ OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_pub_key(const DH *dh);
268
+ OSSL_DEPRECATEDIN_3_0 void DH_clear_flags(DH *dh, int flags);
269
+ OSSL_DEPRECATEDIN_3_0 int DH_test_flags(const DH *dh, int flags);
270
+ OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags);
271
+ OSSL_DEPRECATEDIN_3_0 ENGINE *DH_get0_engine(DH *d);
272
+ OSSL_DEPRECATEDIN_3_0 long DH_get_length(const DH *dh);
273
+ OSSL_DEPRECATEDIN_3_0 int DH_set_length(DH *dh, long length);
274
+
275
+ OSSL_DEPRECATEDIN_3_0 DH_METHOD *DH_meth_new(const char *name, int flags);
276
+ OSSL_DEPRECATEDIN_3_0 void DH_meth_free(DH_METHOD *dhm);
277
+ OSSL_DEPRECATEDIN_3_0 DH_METHOD *DH_meth_dup(const DH_METHOD *dhm);
278
+ OSSL_DEPRECATEDIN_3_0 const char *DH_meth_get0_name(const DH_METHOD *dhm);
279
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set1_name(DH_METHOD *dhm, const char *name);
280
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_get_flags(const DH_METHOD *dhm);
281
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set_flags(DH_METHOD *dhm, int flags);
282
+ OSSL_DEPRECATEDIN_3_0 void *DH_meth_get0_app_data(const DH_METHOD *dhm);
283
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set0_app_data(DH_METHOD *dhm, void *app_data);
284
+ OSSL_DEPRECATEDIN_3_0 int (*DH_meth_get_generate_key(const DH_METHOD *dhm)) (DH *);
285
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set_generate_key(DH_METHOD *dhm,
286
+ int (*generate_key) (DH *));
287
+ OSSL_DEPRECATEDIN_3_0 int (*DH_meth_get_compute_key(const DH_METHOD *dhm))
288
+ (unsigned char *key,
289
+ const BIGNUM *pub_key,
290
+ DH *dh);
291
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set_compute_key(DH_METHOD *dhm,
292
+ int (*compute_key)
293
+ (unsigned char *key,
294
+ const BIGNUM *pub_key,
295
+ DH *dh));
296
+ OSSL_DEPRECATEDIN_3_0 int (*DH_meth_get_bn_mod_exp(const DH_METHOD *dhm))
297
+ (const DH *, BIGNUM *,
298
+ const BIGNUM *,
299
+ const BIGNUM *,
300
+ const BIGNUM *, BN_CTX *,
301
+ BN_MONT_CTX *);
302
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set_bn_mod_exp(DH_METHOD *dhm,
303
+ int (*bn_mod_exp)
304
+ (const DH *, BIGNUM *,
305
+ const BIGNUM *, const BIGNUM *,
306
+ const BIGNUM *, BN_CTX *,
307
+ BN_MONT_CTX *));
308
+ OSSL_DEPRECATEDIN_3_0 int (*DH_meth_get_init(const DH_METHOD *dhm))(DH *);
309
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set_init(DH_METHOD *dhm, int (*init)(DH *));
310
+ OSSL_DEPRECATEDIN_3_0 int (*DH_meth_get_finish(const DH_METHOD *dhm)) (DH *);
311
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set_finish(DH_METHOD *dhm, int (*finish) (DH *));
312
+ OSSL_DEPRECATEDIN_3_0 int (*DH_meth_get_generate_params(const DH_METHOD *dhm))
313
+ (DH *, int, int,
314
+ BN_GENCB *);
315
+ OSSL_DEPRECATEDIN_3_0 int DH_meth_set_generate_params(DH_METHOD *dhm,
316
+ int (*generate_params)
317
+ (DH *, int, int,
318
+ BN_GENCB *));
319
+ # endif /* OPENSSL_NO_DEPRECATED_3_0 */
320
+
321
+ # ifndef OPENSSL_NO_DEPRECATED_0_9_8
322
+ OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator,
323
+ void (*callback) (int, int,
324
+ void *),
325
+ void *cb_arg);
326
+ # endif
327
+
328
+ # endif
329
+ # ifdef __cplusplus
330
+ }
331
+ # endif
332
+ #endif
janus/include/openssl/dtls1.h ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2005-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_DTLS1_H
11
+ # define OPENSSL_DTLS1_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_DTLS1_H
17
+ # endif
18
+
19
+ # include <openssl/prov_ssl.h>
20
+
21
+ #ifdef __cplusplus
22
+ extern "C" {
23
+ #endif
24
+
25
+ #include <openssl/opensslconf.h>
26
+
27
+ /* DTLS*_VERSION constants are defined in prov_ssl.h */
28
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
29
+ # define DTLS_MIN_VERSION DTLS1_VERSION
30
+ # define DTLS_MAX_VERSION DTLS1_2_VERSION
31
+ # endif
32
+ # define DTLS1_VERSION_MAJOR 0xFE
33
+
34
+ /* Special value for method supporting multiple versions */
35
+ # define DTLS_ANY_VERSION 0x1FFFF
36
+
37
+ /* lengths of messages */
38
+
39
+ # define DTLS1_COOKIE_LENGTH 255
40
+
41
+ # define DTLS1_RT_HEADER_LENGTH 13
42
+
43
+ # define DTLS1_HM_HEADER_LENGTH 12
44
+
45
+ # define DTLS1_HM_BAD_FRAGMENT -2
46
+ # define DTLS1_HM_FRAGMENT_RETRY -3
47
+
48
+ # define DTLS1_CCS_HEADER_LENGTH 1
49
+
50
+ # define DTLS1_AL_HEADER_LENGTH 2
51
+
52
+ # define DTLS1_TMO_ALERT_COUNT 12
53
+
54
+ #ifdef __cplusplus
55
+ }
56
+ #endif
57
+ #endif
janus/include/openssl/ebcdic.h ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_EBCDIC_H
11
+ # define OPENSSL_EBCDIC_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_EBCDIC_H
17
+ # endif
18
+
19
+ # include <stdlib.h>
20
+
21
+ #ifdef __cplusplus
22
+ extern "C" {
23
+ #endif
24
+
25
+ /* Avoid name clashes with other applications */
26
+ # define os_toascii _openssl_os_toascii
27
+ # define os_toebcdic _openssl_os_toebcdic
28
+ # define ebcdic2ascii _openssl_ebcdic2ascii
29
+ # define ascii2ebcdic _openssl_ascii2ebcdic
30
+
31
+ extern const unsigned char os_toascii[256];
32
+ extern const unsigned char os_toebcdic[256];
33
+ void *ebcdic2ascii(void *dest, const void *srce, size_t count);
34
+ void *ascii2ebcdic(void *dest, const void *srce, size_t count);
35
+
36
+ #ifdef __cplusplus
37
+ }
38
+ #endif
39
+ #endif
janus/include/openssl/encodererr.h ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Generated by util/mkerr.pl DO NOT EDIT
3
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_ENCODERERR_H
12
+ # define OPENSSL_ENCODERERR_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+ # include <openssl/symhacks.h>
17
+ # include <openssl/cryptoerr_legacy.h>
18
+
19
+
20
+
21
+ /*
22
+ * OSSL_ENCODER reason codes.
23
+ */
24
+ # define OSSL_ENCODER_R_ENCODER_NOT_FOUND 101
25
+ # define OSSL_ENCODER_R_INCORRECT_PROPERTY_QUERY 100
26
+ # define OSSL_ENCODER_R_MISSING_GET_PARAMS 102
27
+
28
+ #endif
janus/include/openssl/http.h ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ * Copyright Siemens AG 2018-2020
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_HTTP_H
12
+ # define OPENSSL_HTTP_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+
17
+ # include <openssl/bio.h>
18
+ # include <openssl/asn1.h>
19
+ # include <openssl/conf.h>
20
+
21
+
22
+ # ifdef __cplusplus
23
+ extern "C" {
24
+ # endif
25
+
26
+ # define OSSL_HTTP_NAME "http"
27
+ # define OSSL_HTTPS_NAME "https"
28
+ # define OSSL_HTTP_PREFIX OSSL_HTTP_NAME"://"
29
+ # define OSSL_HTTPS_PREFIX OSSL_HTTPS_NAME"://"
30
+ # define OSSL_HTTP_PORT "80"
31
+ # define OSSL_HTTPS_PORT "443"
32
+ # define OPENSSL_NO_PROXY "NO_PROXY"
33
+ # define OPENSSL_HTTP_PROXY "HTTP_PROXY"
34
+ # define OPENSSL_HTTPS_PROXY "HTTPS_PROXY"
35
+
36
+ # define OSSL_HTTP_DEFAULT_MAX_LINE_LEN (4 * 1024)
37
+ # define OSSL_HTTP_DEFAULT_MAX_RESP_LEN (100 * 1024)
38
+ # define OSSL_HTTP_DEFAULT_MAX_CRL_LEN (32 * 1024 * 1024)
39
+
40
+ /* Low-level HTTP API */
41
+ OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size);
42
+ void OSSL_HTTP_REQ_CTX_free(OSSL_HTTP_REQ_CTX *rctx);
43
+ int OSSL_HTTP_REQ_CTX_set_request_line(OSSL_HTTP_REQ_CTX *rctx, int method_POST,
44
+ const char *server, const char *port,
45
+ const char *path);
46
+ int OSSL_HTTP_REQ_CTX_add1_header(OSSL_HTTP_REQ_CTX *rctx,
47
+ const char *name, const char *value);
48
+ int OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx,
49
+ const char *content_type, int asn1,
50
+ int timeout, int keep_alive);
51
+ int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
52
+ const ASN1_ITEM *it, const ASN1_VALUE *req);
53
+ int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx);
54
+ int OSSL_HTTP_REQ_CTX_nbio_d2i(OSSL_HTTP_REQ_CTX *rctx,
55
+ ASN1_VALUE **pval, const ASN1_ITEM *it);
56
+ BIO *OSSL_HTTP_REQ_CTX_exchange(OSSL_HTTP_REQ_CTX *rctx);
57
+ BIO *OSSL_HTTP_REQ_CTX_get0_mem_bio(const OSSL_HTTP_REQ_CTX *rctx);
58
+ size_t OSSL_HTTP_REQ_CTX_get_resp_len(const OSSL_HTTP_REQ_CTX *rctx);
59
+ void OSSL_HTTP_REQ_CTX_set_max_response_length(OSSL_HTTP_REQ_CTX *rctx,
60
+ unsigned long len);
61
+ int OSSL_HTTP_is_alive(const OSSL_HTTP_REQ_CTX *rctx);
62
+
63
+ /* High-level HTTP API */
64
+ typedef BIO *(*OSSL_HTTP_bio_cb_t)(BIO *bio, void *arg, int connect, int detail);
65
+ OSSL_HTTP_REQ_CTX *OSSL_HTTP_open(const char *server, const char *port,
66
+ const char *proxy, const char *no_proxy,
67
+ int use_ssl, BIO *bio, BIO *rbio,
68
+ OSSL_HTTP_bio_cb_t bio_update_fn, void *arg,
69
+ int buf_size, int overall_timeout);
70
+ int OSSL_HTTP_proxy_connect(BIO *bio, const char *server, const char *port,
71
+ const char *proxyuser, const char *proxypass,
72
+ int timeout, BIO *bio_err, const char *prog);
73
+ int OSSL_HTTP_set1_request(OSSL_HTTP_REQ_CTX *rctx, const char *path,
74
+ const STACK_OF(CONF_VALUE) *headers,
75
+ const char *content_type, BIO *req,
76
+ const char *expected_content_type, int expect_asn1,
77
+ size_t max_resp_len, int timeout, int keep_alive);
78
+ BIO *OSSL_HTTP_exchange(OSSL_HTTP_REQ_CTX *rctx, char **redirection_url);
79
+ BIO *OSSL_HTTP_get(const char *url, const char *proxy, const char *no_proxy,
80
+ BIO *bio, BIO *rbio,
81
+ OSSL_HTTP_bio_cb_t bio_update_fn, void *arg,
82
+ int buf_size, const STACK_OF(CONF_VALUE) *headers,
83
+ const char *expected_content_type, int expect_asn1,
84
+ size_t max_resp_len, int timeout);
85
+ BIO *OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx,
86
+ const char *server, const char *port,
87
+ const char *path, int use_ssl,
88
+ const char *proxy, const char *no_proxy,
89
+ BIO *bio, BIO *rbio,
90
+ OSSL_HTTP_bio_cb_t bio_update_fn, void *arg,
91
+ int buf_size, const STACK_OF(CONF_VALUE) *headers,
92
+ const char *content_type, BIO *req,
93
+ const char *expected_content_type, int expect_asn1,
94
+ size_t max_resp_len, int timeout, int keep_alive);
95
+ int OSSL_HTTP_close(OSSL_HTTP_REQ_CTX *rctx, int ok);
96
+
97
+ /* Auxiliary functions */
98
+ int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost,
99
+ char **pport, int *pport_num,
100
+ char **ppath, char **pquery, char **pfrag);
101
+ int OSSL_HTTP_parse_url(const char *url, int *pssl, char **puser, char **phost,
102
+ char **pport, int *pport_num,
103
+ char **ppath, char **pquery, char **pfrag);
104
+ const char *OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy,
105
+ const char *server, int use_ssl);
106
+
107
+ # ifdef __cplusplus
108
+ }
109
+ # endif
110
+ #endif /* !defined(OPENSSL_HTTP_H) */
janus/include/openssl/httperr.h ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Generated by util/mkerr.pl DO NOT EDIT
3
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_HTTPERR_H
12
+ # define OPENSSL_HTTPERR_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+ # include <openssl/symhacks.h>
17
+ # include <openssl/cryptoerr_legacy.h>
18
+
19
+
20
+
21
+ /*
22
+ * HTTP reason codes.
23
+ */
24
+ # define HTTP_R_ASN1_LEN_EXCEEDS_MAX_RESP_LEN 108
25
+ # define HTTP_R_CONNECT_FAILURE 100
26
+ # define HTTP_R_ERROR_PARSING_ASN1_LENGTH 109
27
+ # define HTTP_R_ERROR_PARSING_CONTENT_LENGTH 119
28
+ # define HTTP_R_ERROR_PARSING_URL 101
29
+ # define HTTP_R_ERROR_RECEIVING 103
30
+ # define HTTP_R_ERROR_SENDING 102
31
+ # define HTTP_R_FAILED_READING_DATA 128
32
+ # define HTTP_R_HEADER_PARSE_ERROR 126
33
+ # define HTTP_R_INCONSISTENT_CONTENT_LENGTH 120
34
+ # define HTTP_R_INVALID_PORT_NUMBER 123
35
+ # define HTTP_R_INVALID_URL_PATH 125
36
+ # define HTTP_R_INVALID_URL_SCHEME 124
37
+ # define HTTP_R_MAX_RESP_LEN_EXCEEDED 117
38
+ # define HTTP_R_MISSING_ASN1_ENCODING 110
39
+ # define HTTP_R_MISSING_CONTENT_TYPE 121
40
+ # define HTTP_R_MISSING_REDIRECT_LOCATION 111
41
+ # define HTTP_R_RECEIVED_ERROR 105
42
+ # define HTTP_R_RECEIVED_WRONG_HTTP_VERSION 106
43
+ # define HTTP_R_REDIRECTION_FROM_HTTPS_TO_HTTP 112
44
+ # define HTTP_R_REDIRECTION_NOT_ENABLED 116
45
+ # define HTTP_R_RESPONSE_LINE_TOO_LONG 113
46
+ # define HTTP_R_RESPONSE_PARSE_ERROR 104
47
+ # define HTTP_R_RETRY_TIMEOUT 129
48
+ # define HTTP_R_SERVER_CANCELED_CONNECTION 127
49
+ # define HTTP_R_SOCK_NOT_SUPPORTED 122
50
+ # define HTTP_R_STATUS_CODE_UNSUPPORTED 114
51
+ # define HTTP_R_TLS_NOT_ENABLED 107
52
+ # define HTTP_R_TOO_MANY_REDIRECTIONS 115
53
+ # define HTTP_R_UNEXPECTED_CONTENT_TYPE 118
54
+
55
+ #endif
janus/include/openssl/kdf.h ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_KDF_H
11
+ # define OPENSSL_KDF_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_KDF_H
17
+ # endif
18
+
19
+ # include <stdarg.h>
20
+ # include <stddef.h>
21
+ # include <openssl/types.h>
22
+ # include <openssl/core.h>
23
+
24
+ # ifdef __cplusplus
25
+ extern "C" {
26
+ # endif
27
+
28
+ int EVP_KDF_up_ref(EVP_KDF *kdf);
29
+ void EVP_KDF_free(EVP_KDF *kdf);
30
+ EVP_KDF *EVP_KDF_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
31
+ const char *properties);
32
+
33
+ EVP_KDF_CTX *EVP_KDF_CTX_new(EVP_KDF *kdf);
34
+ void EVP_KDF_CTX_free(EVP_KDF_CTX *ctx);
35
+ EVP_KDF_CTX *EVP_KDF_CTX_dup(const EVP_KDF_CTX *src);
36
+ const char *EVP_KDF_get0_description(const EVP_KDF *kdf);
37
+ int EVP_KDF_is_a(const EVP_KDF *kdf, const char *name);
38
+ const char *EVP_KDF_get0_name(const EVP_KDF *kdf);
39
+ const OSSL_PROVIDER *EVP_KDF_get0_provider(const EVP_KDF *kdf);
40
+ const EVP_KDF *EVP_KDF_CTX_kdf(EVP_KDF_CTX *ctx);
41
+
42
+ void EVP_KDF_CTX_reset(EVP_KDF_CTX *ctx);
43
+ size_t EVP_KDF_CTX_get_kdf_size(EVP_KDF_CTX *ctx);
44
+ int EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen,
45
+ const OSSL_PARAM params[]);
46
+ int EVP_KDF_get_params(EVP_KDF *kdf, OSSL_PARAM params[]);
47
+ int EVP_KDF_CTX_get_params(EVP_KDF_CTX *ctx, OSSL_PARAM params[]);
48
+ int EVP_KDF_CTX_set_params(EVP_KDF_CTX *ctx, const OSSL_PARAM params[]);
49
+ const OSSL_PARAM *EVP_KDF_gettable_params(const EVP_KDF *kdf);
50
+ const OSSL_PARAM *EVP_KDF_gettable_ctx_params(const EVP_KDF *kdf);
51
+ const OSSL_PARAM *EVP_KDF_settable_ctx_params(const EVP_KDF *kdf);
52
+ const OSSL_PARAM *EVP_KDF_CTX_gettable_params(EVP_KDF_CTX *ctx);
53
+ const OSSL_PARAM *EVP_KDF_CTX_settable_params(EVP_KDF_CTX *ctx);
54
+
55
+ void EVP_KDF_do_all_provided(OSSL_LIB_CTX *libctx,
56
+ void (*fn)(EVP_KDF *kdf, void *arg),
57
+ void *arg);
58
+ int EVP_KDF_names_do_all(const EVP_KDF *kdf,
59
+ void (*fn)(const char *name, void *data),
60
+ void *data);
61
+
62
+ # define EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND 0
63
+ # define EVP_KDF_HKDF_MODE_EXTRACT_ONLY 1
64
+ # define EVP_KDF_HKDF_MODE_EXPAND_ONLY 2
65
+
66
+ #define EVP_KDF_SSHKDF_TYPE_INITIAL_IV_CLI_TO_SRV 65
67
+ #define EVP_KDF_SSHKDF_TYPE_INITIAL_IV_SRV_TO_CLI 66
68
+ #define EVP_KDF_SSHKDF_TYPE_ENCRYPTION_KEY_CLI_TO_SRV 67
69
+ #define EVP_KDF_SSHKDF_TYPE_ENCRYPTION_KEY_SRV_TO_CLI 68
70
+ #define EVP_KDF_SSHKDF_TYPE_INTEGRITY_KEY_CLI_TO_SRV 69
71
+ #define EVP_KDF_SSHKDF_TYPE_INTEGRITY_KEY_SRV_TO_CLI 70
72
+
73
+ /**** The legacy PKEY-based KDF API follows. ****/
74
+
75
+ # define EVP_PKEY_CTRL_TLS_MD (EVP_PKEY_ALG_CTRL)
76
+ # define EVP_PKEY_CTRL_TLS_SECRET (EVP_PKEY_ALG_CTRL + 1)
77
+ # define EVP_PKEY_CTRL_TLS_SEED (EVP_PKEY_ALG_CTRL + 2)
78
+ # define EVP_PKEY_CTRL_HKDF_MD (EVP_PKEY_ALG_CTRL + 3)
79
+ # define EVP_PKEY_CTRL_HKDF_SALT (EVP_PKEY_ALG_CTRL + 4)
80
+ # define EVP_PKEY_CTRL_HKDF_KEY (EVP_PKEY_ALG_CTRL + 5)
81
+ # define EVP_PKEY_CTRL_HKDF_INFO (EVP_PKEY_ALG_CTRL + 6)
82
+ # define EVP_PKEY_CTRL_HKDF_MODE (EVP_PKEY_ALG_CTRL + 7)
83
+ # define EVP_PKEY_CTRL_PASS (EVP_PKEY_ALG_CTRL + 8)
84
+ # define EVP_PKEY_CTRL_SCRYPT_SALT (EVP_PKEY_ALG_CTRL + 9)
85
+ # define EVP_PKEY_CTRL_SCRYPT_N (EVP_PKEY_ALG_CTRL + 10)
86
+ # define EVP_PKEY_CTRL_SCRYPT_R (EVP_PKEY_ALG_CTRL + 11)
87
+ # define EVP_PKEY_CTRL_SCRYPT_P (EVP_PKEY_ALG_CTRL + 12)
88
+ # define EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES (EVP_PKEY_ALG_CTRL + 13)
89
+
90
+ # define EVP_PKEY_HKDEF_MODE_EXTRACT_AND_EXPAND \
91
+ EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND
92
+ # define EVP_PKEY_HKDEF_MODE_EXTRACT_ONLY \
93
+ EVP_KDF_HKDF_MODE_EXTRACT_ONLY
94
+ # define EVP_PKEY_HKDEF_MODE_EXPAND_ONLY \
95
+ EVP_KDF_HKDF_MODE_EXPAND_ONLY
96
+
97
+ int EVP_PKEY_CTX_set_tls1_prf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
98
+
99
+ int EVP_PKEY_CTX_set1_tls1_prf_secret(EVP_PKEY_CTX *pctx,
100
+ const unsigned char *sec, int seclen);
101
+
102
+ int EVP_PKEY_CTX_add1_tls1_prf_seed(EVP_PKEY_CTX *pctx,
103
+ const unsigned char *seed, int seedlen);
104
+
105
+ int EVP_PKEY_CTX_set_hkdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
106
+
107
+ int EVP_PKEY_CTX_set1_hkdf_salt(EVP_PKEY_CTX *ctx,
108
+ const unsigned char *salt, int saltlen);
109
+
110
+ int EVP_PKEY_CTX_set1_hkdf_key(EVP_PKEY_CTX *ctx,
111
+ const unsigned char *key, int keylen);
112
+
113
+ int EVP_PKEY_CTX_add1_hkdf_info(EVP_PKEY_CTX *ctx,
114
+ const unsigned char *info, int infolen);
115
+
116
+ int EVP_PKEY_CTX_set_hkdf_mode(EVP_PKEY_CTX *ctx, int mode);
117
+ # define EVP_PKEY_CTX_hkdf_mode EVP_PKEY_CTX_set_hkdf_mode
118
+
119
+ int EVP_PKEY_CTX_set1_pbe_pass(EVP_PKEY_CTX *ctx, const char *pass,
120
+ int passlen);
121
+
122
+ int EVP_PKEY_CTX_set1_scrypt_salt(EVP_PKEY_CTX *ctx,
123
+ const unsigned char *salt, int saltlen);
124
+
125
+ int EVP_PKEY_CTX_set_scrypt_N(EVP_PKEY_CTX *ctx, uint64_t n);
126
+
127
+ int EVP_PKEY_CTX_set_scrypt_r(EVP_PKEY_CTX *ctx, uint64_t r);
128
+
129
+ int EVP_PKEY_CTX_set_scrypt_p(EVP_PKEY_CTX *ctx, uint64_t p);
130
+
131
+ int EVP_PKEY_CTX_set_scrypt_maxmem_bytes(EVP_PKEY_CTX *ctx,
132
+ uint64_t maxmem_bytes);
133
+
134
+
135
+ # ifdef __cplusplus
136
+ }
137
+ # endif
138
+ #endif
janus/include/openssl/lhash.h ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+
11
+
12
+ /*
13
+ * Header for dynamic hash table routines Author - Eric Young
14
+ */
15
+
16
+ #ifndef OPENSSL_LHASH_H
17
+ # define OPENSSL_LHASH_H
18
+ # pragma once
19
+
20
+ # include <openssl/macros.h>
21
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
22
+ # define HEADER_LHASH_H
23
+ # endif
24
+
25
+ # include <openssl/e_os2.h>
26
+ # include <openssl/bio.h>
27
+
28
+ #ifdef __cplusplus
29
+ extern "C" {
30
+ #endif
31
+
32
+ typedef struct lhash_node_st OPENSSL_LH_NODE;
33
+ typedef int (*OPENSSL_LH_COMPFUNC) (const void *, const void *);
34
+ typedef unsigned long (*OPENSSL_LH_HASHFUNC) (const void *);
35
+ typedef void (*OPENSSL_LH_DOALL_FUNC) (void *);
36
+ typedef void (*OPENSSL_LH_DOALL_FUNCARG) (void *, void *);
37
+ typedef struct lhash_st OPENSSL_LHASH;
38
+
39
+ /*
40
+ * Macros for declaring and implementing type-safe wrappers for LHASH
41
+ * callbacks. This way, callbacks can be provided to LHASH structures without
42
+ * function pointer casting and the macro-defined callbacks provide
43
+ * per-variable casting before deferring to the underlying type-specific
44
+ * callbacks. NB: It is possible to place a "static" in front of both the
45
+ * DECLARE and IMPLEMENT macros if the functions are strictly internal.
46
+ */
47
+
48
+ /* First: "hash" functions */
49
+ # define DECLARE_LHASH_HASH_FN(name, o_type) \
50
+ unsigned long name##_LHASH_HASH(const void *);
51
+ # define IMPLEMENT_LHASH_HASH_FN(name, o_type) \
52
+ unsigned long name##_LHASH_HASH(const void *arg) { \
53
+ const o_type *a = arg; \
54
+ return name##_hash(a); }
55
+ # define LHASH_HASH_FN(name) name##_LHASH_HASH
56
+
57
+ /* Second: "compare" functions */
58
+ # define DECLARE_LHASH_COMP_FN(name, o_type) \
59
+ int name##_LHASH_COMP(const void *, const void *);
60
+ # define IMPLEMENT_LHASH_COMP_FN(name, o_type) \
61
+ int name##_LHASH_COMP(const void *arg1, const void *arg2) { \
62
+ const o_type *a = arg1; \
63
+ const o_type *b = arg2; \
64
+ return name##_cmp(a,b); }
65
+ # define LHASH_COMP_FN(name) name##_LHASH_COMP
66
+
67
+ /* Fourth: "doall_arg" functions */
68
+ # define DECLARE_LHASH_DOALL_ARG_FN(name, o_type, a_type) \
69
+ void name##_LHASH_DOALL_ARG(void *, void *);
70
+ # define IMPLEMENT_LHASH_DOALL_ARG_FN(name, o_type, a_type) \
71
+ void name##_LHASH_DOALL_ARG(void *arg1, void *arg2) { \
72
+ o_type *a = arg1; \
73
+ a_type *b = arg2; \
74
+ name##_doall_arg(a, b); }
75
+ # define LHASH_DOALL_ARG_FN(name) name##_LHASH_DOALL_ARG
76
+
77
+
78
+ # define LH_LOAD_MULT 256
79
+
80
+ int OPENSSL_LH_error(OPENSSL_LHASH *lh);
81
+ OPENSSL_LHASH *OPENSSL_LH_new(OPENSSL_LH_HASHFUNC h, OPENSSL_LH_COMPFUNC c);
82
+ void OPENSSL_LH_free(OPENSSL_LHASH *lh);
83
+ void OPENSSL_LH_flush(OPENSSL_LHASH *lh);
84
+ void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data);
85
+ void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data);
86
+ void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data);
87
+ void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func);
88
+ void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg);
89
+ unsigned long OPENSSL_LH_strhash(const char *c);
90
+ unsigned long OPENSSL_LH_num_items(const OPENSSL_LHASH *lh);
91
+ unsigned long OPENSSL_LH_get_down_load(const OPENSSL_LHASH *lh);
92
+ void OPENSSL_LH_set_down_load(OPENSSL_LHASH *lh, unsigned long down_load);
93
+
94
+ # ifndef OPENSSL_NO_STDIO
95
+ void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp);
96
+ void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp);
97
+ void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp);
98
+ # endif
99
+ void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
100
+ void OPENSSL_LH_node_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
101
+ void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
102
+
103
+ # ifndef OPENSSL_NO_DEPRECATED_1_1_0
104
+ # define _LHASH OPENSSL_LHASH
105
+ # define LHASH_NODE OPENSSL_LH_NODE
106
+ # define lh_error OPENSSL_LH_error
107
+ # define lh_new OPENSSL_LH_new
108
+ # define lh_free OPENSSL_LH_free
109
+ # define lh_insert OPENSSL_LH_insert
110
+ # define lh_delete OPENSSL_LH_delete
111
+ # define lh_retrieve OPENSSL_LH_retrieve
112
+ # define lh_doall OPENSSL_LH_doall
113
+ # define lh_doall_arg OPENSSL_LH_doall_arg
114
+ # define lh_strhash OPENSSL_LH_strhash
115
+ # define lh_num_items OPENSSL_LH_num_items
116
+ # ifndef OPENSSL_NO_STDIO
117
+ # define lh_stats OPENSSL_LH_stats
118
+ # define lh_node_stats OPENSSL_LH_node_stats
119
+ # define lh_node_usage_stats OPENSSL_LH_node_usage_stats
120
+ # endif
121
+ # define lh_stats_bio OPENSSL_LH_stats_bio
122
+ # define lh_node_stats_bio OPENSSL_LH_node_stats_bio
123
+ # define lh_node_usage_stats_bio OPENSSL_LH_node_usage_stats_bio
124
+ # endif
125
+
126
+ /* Type checking... */
127
+
128
+ # define LHASH_OF(type) struct lhash_st_##type
129
+
130
+ /* Helper macro for internal use */
131
+ # define DEFINE_LHASH_OF_INTERNAL(type) \
132
+ LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
133
+ typedef int (*lh_##type##_compfunc)(const type *a, const type *b); \
134
+ typedef unsigned long (*lh_##type##_hashfunc)(const type *a); \
135
+ typedef void (*lh_##type##_doallfunc)(type *a); \
136
+ static ossl_unused ossl_inline type *ossl_check_##type##_lh_plain_type(type *ptr) \
137
+ { \
138
+ return ptr; \
139
+ } \
140
+ static ossl_unused ossl_inline const type *ossl_check_const_##type##_lh_plain_type(const type *ptr) \
141
+ { \
142
+ return ptr; \
143
+ } \
144
+ static ossl_unused ossl_inline const OPENSSL_LHASH *ossl_check_const_##type##_lh_type(const LHASH_OF(type) *lh) \
145
+ { \
146
+ return (const OPENSSL_LHASH *)lh; \
147
+ } \
148
+ static ossl_unused ossl_inline OPENSSL_LHASH *ossl_check_##type##_lh_type(LHASH_OF(type) *lh) \
149
+ { \
150
+ return (OPENSSL_LHASH *)lh; \
151
+ } \
152
+ static ossl_unused ossl_inline OPENSSL_LH_COMPFUNC ossl_check_##type##_lh_compfunc_type(lh_##type##_compfunc cmp) \
153
+ { \
154
+ return (OPENSSL_LH_COMPFUNC)cmp; \
155
+ } \
156
+ static ossl_unused ossl_inline OPENSSL_LH_HASHFUNC ossl_check_##type##_lh_hashfunc_type(lh_##type##_hashfunc hfn) \
157
+ { \
158
+ return (OPENSSL_LH_HASHFUNC)hfn; \
159
+ } \
160
+ static ossl_unused ossl_inline OPENSSL_LH_DOALL_FUNC ossl_check_##type##_lh_doallfunc_type(lh_##type##_doallfunc dfn) \
161
+ { \
162
+ return (OPENSSL_LH_DOALL_FUNC)dfn; \
163
+ } \
164
+ LHASH_OF(type)
165
+
166
+ # define DEFINE_LHASH_OF(type) \
167
+ LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
168
+ static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *), \
169
+ int (*cfn)(const type *, const type *)) \
170
+ { \
171
+ return (LHASH_OF(type) *) \
172
+ OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); \
173
+ } \
174
+ static ossl_unused ossl_inline void lh_##type##_free(LHASH_OF(type) *lh) \
175
+ { \
176
+ OPENSSL_LH_free((OPENSSL_LHASH *)lh); \
177
+ } \
178
+ static ossl_unused ossl_inline void lh_##type##_flush(LHASH_OF(type) *lh) \
179
+ { \
180
+ OPENSSL_LH_flush((OPENSSL_LHASH *)lh); \
181
+ } \
182
+ static ossl_unused ossl_inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \
183
+ { \
184
+ return (type *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d); \
185
+ } \
186
+ static ossl_unused ossl_inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \
187
+ { \
188
+ return (type *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d); \
189
+ } \
190
+ static ossl_unused ossl_inline type *lh_##type##_retrieve(LHASH_OF(type) *lh, const type *d) \
191
+ { \
192
+ return (type *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d); \
193
+ } \
194
+ static ossl_unused ossl_inline int lh_##type##_error(LHASH_OF(type) *lh) \
195
+ { \
196
+ return OPENSSL_LH_error((OPENSSL_LHASH *)lh); \
197
+ } \
198
+ static ossl_unused ossl_inline unsigned long lh_##type##_num_items(LHASH_OF(type) *lh) \
199
+ { \
200
+ return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh); \
201
+ } \
202
+ static ossl_unused ossl_inline void lh_##type##_node_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
203
+ { \
204
+ OPENSSL_LH_node_stats_bio((const OPENSSL_LHASH *)lh, out); \
205
+ } \
206
+ static ossl_unused ossl_inline void lh_##type##_node_usage_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
207
+ { \
208
+ OPENSSL_LH_node_usage_stats_bio((const OPENSSL_LHASH *)lh, out); \
209
+ } \
210
+ static ossl_unused ossl_inline void lh_##type##_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
211
+ { \
212
+ OPENSSL_LH_stats_bio((const OPENSSL_LHASH *)lh, out); \
213
+ } \
214
+ static ossl_unused ossl_inline unsigned long lh_##type##_get_down_load(LHASH_OF(type) *lh) \
215
+ { \
216
+ return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); \
217
+ } \
218
+ static ossl_unused ossl_inline void lh_##type##_set_down_load(LHASH_OF(type) *lh, unsigned long dl) \
219
+ { \
220
+ OPENSSL_LH_set_down_load((OPENSSL_LHASH *)lh, dl); \
221
+ } \
222
+ static ossl_unused ossl_inline void lh_##type##_doall(LHASH_OF(type) *lh, \
223
+ void (*doall)(type *)) \
224
+ { \
225
+ OPENSSL_LH_doall((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNC)doall); \
226
+ } \
227
+ static ossl_unused ossl_inline void lh_##type##_doall_arg(LHASH_OF(type) *lh, \
228
+ void (*doallarg)(type *, void *), \
229
+ void *arg) \
230
+ { \
231
+ OPENSSL_LH_doall_arg((OPENSSL_LHASH *)lh, \
232
+ (OPENSSL_LH_DOALL_FUNCARG)doallarg, arg); \
233
+ } \
234
+ LHASH_OF(type)
235
+
236
+ #define IMPLEMENT_LHASH_DOALL_ARG_CONST(type, argtype) \
237
+ int_implement_lhash_doall(type, argtype, const type)
238
+
239
+ #define IMPLEMENT_LHASH_DOALL_ARG(type, argtype) \
240
+ int_implement_lhash_doall(type, argtype, type)
241
+
242
+ #define int_implement_lhash_doall(type, argtype, cbargtype) \
243
+ static ossl_unused ossl_inline void \
244
+ lh_##type##_doall_##argtype(LHASH_OF(type) *lh, \
245
+ void (*fn)(cbargtype *, argtype *), \
246
+ argtype *arg) \
247
+ { \
248
+ OPENSSL_LH_doall_arg((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNCARG)fn, (void *)arg); \
249
+ } \
250
+ LHASH_OF(type)
251
+
252
+ DEFINE_LHASH_OF_INTERNAL(OPENSSL_STRING);
253
+ #define lh_OPENSSL_STRING_new(hfn, cmp) ((LHASH_OF(OPENSSL_STRING) *)OPENSSL_LH_new(ossl_check_OPENSSL_STRING_lh_hashfunc_type(hfn), ossl_check_OPENSSL_STRING_lh_compfunc_type(cmp)))
254
+ #define lh_OPENSSL_STRING_free(lh) OPENSSL_LH_free(ossl_check_OPENSSL_STRING_lh_type(lh))
255
+ #define lh_OPENSSL_STRING_flush(lh) OPENSSL_LH_flush(ossl_check_OPENSSL_STRING_lh_type(lh))
256
+ #define lh_OPENSSL_STRING_insert(lh, ptr) ((OPENSSL_STRING *)OPENSSL_LH_insert(ossl_check_OPENSSL_STRING_lh_type(lh), ossl_check_OPENSSL_STRING_lh_plain_type(ptr)))
257
+ #define lh_OPENSSL_STRING_delete(lh, ptr) ((OPENSSL_STRING *)OPENSSL_LH_delete(ossl_check_OPENSSL_STRING_lh_type(lh), ossl_check_const_OPENSSL_STRING_lh_plain_type(ptr)))
258
+ #define lh_OPENSSL_STRING_retrieve(lh, ptr) ((OPENSSL_STRING *)OPENSSL_LH_retrieve(ossl_check_OPENSSL_STRING_lh_type(lh), ossl_check_const_OPENSSL_STRING_lh_plain_type(ptr)))
259
+ #define lh_OPENSSL_STRING_error(lh) OPENSSL_LH_error(ossl_check_OPENSSL_STRING_lh_type(lh))
260
+ #define lh_OPENSSL_STRING_num_items(lh) OPENSSL_LH_num_items(ossl_check_OPENSSL_STRING_lh_type(lh))
261
+ #define lh_OPENSSL_STRING_node_stats_bio(lh, out) OPENSSL_LH_node_stats_bio(ossl_check_const_OPENSSL_STRING_lh_type(lh), out)
262
+ #define lh_OPENSSL_STRING_node_usage_stats_bio(lh, out) OPENSSL_LH_node_usage_stats_bio(ossl_check_const_OPENSSL_STRING_lh_type(lh), out)
263
+ #define lh_OPENSSL_STRING_stats_bio(lh, out) OPENSSL_LH_stats_bio(ossl_check_const_OPENSSL_STRING_lh_type(lh), out)
264
+ #define lh_OPENSSL_STRING_get_down_load(lh) OPENSSL_LH_get_down_load(ossl_check_OPENSSL_STRING_lh_type(lh))
265
+ #define lh_OPENSSL_STRING_set_down_load(lh, dl) OPENSSL_LH_set_down_load(ossl_check_OPENSSL_STRING_lh_type(lh), dl)
266
+ #define lh_OPENSSL_STRING_doall(lh, dfn) OPENSSL_LH_doall(ossl_check_OPENSSL_STRING_lh_type(lh), ossl_check_OPENSSL_STRING_lh_doallfunc_type(dfn))
267
+ DEFINE_LHASH_OF_INTERNAL(OPENSSL_CSTRING);
268
+ #define lh_OPENSSL_CSTRING_new(hfn, cmp) ((LHASH_OF(OPENSSL_CSTRING) *)OPENSSL_LH_new(ossl_check_OPENSSL_CSTRING_lh_hashfunc_type(hfn), ossl_check_OPENSSL_CSTRING_lh_compfunc_type(cmp)))
269
+ #define lh_OPENSSL_CSTRING_free(lh) OPENSSL_LH_free(ossl_check_OPENSSL_CSTRING_lh_type(lh))
270
+ #define lh_OPENSSL_CSTRING_flush(lh) OPENSSL_LH_flush(ossl_check_OPENSSL_CSTRING_lh_type(lh))
271
+ #define lh_OPENSSL_CSTRING_insert(lh, ptr) ((OPENSSL_CSTRING *)OPENSSL_LH_insert(ossl_check_OPENSSL_CSTRING_lh_type(lh), ossl_check_OPENSSL_CSTRING_lh_plain_type(ptr)))
272
+ #define lh_OPENSSL_CSTRING_delete(lh, ptr) ((OPENSSL_CSTRING *)OPENSSL_LH_delete(ossl_check_OPENSSL_CSTRING_lh_type(lh), ossl_check_const_OPENSSL_CSTRING_lh_plain_type(ptr)))
273
+ #define lh_OPENSSL_CSTRING_retrieve(lh, ptr) ((OPENSSL_CSTRING *)OPENSSL_LH_retrieve(ossl_check_OPENSSL_CSTRING_lh_type(lh), ossl_check_const_OPENSSL_CSTRING_lh_plain_type(ptr)))
274
+ #define lh_OPENSSL_CSTRING_error(lh) OPENSSL_LH_error(ossl_check_OPENSSL_CSTRING_lh_type(lh))
275
+ #define lh_OPENSSL_CSTRING_num_items(lh) OPENSSL_LH_num_items(ossl_check_OPENSSL_CSTRING_lh_type(lh))
276
+ #define lh_OPENSSL_CSTRING_node_stats_bio(lh, out) OPENSSL_LH_node_stats_bio(ossl_check_const_OPENSSL_CSTRING_lh_type(lh), out)
277
+ #define lh_OPENSSL_CSTRING_node_usage_stats_bio(lh, out) OPENSSL_LH_node_usage_stats_bio(ossl_check_const_OPENSSL_CSTRING_lh_type(lh), out)
278
+ #define lh_OPENSSL_CSTRING_stats_bio(lh, out) OPENSSL_LH_stats_bio(ossl_check_const_OPENSSL_CSTRING_lh_type(lh), out)
279
+ #define lh_OPENSSL_CSTRING_get_down_load(lh) OPENSSL_LH_get_down_load(ossl_check_OPENSSL_CSTRING_lh_type(lh))
280
+ #define lh_OPENSSL_CSTRING_set_down_load(lh, dl) OPENSSL_LH_set_down_load(ossl_check_OPENSSL_CSTRING_lh_type(lh), dl)
281
+ #define lh_OPENSSL_CSTRING_doall(lh, dfn) OPENSSL_LH_doall(ossl_check_OPENSSL_CSTRING_lh_type(lh), ossl_check_OPENSSL_CSTRING_lh_doallfunc_type(dfn))
282
+
283
+
284
+ #ifdef __cplusplus
285
+ }
286
+ #endif
287
+
288
+ #endif
janus/include/openssl/macros.h ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_MACROS_H
11
+ # define OPENSSL_MACROS_H
12
+ # pragma once
13
+
14
+ #include <openssl/opensslconf.h>
15
+ #include <openssl/opensslv.h>
16
+
17
+
18
+ /* Helper macros for CPP string composition */
19
+ # define OPENSSL_MSTR_HELPER(x) #x
20
+ # define OPENSSL_MSTR(x) OPENSSL_MSTR_HELPER(x)
21
+
22
+ /*
23
+ * Sometimes OPENSSL_NO_xxx ends up with an empty file and some compilers
24
+ * don't like that. This will hopefully silence them.
25
+ */
26
+ # define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
27
+
28
+ /*
29
+ * Generic deprecation macro
30
+ *
31
+ * If OPENSSL_SUPPRESS_DEPRECATED is defined, then OSSL_DEPRECATED and
32
+ * OSSL_DEPRECATED_FOR become no-ops
33
+ */
34
+ # ifndef OSSL_DEPRECATED
35
+ # undef OSSL_DEPRECATED_FOR
36
+ # ifndef OPENSSL_SUPPRESS_DEPRECATED
37
+ # if defined(_MSC_VER)
38
+ /*
39
+ * MSVC supports __declspec(deprecated) since MSVC 2003 (13.10),
40
+ * and __declspec(deprecated(message)) since MSVC 2005 (14.00)
41
+ */
42
+ # if _MSC_VER >= 1400
43
+ # define OSSL_DEPRECATED(since) \
44
+ __declspec(deprecated("Since OpenSSL " # since))
45
+ # define OSSL_DEPRECATED_FOR(since, message) \
46
+ __declspec(deprecated("Since OpenSSL " # since ";" message))
47
+ # elif _MSC_VER >= 1310
48
+ # define OSSL_DEPRECATED(since) __declspec(deprecated)
49
+ # define OSSL_DEPRECATED_FOR(since, message) __declspec(deprecated)
50
+ # endif
51
+ # elif defined(__GNUC__)
52
+ /*
53
+ * According to GCC documentation, deprecations with message appeared in
54
+ * GCC 4.5.0
55
+ */
56
+ # if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
57
+ # define OSSL_DEPRECATED(since) \
58
+ __attribute__((deprecated("Since OpenSSL " # since)))
59
+ # define OSSL_DEPRECATED_FOR(since, message) \
60
+ __attribute__((deprecated("Since OpenSSL " # since ";" message)))
61
+ # elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
62
+ # define OSSL_DEPRECATED(since) __attribute__((deprecated))
63
+ # define OSSL_DEPRECATED_FOR(since, message) __attribute__((deprecated))
64
+ # endif
65
+ # elif defined(__SUNPRO_C)
66
+ # if (__SUNPRO_C >= 0x5130)
67
+ # define OSSL_DEPRECATED(since) __attribute__ ((deprecated))
68
+ # define OSSL_DEPRECATED_FOR(since, message) __attribute__ ((deprecated))
69
+ # endif
70
+ # endif
71
+ # endif
72
+ # endif
73
+
74
+ /*
75
+ * Still not defined? Then define no-op macros. This means these macros
76
+ * are unsuitable for use in a typedef.
77
+ */
78
+ # ifndef OSSL_DEPRECATED
79
+ # define OSSL_DEPRECATED(since) extern
80
+ # define OSSL_DEPRECATED_FOR(since, message) extern
81
+ # endif
82
+
83
+ /*
84
+ * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
85
+ * declarations of functions deprecated in or before <version>. If this is
86
+ * undefined, the value of the macro OPENSSL_CONFIGURED_API (defined in
87
+ * <openssl/opensslconf.h>) is the default.
88
+ *
89
+ * For any version number up until version 1.1.x, <version> is expected to be
90
+ * the calculated version number 0xMNNFFPPSL.
91
+ * For version numbers 3.0 and on, <version> is expected to be a computation
92
+ * of the major and minor numbers in decimal using this formula:
93
+ *
94
+ * MAJOR * 10000 + MINOR * 100
95
+ *
96
+ * So version 3.0 becomes 30000, version 3.2 becomes 30200, etc.
97
+ */
98
+
99
+ /*
100
+ * We use the OPENSSL_API_COMPAT value to define API level macros. These
101
+ * macros are used to enable or disable features at that API version boundary.
102
+ */
103
+
104
+ # ifdef OPENSSL_API_LEVEL
105
+ # error "OPENSSL_API_LEVEL must not be defined by application"
106
+ # endif
107
+
108
+ /*
109
+ * We figure out what API level was intended by simple numeric comparison.
110
+ * The lowest old style number we recognise is 0x00908000L, so we take some
111
+ * safety margin and assume that anything below 0x00900000L is a new style
112
+ * number. This allows new versions up to and including v943.71.83.
113
+ */
114
+ # ifdef OPENSSL_API_COMPAT
115
+ # if OPENSSL_API_COMPAT < 0x900000L
116
+ # define OPENSSL_API_LEVEL (OPENSSL_API_COMPAT)
117
+ # else
118
+ # define OPENSSL_API_LEVEL \
119
+ (((OPENSSL_API_COMPAT >> 28) & 0xF) * 10000 \
120
+ + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \
121
+ + ((OPENSSL_API_COMPAT >> 12) & 0xFF))
122
+ # endif
123
+ # endif
124
+
125
+ /*
126
+ * If OPENSSL_API_COMPAT wasn't given, we use default numbers to set
127
+ * the API compatibility level.
128
+ */
129
+ # ifndef OPENSSL_API_LEVEL
130
+ # if OPENSSL_CONFIGURED_API > 0
131
+ # define OPENSSL_API_LEVEL (OPENSSL_CONFIGURED_API)
132
+ # else
133
+ # define OPENSSL_API_LEVEL \
134
+ (OPENSSL_VERSION_MAJOR * 10000 + OPENSSL_VERSION_MINOR * 100)
135
+ # endif
136
+ # endif
137
+
138
+ # if OPENSSL_API_LEVEL > OPENSSL_CONFIGURED_API
139
+ # error "The requested API level higher than the configured API compatibility level"
140
+ # endif
141
+
142
+ /*
143
+ * Check of sane values.
144
+ */
145
+ /* Can't go higher than the current version. */
146
+ # if OPENSSL_API_LEVEL > (OPENSSL_VERSION_MAJOR * 10000 + OPENSSL_VERSION_MINOR * 100)
147
+ # error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
148
+ # endif
149
+ /* OpenSSL will have no version 2.y.z */
150
+ # if OPENSSL_API_LEVEL < 30000 && OPENSSL_API_LEVEL >= 20000
151
+ # error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
152
+ # endif
153
+ /* Below 0.9.8 is unacceptably low */
154
+ # if OPENSSL_API_LEVEL < 908
155
+ # error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
156
+ # endif
157
+
158
+ /*
159
+ * Define macros for deprecation and simulated removal purposes.
160
+ *
161
+ * The macros OSSL_DEPRECATED_{major}_{minor} are always defined for
162
+ * all OpenSSL versions we care for. They can be used as attributes
163
+ * in function declarations where appropriate.
164
+ *
165
+ * The macros OPENSSL_NO_DEPRECATED_{major}_{minor} are defined for
166
+ * all OpenSSL versions up to or equal to the version given with
167
+ * OPENSSL_API_COMPAT. They are used as guards around anything that's
168
+ * deprecated up to that version, as an effect of the developer option
169
+ * 'no-deprecated'.
170
+ */
171
+
172
+ # undef OPENSSL_NO_DEPRECATED_3_0
173
+ # undef OPENSSL_NO_DEPRECATED_1_1_1
174
+ # undef OPENSSL_NO_DEPRECATED_1_1_0
175
+ # undef OPENSSL_NO_DEPRECATED_1_0_2
176
+ # undef OPENSSL_NO_DEPRECATED_1_0_1
177
+ # undef OPENSSL_NO_DEPRECATED_1_0_0
178
+ # undef OPENSSL_NO_DEPRECATED_0_9_8
179
+
180
+ # if OPENSSL_API_LEVEL >= 30000
181
+ # ifndef OPENSSL_NO_DEPRECATED
182
+ # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
183
+ # define OSSL_DEPRECATEDIN_3_0_FOR(msg) OSSL_DEPRECATED_FOR(3.0, msg)
184
+ # else
185
+ # define OPENSSL_NO_DEPRECATED_3_0
186
+ # endif
187
+ # else
188
+ # define OSSL_DEPRECATEDIN_3_0
189
+ # define OSSL_DEPRECATEDIN_3_0_FOR(msg)
190
+ # endif
191
+ # if OPENSSL_API_LEVEL >= 10101
192
+ # ifndef OPENSSL_NO_DEPRECATED
193
+ # define OSSL_DEPRECATEDIN_1_1_1 OSSL_DEPRECATED(1.1.1)
194
+ # define OSSL_DEPRECATEDIN_1_1_1_FOR(msg) OSSL_DEPRECATED_FOR(1.1.1, msg)
195
+ # else
196
+ # define OPENSSL_NO_DEPRECATED_1_1_1
197
+ # endif
198
+ # else
199
+ # define OSSL_DEPRECATEDIN_1_1_1
200
+ # define OSSL_DEPRECATEDIN_1_1_1_FOR(msg)
201
+ # endif
202
+ # if OPENSSL_API_LEVEL >= 10100
203
+ # ifndef OPENSSL_NO_DEPRECATED
204
+ # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0)
205
+ # define OSSL_DEPRECATEDIN_1_1_0_FOR(msg) OSSL_DEPRECATED_FOR(1.1.0, msg)
206
+ # else
207
+ # define OPENSSL_NO_DEPRECATED_1_1_0
208
+ # endif
209
+ # else
210
+ # define OSSL_DEPRECATEDIN_1_1_0
211
+ # define OSSL_DEPRECATEDIN_1_1_0_FOR(msg)
212
+ # endif
213
+ # if OPENSSL_API_LEVEL >= 10002
214
+ # ifndef OPENSSL_NO_DEPRECATED
215
+ # define OSSL_DEPRECATEDIN_1_0_2 OSSL_DEPRECATED(1.0.2)
216
+ # define OSSL_DEPRECATEDIN_1_0_2_FOR(msg) OSSL_DEPRECATED_FOR(1.0.2, msg)
217
+ # else
218
+ # define OPENSSL_NO_DEPRECATED_1_0_2
219
+ # endif
220
+ # else
221
+ # define OSSL_DEPRECATEDIN_1_0_2
222
+ # define OSSL_DEPRECATEDIN_1_0_2_FOR(msg)
223
+ # endif
224
+ # if OPENSSL_API_LEVEL >= 10001
225
+ # ifndef OPENSSL_NO_DEPRECATED
226
+ # define OSSL_DEPRECATEDIN_1_0_1 OSSL_DEPRECATED(1.0.1)
227
+ # define OSSL_DEPRECATEDIN_1_0_1_FOR(msg) OSSL_DEPRECATED_FOR(1.0.1, msg)
228
+ # else
229
+ # define OPENSSL_NO_DEPRECATED_1_0_1
230
+ # endif
231
+ # else
232
+ # define OSSL_DEPRECATEDIN_1_0_1
233
+ # define OSSL_DEPRECATEDIN_1_0_1_FOR(msg)
234
+ # endif
235
+ # if OPENSSL_API_LEVEL >= 10000
236
+ # ifndef OPENSSL_NO_DEPRECATED
237
+ # define OSSL_DEPRECATEDIN_1_0_0 OSSL_DEPRECATED(1.0.0)
238
+ # define OSSL_DEPRECATEDIN_1_0_0_FOR(msg) OSSL_DEPRECATED_FOR(1.0.0, msg)
239
+ # else
240
+ # define OPENSSL_NO_DEPRECATED_1_0_0
241
+ # endif
242
+ # else
243
+ # define OSSL_DEPRECATEDIN_1_0_0
244
+ # define OSSL_DEPRECATEDIN_1_0_0_FOR(msg)
245
+ # endif
246
+ # if OPENSSL_API_LEVEL >= 908
247
+ # ifndef OPENSSL_NO_DEPRECATED
248
+ # define OSSL_DEPRECATEDIN_0_9_8 OSSL_DEPRECATED(0.9.8)
249
+ # define OSSL_DEPRECATEDIN_0_9_8_FOR(msg) OSSL_DEPRECATED_FOR(0.9.8, msg)
250
+ # else
251
+ # define OPENSSL_NO_DEPRECATED_0_9_8
252
+ # endif
253
+ # else
254
+ # define OSSL_DEPRECATEDIN_0_9_8
255
+ # define OSSL_DEPRECATEDIN_0_9_8_FOR(msg)
256
+ # endif
257
+
258
+ /*
259
+ * Make our own variants of __FILE__ and __LINE__, depending on configuration
260
+ */
261
+
262
+ # ifndef OPENSSL_FILE
263
+ # ifdef OPENSSL_NO_FILENAMES
264
+ # define OPENSSL_FILE ""
265
+ # define OPENSSL_LINE 0
266
+ # else
267
+ # define OPENSSL_FILE __FILE__
268
+ # define OPENSSL_LINE __LINE__
269
+ # endif
270
+ # endif
271
+
272
+ /*
273
+ * __func__ was standardized in C99, so for any compiler that claims
274
+ * to implement that language level or newer, we assume we can safely
275
+ * use that symbol.
276
+ *
277
+ * GNU C also provides __FUNCTION__ since version 2, which predates
278
+ * C99. We can, however, only use this if __STDC_VERSION__ exists,
279
+ * as it's otherwise not allowed according to ISO C standards (C90).
280
+ * (compiling with GNU C's -pedantic tells us so)
281
+ *
282
+ * If none of the above applies, we check if the compiler is MSVC,
283
+ * and use __FUNCTION__ if that's the case.
284
+ */
285
+ # ifndef OPENSSL_FUNC
286
+ # if defined(__STDC_VERSION__)
287
+ # if __STDC_VERSION__ >= 199901L
288
+ # define OPENSSL_FUNC __func__
289
+ # elif defined(__GNUC__) && __GNUC__ >= 2
290
+ # define OPENSSL_FUNC __FUNCTION__
291
+ # endif
292
+ # elif defined(_MSC_VER)
293
+ # define OPENSSL_FUNC __FUNCTION__
294
+ # endif
295
+ /*
296
+ * If all these possibilities are exhausted, we give up and use a
297
+ * static string.
298
+ */
299
+ # ifndef OPENSSL_FUNC
300
+ # define OPENSSL_FUNC "(unknown function)"
301
+ # endif
302
+ # endif
303
+
304
+ #endif /* OPENSSL_MACROS_H */
janus/include/openssl/mdc2.h ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ #ifndef OPENSSL_MDC2_H
11
+ # define OPENSSL_MDC2_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_MDC2_H
17
+ # endif
18
+
19
+ # include <openssl/opensslconf.h>
20
+
21
+ # ifndef OPENSSL_NO_MDC2
22
+ # include <stdlib.h>
23
+ # include <openssl/des.h>
24
+ # ifdef __cplusplus
25
+ extern "C" {
26
+ # endif
27
+
28
+ # define MDC2_DIGEST_LENGTH 16
29
+
30
+ # if !defined(OPENSSL_NO_DEPRECATED_3_0)
31
+
32
+ # define MDC2_BLOCK 8
33
+
34
+ typedef struct mdc2_ctx_st {
35
+ unsigned int num;
36
+ unsigned char data[MDC2_BLOCK];
37
+ DES_cblock h, hh;
38
+ unsigned int pad_type; /* either 1 or 2, default 1 */
39
+ } MDC2_CTX;
40
+ # endif
41
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
42
+ OSSL_DEPRECATEDIN_3_0 int MDC2_Init(MDC2_CTX *c);
43
+ OSSL_DEPRECATEDIN_3_0 int MDC2_Update(MDC2_CTX *c, const unsigned char *data,
44
+ size_t len);
45
+ OSSL_DEPRECATEDIN_3_0 int MDC2_Final(unsigned char *md, MDC2_CTX *c);
46
+ OSSL_DEPRECATEDIN_3_0 unsigned char *MDC2(const unsigned char *d, size_t n,
47
+ unsigned char *md);
48
+ # endif
49
+
50
+ # ifdef __cplusplus
51
+ }
52
+ # endif
53
+ # endif
54
+
55
+ #endif
janus/include/openssl/ocsperr.h ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Generated by util/mkerr.pl DO NOT EDIT
3
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_OCSPERR_H
12
+ # define OPENSSL_OCSPERR_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+ # include <openssl/symhacks.h>
17
+ # include <openssl/cryptoerr_legacy.h>
18
+
19
+
20
+ # ifndef OPENSSL_NO_OCSP
21
+
22
+
23
+ /*
24
+ * OCSP reason codes.
25
+ */
26
+ # define OCSP_R_CERTIFICATE_VERIFY_ERROR 101
27
+ # define OCSP_R_DIGEST_ERR 102
28
+ # define OCSP_R_DIGEST_NAME_ERR 106
29
+ # define OCSP_R_DIGEST_SIZE_ERR 107
30
+ # define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122
31
+ # define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123
32
+ # define OCSP_R_MISSING_OCSPSIGNING_USAGE 103
33
+ # define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124
34
+ # define OCSP_R_NOT_BASIC_RESPONSE 104
35
+ # define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105
36
+ # define OCSP_R_NO_RESPONSE_DATA 108
37
+ # define OCSP_R_NO_REVOKED_TIME 109
38
+ # define OCSP_R_NO_SIGNER_KEY 130
39
+ # define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
40
+ # define OCSP_R_REQUEST_NOT_SIGNED 128
41
+ # define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111
42
+ # define OCSP_R_ROOT_CA_NOT_TRUSTED 112
43
+ # define OCSP_R_SIGNATURE_FAILURE 117
44
+ # define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118
45
+ # define OCSP_R_STATUS_EXPIRED 125
46
+ # define OCSP_R_STATUS_NOT_YET_VALID 126
47
+ # define OCSP_R_STATUS_TOO_OLD 127
48
+ # define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119
49
+ # define OCSP_R_UNKNOWN_NID 120
50
+ # define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129
51
+
52
+ # endif
53
+ #endif
janus/include/openssl/ossl_typ.h ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
5
+ * this file except in compliance with the License. You can obtain a copy
6
+ * in the file LICENSE in the source distribution or at
7
+ * https://www.openssl.org/source/license.html
8
+ */
9
+
10
+ /*
11
+ * The original <openssl/ossl_typ.h> was renamed to <openssl/types.h>
12
+ *
13
+ * This header file only exists for compatibility reasons with older
14
+ * applications which #include <openssl/ossl_typ.h>.
15
+ */
16
+ # include <openssl/types.h>