ccgo_linux_arm.go 289 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016
  1. // Code generated for linux/arm by 'generator --prefix-enumerator=_ --prefix-external=x_ --prefix-field=F --prefix-macro=m_ --prefix-static-internal=_ --prefix-static-none=_ --prefix-tagged-enum=_ --prefix-tagged-struct=T --prefix-tagged-union=T --prefix-typename=T --prefix-undefined=_ -extended-errors -ignore-unsupported-alignment -ignore-link-errors -o libmd.go --package-name libmd src/.libs/libmd.a', DO NOT EDIT.
  2. //go:build linux && arm
  3. package libmd
  4. import (
  5. "reflect"
  6. "unsafe"
  7. "modernc.org/libc"
  8. )
  9. var _ reflect.Type
  10. var _ unsafe.Pointer
  11. const m_BIG_ENDIAN = "__BIG_ENDIAN"
  12. const m_BYTE_ORDER = "__BYTE_ORDER"
  13. const m_FD_SETSIZE = 1024
  14. const m_HAVE_CONFIG_H = 1
  15. const m_HAVE_DLFCN_H = 1
  16. const m_HAVE_INTTYPES_H = 1
  17. const m_HAVE_STDINT_H = 1
  18. const m_HAVE_STDIO_H = 1
  19. const m_HAVE_STDLIB_H = 1
  20. const m_HAVE_STRINGS_H = 1
  21. const m_HAVE_STRING_H = 1
  22. const m_HAVE_SYS_STAT_H = 1
  23. const m_HAVE_SYS_TYPES_H = 1
  24. const m_HAVE_UNISTD_H = 1
  25. const m_HAVE_WCHAR_H = 1
  26. const m_INT16_MAX = 0x7fff
  27. const m_INT32_MAX = 0x7fffffff
  28. const m_INT64_MAX = 0x7fffffffffffffff
  29. const m_INT8_MAX = 0x7f
  30. const m_INTMAX_MAX = "INT64_MAX"
  31. const m_INTMAX_MIN = "INT64_MIN"
  32. const m_INTPTR_MAX = "INT32_MAX"
  33. const m_INTPTR_MIN = "INT32_MIN"
  34. const m_INT_FAST16_MAX = "INT32_MAX"
  35. const m_INT_FAST16_MIN = "INT32_MIN"
  36. const m_INT_FAST32_MAX = "INT32_MAX"
  37. const m_INT_FAST32_MIN = "INT32_MIN"
  38. const m_INT_FAST64_MAX = "INT64_MAX"
  39. const m_INT_FAST64_MIN = "INT64_MIN"
  40. const m_INT_FAST8_MAX = "INT8_MAX"
  41. const m_INT_FAST8_MIN = "INT8_MIN"
  42. const m_INT_LEAST16_MAX = "INT16_MAX"
  43. const m_INT_LEAST16_MIN = "INT16_MIN"
  44. const m_INT_LEAST32_MAX = "INT32_MAX"
  45. const m_INT_LEAST32_MIN = "INT32_MIN"
  46. const m_INT_LEAST64_MAX = "INT64_MAX"
  47. const m_INT_LEAST64_MIN = "INT64_MIN"
  48. const m_INT_LEAST8_MAX = "INT8_MAX"
  49. const m_INT_LEAST8_MIN = "INT8_MIN"
  50. const m_LITTLE_ENDIAN = "__LITTLE_ENDIAN"
  51. const m_LT_OBJDIR = ".libs/"
  52. const m_MD2_DIGEST_LENGTH = 16
  53. const m_MD2_DIGEST_STRING_LENGTH = 33
  54. const m_NDEBUG = 1
  55. const m_PACKAGE = "libmd"
  56. const m_PACKAGE_BUGREPORT = "libbsd@lists.freedesktop.org"
  57. const m_PACKAGE_NAME = "libmd"
  58. const m_PACKAGE_STRING = "libmd 1.0.4"
  59. const m_PACKAGE_TARNAME = "libmd"
  60. const m_PACKAGE_URL = ""
  61. const m_PACKAGE_VERSION = "1.0.4"
  62. const m_PDP_ENDIAN = "__PDP_ENDIAN"
  63. const m_PTRDIFF_MAX = "INT32_MAX"
  64. const m_PTRDIFF_MIN = "INT32_MIN"
  65. const m_SIG_ATOMIC_MAX = "INT32_MAX"
  66. const m_SIG_ATOMIC_MIN = "INT32_MIN"
  67. const m_SIZE_MAX = "UINT32_MAX"
  68. const m_STDC_HEADERS = 1
  69. const m_UINT16_MAX = 0xffff
  70. const m_UINT32_MAX = "0xffffffffu"
  71. const m_UINT64_MAX = "0xffffffffffffffffu"
  72. const m_UINT8_MAX = 0xff
  73. const m_UINTMAX_MAX = "UINT64_MAX"
  74. const m_UINTPTR_MAX = "UINT32_MAX"
  75. const m_UINT_FAST16_MAX = "UINT32_MAX"
  76. const m_UINT_FAST32_MAX = "UINT32_MAX"
  77. const m_UINT_FAST64_MAX = "UINT64_MAX"
  78. const m_UINT_FAST8_MAX = "UINT8_MAX"
  79. const m_UINT_LEAST16_MAX = "UINT16_MAX"
  80. const m_UINT_LEAST32_MAX = "UINT32_MAX"
  81. const m_UINT_LEAST64_MAX = "UINT64_MAX"
  82. const m_UINT_LEAST8_MAX = "UINT8_MAX"
  83. const m_VERSION = "1.0.4"
  84. const m_WINT_MAX = "UINT32_MAX"
  85. const m_WINT_MIN = 0
  86. const m__ALL_SOURCE = 1
  87. const m__DARWIN_C_SOURCE = 1
  88. const m__FILE_OFFSET_BITS = 64
  89. const m__GNU_SOURCE = 1
  90. const m__HPUX_ALT_XOPEN_SOCKET_API = 1
  91. const m__NETBSD_SOURCE = 1
  92. const m__OPENBSD_SOURCE = 1
  93. const m__POSIX_PTHREAD_SEMANTICS = 1
  94. const m__REDIR_TIME64 = 1
  95. const m__STDC_PREDEF_H = 1
  96. const m__TANDEM_SOURCE = 1
  97. const m___ACCUM_EPSILON__ = "0x1P-15K"
  98. const m___ACCUM_FBIT__ = 15
  99. const m___ACCUM_IBIT__ = 16
  100. const m___ACCUM_MAX__ = "0X7FFFFFFFP-15K"
  101. const m___APCS_32__ = 1
  102. const m___ARMEL__ = 1
  103. const m___ARM_32BIT_STATE = 1
  104. const m___ARM_ARCH = 6
  105. const m___ARM_ARCH_6__ = 1
  106. const m___ARM_ARCH_ISA_ARM = 1
  107. const m___ARM_ARCH_ISA_THUMB = 1
  108. const m___ARM_EABI__ = 1
  109. const m___ARM_FEATURE_CLZ = 1
  110. const m___ARM_FEATURE_COPROC = 15
  111. const m___ARM_FEATURE_DSP = 1
  112. const m___ARM_FEATURE_LDREX = 4
  113. const m___ARM_FEATURE_QBIT = 1
  114. const m___ARM_FEATURE_SAT = 1
  115. const m___ARM_FEATURE_SIMD32 = 1
  116. const m___ARM_FEATURE_UNALIGNED = 1
  117. const m___ARM_FP = 12
  118. const m___ARM_PCS_VFP = 1
  119. const m___ARM_SIZEOF_MINIMAL_ENUM = 4
  120. const m___ARM_SIZEOF_WCHAR_T = 4
  121. const m___ATOMIC_ACQUIRE = 2
  122. const m___ATOMIC_ACQ_REL = 4
  123. const m___ATOMIC_CONSUME = 1
  124. const m___ATOMIC_RELAXED = 0
  125. const m___ATOMIC_RELEASE = 3
  126. const m___ATOMIC_SEQ_CST = 5
  127. const m___BIGGEST_ALIGNMENT__ = 8
  128. const m___BIG_ENDIAN = 4321
  129. const m___BYTE_ORDER = 1234
  130. const m___BYTE_ORDER__ = "__ORDER_LITTLE_ENDIAN__"
  131. const m___CCGO__ = 1
  132. const m___CHAR_BIT__ = 8
  133. const m___CHAR_UNSIGNED__ = 1
  134. const m___DA_FBIT__ = 31
  135. const m___DA_IBIT__ = 32
  136. const m___DBL_DECIMAL_DIG__ = 17
  137. const m___DBL_DIG__ = 15
  138. const m___DBL_HAS_DENORM__ = 1
  139. const m___DBL_HAS_INFINITY__ = 1
  140. const m___DBL_HAS_QUIET_NAN__ = 1
  141. const m___DBL_IS_IEC_60559__ = 2
  142. const m___DBL_MANT_DIG__ = 53
  143. const m___DBL_MAX_10_EXP__ = 308
  144. const m___DBL_MAX_EXP__ = 1024
  145. const m___DECIMAL_DIG__ = 17
  146. const m___DEC_EVAL_METHOD__ = 2
  147. const m___DQ_FBIT__ = 63
  148. const m___DQ_IBIT__ = 0
  149. const m___ELF__ = 1
  150. const m___EXTENSIONS__ = 1
  151. const m___FINITE_MATH_ONLY__ = 0
  152. const m___FLOAT_WORD_ORDER__ = "__ORDER_LITTLE_ENDIAN__"
  153. const m___FLT32X_DECIMAL_DIG__ = 17
  154. const m___FLT32X_DENORM_MIN__ = 4.9406564584124654e-324
  155. const m___FLT32X_DIG__ = 15
  156. const m___FLT32X_EPSILON__ = 2.2204460492503131e-16
  157. const m___FLT32X_HAS_DENORM__ = 1
  158. const m___FLT32X_HAS_INFINITY__ = 1
  159. const m___FLT32X_HAS_QUIET_NAN__ = 1
  160. const m___FLT32X_IS_IEC_60559__ = 2
  161. const m___FLT32X_MANT_DIG__ = 53
  162. const m___FLT32X_MAX_10_EXP__ = 308
  163. const m___FLT32X_MAX_EXP__ = 1024
  164. const m___FLT32X_MAX__ = 1.7976931348623157e+308
  165. const m___FLT32X_MIN__ = 2.2250738585072014e-308
  166. const m___FLT32X_NORM_MAX__ = 1.7976931348623157e+308
  167. const m___FLT32_DECIMAL_DIG__ = 9
  168. const m___FLT32_DENORM_MIN__ = 1.4012984643248171e-45
  169. const m___FLT32_DIG__ = 6
  170. const m___FLT32_EPSILON__ = 1.1920928955078125e-7
  171. const m___FLT32_HAS_DENORM__ = 1
  172. const m___FLT32_HAS_INFINITY__ = 1
  173. const m___FLT32_HAS_QUIET_NAN__ = 1
  174. const m___FLT32_IS_IEC_60559__ = 2
  175. const m___FLT32_MANT_DIG__ = 24
  176. const m___FLT32_MAX_10_EXP__ = 38
  177. const m___FLT32_MAX_EXP__ = 128
  178. const m___FLT32_MAX__ = 3.4028234663852886e+38
  179. const m___FLT32_MIN__ = 1.1754943508222875e-38
  180. const m___FLT32_NORM_MAX__ = 3.4028234663852886e+38
  181. const m___FLT64_DECIMAL_DIG__ = 17
  182. const m___FLT64_DENORM_MIN__ = 4.9406564584124654e-324
  183. const m___FLT64_DIG__ = 15
  184. const m___FLT64_EPSILON__ = 2.2204460492503131e-16
  185. const m___FLT64_HAS_DENORM__ = 1
  186. const m___FLT64_HAS_INFINITY__ = 1
  187. const m___FLT64_HAS_QUIET_NAN__ = 1
  188. const m___FLT64_IS_IEC_60559__ = 2
  189. const m___FLT64_MANT_DIG__ = 53
  190. const m___FLT64_MAX_10_EXP__ = 308
  191. const m___FLT64_MAX_EXP__ = 1024
  192. const m___FLT64_MAX__ = 1.7976931348623157e+308
  193. const m___FLT64_MIN__ = 2.2250738585072014e-308
  194. const m___FLT64_NORM_MAX__ = 1.7976931348623157e+308
  195. const m___FLT_DECIMAL_DIG__ = 9
  196. const m___FLT_DENORM_MIN__ = 1.4012984643248171e-45
  197. const m___FLT_DIG__ = 6
  198. const m___FLT_EPSILON__ = 1.1920928955078125e-7
  199. const m___FLT_EVAL_METHOD_TS_18661_3__ = 0
  200. const m___FLT_EVAL_METHOD__ = 0
  201. const m___FLT_HAS_DENORM__ = 1
  202. const m___FLT_HAS_INFINITY__ = 1
  203. const m___FLT_HAS_QUIET_NAN__ = 1
  204. const m___FLT_IS_IEC_60559__ = 2
  205. const m___FLT_MANT_DIG__ = 24
  206. const m___FLT_MAX_10_EXP__ = 38
  207. const m___FLT_MAX_EXP__ = 128
  208. const m___FLT_MAX__ = 3.4028234663852886e+38
  209. const m___FLT_MIN__ = 1.1754943508222875e-38
  210. const m___FLT_NORM_MAX__ = 3.4028234663852886e+38
  211. const m___FLT_RADIX__ = 2
  212. const m___FRACT_EPSILON__ = "0x1P-15R"
  213. const m___FRACT_FBIT__ = 15
  214. const m___FRACT_IBIT__ = 0
  215. const m___FRACT_MAX__ = "0X7FFFP-15R"
  216. const m___FUNCTION__ = "__func__"
  217. const m___GCC_ASM_FLAG_OUTPUTS__ = 1
  218. const m___GCC_ATOMIC_BOOL_LOCK_FREE = 1
  219. const m___GCC_ATOMIC_CHAR16_T_LOCK_FREE = 1
  220. const m___GCC_ATOMIC_CHAR32_T_LOCK_FREE = 2
  221. const m___GCC_ATOMIC_CHAR_LOCK_FREE = 1
  222. const m___GCC_ATOMIC_INT_LOCK_FREE = 2
  223. const m___GCC_ATOMIC_LLONG_LOCK_FREE = 1
  224. const m___GCC_ATOMIC_LONG_LOCK_FREE = 2
  225. const m___GCC_ATOMIC_POINTER_LOCK_FREE = 2
  226. const m___GCC_ATOMIC_SHORT_LOCK_FREE = 1
  227. const m___GCC_ATOMIC_TEST_AND_SET_TRUEVAL = 1
  228. const m___GCC_ATOMIC_WCHAR_T_LOCK_FREE = 2
  229. const m___GCC_CONSTRUCTIVE_SIZE = 64
  230. const m___GCC_DESTRUCTIVE_SIZE = 64
  231. const m___GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 = 1
  232. const m___GCC_IEC_559 = 2
  233. const m___GCC_IEC_559_COMPLEX = 2
  234. const m___GNUC_EXECUTION_CHARSET_NAME = "UTF-8"
  235. const m___GNUC_MINOR__ = 2
  236. const m___GNUC_PATCHLEVEL__ = 0
  237. const m___GNUC_STDC_INLINE__ = 1
  238. const m___GNUC_WIDE_EXECUTION_CHARSET_NAME = "UTF-32LE"
  239. const m___GNUC__ = 12
  240. const m___GXX_ABI_VERSION = 1017
  241. const m___GXX_TYPEINFO_EQUALITY_INLINE = 0
  242. const m___HAVE_SPECULATION_SAFE_VALUE = 1
  243. const m___HA_FBIT__ = 7
  244. const m___HA_IBIT__ = 8
  245. const m___HQ_FBIT__ = 15
  246. const m___HQ_IBIT__ = 0
  247. const m___INT16_MAX__ = 0x7fff
  248. const m___INT32_MAX__ = 0x7fffffff
  249. const m___INT32_TYPE__ = "int"
  250. const m___INT64_MAX__ = 0x7fffffffffffffff
  251. const m___INT8_MAX__ = 0x7f
  252. const m___INTMAX_MAX__ = 0x7fffffffffffffff
  253. const m___INTMAX_WIDTH__ = 64
  254. const m___INTPTR_MAX__ = 0x7fffffff
  255. const m___INTPTR_TYPE__ = "int"
  256. const m___INTPTR_WIDTH__ = 32
  257. const m___INT_FAST16_MAX__ = 0x7fffffff
  258. const m___INT_FAST16_TYPE__ = "int"
  259. const m___INT_FAST16_WIDTH__ = 32
  260. const m___INT_FAST32_MAX__ = 0x7fffffff
  261. const m___INT_FAST32_TYPE__ = "int"
  262. const m___INT_FAST32_WIDTH__ = 32
  263. const m___INT_FAST64_MAX__ = 0x7fffffffffffffff
  264. const m___INT_FAST64_WIDTH__ = 64
  265. const m___INT_FAST8_MAX__ = 0x7f
  266. const m___INT_FAST8_WIDTH__ = 8
  267. const m___INT_LEAST16_MAX__ = 0x7fff
  268. const m___INT_LEAST16_WIDTH__ = 16
  269. const m___INT_LEAST32_MAX__ = 0x7fffffff
  270. const m___INT_LEAST32_TYPE__ = "int"
  271. const m___INT_LEAST32_WIDTH__ = 32
  272. const m___INT_LEAST64_MAX__ = 0x7fffffffffffffff
  273. const m___INT_LEAST64_WIDTH__ = 64
  274. const m___INT_LEAST8_MAX__ = 0x7f
  275. const m___INT_LEAST8_WIDTH__ = 8
  276. const m___INT_MAX__ = 0x7fffffff
  277. const m___INT_WIDTH__ = 32
  278. const m___LACCUM_EPSILON__ = "0x1P-31LK"
  279. const m___LACCUM_FBIT__ = 31
  280. const m___LACCUM_IBIT__ = 32
  281. const m___LACCUM_MAX__ = "0X7FFFFFFFFFFFFFFFP-31LK"
  282. const m___LDBL_DECIMAL_DIG__ = 17
  283. const m___LDBL_DENORM_MIN__ = 4.9406564584124654e-324
  284. const m___LDBL_DIG__ = 15
  285. const m___LDBL_EPSILON__ = 2.2204460492503131e-16
  286. const m___LDBL_HAS_DENORM__ = 1
  287. const m___LDBL_HAS_INFINITY__ = 1
  288. const m___LDBL_HAS_QUIET_NAN__ = 1
  289. const m___LDBL_IS_IEC_60559__ = 2
  290. const m___LDBL_MANT_DIG__ = 53
  291. const m___LDBL_MAX_10_EXP__ = 308
  292. const m___LDBL_MAX_EXP__ = 1024
  293. const m___LDBL_MAX__ = 1.7976931348623157e+308
  294. const m___LDBL_MIN__ = 2.2250738585072014e-308
  295. const m___LDBL_NORM_MAX__ = 1.7976931348623157e+308
  296. const m___LFRACT_EPSILON__ = "0x1P-31LR"
  297. const m___LFRACT_FBIT__ = 31
  298. const m___LFRACT_IBIT__ = 0
  299. const m___LFRACT_MAX__ = "0X7FFFFFFFP-31LR"
  300. const m___LITTLE_ENDIAN = 1234
  301. const m___LLACCUM_EPSILON__ = "0x1P-31LLK"
  302. const m___LLACCUM_FBIT__ = 31
  303. const m___LLACCUM_IBIT__ = 32
  304. const m___LLACCUM_MAX__ = "0X7FFFFFFFFFFFFFFFP-31LLK"
  305. const m___LLFRACT_EPSILON__ = "0x1P-63LLR"
  306. const m___LLFRACT_FBIT__ = 63
  307. const m___LLFRACT_IBIT__ = 0
  308. const m___LLFRACT_MAX__ = "0X7FFFFFFFFFFFFFFFP-63LLR"
  309. const m___LONG_LONG_MAX__ = 0x7fffffffffffffff
  310. const m___LONG_LONG_WIDTH__ = 64
  311. const m___LONG_MAX = 0x7fffffff
  312. const m___LONG_MAX__ = 0x7fffffff
  313. const m___LONG_WIDTH__ = 32
  314. const m___NO_INLINE__ = 1
  315. const m___ORDER_BIG_ENDIAN__ = 4321
  316. const m___ORDER_LITTLE_ENDIAN__ = 1234
  317. const m___ORDER_PDP_ENDIAN__ = 3412
  318. const m___PDP_ENDIAN = 3412
  319. const m___PRAGMA_REDEFINE_EXTNAME = 1
  320. const m___PRETTY_FUNCTION__ = "__func__"
  321. const m___PTRDIFF_MAX__ = 0x7fffffff
  322. const m___PTRDIFF_TYPE__ = "int"
  323. const m___PTRDIFF_WIDTH__ = 32
  324. const m___QQ_FBIT__ = 7
  325. const m___QQ_IBIT__ = 0
  326. const m___SACCUM_EPSILON__ = "0x1P-7HK"
  327. const m___SACCUM_FBIT__ = 7
  328. const m___SACCUM_IBIT__ = 8
  329. const m___SACCUM_MAX__ = "0X7FFFP-7HK"
  330. const m___SA_FBIT__ = 15
  331. const m___SA_IBIT__ = 16
  332. const m___SCHAR_MAX__ = 0x7f
  333. const m___SCHAR_WIDTH__ = 8
  334. const m___SFRACT_EPSILON__ = "0x1P-7HR"
  335. const m___SFRACT_FBIT__ = 7
  336. const m___SFRACT_IBIT__ = 0
  337. const m___SFRACT_MAX__ = "0X7FP-7HR"
  338. const m___SHRT_MAX__ = 0x7fff
  339. const m___SHRT_WIDTH__ = 16
  340. const m___SIG_ATOMIC_MAX__ = 0x7fffffff
  341. const m___SIG_ATOMIC_TYPE__ = "int"
  342. const m___SIG_ATOMIC_WIDTH__ = 32
  343. const m___SIZEOF_DOUBLE__ = 8
  344. const m___SIZEOF_FLOAT__ = 4
  345. const m___SIZEOF_INT__ = 4
  346. const m___SIZEOF_LONG_DOUBLE__ = 8
  347. const m___SIZEOF_LONG_LONG__ = 8
  348. const m___SIZEOF_LONG__ = 4
  349. const m___SIZEOF_POINTER__ = 4
  350. const m___SIZEOF_PTRDIFF_T__ = 4
  351. const m___SIZEOF_SHORT__ = 2
  352. const m___SIZEOF_SIZE_T__ = 4
  353. const m___SIZEOF_WCHAR_T__ = 4
  354. const m___SIZEOF_WINT_T__ = 4
  355. const m___SIZE_MAX__ = 0xffffffff
  356. const m___SIZE_WIDTH__ = 32
  357. const m___SQ_FBIT__ = 31
  358. const m___SQ_IBIT__ = 0
  359. const m___STDC_HOSTED__ = 1
  360. const m___STDC_IEC_559_COMPLEX__ = 1
  361. const m___STDC_IEC_559__ = 1
  362. const m___STDC_IEC_60559_BFP__ = 201404
  363. const m___STDC_IEC_60559_COMPLEX__ = 201404
  364. const m___STDC_ISO_10646__ = 201706
  365. const m___STDC_UTF_16__ = 1
  366. const m___STDC_UTF_32__ = 1
  367. const m___STDC_VERSION__ = 201710
  368. const m___STDC_WANT_IEC_60559_ATTRIBS_EXT__ = 1
  369. const m___STDC_WANT_IEC_60559_BFP_EXT__ = 1
  370. const m___STDC_WANT_IEC_60559_DFP_EXT__ = 1
  371. const m___STDC_WANT_IEC_60559_FUNCS_EXT__ = 1
  372. const m___STDC_WANT_IEC_60559_TYPES_EXT__ = 1
  373. const m___STDC_WANT_LIB_EXT2__ = 1
  374. const m___STDC_WANT_MATH_SPEC_FUNCS__ = 1
  375. const m___STDC__ = 1
  376. const m___TA_FBIT__ = 63
  377. const m___TA_IBIT__ = 64
  378. const m___THUMB_INTERWORK__ = 1
  379. const m___TQ_FBIT__ = 127
  380. const m___TQ_IBIT__ = 0
  381. const m___UACCUM_EPSILON__ = "0x1P-16UK"
  382. const m___UACCUM_FBIT__ = 16
  383. const m___UACCUM_IBIT__ = 16
  384. const m___UACCUM_MAX__ = "0XFFFFFFFFP-16UK"
  385. const m___UACCUM_MIN__ = "0.0UK"
  386. const m___UDA_FBIT__ = 32
  387. const m___UDA_IBIT__ = 32
  388. const m___UDQ_FBIT__ = 64
  389. const m___UDQ_IBIT__ = 0
  390. const m___UFRACT_EPSILON__ = "0x1P-16UR"
  391. const m___UFRACT_FBIT__ = 16
  392. const m___UFRACT_IBIT__ = 0
  393. const m___UFRACT_MAX__ = "0XFFFFP-16UR"
  394. const m___UFRACT_MIN__ = "0.0UR"
  395. const m___UHA_FBIT__ = 8
  396. const m___UHA_IBIT__ = 8
  397. const m___UHQ_FBIT__ = 16
  398. const m___UHQ_IBIT__ = 0
  399. const m___UINT16_MAX__ = 0xffff
  400. const m___UINT32_MAX__ = 0xffffffff
  401. const m___UINT64_MAX__ = "0xffffffffffffffffU"
  402. const m___UINT8_MAX__ = 0xff
  403. const m___UINTMAX_MAX__ = "0xffffffffffffffffU"
  404. const m___UINTPTR_MAX__ = 0xffffffff
  405. const m___UINT_FAST16_MAX__ = 0xffffffff
  406. const m___UINT_FAST32_MAX__ = 0xffffffff
  407. const m___UINT_FAST64_MAX__ = "0xffffffffffffffffU"
  408. const m___UINT_FAST8_MAX__ = 0xff
  409. const m___UINT_LEAST16_MAX__ = 0xffff
  410. const m___UINT_LEAST32_MAX__ = 0xffffffff
  411. const m___UINT_LEAST64_MAX__ = "0xffffffffffffffffU"
  412. const m___UINT_LEAST8_MAX__ = 0xff
  413. const m___ULACCUM_EPSILON__ = "0x1P-32ULK"
  414. const m___ULACCUM_FBIT__ = 32
  415. const m___ULACCUM_IBIT__ = 32
  416. const m___ULACCUM_MAX__ = "0XFFFFFFFFFFFFFFFFP-32ULK"
  417. const m___ULACCUM_MIN__ = "0.0ULK"
  418. const m___ULFRACT_EPSILON__ = "0x1P-32ULR"
  419. const m___ULFRACT_FBIT__ = 32
  420. const m___ULFRACT_IBIT__ = 0
  421. const m___ULFRACT_MAX__ = "0XFFFFFFFFP-32ULR"
  422. const m___ULFRACT_MIN__ = "0.0ULR"
  423. const m___ULLACCUM_EPSILON__ = "0x1P-32ULLK"
  424. const m___ULLACCUM_FBIT__ = 32
  425. const m___ULLACCUM_IBIT__ = 32
  426. const m___ULLACCUM_MAX__ = "0XFFFFFFFFFFFFFFFFP-32ULLK"
  427. const m___ULLACCUM_MIN__ = "0.0ULLK"
  428. const m___ULLFRACT_EPSILON__ = "0x1P-64ULLR"
  429. const m___ULLFRACT_FBIT__ = 64
  430. const m___ULLFRACT_IBIT__ = 0
  431. const m___ULLFRACT_MAX__ = "0XFFFFFFFFFFFFFFFFP-64ULLR"
  432. const m___ULLFRACT_MIN__ = "0.0ULLR"
  433. const m___UQQ_FBIT__ = 8
  434. const m___UQQ_IBIT__ = 0
  435. const m___USACCUM_EPSILON__ = "0x1P-8UHK"
  436. const m___USACCUM_FBIT__ = 8
  437. const m___USACCUM_IBIT__ = 8
  438. const m___USACCUM_MAX__ = "0XFFFFP-8UHK"
  439. const m___USACCUM_MIN__ = "0.0UHK"
  440. const m___USA_FBIT__ = 16
  441. const m___USA_IBIT__ = 16
  442. const m___USE_TIME_BITS64 = 1
  443. const m___USFRACT_EPSILON__ = "0x1P-8UHR"
  444. const m___USFRACT_FBIT__ = 8
  445. const m___USFRACT_IBIT__ = 0
  446. const m___USFRACT_MAX__ = "0XFFP-8UHR"
  447. const m___USFRACT_MIN__ = "0.0UHR"
  448. const m___USQ_FBIT__ = 32
  449. const m___USQ_IBIT__ = 0
  450. const m___UTA_FBIT__ = 64
  451. const m___UTA_IBIT__ = 64
  452. const m___UTQ_FBIT__ = 128
  453. const m___UTQ_IBIT__ = 0
  454. const m___VERSION__ = "12.2.0"
  455. const m___VFP_FP__ = 1
  456. const m___WCHAR_MAX__ = 0xffffffff
  457. const m___WCHAR_MIN__ = 0
  458. const m___WCHAR_WIDTH__ = 32
  459. const m___WINT_MAX__ = 0xffffffff
  460. const m___WINT_MIN__ = 0
  461. const m___WINT_WIDTH__ = 32
  462. const m___arm__ = 1
  463. const m___gnu_linux__ = 1
  464. const m___inline = "inline"
  465. const m___linux = 1
  466. const m___linux__ = 1
  467. const m___restrict = "restrict"
  468. const m___restrict_arr = "restrict"
  469. const m___unix = 1
  470. const m___unix__ = 1
  471. const m_linux = 1
  472. const m_static_assert = "_Static_assert"
  473. const m_unix = 1
  474. type t__builtin_va_list = uintptr
  475. type t__predefined_size_t = uint32
  476. type t__predefined_wchar_t = uint32
  477. type t__predefined_ptrdiff_t = int32
  478. type Tsize_t = uint32
  479. type Tssize_t = int32
  480. type Tregister_t = int32
  481. type Ttime_t = int64
  482. type Tsuseconds_t = int64
  483. type Tint8_t = int8
  484. type Tint16_t = int16
  485. type Tint32_t = int32
  486. type Tint64_t = int64
  487. type Tu_int64_t = uint64
  488. type Tmode_t = uint32
  489. type Tnlink_t = uint32
  490. type Toff_t = int64
  491. type Tino_t = uint64
  492. type Tdev_t = uint64
  493. type Tblksize_t = int32
  494. type Tblkcnt_t = int64
  495. type Tfsblkcnt_t = uint64
  496. type Tfsfilcnt_t = uint64
  497. type Ttimer_t = uintptr
  498. type Tclockid_t = int32
  499. type Tclock_t = int32
  500. type Tpid_t = int32
  501. type Tid_t = uint32
  502. type Tuid_t = uint32
  503. type Tgid_t = uint32
  504. type Tkey_t = int32
  505. type Tuseconds_t = uint32
  506. type Tpthread_t = uintptr
  507. type Tpthread_once_t = int32
  508. type Tpthread_key_t = uint32
  509. type Tpthread_spinlock_t = int32
  510. type Tpthread_mutexattr_t = struct {
  511. F__attr uint32
  512. }
  513. type Tpthread_condattr_t = struct {
  514. F__attr uint32
  515. }
  516. type Tpthread_barrierattr_t = struct {
  517. F__attr uint32
  518. }
  519. type Tpthread_rwlockattr_t = struct {
  520. F__attr [2]uint32
  521. }
  522. type Tpthread_attr_t = struct {
  523. F__u struct {
  524. F__vi [0][9]int32
  525. F__s [0][9]uint32
  526. F__i [9]int32
  527. }
  528. }
  529. type Tpthread_mutex_t = struct {
  530. F__u struct {
  531. F__vi [0][6]int32
  532. F__p [0][6]uintptr
  533. F__i [6]int32
  534. }
  535. F__ccgo_room int32
  536. }
  537. type Tpthread_cond_t = struct {
  538. F__u struct {
  539. F__vi [0][12]int32
  540. F__p [0][12]uintptr
  541. F__i [12]int32
  542. }
  543. }
  544. type Tpthread_rwlock_t = struct {
  545. F__u struct {
  546. F__vi [0][8]int32
  547. F__p [0][8]uintptr
  548. F__i [8]int32
  549. }
  550. }
  551. type Tpthread_barrier_t = struct {
  552. F__u struct {
  553. F__vi [0][5]int32
  554. F__p [0][5]uintptr
  555. F__i [5]int32
  556. }
  557. }
  558. type Tu_int8_t = uint8
  559. type Tu_int16_t = uint16
  560. type Tu_int32_t = uint32
  561. type Tcaddr_t = uintptr
  562. type Tu_char = uint8
  563. type Tu_short = uint16
  564. type Tushort = uint16
  565. type Tu_int = uint32
  566. type Tuint = uint32
  567. type Tu_long = uint32
  568. type Tulong = uint32
  569. type Tquad_t = int64
  570. type Tu_quad_t = uint64
  571. type Tuint16_t = uint16
  572. type Tuint32_t = uint32
  573. type Tuint64_t = uint64
  574. type Ttimeval = struct {
  575. F__ccgo_align [0]uint32
  576. Ftv_sec Ttime_t
  577. Ftv_usec Tsuseconds_t
  578. }
  579. type Ttimespec = struct {
  580. F__ccgo_align [0]uint32
  581. Ftv_sec Ttime_t
  582. Ftv_nsec int32
  583. F__ccgo12 uint32
  584. }
  585. type Tsigset_t = struct {
  586. F__bits [32]uint32
  587. }
  588. type t__sigset_t = Tsigset_t
  589. type Tfd_mask = uint32
  590. type Tfd_set = struct {
  591. Ffds_bits [32]uint32
  592. }
  593. type Tuintptr_t = uint32
  594. type Tintptr_t = int32
  595. type Tintmax_t = int64
  596. type Tuint8_t = uint8
  597. type Tuintmax_t = uint64
  598. type Tint_fast8_t = int8
  599. type Tint_fast64_t = int64
  600. type Tint_least8_t = int8
  601. type Tint_least16_t = int16
  602. type Tint_least32_t = int32
  603. type Tint_least64_t = int64
  604. type Tuint_fast8_t = uint8
  605. type Tuint_fast64_t = uint64
  606. type Tuint_least8_t = uint8
  607. type Tuint_least16_t = uint16
  608. type Tuint_least32_t = uint32
  609. type Tuint_least64_t = uint64
  610. type Tint_fast16_t = int32
  611. type Tint_fast32_t = int32
  612. type Tuint_fast16_t = uint32
  613. type Tuint_fast32_t = uint32
  614. type TMD2_CTX = struct {
  615. Fi Tuint32_t
  616. FC [16]uint8
  617. FX [48]uint8
  618. }
  619. type TMD2Context = TMD2_CTX
  620. type Tlocale_t = uintptr
  621. // C documentation
  622. //
  623. // /* cut-n-pasted from rfc1319 */
  624. var _S = [256]uint8{
  625. 0: uint8(41),
  626. 1: uint8(46),
  627. 2: uint8(67),
  628. 3: uint8(201),
  629. 4: uint8(162),
  630. 5: uint8(216),
  631. 6: uint8(124),
  632. 7: uint8(1),
  633. 8: uint8(61),
  634. 9: uint8(54),
  635. 10: uint8(84),
  636. 11: uint8(161),
  637. 12: uint8(236),
  638. 13: uint8(240),
  639. 14: uint8(6),
  640. 15: uint8(19),
  641. 16: uint8(98),
  642. 17: uint8(167),
  643. 18: uint8(5),
  644. 19: uint8(243),
  645. 20: uint8(192),
  646. 21: uint8(199),
  647. 22: uint8(115),
  648. 23: uint8(140),
  649. 24: uint8(152),
  650. 25: uint8(147),
  651. 26: uint8(43),
  652. 27: uint8(217),
  653. 28: uint8(188),
  654. 29: uint8(76),
  655. 30: uint8(130),
  656. 31: uint8(202),
  657. 32: uint8(30),
  658. 33: uint8(155),
  659. 34: uint8(87),
  660. 35: uint8(60),
  661. 36: uint8(253),
  662. 37: uint8(212),
  663. 38: uint8(224),
  664. 39: uint8(22),
  665. 40: uint8(103),
  666. 41: uint8(66),
  667. 42: uint8(111),
  668. 43: uint8(24),
  669. 44: uint8(138),
  670. 45: uint8(23),
  671. 46: uint8(229),
  672. 47: uint8(18),
  673. 48: uint8(190),
  674. 49: uint8(78),
  675. 50: uint8(196),
  676. 51: uint8(214),
  677. 52: uint8(218),
  678. 53: uint8(158),
  679. 54: uint8(222),
  680. 55: uint8(73),
  681. 56: uint8(160),
  682. 57: uint8(251),
  683. 58: uint8(245),
  684. 59: uint8(142),
  685. 60: uint8(187),
  686. 61: uint8(47),
  687. 62: uint8(238),
  688. 63: uint8(122),
  689. 64: uint8(169),
  690. 65: uint8(104),
  691. 66: uint8(121),
  692. 67: uint8(145),
  693. 68: uint8(21),
  694. 69: uint8(178),
  695. 70: uint8(7),
  696. 71: uint8(63),
  697. 72: uint8(148),
  698. 73: uint8(194),
  699. 74: uint8(16),
  700. 75: uint8(137),
  701. 76: uint8(11),
  702. 77: uint8(34),
  703. 78: uint8(95),
  704. 79: uint8(33),
  705. 80: uint8(128),
  706. 81: uint8(127),
  707. 82: uint8(93),
  708. 83: uint8(154),
  709. 84: uint8(90),
  710. 85: uint8(144),
  711. 86: uint8(50),
  712. 87: uint8(39),
  713. 88: uint8(53),
  714. 89: uint8(62),
  715. 90: uint8(204),
  716. 91: uint8(231),
  717. 92: uint8(191),
  718. 93: uint8(247),
  719. 94: uint8(151),
  720. 95: uint8(3),
  721. 96: uint8(255),
  722. 97: uint8(25),
  723. 98: uint8(48),
  724. 99: uint8(179),
  725. 100: uint8(72),
  726. 101: uint8(165),
  727. 102: uint8(181),
  728. 103: uint8(209),
  729. 104: uint8(215),
  730. 105: uint8(94),
  731. 106: uint8(146),
  732. 107: uint8(42),
  733. 108: uint8(172),
  734. 109: uint8(86),
  735. 110: uint8(170),
  736. 111: uint8(198),
  737. 112: uint8(79),
  738. 113: uint8(184),
  739. 114: uint8(56),
  740. 115: uint8(210),
  741. 116: uint8(150),
  742. 117: uint8(164),
  743. 118: uint8(125),
  744. 119: uint8(182),
  745. 120: uint8(118),
  746. 121: uint8(252),
  747. 122: uint8(107),
  748. 123: uint8(226),
  749. 124: uint8(156),
  750. 125: uint8(116),
  751. 126: uint8(4),
  752. 127: uint8(241),
  753. 128: uint8(69),
  754. 129: uint8(157),
  755. 130: uint8(112),
  756. 131: uint8(89),
  757. 132: uint8(100),
  758. 133: uint8(113),
  759. 134: uint8(135),
  760. 135: uint8(32),
  761. 136: uint8(134),
  762. 137: uint8(91),
  763. 138: uint8(207),
  764. 139: uint8(101),
  765. 140: uint8(230),
  766. 141: uint8(45),
  767. 142: uint8(168),
  768. 143: uint8(2),
  769. 144: uint8(27),
  770. 145: uint8(96),
  771. 146: uint8(37),
  772. 147: uint8(173),
  773. 148: uint8(174),
  774. 149: uint8(176),
  775. 150: uint8(185),
  776. 151: uint8(246),
  777. 152: uint8(28),
  778. 153: uint8(70),
  779. 154: uint8(97),
  780. 155: uint8(105),
  781. 156: uint8(52),
  782. 157: uint8(64),
  783. 158: uint8(126),
  784. 159: uint8(15),
  785. 160: uint8(85),
  786. 161: uint8(71),
  787. 162: uint8(163),
  788. 163: uint8(35),
  789. 164: uint8(221),
  790. 165: uint8(81),
  791. 166: uint8(175),
  792. 167: uint8(58),
  793. 168: uint8(195),
  794. 169: uint8(92),
  795. 170: uint8(249),
  796. 171: uint8(206),
  797. 172: uint8(186),
  798. 173: uint8(197),
  799. 174: uint8(234),
  800. 175: uint8(38),
  801. 176: uint8(44),
  802. 177: uint8(83),
  803. 178: uint8(13),
  804. 179: uint8(110),
  805. 180: uint8(133),
  806. 181: uint8(40),
  807. 182: uint8(132),
  808. 183: uint8(9),
  809. 184: uint8(211),
  810. 185: uint8(223),
  811. 186: uint8(205),
  812. 187: uint8(244),
  813. 188: uint8(65),
  814. 189: uint8(129),
  815. 190: uint8(77),
  816. 191: uint8(82),
  817. 192: uint8(106),
  818. 193: uint8(220),
  819. 194: uint8(55),
  820. 195: uint8(200),
  821. 196: uint8(108),
  822. 197: uint8(193),
  823. 198: uint8(171),
  824. 199: uint8(250),
  825. 200: uint8(36),
  826. 201: uint8(225),
  827. 202: uint8(123),
  828. 203: uint8(8),
  829. 204: uint8(12),
  830. 205: uint8(189),
  831. 206: uint8(177),
  832. 207: uint8(74),
  833. 208: uint8(120),
  834. 209: uint8(136),
  835. 210: uint8(149),
  836. 211: uint8(139),
  837. 212: uint8(227),
  838. 213: uint8(99),
  839. 214: uint8(232),
  840. 215: uint8(109),
  841. 216: uint8(233),
  842. 217: uint8(203),
  843. 218: uint8(213),
  844. 219: uint8(254),
  845. 220: uint8(59),
  846. 222: uint8(29),
  847. 223: uint8(57),
  848. 224: uint8(242),
  849. 225: uint8(239),
  850. 226: uint8(183),
  851. 227: uint8(14),
  852. 228: uint8(102),
  853. 229: uint8(88),
  854. 230: uint8(208),
  855. 231: uint8(228),
  856. 232: uint8(166),
  857. 233: uint8(119),
  858. 234: uint8(114),
  859. 235: uint8(248),
  860. 236: uint8(235),
  861. 237: uint8(117),
  862. 238: uint8(75),
  863. 239: uint8(10),
  864. 240: uint8(49),
  865. 241: uint8(68),
  866. 242: uint8(80),
  867. 243: uint8(180),
  868. 244: uint8(143),
  869. 245: uint8(237),
  870. 246: uint8(31),
  871. 247: uint8(26),
  872. 248: uint8(219),
  873. 249: uint8(153),
  874. 250: uint8(141),
  875. 251: uint8(51),
  876. 252: uint8(159),
  877. 253: uint8(17),
  878. 254: uint8(131),
  879. 255: uint8(20),
  880. }
  881. // C documentation
  882. //
  883. // /* cut-n-pasted from rfc1319 */
  884. var _pad = [17]uintptr{
  885. 0: __ccgo_ts,
  886. 1: __ccgo_ts + 1,
  887. 2: __ccgo_ts + 3,
  888. 3: __ccgo_ts + 6,
  889. 4: __ccgo_ts + 10,
  890. 5: __ccgo_ts + 15,
  891. 6: __ccgo_ts + 21,
  892. 7: __ccgo_ts + 28,
  893. 8: __ccgo_ts + 36,
  894. 9: __ccgo_ts + 45,
  895. 10: __ccgo_ts + 55,
  896. 11: __ccgo_ts + 66,
  897. 12: __ccgo_ts + 78,
  898. 13: __ccgo_ts + 91,
  899. 14: __ccgo_ts + 105,
  900. 15: __ccgo_ts + 120,
  901. 16: __ccgo_ts + 136,
  902. }
  903. func XMD2Init(tls *libc.TLS, context uintptr) {
  904. (*TMD2_CTX)(unsafe.Pointer(context)).Fi = uint32(16)
  905. libc.Xmemset(tls, context+4, 0, uint32(16))
  906. libc.Xmemset(tls, context+20, 0, uint32(48))
  907. }
  908. func XMD2Update(tls *libc.TLS, context uintptr, input uintptr, inputLen uint32) {
  909. var idx, piece uint32
  910. var p2 uintptr
  911. _, _, _ = idx, piece, p2
  912. idx = uint32(0)
  913. for {
  914. if !(idx < inputLen) {
  915. break
  916. }
  917. piece = uint32(32) - (*TMD2_CTX)(unsafe.Pointer(context)).Fi
  918. if inputLen-idx < piece {
  919. piece = inputLen - idx
  920. }
  921. libc.Xmemcpy(tls, context+20+uintptr((*TMD2_CTX)(unsafe.Pointer(context)).Fi), input+uintptr(idx), piece)
  922. p2 = context
  923. *(*Tuint32_t)(unsafe.Pointer(p2)) += piece
  924. if *(*Tuint32_t)(unsafe.Pointer(p2)) == uint32(32) {
  925. XMD2Transform(tls, context)
  926. } /* resets i */
  927. goto _1
  928. _1:
  929. ;
  930. idx += piece
  931. }
  932. }
  933. func XMD2Final(tls *libc.TLS, digest uintptr, context uintptr) {
  934. var padlen uint32
  935. _ = padlen
  936. /* padlen should be 1..16 */
  937. padlen = uint32(32) - (*TMD2_CTX)(unsafe.Pointer(context)).Fi
  938. /* add padding */
  939. XMD2Update(tls, context, _pad[padlen], padlen)
  940. /* add checksum */
  941. XMD2Update(tls, context, context+4, libc.Uint32FromInt64(16))
  942. /* copy out final digest */
  943. libc.Xmemcpy(tls, digest, context+20, libc.Uint32FromInt32(16))
  944. /* reset the context */
  945. XMD2Init(tls, context)
  946. }
  947. // C documentation
  948. //
  949. // /*static*/
  950. func XMD2Transform(tls *libc.TLS, context uintptr) {
  951. var j, k, l, t, v4 Tuint32_t
  952. var v6 uint8
  953. var p2 uintptr
  954. _, _, _, _, _, _, _ = j, k, l, t, v4, v6, p2
  955. /* set block "3" and update "checksum" */
  956. l = uint32(*(*uint8)(unsafe.Pointer(context + 4 + 15)))
  957. j = libc.Uint32FromInt32(0)
  958. for {
  959. if !(j < uint32(16)) {
  960. break
  961. }
  962. *(*uint8)(unsafe.Pointer(context + 20 + uintptr(uint32(32)+j))) = libc.Uint8FromInt32(libc.Int32FromUint8(*(*uint8)(unsafe.Pointer(context + 20 + uintptr(j)))) ^ libc.Int32FromUint8(*(*uint8)(unsafe.Pointer(context + 20 + uintptr(uint32(16)+j)))))
  963. p2 = context + 4 + uintptr(j)
  964. *(*uint8)(unsafe.Pointer(p2)) = uint8(int32(*(*uint8)(unsafe.Pointer(p2))) ^ libc.Int32FromUint8(_S[uint32(*(*uint8)(unsafe.Pointer(context + 20 + uintptr(uint32(16)+j))))^l]))
  965. l = uint32(*(*uint8)(unsafe.Pointer(p2)))
  966. goto _1
  967. _1:
  968. ;
  969. j++
  970. }
  971. /* mangle input block */
  972. v4 = libc.Uint32FromInt32(0)
  973. j = v4
  974. t = v4
  975. for {
  976. if !(j < uint32(18)) {
  977. break
  978. }
  979. k = uint32(0)
  980. for {
  981. if !(k < uint32(48)) {
  982. break
  983. }
  984. v6 = libc.Uint8FromInt32(libc.Int32FromUint8(*(*uint8)(unsafe.Pointer(context + 20 + uintptr(k)))) ^ libc.Int32FromUint8(_S[t]))
  985. *(*uint8)(unsafe.Pointer(context + 20 + uintptr(k))) = v6
  986. t = uint32(v6)
  987. goto _5
  988. _5:
  989. ;
  990. k++
  991. }
  992. goto _3
  993. _3:
  994. ;
  995. t = (t + j) % uint32(256)
  996. j++
  997. }
  998. /* reset input pointer */
  999. (*TMD2_CTX)(unsafe.Pointer(context)).Fi = uint32(16)
  1000. }
  1001. const m_MD4_BLOCK_LENGTH = 64
  1002. const m_MD4_DIGEST_LENGTH = 16
  1003. type TMD4_CTX = struct {
  1004. F__ccgo_align [0]uint32
  1005. Fstate [4]Tuint32_t
  1006. Fcount Tuint64_t
  1007. Fbuffer [64]Tuint8_t
  1008. }
  1009. type TMD4Context = TMD4_CTX
  1010. var _PADDING = [64]Tuint8_t{
  1011. 0: uint8(0x80),
  1012. }
  1013. // C documentation
  1014. //
  1015. // /*
  1016. // * Start MD4 accumulation.
  1017. // * Set bit count to 0 and buffer to mysterious initialization constants.
  1018. // */
  1019. func XMD4Init(tls *libc.TLS, ctx uintptr) {
  1020. (*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount = uint64(0)
  1021. *(*Tuint32_t)(unsafe.Pointer(ctx)) = uint32(0x67452301)
  1022. *(*Tuint32_t)(unsafe.Pointer(ctx + 1*4)) = uint32(0xefcdab89)
  1023. *(*Tuint32_t)(unsafe.Pointer(ctx + 2*4)) = uint32(0x98badcfe)
  1024. *(*Tuint32_t)(unsafe.Pointer(ctx + 3*4)) = uint32(0x10325476)
  1025. }
  1026. // C documentation
  1027. //
  1028. // /*
  1029. // * Update context to reflect the concatenation of another buffer full
  1030. // * of bytes.
  1031. // */
  1032. func XMD4Update(tls *libc.TLS, ctx uintptr, input uintptr, len1 Tsize_t) {
  1033. var have, need Tsize_t
  1034. _, _ = have, need
  1035. /* Check how many bytes we already have and how many more we need. */
  1036. have = uint32((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> libc.Int32FromInt32(3) & libc.Uint64FromInt32(libc.Int32FromInt32(m_MD4_BLOCK_LENGTH)-libc.Int32FromInt32(1)))
  1037. need = uint32(m_MD4_BLOCK_LENGTH) - have
  1038. /* Update bitcount */
  1039. *(*Tuint64_t)(unsafe.Pointer(ctx + 16)) += uint64(len1) << int32(3)
  1040. if len1 >= need {
  1041. if have != uint32(0) {
  1042. libc.Xmemcpy(tls, ctx+24+uintptr(have), input, need)
  1043. XMD4Transform(tls, ctx, ctx+24)
  1044. input += uintptr(need)
  1045. len1 -= need
  1046. have = uint32(0)
  1047. }
  1048. /* Process data in MD4_BLOCK_LENGTH-byte chunks. */
  1049. for len1 >= uint32(m_MD4_BLOCK_LENGTH) {
  1050. XMD4Transform(tls, ctx, input)
  1051. input += uintptr(m_MD4_BLOCK_LENGTH)
  1052. len1 -= uint32(m_MD4_BLOCK_LENGTH)
  1053. }
  1054. }
  1055. /* Handle any remaining bytes of data. */
  1056. if len1 != uint32(0) {
  1057. libc.Xmemcpy(tls, ctx+24+uintptr(have), input, len1)
  1058. }
  1059. }
  1060. // C documentation
  1061. //
  1062. // /*
  1063. // * Pad pad to 64-byte boundary with the bit pattern
  1064. // * 1 0* (64-bit count of bits processed, MSB-first)
  1065. // */
  1066. func XMD4Pad(tls *libc.TLS, ctx uintptr) {
  1067. bp := tls.Alloc(16)
  1068. defer tls.Free(16)
  1069. var padlen Tsize_t
  1070. var _ /* count at bp+0 */ [8]Tuint8_t
  1071. _ = padlen
  1072. /* Convert count to 8 bytes in little endian order. */
  1073. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(7)] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(56))
  1074. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(6)] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(48))
  1075. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(5)] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(40))
  1076. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(4)] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(32))
  1077. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(3)] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(24))
  1078. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(2)] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(16))
  1079. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(1)] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(8))
  1080. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[0] = uint8((*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount)
  1081. /* Pad out to 56 mod 64. */
  1082. padlen = uint32(uint64(m_MD4_BLOCK_LENGTH) - (*TMD4_CTX)(unsafe.Pointer(ctx)).Fcount>>libc.Int32FromInt32(3)&libc.Uint64FromInt32(libc.Int32FromInt32(m_MD4_BLOCK_LENGTH)-libc.Int32FromInt32(1)))
  1083. if padlen < libc.Uint32FromInt32(libc.Int32FromInt32(1)+libc.Int32FromInt32(8)) {
  1084. padlen += uint32(m_MD4_BLOCK_LENGTH)
  1085. }
  1086. XMD4Update(tls, ctx, uintptr(unsafe.Pointer(&_PADDING)), padlen-uint32(8)) /* padlen - 8 <= 64 */
  1087. XMD4Update(tls, ctx, bp, uint32(8))
  1088. }
  1089. // C documentation
  1090. //
  1091. // /*
  1092. // * Final wrapup--call MD4Pad, fill in digest and zero out ctx.
  1093. // */
  1094. func XMD4Final(tls *libc.TLS, digest uintptr, ctx uintptr) {
  1095. var i int32
  1096. _ = i
  1097. XMD4Pad(tls, ctx)
  1098. if digest != libc.UintptrFromInt32(0) {
  1099. i = 0
  1100. for {
  1101. if !(i < int32(4)) {
  1102. break
  1103. }
  1104. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 3)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(24))
  1105. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 2)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(16))
  1106. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 1)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(8))
  1107. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)))) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)))
  1108. goto _1
  1109. _1:
  1110. ;
  1111. i++
  1112. }
  1113. libc.Xmemset(tls, ctx, 0, uint32(88))
  1114. }
  1115. }
  1116. /* The three core functions - F1 is optimized somewhat */
  1117. /* #define F1(x, y, z) (x & y | ~x & z) */
  1118. /* This is the central step in the MD4 algorithm. */
  1119. // C documentation
  1120. //
  1121. // /*
  1122. // * The core of the MD4 algorithm, this alters an existing MD4 hash to
  1123. // * reflect the addition of 16 longwords of new data. MD4Update blocks
  1124. // * the data and converts bytes into longwords for this routine.
  1125. // */
  1126. func XMD4Transform(tls *libc.TLS, state uintptr, block uintptr) {
  1127. bp := tls.Alloc(64)
  1128. defer tls.Free(64)
  1129. var a, b, c, d Tuint32_t
  1130. var _ /* in at bp+0 */ [16]Tuint32_t
  1131. _, _, _, _ = a, b, c, d
  1132. libc.Xmemcpy(tls, bp, block, uint32(64))
  1133. a = *(*Tuint32_t)(unsafe.Pointer(state))
  1134. b = *(*Tuint32_t)(unsafe.Pointer(state + 1*4))
  1135. c = *(*Tuint32_t)(unsafe.Pointer(state + 2*4))
  1136. d = *(*Tuint32_t)(unsafe.Pointer(state + 3*4))
  1137. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]
  1138. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1139. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]
  1140. d = d<<libc.Int32FromInt32(7) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1141. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]
  1142. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1143. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]
  1144. b = b<<libc.Int32FromInt32(19) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(19))
  1145. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]
  1146. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1147. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]
  1148. d = d<<libc.Int32FromInt32(7) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1149. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]
  1150. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1151. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]
  1152. b = b<<libc.Int32FromInt32(19) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(19))
  1153. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]
  1154. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1155. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]
  1156. d = d<<libc.Int32FromInt32(7) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1157. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]
  1158. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1159. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]
  1160. b = b<<libc.Int32FromInt32(19) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(19))
  1161. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]
  1162. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1163. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]
  1164. d = d<<libc.Int32FromInt32(7) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1165. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]
  1166. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1167. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]
  1168. b = b<<libc.Int32FromInt32(19) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(19))
  1169. a += b&c | b&d | c&d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0] + uint32(0x5a827999)
  1170. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1171. d += a&b | a&c | b&c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)] + uint32(0x5a827999)
  1172. d = d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1173. c += d&a | d&b | a&b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)] + uint32(0x5a827999)
  1174. c = c<<libc.Int32FromInt32(9) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1175. b += c&d | c&a | d&a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)] + uint32(0x5a827999)
  1176. b = b<<libc.Int32FromInt32(13) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13))
  1177. a += b&c | b&d | c&d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)] + uint32(0x5a827999)
  1178. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1179. d += a&b | a&c | b&c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)] + uint32(0x5a827999)
  1180. d = d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1181. c += d&a | d&b | a&b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)] + uint32(0x5a827999)
  1182. c = c<<libc.Int32FromInt32(9) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1183. b += c&d | c&a | d&a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)] + uint32(0x5a827999)
  1184. b = b<<libc.Int32FromInt32(13) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13))
  1185. a += b&c | b&d | c&d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)] + uint32(0x5a827999)
  1186. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1187. d += a&b | a&c | b&c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)] + uint32(0x5a827999)
  1188. d = d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1189. c += d&a | d&b | a&b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)] + uint32(0x5a827999)
  1190. c = c<<libc.Int32FromInt32(9) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1191. b += c&d | c&a | d&a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)] + uint32(0x5a827999)
  1192. b = b<<libc.Int32FromInt32(13) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13))
  1193. a += b&c | b&d | c&d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)] + uint32(0x5a827999)
  1194. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1195. d += a&b | a&c | b&c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)] + uint32(0x5a827999)
  1196. d = d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1197. c += d&a | d&b | a&b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)] + uint32(0x5a827999)
  1198. c = c<<libc.Int32FromInt32(9) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1199. b += c&d | c&a | d&a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)] + uint32(0x5a827999)
  1200. b = b<<libc.Int32FromInt32(13) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13))
  1201. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0] + uint32(0x6ed9eba1)
  1202. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1203. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)] + uint32(0x6ed9eba1)
  1204. d = d<<libc.Int32FromInt32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1205. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)] + uint32(0x6ed9eba1)
  1206. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1207. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)] + uint32(0x6ed9eba1)
  1208. b = b<<libc.Int32FromInt32(15) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1209. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)] + uint32(0x6ed9eba1)
  1210. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1211. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)] + uint32(0x6ed9eba1)
  1212. d = d<<libc.Int32FromInt32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1213. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)] + uint32(0x6ed9eba1)
  1214. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1215. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)] + uint32(0x6ed9eba1)
  1216. b = b<<libc.Int32FromInt32(15) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1217. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)] + uint32(0x6ed9eba1)
  1218. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1219. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)] + uint32(0x6ed9eba1)
  1220. d = d<<libc.Int32FromInt32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1221. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)] + uint32(0x6ed9eba1)
  1222. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1223. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)] + uint32(0x6ed9eba1)
  1224. b = b<<libc.Int32FromInt32(15) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1225. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)] + uint32(0x6ed9eba1)
  1226. a = a<<libc.Int32FromInt32(3) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(3))
  1227. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)] + uint32(0x6ed9eba1)
  1228. d = d<<libc.Int32FromInt32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1229. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)] + uint32(0x6ed9eba1)
  1230. c = c<<libc.Int32FromInt32(11) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1231. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)] + uint32(0x6ed9eba1)
  1232. b = b<<libc.Int32FromInt32(15) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1233. *(*Tuint32_t)(unsafe.Pointer(state)) += a
  1234. *(*Tuint32_t)(unsafe.Pointer(state + 1*4)) += b
  1235. *(*Tuint32_t)(unsafe.Pointer(state + 2*4)) += c
  1236. *(*Tuint32_t)(unsafe.Pointer(state + 3*4)) += d
  1237. }
  1238. const m_MD5_BLOCK_LENGTH = 64
  1239. const m_MD5_DIGEST_LENGTH = 16
  1240. type TMD5_CTX = struct {
  1241. F__ccgo_align [0]uint32
  1242. Fstate [4]Tuint32_t
  1243. Fcount Tuint64_t
  1244. Fbuffer [64]Tuint8_t
  1245. }
  1246. type TMD5Context = TMD5_CTX
  1247. /* Avoid polluting the namespace. Even though this makes this usage
  1248. * implementation-specific, defining it unconditionally should not be
  1249. * a problem, and better than possibly breaking unexpecting code. */
  1250. var _PADDING1 = [64]Tuint8_t{
  1251. 0: uint8(0x80),
  1252. }
  1253. // C documentation
  1254. //
  1255. // /*
  1256. // * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
  1257. // * initialization constants.
  1258. // */
  1259. func XMD5Init(tls *libc.TLS, ctx uintptr) {
  1260. (*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount = uint64(0)
  1261. *(*Tuint32_t)(unsafe.Pointer(ctx)) = uint32(0x67452301)
  1262. *(*Tuint32_t)(unsafe.Pointer(ctx + 1*4)) = uint32(0xefcdab89)
  1263. *(*Tuint32_t)(unsafe.Pointer(ctx + 2*4)) = uint32(0x98badcfe)
  1264. *(*Tuint32_t)(unsafe.Pointer(ctx + 3*4)) = uint32(0x10325476)
  1265. }
  1266. // C documentation
  1267. //
  1268. // /*
  1269. // * Update context to reflect the concatenation of another buffer full
  1270. // * of bytes.
  1271. // */
  1272. func XMD5Update(tls *libc.TLS, ctx uintptr, input uintptr, len1 Tsize_t) {
  1273. var have, need Tsize_t
  1274. _, _ = have, need
  1275. /* Check how many bytes we already have and how many more we need. */
  1276. have = uint32((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> libc.Int32FromInt32(3) & libc.Uint64FromInt32(libc.Int32FromInt32(m_MD5_BLOCK_LENGTH)-libc.Int32FromInt32(1)))
  1277. need = uint32(m_MD5_BLOCK_LENGTH) - have
  1278. /* Update bitcount */
  1279. *(*Tuint64_t)(unsafe.Pointer(ctx + 16)) += uint64(len1) << int32(3)
  1280. if len1 >= need {
  1281. if have != uint32(0) {
  1282. libc.Xmemcpy(tls, ctx+24+uintptr(have), input, need)
  1283. XMD5Transform(tls, ctx, ctx+24)
  1284. input += uintptr(need)
  1285. len1 -= need
  1286. have = uint32(0)
  1287. }
  1288. /* Process data in MD5_BLOCK_LENGTH-byte chunks. */
  1289. for len1 >= uint32(m_MD5_BLOCK_LENGTH) {
  1290. XMD5Transform(tls, ctx, input)
  1291. input += uintptr(m_MD5_BLOCK_LENGTH)
  1292. len1 -= uint32(m_MD5_BLOCK_LENGTH)
  1293. }
  1294. }
  1295. /* Handle any remaining bytes of data. */
  1296. if len1 != uint32(0) {
  1297. libc.Xmemcpy(tls, ctx+24+uintptr(have), input, len1)
  1298. }
  1299. }
  1300. // C documentation
  1301. //
  1302. // /*
  1303. // * Pad pad to 64-byte boundary with the bit pattern
  1304. // * 1 0* (64-bit count of bits processed, MSB-first)
  1305. // */
  1306. func XMD5Pad(tls *libc.TLS, ctx uintptr) {
  1307. bp := tls.Alloc(16)
  1308. defer tls.Free(16)
  1309. var padlen Tsize_t
  1310. var _ /* count at bp+0 */ [8]Tuint8_t
  1311. _ = padlen
  1312. /* Convert count to 8 bytes in little endian order. */
  1313. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(7)] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(56))
  1314. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(6)] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(48))
  1315. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(5)] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(40))
  1316. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(4)] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(32))
  1317. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(3)] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(24))
  1318. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(2)] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(16))
  1319. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(1)] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(8))
  1320. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[0] = uint8((*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount)
  1321. /* Pad out to 56 mod 64. */
  1322. padlen = uint32(uint64(m_MD5_BLOCK_LENGTH) - (*TMD5_CTX)(unsafe.Pointer(ctx)).Fcount>>libc.Int32FromInt32(3)&libc.Uint64FromInt32(libc.Int32FromInt32(m_MD5_BLOCK_LENGTH)-libc.Int32FromInt32(1)))
  1323. if padlen < libc.Uint32FromInt32(libc.Int32FromInt32(1)+libc.Int32FromInt32(8)) {
  1324. padlen += uint32(m_MD5_BLOCK_LENGTH)
  1325. }
  1326. XMD5Update(tls, ctx, uintptr(unsafe.Pointer(&_PADDING1)), padlen-uint32(8)) /* padlen - 8 <= 64 */
  1327. XMD5Update(tls, ctx, bp, uint32(8))
  1328. }
  1329. // C documentation
  1330. //
  1331. // /*
  1332. // * Final wrapup--call MD5Pad, fill in digest and zero out ctx.
  1333. // */
  1334. func XMD5Final(tls *libc.TLS, digest uintptr, ctx uintptr) {
  1335. var i int32
  1336. _ = i
  1337. XMD5Pad(tls, ctx)
  1338. if digest != libc.UintptrFromInt32(0) {
  1339. i = 0
  1340. for {
  1341. if !(i < int32(4)) {
  1342. break
  1343. }
  1344. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 3)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(24))
  1345. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 2)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(16))
  1346. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 1)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(8))
  1347. *(*uint8)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)))) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)))
  1348. goto _1
  1349. _1:
  1350. ;
  1351. i++
  1352. }
  1353. libc.Xmemset(tls, ctx, 0, uint32(88))
  1354. }
  1355. }
  1356. /* The four core functions - F1 is optimized somewhat */
  1357. /* #define F1(x, y, z) (x & y | ~x & z) */
  1358. /* This is the central step in the MD5 algorithm. */
  1359. // C documentation
  1360. //
  1361. // /*
  1362. // * The core of the MD5 algorithm, this alters an existing MD5 hash to
  1363. // * reflect the addition of 16 longwords of new data. MD5Update blocks
  1364. // * the data and converts bytes into longwords for this routine.
  1365. // */
  1366. func XMD5Transform(tls *libc.TLS, state uintptr, block uintptr) {
  1367. bp := tls.Alloc(64)
  1368. defer tls.Free(64)
  1369. var a, b, c, d Tuint32_t
  1370. var _ /* in at bp+0 */ [16]Tuint32_t
  1371. _, _, _, _ = a, b, c, d
  1372. libc.Xmemcpy(tls, bp, block, uint32(64))
  1373. a = *(*Tuint32_t)(unsafe.Pointer(state))
  1374. b = *(*Tuint32_t)(unsafe.Pointer(state + 1*4))
  1375. c = *(*Tuint32_t)(unsafe.Pointer(state + 2*4))
  1376. d = *(*Tuint32_t)(unsafe.Pointer(state + 3*4))
  1377. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0] + uint32(0xd76aa478)
  1378. a = a<<int32(7) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1379. a += b
  1380. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)] + uint32(0xe8c7b756)
  1381. d = d<<int32(12) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12))
  1382. d += a
  1383. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)] + uint32(0x242070db)
  1384. c = c<<int32(17) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(17))
  1385. c += d
  1386. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)] + uint32(0xc1bdceee)
  1387. b = b<<int32(22) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(22))
  1388. b += c
  1389. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)] + uint32(0xf57c0faf)
  1390. a = a<<int32(7) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1391. a += b
  1392. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)] + uint32(0x4787c62a)
  1393. d = d<<int32(12) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12))
  1394. d += a
  1395. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)] + uint32(0xa8304613)
  1396. c = c<<int32(17) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(17))
  1397. c += d
  1398. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)] + uint32(0xfd469501)
  1399. b = b<<int32(22) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(22))
  1400. b += c
  1401. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)] + uint32(0x698098d8)
  1402. a = a<<int32(7) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1403. a += b
  1404. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)] + uint32(0x8b44f7af)
  1405. d = d<<int32(12) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12))
  1406. d += a
  1407. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)] + uint32(0xffff5bb1)
  1408. c = c<<int32(17) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(17))
  1409. c += d
  1410. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)] + uint32(0x895cd7be)
  1411. b = b<<int32(22) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(22))
  1412. b += c
  1413. a += d ^ b&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)] + uint32(0x6b901122)
  1414. a = a<<int32(7) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7))
  1415. a += b
  1416. d += c ^ a&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)] + uint32(0xfd987193)
  1417. d = d<<int32(12) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12))
  1418. d += a
  1419. c += b ^ d&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)] + uint32(0xa679438e)
  1420. c = c<<int32(17) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(17))
  1421. c += d
  1422. b += a ^ c&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)] + uint32(0x49b40821)
  1423. b = b<<int32(22) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(22))
  1424. b += c
  1425. a += c ^ d&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)] + uint32(0xf61e2562)
  1426. a = a<<int32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1427. a += b
  1428. d += b ^ c&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)] + uint32(0xc040b340)
  1429. d = d<<int32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1430. d += a
  1431. c += a ^ b&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)] + uint32(0x265e5a51)
  1432. c = c<<int32(14) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14))
  1433. c += d
  1434. b += d ^ a&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0] + uint32(0xe9b6c7aa)
  1435. b = b<<int32(20) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(20))
  1436. b += c
  1437. a += c ^ d&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)] + uint32(0xd62f105d)
  1438. a = a<<int32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1439. a += b
  1440. d += b ^ c&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)] + uint32(0x02441453)
  1441. d = d<<int32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1442. d += a
  1443. c += a ^ b&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)] + uint32(0xd8a1e681)
  1444. c = c<<int32(14) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14))
  1445. c += d
  1446. b += d ^ a&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)] + uint32(0xe7d3fbc8)
  1447. b = b<<int32(20) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(20))
  1448. b += c
  1449. a += c ^ d&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)] + uint32(0x21e1cde6)
  1450. a = a<<int32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1451. a += b
  1452. d += b ^ c&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)] + uint32(0xc33707d6)
  1453. d = d<<int32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1454. d += a
  1455. c += a ^ b&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)] + uint32(0xf4d50d87)
  1456. c = c<<int32(14) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14))
  1457. c += d
  1458. b += d ^ a&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)] + uint32(0x455a14ed)
  1459. b = b<<int32(20) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(20))
  1460. b += c
  1461. a += c ^ d&(b^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)] + uint32(0xa9e3e905)
  1462. a = a<<int32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5))
  1463. a += b
  1464. d += b ^ c&(a^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)] + uint32(0xfcefa3f8)
  1465. d = d<<int32(9) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9))
  1466. d += a
  1467. c += a ^ b&(d^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)] + uint32(0x676f02d9)
  1468. c = c<<int32(14) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14))
  1469. c += d
  1470. b += d ^ a&(c^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)] + uint32(0x8d2a4c8a)
  1471. b = b<<int32(20) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(20))
  1472. b += c
  1473. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)] + uint32(0xfffa3942)
  1474. a = a<<int32(4) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(4))
  1475. a += b
  1476. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)] + uint32(0x8771f681)
  1477. d = d<<int32(11) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1478. d += a
  1479. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)] + uint32(0x6d9d6122)
  1480. c = c<<int32(16) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(16))
  1481. c += d
  1482. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)] + uint32(0xfde5380c)
  1483. b = b<<int32(23) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(23))
  1484. b += c
  1485. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)] + uint32(0xa4beea44)
  1486. a = a<<int32(4) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(4))
  1487. a += b
  1488. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)] + uint32(0x4bdecfa9)
  1489. d = d<<int32(11) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1490. d += a
  1491. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)] + uint32(0xf6bb4b60)
  1492. c = c<<int32(16) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(16))
  1493. c += d
  1494. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)] + uint32(0xbebfbc70)
  1495. b = b<<int32(23) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(23))
  1496. b += c
  1497. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)] + uint32(0x289b7ec6)
  1498. a = a<<int32(4) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(4))
  1499. a += b
  1500. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0] + uint32(0xeaa127fa)
  1501. d = d<<int32(11) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1502. d += a
  1503. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)] + uint32(0xd4ef3085)
  1504. c = c<<int32(16) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(16))
  1505. c += d
  1506. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)] + uint32(0x04881d05)
  1507. b = b<<int32(23) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(23))
  1508. b += c
  1509. a += b ^ c ^ d + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)] + uint32(0xd9d4d039)
  1510. a = a<<int32(4) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(4))
  1511. a += b
  1512. d += a ^ b ^ c + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)] + uint32(0xe6db99e5)
  1513. d = d<<int32(11) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))
  1514. d += a
  1515. c += d ^ a ^ b + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)] + uint32(0x1fa27cf8)
  1516. c = c<<int32(16) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(16))
  1517. c += d
  1518. b += c ^ d ^ a + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)] + uint32(0xc4ac5665)
  1519. b = b<<int32(23) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(23))
  1520. b += c
  1521. a += c ^ (b | ^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0] + uint32(0xf4292244)
  1522. a = a<<int32(6) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6))
  1523. a += b
  1524. d += b ^ (a | ^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)] + uint32(0x432aff97)
  1525. d = d<<int32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1526. d += a
  1527. c += a ^ (d | ^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)] + uint32(0xab9423a7)
  1528. c = c<<int32(15) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1529. c += d
  1530. b += d ^ (c | ^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)] + uint32(0xfc93a039)
  1531. b = b<<int32(21) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(21))
  1532. b += c
  1533. a += c ^ (b | ^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)] + uint32(0x655b59c3)
  1534. a = a<<int32(6) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6))
  1535. a += b
  1536. d += b ^ (a | ^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)] + uint32(0x8f0ccc92)
  1537. d = d<<int32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1538. d += a
  1539. c += a ^ (d | ^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)] + uint32(0xffeff47d)
  1540. c = c<<int32(15) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1541. c += d
  1542. b += d ^ (c | ^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)] + uint32(0x85845dd1)
  1543. b = b<<int32(21) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(21))
  1544. b += c
  1545. a += c ^ (b | ^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)] + uint32(0x6fa87e4f)
  1546. a = a<<int32(6) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6))
  1547. a += b
  1548. d += b ^ (a | ^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)] + uint32(0xfe2ce6e0)
  1549. d = d<<int32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1550. d += a
  1551. c += a ^ (d | ^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)] + uint32(0xa3014314)
  1552. c = c<<int32(15) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1553. c += d
  1554. b += d ^ (c | ^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)] + uint32(0x4e0811a1)
  1555. b = b<<int32(21) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(21))
  1556. b += c
  1557. a += c ^ (b | ^d) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)] + uint32(0xf7537e82)
  1558. a = a<<int32(6) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6))
  1559. a += b
  1560. d += b ^ (a | ^c) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)] + uint32(0xbd3af235)
  1561. d = d<<int32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1562. d += a
  1563. c += a ^ (d | ^b) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)] + uint32(0x2ad7d2bb)
  1564. c = c<<int32(15) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15))
  1565. c += d
  1566. b += d ^ (c | ^a) + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)] + uint32(0xeb86d391)
  1567. b = b<<int32(21) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(21))
  1568. b += c
  1569. *(*Tuint32_t)(unsafe.Pointer(state)) += a
  1570. *(*Tuint32_t)(unsafe.Pointer(state + 1*4)) += b
  1571. *(*Tuint32_t)(unsafe.Pointer(state + 2*4)) += c
  1572. *(*Tuint32_t)(unsafe.Pointer(state + 3*4)) += d
  1573. }
  1574. const m_H0 = 1732584193
  1575. const m_H1 = 4023233417
  1576. const m_H2 = 2562383102
  1577. const m_H3 = 271733878
  1578. const m_H4 = 3285377520
  1579. const m_K0 = 0
  1580. const m_K1 = 1518500249
  1581. const m_K2 = 1859775393
  1582. const m_K3 = 2400959708
  1583. const m_K4 = 2840853838
  1584. const m_KK0 = 1352829926
  1585. const m_KK1 = 1548603684
  1586. const m_KK2 = 1836072691
  1587. const m_KK3 = 2053994217
  1588. const m_KK4 = 0
  1589. const m_RMD160_BLOCK_LENGTH = 64
  1590. const m_RMD160_DIGEST_LENGTH = 20
  1591. type TRMD160_CTX = struct {
  1592. F__ccgo_align [0]uint32
  1593. Fstate [5]Tuint32_t
  1594. F__ccgo_align1 [4]byte
  1595. Fcount Tuint64_t
  1596. Fbuffer [64]Tuint8_t
  1597. }
  1598. type TRMD160Context = TRMD160_CTX
  1599. /* rotate x left n bits. */
  1600. var _PADDING2 = [64]Tuint8_t{
  1601. 0: uint8(0x80),
  1602. }
  1603. func XRMD160Init(tls *libc.TLS, ctx uintptr) {
  1604. (*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount = uint64(0)
  1605. *(*Tuint32_t)(unsafe.Pointer(ctx)) = uint32(0x67452301)
  1606. *(*Tuint32_t)(unsafe.Pointer(ctx + 1*4)) = uint32(0xEFCDAB89)
  1607. *(*Tuint32_t)(unsafe.Pointer(ctx + 2*4)) = uint32(0x98BADCFE)
  1608. *(*Tuint32_t)(unsafe.Pointer(ctx + 3*4)) = uint32(0x10325476)
  1609. *(*Tuint32_t)(unsafe.Pointer(ctx + 4*4)) = uint32(0xC3D2E1F0)
  1610. }
  1611. func XRMD160Update(tls *libc.TLS, ctx uintptr, input uintptr, len1 Tsize_t) {
  1612. var have, need, off Tsize_t
  1613. _, _, _ = have, need, off
  1614. have = uint32((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount / uint64(8) % uint64(m_RMD160_BLOCK_LENGTH))
  1615. need = uint32(m_RMD160_BLOCK_LENGTH) - have
  1616. *(*Tuint64_t)(unsafe.Pointer(ctx + 24)) += uint64(uint32(8) * len1)
  1617. off = uint32(0)
  1618. if len1 >= need {
  1619. if have != 0 {
  1620. libc.Xmemcpy(tls, ctx+32+uintptr(have), input, need)
  1621. XRMD160Transform(tls, ctx, ctx+32)
  1622. off = need
  1623. have = uint32(0)
  1624. }
  1625. /* now the buffer is empty */
  1626. for off+uint32(m_RMD160_BLOCK_LENGTH) <= len1 {
  1627. XRMD160Transform(tls, ctx, input+uintptr(off))
  1628. off += uint32(m_RMD160_BLOCK_LENGTH)
  1629. }
  1630. }
  1631. if off < len1 {
  1632. libc.Xmemcpy(tls, ctx+32+uintptr(have), input+uintptr(off), len1-off)
  1633. }
  1634. }
  1635. func XRMD160Pad(tls *libc.TLS, ctx uintptr) {
  1636. bp := tls.Alloc(16)
  1637. defer tls.Free(16)
  1638. var padlen Tsize_t
  1639. var _ /* size at bp+0 */ [8]Tuint8_t
  1640. _ = padlen
  1641. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(7)] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(56))
  1642. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(6)] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(48))
  1643. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(5)] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(40))
  1644. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(4)] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(32))
  1645. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(3)] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(24))
  1646. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(2)] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(16))
  1647. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[int32(1)] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount >> int32(8))
  1648. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[0] = uint8((*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount)
  1649. /*
  1650. * pad to RMD160_BLOCK_LENGTH byte blocks, at least one byte from
  1651. * PADDING plus 8 bytes for the size
  1652. */
  1653. padlen = uint32(uint64(m_RMD160_BLOCK_LENGTH) - (*TRMD160_CTX)(unsafe.Pointer(ctx)).Fcount/uint64(8)%uint64(m_RMD160_BLOCK_LENGTH))
  1654. if padlen < libc.Uint32FromInt32(libc.Int32FromInt32(1)+libc.Int32FromInt32(8)) {
  1655. padlen += uint32(m_RMD160_BLOCK_LENGTH)
  1656. }
  1657. XRMD160Update(tls, ctx, uintptr(unsafe.Pointer(&_PADDING2)), padlen-uint32(8)) /* padlen - 8 <= 64 */
  1658. XRMD160Update(tls, ctx, bp, uint32(8))
  1659. }
  1660. func XRMD160Final(tls *libc.TLS, digest uintptr, ctx uintptr) {
  1661. var i int32
  1662. _ = i
  1663. XRMD160Pad(tls, ctx)
  1664. if digest != libc.UintptrFromInt32(0) {
  1665. i = 0
  1666. for {
  1667. if !(i < int32(5)) {
  1668. break
  1669. }
  1670. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 3)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(24))
  1671. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 2)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(16))
  1672. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 1)) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)) >> int32(8))
  1673. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)))) = uint8(*(*Tuint32_t)(unsafe.Pointer(ctx + uintptr(i)*4)))
  1674. goto _1
  1675. _1:
  1676. ;
  1677. i++
  1678. }
  1679. libc.Xmemset(tls, ctx, 0, uint32(96))
  1680. }
  1681. }
  1682. func XRMD160Transform(tls *libc.TLS, state uintptr, block uintptr) {
  1683. bp := tls.Alloc(64)
  1684. defer tls.Free(64)
  1685. var a, aa, b, bb, c, cc, d, dd, e, ee, t Tuint32_t
  1686. var _ /* x at bp+0 */ [16]Tuint32_t
  1687. _, _, _, _, _, _, _, _, _, _, _ = a, aa, b, bb, c, cc, d, dd, e, ee, t
  1688. libc.Xmemcpy(tls, bp, block, uint32(m_RMD160_BLOCK_LENGTH))
  1689. a = *(*Tuint32_t)(unsafe.Pointer(state))
  1690. b = *(*Tuint32_t)(unsafe.Pointer(state + 1*4))
  1691. c = *(*Tuint32_t)(unsafe.Pointer(state + 2*4))
  1692. d = *(*Tuint32_t)(unsafe.Pointer(state + 3*4))
  1693. e = *(*Tuint32_t)(unsafe.Pointer(state + 4*4))
  1694. /* Round 1 */
  1695. a = (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+0x00000000)<<int32(11) | (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + e
  1696. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1697. e = (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+0x00000000)<<int32(14) | (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + d
  1698. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1699. d = (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+0x00000000)<<int32(15) | (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + c
  1700. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1701. c = (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+0x00000000)<<int32(12) | (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + b
  1702. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1703. b = (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+0x00000000)<<int32(5) | (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + a
  1704. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1705. a = (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+0x00000000)<<int32(8) | (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + e
  1706. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1707. e = (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+0x00000000)<<int32(7) | (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + d
  1708. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1709. d = (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+0x00000000)<<int32(9) | (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  1710. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1711. c = (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+0x00000000)<<int32(11) | (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + b
  1712. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1713. b = (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+0x00000000)<<int32(13) | (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + a
  1714. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1715. a = (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+0x00000000)<<int32(14) | (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + e
  1716. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1717. e = (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+0x00000000)<<int32(15) | (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + d
  1718. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1719. d = (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+0x00000000)<<int32(6) | (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + c
  1720. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1721. c = (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+0x00000000)<<int32(7) | (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + b
  1722. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1723. b = (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+0x00000000)<<int32(9) | (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + a
  1724. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1725. a = (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+0x00000000)<<int32(8) | (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + e
  1726. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #15 */
  1727. /* Round 2 */
  1728. e = (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x5A827999))<<int32(7) | (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + d
  1729. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1730. d = (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x5A827999))<<int32(6) | (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + c
  1731. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1732. c = (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x5A827999))<<int32(8) | (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + b
  1733. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1734. b = (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x5A827999))<<int32(13) | (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + a
  1735. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1736. a = (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x5A827999))<<int32(11) | (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + e
  1737. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1738. e = (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x5A827999))<<int32(9) | (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + d
  1739. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1740. d = (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x5A827999))<<int32(7) | (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + c
  1741. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1742. c = (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x5A827999))<<int32(15) | (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + b
  1743. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1744. b = (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x5A827999))<<int32(7) | (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + a
  1745. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1746. a = (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x5A827999))<<int32(12) | (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + e
  1747. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1748. e = (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x5A827999))<<int32(15) | (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + d
  1749. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1750. d = (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x5A827999))<<int32(9) | (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  1751. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1752. c = (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x5A827999))<<int32(11) | (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + b
  1753. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1754. b = (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x5A827999))<<int32(7) | (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + a
  1755. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1756. a = (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x5A827999))<<int32(13) | (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + e
  1757. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1758. e = (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x5A827999))<<int32(12) | (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x5A827999))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + d
  1759. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #31 */
  1760. /* Round 3 */
  1761. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x6ED9EBA1))<<int32(11) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + c
  1762. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1763. c = (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x6ED9EBA1))<<int32(13) | (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + b
  1764. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1765. b = (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x6ED9EBA1))<<int32(6) | (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + a
  1766. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1767. a = (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x6ED9EBA1))<<int32(7) | (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + e
  1768. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1769. e = (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x6ED9EBA1))<<int32(14) | (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + d
  1770. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1771. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x6ED9EBA1))<<int32(9) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  1772. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1773. c = (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x6ED9EBA1))<<int32(13) | (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + b
  1774. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1775. b = (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x6ED9EBA1))<<int32(15) | (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + a
  1776. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1777. a = (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x6ED9EBA1))<<int32(14) | (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + e
  1778. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1779. e = (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x6ED9EBA1))<<int32(8) | (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + d
  1780. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1781. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x6ED9EBA1))<<int32(13) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + c
  1782. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1783. c = (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x6ED9EBA1))<<int32(6) | (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + b
  1784. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1785. b = (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x6ED9EBA1))<<int32(5) | (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + a
  1786. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1787. a = (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x6ED9EBA1))<<int32(12) | (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + e
  1788. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1789. e = (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x6ED9EBA1))<<int32(7) | (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + d
  1790. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1791. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x6ED9EBA1))<<int32(5) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x6ED9EBA1))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + c
  1792. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #47 */
  1793. /* Round 4 */
  1794. c = (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x8F1BBCDC))<<int32(11) | (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + b
  1795. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1796. b = (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x8F1BBCDC))<<int32(12) | (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + a
  1797. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1798. a = (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x8F1BBCDC))<<int32(14) | (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + e
  1799. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1800. e = (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x8F1BBCDC))<<int32(15) | (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + d
  1801. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1802. d = (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x8F1BBCDC))<<int32(14) | (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + c
  1803. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1804. c = (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x8F1BBCDC))<<int32(15) | (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + b
  1805. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1806. b = (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x8F1BBCDC))<<int32(9) | (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + a
  1807. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1808. a = (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x8F1BBCDC))<<int32(8) | (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + e
  1809. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1810. e = (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x8F1BBCDC))<<int32(9) | (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + d
  1811. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1812. d = (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x8F1BBCDC))<<int32(14) | (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + c
  1813. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1814. c = (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x8F1BBCDC))<<int32(5) | (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + b
  1815. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1816. b = (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x8F1BBCDC))<<int32(6) | (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + a
  1817. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1818. a = (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x8F1BBCDC))<<int32(8) | (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + e
  1819. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1820. e = (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x8F1BBCDC))<<int32(6) | (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + d
  1821. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1822. d = (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x8F1BBCDC))<<int32(5) | (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + c
  1823. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1824. c = (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x8F1BBCDC))<<int32(12) | (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x8F1BBCDC))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + b
  1825. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #63 */
  1826. /* Round 5 */
  1827. b = (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0xA953FD4E))<<int32(9) | (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + a
  1828. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1829. a = (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0xA953FD4E))<<int32(15) | (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + e
  1830. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1831. e = (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0xA953FD4E))<<int32(5) | (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + d
  1832. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1833. d = (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0xA953FD4E))<<int32(11) | (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + c
  1834. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1835. c = (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0xA953FD4E))<<int32(6) | (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + b
  1836. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1837. b = (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0xA953FD4E))<<int32(8) | (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + a
  1838. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1839. a = (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0xA953FD4E))<<int32(13) | (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + e
  1840. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1841. e = (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0xA953FD4E))<<int32(12) | (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + d
  1842. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1843. d = (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0xA953FD4E))<<int32(5) | (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + c
  1844. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1845. c = (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0xA953FD4E))<<int32(12) | (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + b
  1846. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1847. b = (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0xA953FD4E))<<int32(13) | (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + a
  1848. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1849. a = (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0xA953FD4E))<<int32(14) | (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + e
  1850. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1851. e = (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0xA953FD4E))<<int32(11) | (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + d
  1852. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1853. d = (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0xA953FD4E))<<int32(8) | (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + c
  1854. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1855. c = (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0xA953FD4E))<<int32(5) | (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + b
  1856. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1857. b = (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0xA953FD4E))<<int32(6) | (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0xA953FD4E))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + a
  1858. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #79 */
  1859. aa = a
  1860. bb = b
  1861. cc = c
  1862. dd = d
  1863. ee = e
  1864. a = *(*Tuint32_t)(unsafe.Pointer(state))
  1865. b = *(*Tuint32_t)(unsafe.Pointer(state + 1*4))
  1866. c = *(*Tuint32_t)(unsafe.Pointer(state + 2*4))
  1867. d = *(*Tuint32_t)(unsafe.Pointer(state + 3*4))
  1868. e = *(*Tuint32_t)(unsafe.Pointer(state + 4*4))
  1869. /* Parallel round 1 */
  1870. a = (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x50A28BE6))<<int32(8) | (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + e
  1871. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1872. e = (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x50A28BE6))<<int32(9) | (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + d
  1873. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1874. d = (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x50A28BE6))<<int32(9) | (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  1875. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1876. c = (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x50A28BE6))<<int32(11) | (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + b
  1877. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1878. b = (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x50A28BE6))<<int32(13) | (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + a
  1879. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1880. a = (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x50A28BE6))<<int32(15) | (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + e
  1881. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1882. e = (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x50A28BE6))<<int32(15) | (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + d
  1883. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1884. d = (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x50A28BE6))<<int32(5) | (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + c
  1885. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1886. c = (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x50A28BE6))<<int32(7) | (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + b
  1887. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1888. b = (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x50A28BE6))<<int32(7) | (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + a
  1889. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1890. a = (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x50A28BE6))<<int32(8) | (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + e
  1891. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1892. e = (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x50A28BE6))<<int32(11) | (e+(a^(b|^c))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + d
  1893. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1894. d = (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x50A28BE6))<<int32(14) | (d+(e^(a|^b))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + c
  1895. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1896. c = (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x50A28BE6))<<int32(14) | (c+(d^(e|^a))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + b
  1897. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1898. b = (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x50A28BE6))<<int32(12) | (b+(c^(d|^e))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + a
  1899. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1900. a = (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x50A28BE6))<<int32(6) | (a+(b^(c|^d))+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x50A28BE6))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + e
  1901. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #15 */
  1902. /* Parallel round 2 */
  1903. e = (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x5C4DD124))<<int32(9) | (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + d
  1904. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1905. d = (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x5C4DD124))<<int32(13) | (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + c
  1906. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1907. c = (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x5C4DD124))<<int32(15) | (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + b
  1908. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1909. b = (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x5C4DD124))<<int32(7) | (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + a
  1910. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1911. a = (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x5C4DD124))<<int32(12) | (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + e
  1912. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1913. e = (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x5C4DD124))<<int32(8) | (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + d
  1914. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1915. d = (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x5C4DD124))<<int32(9) | (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  1916. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1917. c = (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x5C4DD124))<<int32(11) | (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + b
  1918. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1919. b = (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x5C4DD124))<<int32(7) | (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + a
  1920. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1921. a = (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x5C4DD124))<<int32(7) | (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + e
  1922. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1923. e = (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x5C4DD124))<<int32(12) | (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + d
  1924. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1925. d = (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x5C4DD124))<<int32(7) | (d+(e&b | a & ^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + c
  1926. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1927. c = (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x5C4DD124))<<int32(6) | (c+(d&a | e & ^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + b
  1928. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1929. b = (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x5C4DD124))<<int32(15) | (b+(c&e | d & ^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + a
  1930. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1931. a = (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x5C4DD124))<<int32(13) | (a+(b&d | c & ^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + e
  1932. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1933. e = (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x5C4DD124))<<int32(11) | (e+(a&c | b & ^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x5C4DD124))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + d
  1934. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #31 */
  1935. /* Parallel round 3 */
  1936. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x6D703EF3))<<int32(9) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  1937. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1938. c = (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x6D703EF3))<<int32(7) | (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + b
  1939. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1940. b = (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x6D703EF3))<<int32(15) | (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + a
  1941. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1942. a = (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x6D703EF3))<<int32(11) | (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + e
  1943. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1944. e = (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x6D703EF3))<<int32(8) | (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + d
  1945. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1946. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x6D703EF3))<<int32(6) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + c
  1947. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1948. c = (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x6D703EF3))<<int32(6) | (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + b
  1949. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1950. b = (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x6D703EF3))<<int32(14) | (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + a
  1951. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1952. a = (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x6D703EF3))<<int32(12) | (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + e
  1953. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1954. e = (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x6D703EF3))<<int32(13) | (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + d
  1955. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1956. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x6D703EF3))<<int32(5) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + c
  1957. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1958. c = (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x6D703EF3))<<int32(14) | (c+(d|^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + b
  1959. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1960. b = (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x6D703EF3))<<int32(13) | (b+(c|^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + a
  1961. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1962. a = (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x6D703EF3))<<int32(13) | (a+(b|^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + e
  1963. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1964. e = (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x6D703EF3))<<int32(7) | (e+(a|^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) + d
  1965. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1966. d = (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x6D703EF3))<<int32(5) | (d+(e|^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x6D703EF3))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + c
  1967. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #47 */
  1968. /* Parallel round 4 */
  1969. c = (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x7A6D76E9))<<int32(15) | (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + b
  1970. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1971. b = (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x7A6D76E9))<<int32(5) | (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + a
  1972. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1973. a = (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x7A6D76E9))<<int32(8) | (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + e
  1974. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1975. e = (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x7A6D76E9))<<int32(11) | (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + d
  1976. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1977. d = (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x7A6D76E9))<<int32(14) | (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + c
  1978. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1979. c = (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x7A6D76E9))<<int32(14) | (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + b
  1980. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1981. b = (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x7A6D76E9))<<int32(6) | (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + a
  1982. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1983. a = (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x7A6D76E9))<<int32(14) | (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + e
  1984. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1985. e = (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x7A6D76E9))<<int32(6) | (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + d
  1986. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1987. d = (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x7A6D76E9))<<int32(9) | (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  1988. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1989. c = (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x7A6D76E9))<<int32(12) | (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + b
  1990. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1991. b = (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x7A6D76E9))<<int32(9) | (b+(c&d|^c&e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + a
  1992. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1993. a = (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x7A6D76E9))<<int32(12) | (a+(b&c|^b&d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + e
  1994. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1995. e = (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x7A6D76E9))<<int32(5) | (e+(a&b|^a&c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + d
  1996. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1997. d = (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x7A6D76E9))<<int32(15) | (d+(e&a|^e&b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + c
  1998. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  1999. c = (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x7A6D76E9))<<int32(8) | (c+(d&e|^d&a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+uint32(0x7A6D76E9))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + b
  2000. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #63 */
  2001. /* Parallel round 5 */
  2002. b = (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+0x00000000)<<int32(8) | (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(12)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + a
  2003. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2004. a = (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+0x00000000)<<int32(5) | (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(15)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + e
  2005. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2006. e = (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+0x00000000)<<int32(12) | (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(10)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + d
  2007. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2008. d = (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+0x00000000)<<int32(9) | (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(4)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(9)) + c
  2009. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2010. c = (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+0x00000000)<<int32(12) | (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(1)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(12)) + b
  2011. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2012. b = (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+0x00000000)<<int32(5) | (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(5)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + a
  2013. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2014. a = (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+0x00000000)<<int32(14) | (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(8)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(14)) + e
  2015. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2016. e = (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+0x00000000)<<int32(6) | (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(7)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + d
  2017. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2018. d = (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+0x00000000)<<int32(8) | (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(6)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)) + c
  2019. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2020. c = (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+0x00000000)<<int32(13) | (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(2)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + b
  2021. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2022. b = (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+0x00000000)<<int32(6) | (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(13)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) + a
  2023. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2024. a = (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+0x00000000)<<int32(5) | (a+(b^c^d)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(14)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)) + e
  2025. c = c<<libc.Int32FromInt32(10) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2026. e = (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+0x00000000)<<int32(15) | (e+(a^b^c)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[0]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(15)) + d
  2027. b = b<<libc.Int32FromInt32(10) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2028. d = (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+0x00000000)<<int32(13) | (d+(e^a^b)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(3)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(13)) + c
  2029. a = a<<libc.Int32FromInt32(10) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2030. c = (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+0x00000000)<<int32(11) | (c+(d^e^a)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(9)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + b
  2031. e = e<<libc.Int32FromInt32(10) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10))
  2032. b = (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+0x00000000)<<int32(11) | (b+(c^d^e)+(*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[int32(11)]+0x00000000)>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(11)) + a
  2033. d = d<<libc.Int32FromInt32(10) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(10)) /* #79 */
  2034. t = *(*Tuint32_t)(unsafe.Pointer(state + 1*4)) + cc + d
  2035. *(*Tuint32_t)(unsafe.Pointer(state + 1*4)) = *(*Tuint32_t)(unsafe.Pointer(state + 2*4)) + dd + e
  2036. *(*Tuint32_t)(unsafe.Pointer(state + 2*4)) = *(*Tuint32_t)(unsafe.Pointer(state + 3*4)) + ee + a
  2037. *(*Tuint32_t)(unsafe.Pointer(state + 3*4)) = *(*Tuint32_t)(unsafe.Pointer(state + 4*4)) + aa + b
  2038. *(*Tuint32_t)(unsafe.Pointer(state + 4*4)) = *(*Tuint32_t)(unsafe.Pointer(state)) + bb + c
  2039. *(*Tuint32_t)(unsafe.Pointer(state)) = t
  2040. }
  2041. const m_SHA1_BLOCK_LENGTH = 64
  2042. const m_SHA1_DIGEST_LENGTH = 20
  2043. type TSHA1_CTX = struct {
  2044. F__ccgo_align [0]uint32
  2045. Fstate [5]Tuint32_t
  2046. F__ccgo_align1 [4]byte
  2047. Fcount Tuint64_t
  2048. Fbuffer [64]Tuint8_t
  2049. }
  2050. /*
  2051. * blk0() and blk() perform the initial expand.
  2052. * I got the idea of expanding during the round function from SSLeay
  2053. */
  2054. /*
  2055. * (R0+R1), R2, R3, R4 are the different operations (rounds) used in SHA1
  2056. */
  2057. type TCHAR64LONG16 = struct {
  2058. Fl [0][16]Tuint32_t
  2059. Fc [64]Tuint8_t
  2060. }
  2061. // C documentation
  2062. //
  2063. // /*
  2064. // * Hash a single 512-bit block. This is the core of the algorithm.
  2065. // */
  2066. func XSHA1Transform(tls *libc.TLS, state uintptr, buffer uintptr) {
  2067. bp := tls.Alloc(64)
  2068. defer tls.Free(64)
  2069. var a, b, c, d, e, v1, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v2, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v3, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v4, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v5, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v6, v60, v61, v62, v63, v64, v65, v66, v67, v68, v69, v7, v70, v71, v72, v73, v74, v75, v76, v77, v78, v79, v8, v80, v81, v82, v83, v84, v9 Tuint32_t
  2070. var block uintptr
  2071. var _ /* workspace at bp+0 */ [64]Tuint8_t
  2072. _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ = a, b, block, c, d, e, v1, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v2, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v3, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v4, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v5, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v6, v60, v61, v62, v63, v64, v65, v66, v67, v68, v69, v7, v70, v71, v72, v73, v74, v75, v76, v77, v78, v79, v8, v80, v81, v82, v83, v84, v9
  2073. block = bp
  2074. libc.Xmemcpy(tls, block, buffer, uint32(m_SHA1_BLOCK_LENGTH))
  2075. /* Copy context->state[] to working vars */
  2076. a = *(*Tuint32_t)(unsafe.Pointer(state))
  2077. b = *(*Tuint32_t)(unsafe.Pointer(state + 1*4))
  2078. c = *(*Tuint32_t)(unsafe.Pointer(state + 2*4))
  2079. d = *(*Tuint32_t)(unsafe.Pointer(state + 3*4))
  2080. e = *(*Tuint32_t)(unsafe.Pointer(state + 4*4))
  2081. /* 4 rounds of 20 operations each. Loop unrolled. */
  2082. v1 = (*(*Tuint32_t)(unsafe.Pointer(block))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2083. *(*Tuint32_t)(unsafe.Pointer(block)) = v1
  2084. e += b&(c^d) ^ d + v1 + uint32(0x5A827999) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2085. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2086. v2 = (*(*Tuint32_t)(unsafe.Pointer(block + 1*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 1*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 1*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 1*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2087. *(*Tuint32_t)(unsafe.Pointer(block + 1*4)) = v2
  2088. d += a&(b^c) ^ c + v2 + uint32(0x5A827999) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2089. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2090. v3 = (*(*Tuint32_t)(unsafe.Pointer(block + 2*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 2*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 2*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 2*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2091. *(*Tuint32_t)(unsafe.Pointer(block + 2*4)) = v3
  2092. c += e&(a^b) ^ b + v3 + uint32(0x5A827999) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2093. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2094. v4 = (*(*Tuint32_t)(unsafe.Pointer(block + 3*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 3*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 3*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 3*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2095. *(*Tuint32_t)(unsafe.Pointer(block + 3*4)) = v4
  2096. b += d&(e^a) ^ a + v4 + uint32(0x5A827999) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2097. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2098. v5 = (*(*Tuint32_t)(unsafe.Pointer(block + 4*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 4*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 4*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 4*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2099. *(*Tuint32_t)(unsafe.Pointer(block + 4*4)) = v5
  2100. a += c&(d^e) ^ e + v5 + uint32(0x5A827999) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2101. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2102. v6 = (*(*Tuint32_t)(unsafe.Pointer(block + 5*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 5*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 5*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 5*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2103. *(*Tuint32_t)(unsafe.Pointer(block + 5*4)) = v6
  2104. e += b&(c^d) ^ d + v6 + uint32(0x5A827999) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2105. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2106. v7 = (*(*Tuint32_t)(unsafe.Pointer(block + 6*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 6*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 6*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 6*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2107. *(*Tuint32_t)(unsafe.Pointer(block + 6*4)) = v7
  2108. d += a&(b^c) ^ c + v7 + uint32(0x5A827999) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2109. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2110. v8 = (*(*Tuint32_t)(unsafe.Pointer(block + 7*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 7*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 7*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 7*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2111. *(*Tuint32_t)(unsafe.Pointer(block + 7*4)) = v8
  2112. c += e&(a^b) ^ b + v8 + uint32(0x5A827999) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2113. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2114. v9 = (*(*Tuint32_t)(unsafe.Pointer(block + 8*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 8*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 8*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 8*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2115. *(*Tuint32_t)(unsafe.Pointer(block + 8*4)) = v9
  2116. b += d&(e^a) ^ a + v9 + uint32(0x5A827999) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2117. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2118. v10 = (*(*Tuint32_t)(unsafe.Pointer(block + 9*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 9*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 9*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 9*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2119. *(*Tuint32_t)(unsafe.Pointer(block + 9*4)) = v10
  2120. a += c&(d^e) ^ e + v10 + uint32(0x5A827999) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2121. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2122. v11 = (*(*Tuint32_t)(unsafe.Pointer(block + 10*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 10*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 10*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 10*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2123. *(*Tuint32_t)(unsafe.Pointer(block + 10*4)) = v11
  2124. e += b&(c^d) ^ d + v11 + uint32(0x5A827999) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2125. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2126. v12 = (*(*Tuint32_t)(unsafe.Pointer(block + 11*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 11*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 11*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 11*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2127. *(*Tuint32_t)(unsafe.Pointer(block + 11*4)) = v12
  2128. d += a&(b^c) ^ c + v12 + uint32(0x5A827999) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2129. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2130. v13 = (*(*Tuint32_t)(unsafe.Pointer(block + 12*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 12*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 12*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 12*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2131. *(*Tuint32_t)(unsafe.Pointer(block + 12*4)) = v13
  2132. c += e&(a^b) ^ b + v13 + uint32(0x5A827999) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2133. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2134. v14 = (*(*Tuint32_t)(unsafe.Pointer(block + 13*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 13*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 13*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 13*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2135. *(*Tuint32_t)(unsafe.Pointer(block + 13*4)) = v14
  2136. b += d&(e^a) ^ a + v14 + uint32(0x5A827999) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2137. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2138. v15 = (*(*Tuint32_t)(unsafe.Pointer(block + 14*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 14*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 14*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 14*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2139. *(*Tuint32_t)(unsafe.Pointer(block + 14*4)) = v15
  2140. a += c&(d^e) ^ e + v15 + uint32(0x5A827999) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2141. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2142. v16 = (*(*Tuint32_t)(unsafe.Pointer(block + 15*4))<<libc.Int32FromInt32(24)|*(*Tuint32_t)(unsafe.Pointer(block + 15*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(24)))&libc.Uint32FromUint32(0xFF00FF00) | (*(*Tuint32_t)(unsafe.Pointer(block + 15*4))<<libc.Int32FromInt32(8)|*(*Tuint32_t)(unsafe.Pointer(block + 15*4))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(8)))&libc.Uint32FromInt32(0x00FF00FF)
  2143. *(*Tuint32_t)(unsafe.Pointer(block + 15*4)) = v16
  2144. e += b&(c^d) ^ d + v16 + uint32(0x5A827999) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2145. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2146. v17 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(16)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(16)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(16)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(16)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(16)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(16)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(16)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(16)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2147. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(16)&libc.Int32FromInt32(15))*4)) = v17
  2148. d += a&(b^c) ^ c + v17 + uint32(0x5A827999) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2149. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2150. v18 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(17)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(17)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(17)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(17)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(17)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(17)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(17)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(17)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2151. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(17)&libc.Int32FromInt32(15))*4)) = v18
  2152. c += e&(a^b) ^ b + v18 + uint32(0x5A827999) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2153. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2154. v19 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(18)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(18)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(18)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(18)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(18)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(18)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(18)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(18)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2155. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(18)&libc.Int32FromInt32(15))*4)) = v19
  2156. b += d&(e^a) ^ a + v19 + uint32(0x5A827999) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2157. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2158. v20 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(19)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(19)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(19)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(19)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(19)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(19)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(19)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(19)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2159. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(19)&libc.Int32FromInt32(15))*4)) = v20
  2160. a += c&(d^e) ^ e + v20 + uint32(0x5A827999) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2161. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2162. v21 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(20)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(20)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(20)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(20)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(20)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(20)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(20)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(20)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2163. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(20)&libc.Int32FromInt32(15))*4)) = v21
  2164. e += b ^ c ^ d + v21 + uint32(0x6ED9EBA1) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2165. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2166. v22 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(21)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(21)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(21)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(21)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(21)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(21)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(21)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(21)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2167. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(21)&libc.Int32FromInt32(15))*4)) = v22
  2168. d += a ^ b ^ c + v22 + uint32(0x6ED9EBA1) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2169. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2170. v23 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(22)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(22)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(22)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(22)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(22)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(22)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(22)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(22)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2171. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(22)&libc.Int32FromInt32(15))*4)) = v23
  2172. c += e ^ a ^ b + v23 + uint32(0x6ED9EBA1) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2173. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2174. v24 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(23)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(23)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(23)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(23)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(23)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(23)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(23)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(23)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2175. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(23)&libc.Int32FromInt32(15))*4)) = v24
  2176. b += d ^ e ^ a + v24 + uint32(0x6ED9EBA1) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2177. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2178. v25 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(24)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(24)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(24)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(24)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(24)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(24)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(24)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(24)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2179. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(24)&libc.Int32FromInt32(15))*4)) = v25
  2180. a += c ^ d ^ e + v25 + uint32(0x6ED9EBA1) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2181. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2182. v26 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(25)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(25)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(25)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(25)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(25)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(25)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(25)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(25)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2183. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(25)&libc.Int32FromInt32(15))*4)) = v26
  2184. e += b ^ c ^ d + v26 + uint32(0x6ED9EBA1) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2185. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2186. v27 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(26)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(26)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(26)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(26)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(26)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(26)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(26)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(26)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2187. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(26)&libc.Int32FromInt32(15))*4)) = v27
  2188. d += a ^ b ^ c + v27 + uint32(0x6ED9EBA1) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2189. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2190. v28 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(27)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(27)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(27)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(27)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(27)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(27)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(27)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(27)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2191. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(27)&libc.Int32FromInt32(15))*4)) = v28
  2192. c += e ^ a ^ b + v28 + uint32(0x6ED9EBA1) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2193. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2194. v29 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(28)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(28)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(28)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(28)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(28)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(28)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(28)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(28)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2195. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(28)&libc.Int32FromInt32(15))*4)) = v29
  2196. b += d ^ e ^ a + v29 + uint32(0x6ED9EBA1) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2197. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2198. v30 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(29)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(29)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(29)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(29)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(29)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(29)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(29)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(29)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2199. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(29)&libc.Int32FromInt32(15))*4)) = v30
  2200. a += c ^ d ^ e + v30 + uint32(0x6ED9EBA1) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2201. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2202. v31 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(30)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(30)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(30)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(30)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(30)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(30)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(30)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(30)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2203. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(30)&libc.Int32FromInt32(15))*4)) = v31
  2204. e += b ^ c ^ d + v31 + uint32(0x6ED9EBA1) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2205. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2206. v32 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(31)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(31)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(31)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(31)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(31)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(31)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(31)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(31)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2207. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(31)&libc.Int32FromInt32(15))*4)) = v32
  2208. d += a ^ b ^ c + v32 + uint32(0x6ED9EBA1) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2209. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2210. v33 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(32)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(32)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(32)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(32)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(32)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(32)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(32)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(32)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2211. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(32)&libc.Int32FromInt32(15))*4)) = v33
  2212. c += e ^ a ^ b + v33 + uint32(0x6ED9EBA1) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2213. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2214. v34 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(33)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(33)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(33)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(33)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(33)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(33)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(33)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(33)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2215. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(33)&libc.Int32FromInt32(15))*4)) = v34
  2216. b += d ^ e ^ a + v34 + uint32(0x6ED9EBA1) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2217. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2218. v35 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(34)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(34)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(34)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(34)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(34)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(34)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(34)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(34)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2219. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(34)&libc.Int32FromInt32(15))*4)) = v35
  2220. a += c ^ d ^ e + v35 + uint32(0x6ED9EBA1) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2221. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2222. v36 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(35)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(35)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(35)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(35)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(35)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(35)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(35)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(35)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2223. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(35)&libc.Int32FromInt32(15))*4)) = v36
  2224. e += b ^ c ^ d + v36 + uint32(0x6ED9EBA1) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2225. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2226. v37 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(36)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(36)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(36)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(36)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(36)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(36)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(36)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(36)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2227. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(36)&libc.Int32FromInt32(15))*4)) = v37
  2228. d += a ^ b ^ c + v37 + uint32(0x6ED9EBA1) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2229. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2230. v38 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(37)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(37)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(37)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(37)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(37)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(37)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(37)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(37)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2231. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(37)&libc.Int32FromInt32(15))*4)) = v38
  2232. c += e ^ a ^ b + v38 + uint32(0x6ED9EBA1) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2233. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2234. v39 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(38)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(38)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(38)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(38)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(38)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(38)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(38)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(38)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2235. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(38)&libc.Int32FromInt32(15))*4)) = v39
  2236. b += d ^ e ^ a + v39 + uint32(0x6ED9EBA1) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2237. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2238. v40 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(39)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(39)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(39)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(39)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(39)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(39)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(39)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(39)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2239. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(39)&libc.Int32FromInt32(15))*4)) = v40
  2240. a += c ^ d ^ e + v40 + uint32(0x6ED9EBA1) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2241. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2242. v41 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(40)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(40)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(40)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(40)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(40)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(40)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(40)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(40)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2243. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(40)&libc.Int32FromInt32(15))*4)) = v41
  2244. e += (b|c)&d | b&c + v41 + uint32(0x8F1BBCDC) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2245. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2246. v42 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(41)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(41)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(41)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(41)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(41)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(41)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(41)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(41)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2247. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(41)&libc.Int32FromInt32(15))*4)) = v42
  2248. d += (a|b)&c | a&b + v42 + uint32(0x8F1BBCDC) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2249. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2250. v43 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(42)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(42)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(42)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(42)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(42)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(42)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(42)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(42)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2251. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(42)&libc.Int32FromInt32(15))*4)) = v43
  2252. c += (e|a)&b | e&a + v43 + uint32(0x8F1BBCDC) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2253. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2254. v44 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(43)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(43)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(43)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(43)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(43)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(43)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(43)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(43)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2255. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(43)&libc.Int32FromInt32(15))*4)) = v44
  2256. b += (d|e)&a | d&e + v44 + uint32(0x8F1BBCDC) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2257. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2258. v45 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(44)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(44)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(44)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(44)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(44)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(44)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(44)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(44)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2259. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(44)&libc.Int32FromInt32(15))*4)) = v45
  2260. a += (c|d)&e | c&d + v45 + uint32(0x8F1BBCDC) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2261. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2262. v46 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(45)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(45)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(45)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(45)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(45)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(45)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(45)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(45)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2263. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(45)&libc.Int32FromInt32(15))*4)) = v46
  2264. e += (b|c)&d | b&c + v46 + uint32(0x8F1BBCDC) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2265. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2266. v47 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(46)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(46)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(46)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(46)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(46)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(46)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(46)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(46)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2267. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(46)&libc.Int32FromInt32(15))*4)) = v47
  2268. d += (a|b)&c | a&b + v47 + uint32(0x8F1BBCDC) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2269. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2270. v48 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(47)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(47)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(47)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(47)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(47)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(47)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(47)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(47)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2271. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(47)&libc.Int32FromInt32(15))*4)) = v48
  2272. c += (e|a)&b | e&a + v48 + uint32(0x8F1BBCDC) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2273. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2274. v49 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(48)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(48)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(48)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(48)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(48)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(48)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(48)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(48)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2275. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(48)&libc.Int32FromInt32(15))*4)) = v49
  2276. b += (d|e)&a | d&e + v49 + uint32(0x8F1BBCDC) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2277. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2278. v50 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(49)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(49)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(49)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(49)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(49)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(49)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(49)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(49)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2279. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(49)&libc.Int32FromInt32(15))*4)) = v50
  2280. a += (c|d)&e | c&d + v50 + uint32(0x8F1BBCDC) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2281. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2282. v51 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(50)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(50)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(50)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(50)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(50)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(50)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(50)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(50)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2283. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(50)&libc.Int32FromInt32(15))*4)) = v51
  2284. e += (b|c)&d | b&c + v51 + uint32(0x8F1BBCDC) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2285. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2286. v52 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(51)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(51)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(51)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(51)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(51)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(51)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(51)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(51)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2287. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(51)&libc.Int32FromInt32(15))*4)) = v52
  2288. d += (a|b)&c | a&b + v52 + uint32(0x8F1BBCDC) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2289. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2290. v53 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(52)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(52)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(52)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(52)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(52)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(52)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(52)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(52)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2291. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(52)&libc.Int32FromInt32(15))*4)) = v53
  2292. c += (e|a)&b | e&a + v53 + uint32(0x8F1BBCDC) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2293. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2294. v54 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(53)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(53)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(53)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(53)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(53)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(53)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(53)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(53)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2295. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(53)&libc.Int32FromInt32(15))*4)) = v54
  2296. b += (d|e)&a | d&e + v54 + uint32(0x8F1BBCDC) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2297. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2298. v55 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(54)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(54)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(54)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(54)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(54)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(54)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(54)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(54)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2299. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(54)&libc.Int32FromInt32(15))*4)) = v55
  2300. a += (c|d)&e | c&d + v55 + uint32(0x8F1BBCDC) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2301. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2302. v56 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(55)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(55)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(55)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(55)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(55)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(55)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(55)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(55)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2303. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(55)&libc.Int32FromInt32(15))*4)) = v56
  2304. e += (b|c)&d | b&c + v56 + uint32(0x8F1BBCDC) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2305. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2306. v57 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(56)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(56)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(56)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(56)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(56)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(56)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(56)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(56)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2307. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(56)&libc.Int32FromInt32(15))*4)) = v57
  2308. d += (a|b)&c | a&b + v57 + uint32(0x8F1BBCDC) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2309. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2310. v58 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(57)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(57)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(57)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(57)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(57)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(57)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(57)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(57)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2311. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(57)&libc.Int32FromInt32(15))*4)) = v58
  2312. c += (e|a)&b | e&a + v58 + uint32(0x8F1BBCDC) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2313. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2314. v59 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(58)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(58)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(58)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(58)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(58)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(58)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(58)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(58)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2315. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(58)&libc.Int32FromInt32(15))*4)) = v59
  2316. b += (d|e)&a | d&e + v59 + uint32(0x8F1BBCDC) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2317. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2318. v60 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(59)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(59)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(59)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(59)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(59)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(59)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(59)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(59)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2319. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(59)&libc.Int32FromInt32(15))*4)) = v60
  2320. a += (c|d)&e | c&d + v60 + uint32(0x8F1BBCDC) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2321. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2322. v61 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(60)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(60)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(60)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(60)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(60)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(60)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(60)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(60)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2323. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(60)&libc.Int32FromInt32(15))*4)) = v61
  2324. e += b ^ c ^ d + v61 + uint32(0xCA62C1D6) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2325. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2326. v62 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(61)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(61)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(61)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(61)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(61)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(61)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(61)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(61)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2327. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(61)&libc.Int32FromInt32(15))*4)) = v62
  2328. d += a ^ b ^ c + v62 + uint32(0xCA62C1D6) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2329. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2330. v63 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(62)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(62)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(62)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(62)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(62)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(62)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(62)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(62)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2331. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(62)&libc.Int32FromInt32(15))*4)) = v63
  2332. c += e ^ a ^ b + v63 + uint32(0xCA62C1D6) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2333. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2334. v64 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(63)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(63)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(63)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(63)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(63)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(63)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(63)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(63)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2335. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(63)&libc.Int32FromInt32(15))*4)) = v64
  2336. b += d ^ e ^ a + v64 + uint32(0xCA62C1D6) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2337. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2338. v65 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(64)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(64)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(64)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(64)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(64)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(64)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(64)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(64)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2339. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(64)&libc.Int32FromInt32(15))*4)) = v65
  2340. a += c ^ d ^ e + v65 + uint32(0xCA62C1D6) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2341. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2342. v66 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(65)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(65)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(65)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(65)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(65)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(65)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(65)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(65)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2343. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(65)&libc.Int32FromInt32(15))*4)) = v66
  2344. e += b ^ c ^ d + v66 + uint32(0xCA62C1D6) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2345. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2346. v67 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(66)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(66)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(66)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(66)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(66)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(66)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(66)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(66)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2347. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(66)&libc.Int32FromInt32(15))*4)) = v67
  2348. d += a ^ b ^ c + v67 + uint32(0xCA62C1D6) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2349. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2350. v68 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(67)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(67)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(67)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(67)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(67)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(67)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(67)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(67)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2351. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(67)&libc.Int32FromInt32(15))*4)) = v68
  2352. c += e ^ a ^ b + v68 + uint32(0xCA62C1D6) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2353. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2354. v69 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(68)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(68)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(68)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(68)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(68)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(68)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(68)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(68)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2355. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(68)&libc.Int32FromInt32(15))*4)) = v69
  2356. b += d ^ e ^ a + v69 + uint32(0xCA62C1D6) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2357. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2358. v70 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(69)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(69)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(69)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(69)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(69)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(69)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(69)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(69)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2359. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(69)&libc.Int32FromInt32(15))*4)) = v70
  2360. a += c ^ d ^ e + v70 + uint32(0xCA62C1D6) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2361. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2362. v71 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(70)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(70)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(70)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(70)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(70)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(70)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(70)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(70)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2363. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(70)&libc.Int32FromInt32(15))*4)) = v71
  2364. e += b ^ c ^ d + v71 + uint32(0xCA62C1D6) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2365. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2366. v72 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(71)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(71)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(71)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(71)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(71)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(71)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(71)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(71)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2367. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(71)&libc.Int32FromInt32(15))*4)) = v72
  2368. d += a ^ b ^ c + v72 + uint32(0xCA62C1D6) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2369. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2370. v73 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(72)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(72)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(72)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(72)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(72)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(72)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(72)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(72)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2371. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(72)&libc.Int32FromInt32(15))*4)) = v73
  2372. c += e ^ a ^ b + v73 + uint32(0xCA62C1D6) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2373. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2374. v74 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(73)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(73)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(73)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(73)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(73)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(73)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(73)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(73)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2375. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(73)&libc.Int32FromInt32(15))*4)) = v74
  2376. b += d ^ e ^ a + v74 + uint32(0xCA62C1D6) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2377. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2378. v75 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(74)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(74)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(74)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(74)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(74)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(74)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(74)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(74)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2379. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(74)&libc.Int32FromInt32(15))*4)) = v75
  2380. a += c ^ d ^ e + v75 + uint32(0xCA62C1D6) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2381. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2382. v76 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(75)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(75)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(75)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(75)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(75)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(75)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(75)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(75)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2383. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(75)&libc.Int32FromInt32(15))*4)) = v76
  2384. e += b ^ c ^ d + v76 + uint32(0xCA62C1D6) + (a<<libc.Int32FromInt32(5) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2385. b = b<<libc.Int32FromInt32(30) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2386. v77 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(76)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(76)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(76)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(76)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(76)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(76)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(76)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(76)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2387. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(76)&libc.Int32FromInt32(15))*4)) = v77
  2388. d += a ^ b ^ c + v77 + uint32(0xCA62C1D6) + (e<<libc.Int32FromInt32(5) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2389. a = a<<libc.Int32FromInt32(30) | a>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2390. v78 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(77)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(77)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(77)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(77)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(77)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(77)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(77)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(77)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2391. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(77)&libc.Int32FromInt32(15))*4)) = v78
  2392. c += e ^ a ^ b + v78 + uint32(0xCA62C1D6) + (d<<libc.Int32FromInt32(5) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2393. e = e<<libc.Int32FromInt32(30) | e>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2394. v79 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(78)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(78)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(78)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(78)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(78)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(78)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(78)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(78)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2395. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(78)&libc.Int32FromInt32(15))*4)) = v79
  2396. b += d ^ e ^ a + v79 + uint32(0xCA62C1D6) + (c<<libc.Int32FromInt32(5) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2397. d = d<<libc.Int32FromInt32(30) | d>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2398. v80 = (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(79)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(79)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(79)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(79)&libc.Int32FromInt32(15))*4)))<<libc.Int32FromInt32(1) | (*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(79)+libc.Int32FromInt32(13))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(79)+libc.Int32FromInt32(8))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr((libc.Int32FromInt32(79)+libc.Int32FromInt32(2))&libc.Int32FromInt32(15))*4))^*(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(79)&libc.Int32FromInt32(15))*4)))>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(1))
  2399. *(*Tuint32_t)(unsafe.Pointer(block + uintptr(libc.Int32FromInt32(79)&libc.Int32FromInt32(15))*4)) = v80
  2400. a += c ^ d ^ e + v80 + uint32(0xCA62C1D6) + (b<<libc.Int32FromInt32(5) | b>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(5)))
  2401. c = c<<libc.Int32FromInt32(30) | c>>(libc.Int32FromInt32(32)-libc.Int32FromInt32(30))
  2402. /* Add the working vars back into context.state[] */
  2403. *(*Tuint32_t)(unsafe.Pointer(state)) += a
  2404. *(*Tuint32_t)(unsafe.Pointer(state + 1*4)) += b
  2405. *(*Tuint32_t)(unsafe.Pointer(state + 2*4)) += c
  2406. *(*Tuint32_t)(unsafe.Pointer(state + 3*4)) += d
  2407. *(*Tuint32_t)(unsafe.Pointer(state + 4*4)) += e
  2408. /* Wipe variables */
  2409. v84 = libc.Uint32FromInt32(0)
  2410. e = v84
  2411. v83 = v84
  2412. d = v83
  2413. v82 = v83
  2414. c = v82
  2415. v81 = v82
  2416. b = v81
  2417. a = v81
  2418. }
  2419. // C documentation
  2420. //
  2421. // /*
  2422. // * SHA1Init - Initialize new context
  2423. // */
  2424. func XSHA1Init(tls *libc.TLS, context uintptr) {
  2425. /* SHA1 initialization constants */
  2426. (*TSHA1_CTX)(unsafe.Pointer(context)).Fcount = uint64(0)
  2427. *(*Tuint32_t)(unsafe.Pointer(context)) = uint32(0x67452301)
  2428. *(*Tuint32_t)(unsafe.Pointer(context + 1*4)) = uint32(0xEFCDAB89)
  2429. *(*Tuint32_t)(unsafe.Pointer(context + 2*4)) = uint32(0x98BADCFE)
  2430. *(*Tuint32_t)(unsafe.Pointer(context + 3*4)) = uint32(0x10325476)
  2431. *(*Tuint32_t)(unsafe.Pointer(context + 4*4)) = uint32(0xC3D2E1F0)
  2432. }
  2433. // C documentation
  2434. //
  2435. // /*
  2436. // * Run your data through this.
  2437. // */
  2438. func XSHA1Update(tls *libc.TLS, context uintptr, data uintptr, len1 Tsize_t) {
  2439. var i, j, v1 Tsize_t
  2440. _, _, _ = i, j, v1
  2441. j = uint32((*TSHA1_CTX)(unsafe.Pointer(context)).Fcount >> libc.Int32FromInt32(3) & libc.Uint64FromInt32(63))
  2442. *(*Tuint64_t)(unsafe.Pointer(context + 24)) += uint64(len1 << libc.Int32FromInt32(3))
  2443. if j+len1 > uint32(63) {
  2444. v1 = libc.Uint32FromInt32(64) - j
  2445. i = v1
  2446. libc.Xmemcpy(tls, context+32+uintptr(j), data, v1)
  2447. XSHA1Transform(tls, context, context+32)
  2448. for {
  2449. if !(i+uint32(63) < len1) {
  2450. break
  2451. }
  2452. XSHA1Transform(tls, context, data+uintptr(i))
  2453. goto _2
  2454. _2:
  2455. ;
  2456. i += uint32(64)
  2457. }
  2458. j = uint32(0)
  2459. } else {
  2460. i = uint32(0)
  2461. }
  2462. libc.Xmemcpy(tls, context+32+uintptr(j), data+uintptr(i), len1-i)
  2463. }
  2464. // C documentation
  2465. //
  2466. // /*
  2467. // * Add padding and return the message digest.
  2468. // */
  2469. func XSHA1Pad(tls *libc.TLS, context uintptr) {
  2470. bp := tls.Alloc(16)
  2471. defer tls.Free(16)
  2472. var i uint32
  2473. var _ /* finalcount at bp+0 */ [8]Tuint8_t
  2474. _ = i
  2475. i = uint32(0)
  2476. for {
  2477. if !(i < uint32(8)) {
  2478. break
  2479. }
  2480. (*(*[8]Tuint8_t)(unsafe.Pointer(bp)))[i] = uint8((*TSHA1_CTX)(unsafe.Pointer(context)).Fcount >> ((libc.Uint32FromInt32(7) - i&libc.Uint32FromInt32(7)) * libc.Uint32FromInt32(8)) & libc.Uint64FromInt32(255)) /* Endian independent */
  2481. goto _1
  2482. _1:
  2483. ;
  2484. i++
  2485. }
  2486. XSHA1Update(tls, context, __ccgo_ts+153, uint32(1))
  2487. for (*TSHA1_CTX)(unsafe.Pointer(context)).Fcount&uint64(504) != uint64(448) {
  2488. XSHA1Update(tls, context, __ccgo_ts+155, uint32(1))
  2489. }
  2490. XSHA1Update(tls, context, bp, uint32(8)) /* Should cause a SHA1Transform() */
  2491. }
  2492. func XSHA1Final(tls *libc.TLS, digest uintptr, context uintptr) {
  2493. var i uint32
  2494. _ = i
  2495. XSHA1Pad(tls, context)
  2496. if digest != 0 {
  2497. i = uint32(0)
  2498. for {
  2499. if !(i < uint32(m_SHA1_DIGEST_LENGTH)) {
  2500. break
  2501. }
  2502. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i))) = uint8(*(*Tuint32_t)(unsafe.Pointer(context + uintptr(i>>int32(2))*4)) >> ((libc.Uint32FromInt32(3) - i&libc.Uint32FromInt32(3)) * libc.Uint32FromInt32(8)) & libc.Uint32FromInt32(255))
  2503. goto _1
  2504. _1:
  2505. ;
  2506. i++
  2507. }
  2508. libc.Xmemset(tls, context, 0, uint32(96))
  2509. }
  2510. }
  2511. const m_SHA256_BLOCK_LENGTH = 64
  2512. const m_SHA256_DIGEST_LENGTH = 32
  2513. const m_SHA384_BLOCK_LENGTH = 128
  2514. const m_SHA384_DIGEST_LENGTH = 48
  2515. const m_SHA512_BLOCK_LENGTH = 128
  2516. const m_SHA512_DIGEST_LENGTH = 64
  2517. type TSHA2_CTX = struct {
  2518. F__ccgo_align [0]uint32
  2519. Fstate struct {
  2520. F__ccgo_align [0]uint32
  2521. Fst64 [0][8]Tuint64_t
  2522. Fst32 [8]Tuint32_t
  2523. F__ccgo_pad2 [32]byte
  2524. }
  2525. Fbitcount [2]Tuint64_t
  2526. Fbuffer [128]Tuint8_t
  2527. }
  2528. type T_SHA2_CTX = TSHA2_CTX
  2529. /*
  2530. * UNROLLED TRANSFORM LOOP NOTE:
  2531. * You can define SHA2_UNROLL_TRANSFORM to use the unrolled transform
  2532. * loop version for the hash transform rounds (defined using macros
  2533. * later in this file). Either define on the command line, for example:
  2534. *
  2535. * cc -DSHA2_UNROLL_TRANSFORM -o sha2 sha2.c sha2prog.c
  2536. *
  2537. * or define below:
  2538. *
  2539. * #define SHA2_UNROLL_TRANSFORM
  2540. *
  2541. */
  2542. /*** SHA-256/384/512 Various Length Definitions ***********************/
  2543. /* NOTE: Most of these are in sha2.h */
  2544. /*** ENDIAN SPECIFIC COPY MACROS **************************************/
  2545. /*
  2546. * Macro for incrementally adding the unsigned 64-bit integer n to the
  2547. * unsigned 128-bit integer (represented using a two-element array of
  2548. * 64-bit words):
  2549. */
  2550. /*** THE SIX LOGICAL FUNCTIONS ****************************************/
  2551. /*
  2552. * Bit shifting and rotation (used by the six SHA-XYZ logical functions:
  2553. *
  2554. * NOTE: The naming of R and S appears backwards here (R is a SHIFT and
  2555. * S is a ROTATION) because the SHA-256/384/512 description document
  2556. * (see http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf) uses this
  2557. * same "backwards" definition.
  2558. */
  2559. /* Shift-right (used in SHA-256, SHA-384, and SHA-512): */
  2560. /* 32-bit Rotate-right (used in SHA-256): */
  2561. /* 64-bit Rotate-right (used in SHA-384 and SHA-512): */
  2562. /* Two of six logical functions used in SHA-256, SHA-384, and SHA-512: */
  2563. /* Four of six logical functions used in SHA-256: */
  2564. /* Four of six logical functions used in SHA-384 and SHA-512: */
  2565. // C documentation
  2566. //
  2567. // /*** SHA-XYZ INITIAL HASH VALUES AND CONSTANTS ************************/
  2568. // /* Hash constant words K for SHA-256: */
  2569. var _K256 = [64]Tuint32_t{
  2570. 0: uint32(0x428a2f98),
  2571. 1: uint32(0x71374491),
  2572. 2: uint32(0xb5c0fbcf),
  2573. 3: uint32(0xe9b5dba5),
  2574. 4: uint32(0x3956c25b),
  2575. 5: uint32(0x59f111f1),
  2576. 6: uint32(0x923f82a4),
  2577. 7: uint32(0xab1c5ed5),
  2578. 8: uint32(0xd807aa98),
  2579. 9: uint32(0x12835b01),
  2580. 10: uint32(0x243185be),
  2581. 11: uint32(0x550c7dc3),
  2582. 12: uint32(0x72be5d74),
  2583. 13: uint32(0x80deb1fe),
  2584. 14: uint32(0x9bdc06a7),
  2585. 15: uint32(0xc19bf174),
  2586. 16: uint32(0xe49b69c1),
  2587. 17: uint32(0xefbe4786),
  2588. 18: uint32(0x0fc19dc6),
  2589. 19: uint32(0x240ca1cc),
  2590. 20: uint32(0x2de92c6f),
  2591. 21: uint32(0x4a7484aa),
  2592. 22: uint32(0x5cb0a9dc),
  2593. 23: uint32(0x76f988da),
  2594. 24: uint32(0x983e5152),
  2595. 25: uint32(0xa831c66d),
  2596. 26: uint32(0xb00327c8),
  2597. 27: uint32(0xbf597fc7),
  2598. 28: uint32(0xc6e00bf3),
  2599. 29: uint32(0xd5a79147),
  2600. 30: uint32(0x06ca6351),
  2601. 31: uint32(0x14292967),
  2602. 32: uint32(0x27b70a85),
  2603. 33: uint32(0x2e1b2138),
  2604. 34: uint32(0x4d2c6dfc),
  2605. 35: uint32(0x53380d13),
  2606. 36: uint32(0x650a7354),
  2607. 37: uint32(0x766a0abb),
  2608. 38: uint32(0x81c2c92e),
  2609. 39: uint32(0x92722c85),
  2610. 40: uint32(0xa2bfe8a1),
  2611. 41: uint32(0xa81a664b),
  2612. 42: uint32(0xc24b8b70),
  2613. 43: uint32(0xc76c51a3),
  2614. 44: uint32(0xd192e819),
  2615. 45: uint32(0xd6990624),
  2616. 46: uint32(0xf40e3585),
  2617. 47: uint32(0x106aa070),
  2618. 48: uint32(0x19a4c116),
  2619. 49: uint32(0x1e376c08),
  2620. 50: uint32(0x2748774c),
  2621. 51: uint32(0x34b0bcb5),
  2622. 52: uint32(0x391c0cb3),
  2623. 53: uint32(0x4ed8aa4a),
  2624. 54: uint32(0x5b9cca4f),
  2625. 55: uint32(0x682e6ff3),
  2626. 56: uint32(0x748f82ee),
  2627. 57: uint32(0x78a5636f),
  2628. 58: uint32(0x84c87814),
  2629. 59: uint32(0x8cc70208),
  2630. 60: uint32(0x90befffa),
  2631. 61: uint32(0xa4506ceb),
  2632. 62: uint32(0xbef9a3f7),
  2633. 63: uint32(0xc67178f2),
  2634. }
  2635. // C documentation
  2636. //
  2637. // /* Initial hash value H for SHA-256: */
  2638. var _sha256_initial_hash_value = [8]Tuint32_t{
  2639. 0: uint32(0x6a09e667),
  2640. 1: uint32(0xbb67ae85),
  2641. 2: uint32(0x3c6ef372),
  2642. 3: uint32(0xa54ff53a),
  2643. 4: uint32(0x510e527f),
  2644. 5: uint32(0x9b05688c),
  2645. 6: uint32(0x1f83d9ab),
  2646. 7: uint32(0x5be0cd19),
  2647. }
  2648. // C documentation
  2649. //
  2650. // /* Hash constant words K for SHA-384 and SHA-512: */
  2651. var _K512 = [80]Tuint64_t{
  2652. 0: uint64(0x428a2f98d728ae22),
  2653. 1: uint64(0x7137449123ef65cd),
  2654. 2: uint64(0xb5c0fbcfec4d3b2f),
  2655. 3: uint64(0xe9b5dba58189dbbc),
  2656. 4: uint64(0x3956c25bf348b538),
  2657. 5: uint64(0x59f111f1b605d019),
  2658. 6: uint64(0x923f82a4af194f9b),
  2659. 7: uint64(0xab1c5ed5da6d8118),
  2660. 8: uint64(0xd807aa98a3030242),
  2661. 9: uint64(0x12835b0145706fbe),
  2662. 10: uint64(0x243185be4ee4b28c),
  2663. 11: uint64(0x550c7dc3d5ffb4e2),
  2664. 12: uint64(0x72be5d74f27b896f),
  2665. 13: uint64(0x80deb1fe3b1696b1),
  2666. 14: uint64(0x9bdc06a725c71235),
  2667. 15: uint64(0xc19bf174cf692694),
  2668. 16: uint64(0xe49b69c19ef14ad2),
  2669. 17: uint64(0xefbe4786384f25e3),
  2670. 18: uint64(0x0fc19dc68b8cd5b5),
  2671. 19: uint64(0x240ca1cc77ac9c65),
  2672. 20: uint64(0x2de92c6f592b0275),
  2673. 21: uint64(0x4a7484aa6ea6e483),
  2674. 22: uint64(0x5cb0a9dcbd41fbd4),
  2675. 23: uint64(0x76f988da831153b5),
  2676. 24: uint64(0x983e5152ee66dfab),
  2677. 25: uint64(0xa831c66d2db43210),
  2678. 26: uint64(0xb00327c898fb213f),
  2679. 27: uint64(0xbf597fc7beef0ee4),
  2680. 28: uint64(0xc6e00bf33da88fc2),
  2681. 29: uint64(0xd5a79147930aa725),
  2682. 30: uint64(0x06ca6351e003826f),
  2683. 31: uint64(0x142929670a0e6e70),
  2684. 32: uint64(0x27b70a8546d22ffc),
  2685. 33: uint64(0x2e1b21385c26c926),
  2686. 34: uint64(0x4d2c6dfc5ac42aed),
  2687. 35: uint64(0x53380d139d95b3df),
  2688. 36: uint64(0x650a73548baf63de),
  2689. 37: uint64(0x766a0abb3c77b2a8),
  2690. 38: uint64(0x81c2c92e47edaee6),
  2691. 39: uint64(0x92722c851482353b),
  2692. 40: uint64(0xa2bfe8a14cf10364),
  2693. 41: uint64(0xa81a664bbc423001),
  2694. 42: uint64(0xc24b8b70d0f89791),
  2695. 43: uint64(0xc76c51a30654be30),
  2696. 44: uint64(0xd192e819d6ef5218),
  2697. 45: uint64(0xd69906245565a910),
  2698. 46: uint64(0xf40e35855771202a),
  2699. 47: uint64(0x106aa07032bbd1b8),
  2700. 48: uint64(0x19a4c116b8d2d0c8),
  2701. 49: uint64(0x1e376c085141ab53),
  2702. 50: uint64(0x2748774cdf8eeb99),
  2703. 51: uint64(0x34b0bcb5e19b48a8),
  2704. 52: uint64(0x391c0cb3c5c95a63),
  2705. 53: uint64(0x4ed8aa4ae3418acb),
  2706. 54: uint64(0x5b9cca4f7763e373),
  2707. 55: uint64(0x682e6ff3d6b2b8a3),
  2708. 56: uint64(0x748f82ee5defb2fc),
  2709. 57: uint64(0x78a5636f43172f60),
  2710. 58: uint64(0x84c87814a1f0ab72),
  2711. 59: uint64(0x8cc702081a6439ec),
  2712. 60: uint64(0x90befffa23631e28),
  2713. 61: uint64(0xa4506cebde82bde9),
  2714. 62: uint64(0xbef9a3f7b2c67915),
  2715. 63: uint64(0xc67178f2e372532b),
  2716. 64: uint64(0xca273eceea26619c),
  2717. 65: uint64(0xd186b8c721c0c207),
  2718. 66: uint64(0xeada7dd6cde0eb1e),
  2719. 67: uint64(0xf57d4f7fee6ed178),
  2720. 68: uint64(0x06f067aa72176fba),
  2721. 69: uint64(0x0a637dc5a2c898a6),
  2722. 70: uint64(0x113f9804bef90dae),
  2723. 71: uint64(0x1b710b35131c471b),
  2724. 72: uint64(0x28db77f523047d84),
  2725. 73: uint64(0x32caab7b40c72493),
  2726. 74: uint64(0x3c9ebe0a15c9bebc),
  2727. 75: uint64(0x431d67c49c100d4c),
  2728. 76: uint64(0x4cc5d4becb3e42b6),
  2729. 77: uint64(0x597f299cfc657e2a),
  2730. 78: uint64(0x5fcb6fab3ad6faec),
  2731. 79: uint64(0x6c44198c4a475817),
  2732. }
  2733. // C documentation
  2734. //
  2735. // /* Initial hash value H for SHA-384 */
  2736. var _sha384_initial_hash_value = [8]Tuint64_t{
  2737. 0: uint64(0xcbbb9d5dc1059ed8),
  2738. 1: uint64(0x629a292a367cd507),
  2739. 2: uint64(0x9159015a3070dd17),
  2740. 3: uint64(0x152fecd8f70e5939),
  2741. 4: uint64(0x67332667ffc00b31),
  2742. 5: uint64(0x8eb44a8768581511),
  2743. 6: uint64(0xdb0c2e0d64f98fa7),
  2744. 7: uint64(0x47b5481dbefa4fa4),
  2745. }
  2746. // C documentation
  2747. //
  2748. // /* Initial hash value H for SHA-512 */
  2749. var _sha512_initial_hash_value = [8]Tuint64_t{
  2750. 0: uint64(0x6a09e667f3bcc908),
  2751. 1: uint64(0xbb67ae8584caa73b),
  2752. 2: uint64(0x3c6ef372fe94f82b),
  2753. 3: uint64(0xa54ff53a5f1d36f1),
  2754. 4: uint64(0x510e527fade682d1),
  2755. 5: uint64(0x9b05688c2b3e6c1f),
  2756. 6: uint64(0x1f83d9abfb41bd6b),
  2757. 7: uint64(0x5be0cd19137e2179),
  2758. }
  2759. // C documentation
  2760. //
  2761. // /*** SHA-256: *********************************************************/
  2762. func XSHA256Init(tls *libc.TLS, context uintptr) {
  2763. if context == libc.UintptrFromInt32(0) {
  2764. return
  2765. }
  2766. libc.Xmemcpy(tls, context, uintptr(unsafe.Pointer(&_sha256_initial_hash_value)), uint32(32))
  2767. libc.Xmemset(tls, context+80, 0, uint32(128))
  2768. *(*Tuint64_t)(unsafe.Pointer(context + 64)) = uint64(0)
  2769. }
  2770. func XSHA256Transform(tls *libc.TLS, state uintptr, data uintptr) {
  2771. bp := tls.Alloc(64)
  2772. defer tls.Free(64)
  2773. var T1, T2, a, b, c, d, e, f, g, h, s0, s1, v10, v2, v3, v4, v5, v6, v7, v8, v9 Tuint32_t
  2774. var j int32
  2775. var p1 uintptr
  2776. var _ /* W256 at bp+0 */ [16]Tuint32_t
  2777. _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ = T1, T2, a, b, c, d, e, f, g, h, j, s0, s1, v10, v2, v3, v4, v5, v6, v7, v8, v9, p1
  2778. /* Initialize registers with the prev. intermediate value */
  2779. a = *(*Tuint32_t)(unsafe.Pointer(state))
  2780. b = *(*Tuint32_t)(unsafe.Pointer(state + 1*4))
  2781. c = *(*Tuint32_t)(unsafe.Pointer(state + 2*4))
  2782. d = *(*Tuint32_t)(unsafe.Pointer(state + 3*4))
  2783. e = *(*Tuint32_t)(unsafe.Pointer(state + 4*4))
  2784. f = *(*Tuint32_t)(unsafe.Pointer(state + 5*4))
  2785. g = *(*Tuint32_t)(unsafe.Pointer(state + 6*4))
  2786. h = *(*Tuint32_t)(unsafe.Pointer(state + 7*4))
  2787. j = 0
  2788. for cond := true; cond; cond = j < int32(16) {
  2789. (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[j] = uint32(*(*Tuint8_t)(unsafe.Pointer(data + 3))) | uint32(*(*Tuint8_t)(unsafe.Pointer(data + 2)))<<libc.Int32FromInt32(8) | uint32(*(*Tuint8_t)(unsafe.Pointer(data + 1)))<<libc.Int32FromInt32(16) | uint32(*(*Tuint8_t)(unsafe.Pointer(data)))<<libc.Int32FromInt32(24)
  2790. data += uintptr(4)
  2791. /* Apply the SHA-256 compression function to update a..h */
  2792. T1 = h + (e>>libc.Int32FromInt32(6) | e<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) ^ (e>>libc.Int32FromInt32(11) | e<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))) ^ (e>>libc.Int32FromInt32(25) | e<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(25)))) + (e&f ^ ^e&g) + _K256[j] + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[j]
  2793. T2 = a>>libc.Int32FromInt32(2) | a<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(2)) ^ (a>>libc.Int32FromInt32(13) | a<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(13))) ^ (a>>libc.Int32FromInt32(22) | a<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(22))) + (a&b ^ a&c ^ b&c)
  2794. h = g
  2795. g = f
  2796. f = e
  2797. e = d + T1
  2798. d = c
  2799. c = b
  2800. b = a
  2801. a = T1 + T2
  2802. j++
  2803. }
  2804. for cond := true; cond; cond = j < int32(64) {
  2805. /* Part of the message block expansion: */
  2806. s0 = (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[(j+int32(1))&int32(0x0f)]
  2807. s0 = s0>>libc.Int32FromInt32(7) | s0<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(7)) ^ (s0>>libc.Int32FromInt32(18) | s0<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(18))) ^ s0>>libc.Int32FromInt32(3)
  2808. s1 = (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[(j+int32(14))&int32(0x0f)]
  2809. s1 = s1>>libc.Int32FromInt32(17) | s1<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(17)) ^ (s1>>libc.Int32FromInt32(19) | s1<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(19))) ^ s1>>libc.Int32FromInt32(10)
  2810. /* Apply the SHA-256 compression function to update a..h */
  2811. p1 = bp + uintptr(j&int32(0x0f))*4
  2812. *(*Tuint32_t)(unsafe.Pointer(p1)) += s1 + (*(*[16]Tuint32_t)(unsafe.Pointer(bp)))[(j+int32(9))&int32(0x0f)] + s0
  2813. T1 = h + (e>>libc.Int32FromInt32(6) | e<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(6)) ^ (e>>libc.Int32FromInt32(11) | e<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(11))) ^ (e>>libc.Int32FromInt32(25) | e<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(25)))) + (e&f ^ ^e&g) + _K256[j] + *(*Tuint32_t)(unsafe.Pointer(p1))
  2814. T2 = a>>libc.Int32FromInt32(2) | a<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(2)) ^ (a>>libc.Int32FromInt32(13) | a<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(13))) ^ (a>>libc.Int32FromInt32(22) | a<<(libc.Int32FromInt32(32)-libc.Int32FromInt32(22))) + (a&b ^ a&c ^ b&c)
  2815. h = g
  2816. g = f
  2817. f = e
  2818. e = d + T1
  2819. d = c
  2820. c = b
  2821. b = a
  2822. a = T1 + T2
  2823. j++
  2824. }
  2825. /* Compute the current intermediate hash value */
  2826. *(*Tuint32_t)(unsafe.Pointer(state)) += a
  2827. *(*Tuint32_t)(unsafe.Pointer(state + 1*4)) += b
  2828. *(*Tuint32_t)(unsafe.Pointer(state + 2*4)) += c
  2829. *(*Tuint32_t)(unsafe.Pointer(state + 3*4)) += d
  2830. *(*Tuint32_t)(unsafe.Pointer(state + 4*4)) += e
  2831. *(*Tuint32_t)(unsafe.Pointer(state + 5*4)) += f
  2832. *(*Tuint32_t)(unsafe.Pointer(state + 6*4)) += g
  2833. *(*Tuint32_t)(unsafe.Pointer(state + 7*4)) += h
  2834. /* Clean up */
  2835. v10 = libc.Uint32FromInt32(0)
  2836. T2 = v10
  2837. v9 = v10
  2838. T1 = v9
  2839. v8 = v9
  2840. h = v8
  2841. v7 = v8
  2842. g = v7
  2843. v6 = v7
  2844. f = v6
  2845. v5 = v6
  2846. e = v5
  2847. v4 = v5
  2848. d = v4
  2849. v3 = v4
  2850. c = v3
  2851. v2 = v3
  2852. b = v2
  2853. a = v2
  2854. }
  2855. func XSHA256Update(tls *libc.TLS, context uintptr, data uintptr, len1 Tsize_t) {
  2856. var freespace, usedspace, v1, v2 Tsize_t
  2857. _, _, _, _ = freespace, usedspace, v1, v2
  2858. /* Calling with no data is valid (we do nothing) */
  2859. if len1 == uint32(0) {
  2860. return
  2861. }
  2862. usedspace = uint32(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> libc.Int32FromInt32(3) % uint64(m_SHA256_BLOCK_LENGTH))
  2863. if usedspace > uint32(0) {
  2864. /* Calculate how much free space is available in the buffer */
  2865. freespace = uint32(m_SHA256_BLOCK_LENGTH) - usedspace
  2866. if len1 >= freespace {
  2867. /* Fill the buffer completely and process it */
  2868. libc.Xmemcpy(tls, context+80+uintptr(usedspace), data, freespace)
  2869. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += uint64(freespace << int32(3))
  2870. len1 -= freespace
  2871. data += uintptr(freespace)
  2872. XSHA256Transform(tls, context, context+80)
  2873. } else {
  2874. /* The buffer is not yet full */
  2875. libc.Xmemcpy(tls, context+80+uintptr(usedspace), data, len1)
  2876. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += uint64(len1 << int32(3))
  2877. /* Clean up: */
  2878. v1 = libc.Uint32FromInt32(0)
  2879. freespace = v1
  2880. usedspace = v1
  2881. return
  2882. }
  2883. }
  2884. for len1 >= uint32(m_SHA256_BLOCK_LENGTH) {
  2885. /* Process as many complete blocks as we can */
  2886. XSHA256Transform(tls, context, data)
  2887. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += libc.Uint64FromInt32(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH) << libc.Int32FromInt32(3))
  2888. len1 -= uint32(m_SHA256_BLOCK_LENGTH)
  2889. data += uintptr(m_SHA256_BLOCK_LENGTH)
  2890. }
  2891. if len1 > uint32(0) {
  2892. /* There's left-overs, so save 'em */
  2893. libc.Xmemcpy(tls, context+80, data, len1)
  2894. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += uint64(len1 << int32(3))
  2895. }
  2896. /* Clean up: */
  2897. v2 = libc.Uint32FromInt32(0)
  2898. freespace = v2
  2899. usedspace = v2
  2900. }
  2901. func XSHA256Pad(tls *libc.TLS, context uintptr) {
  2902. var usedspace, v1 uint32
  2903. _, _ = usedspace, v1
  2904. usedspace = uint32(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> libc.Int32FromInt32(3) % uint64(m_SHA256_BLOCK_LENGTH))
  2905. if usedspace > uint32(0) {
  2906. /* Begin padding with a 1 bit: */
  2907. v1 = usedspace
  2908. usedspace++
  2909. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(v1))) = uint8(0x80)
  2910. if usedspace <= libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) {
  2911. /* Set-up for the last transform: */
  2912. libc.Xmemset(tls, context+80+uintptr(usedspace), 0, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8))-usedspace)
  2913. } else {
  2914. if usedspace < uint32(m_SHA256_BLOCK_LENGTH) {
  2915. libc.Xmemset(tls, context+80+uintptr(usedspace), 0, uint32(m_SHA256_BLOCK_LENGTH)-usedspace)
  2916. }
  2917. /* Do second-to-last transform: */
  2918. XSHA256Transform(tls, context, context+80)
  2919. /* Prepare for last transform: */
  2920. libc.Xmemset(tls, context+80, 0, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)))
  2921. }
  2922. } else {
  2923. /* Set-up for the last transform: */
  2924. libc.Xmemset(tls, context+80, 0, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)))
  2925. /* Begin padding with a 1 bit: */
  2926. *(*Tuint8_t)(unsafe.Pointer(context + 80)) = uint8(0x80)
  2927. }
  2928. /* Store the length of input data (in bits) in big endian format: */
  2929. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)))) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(56))
  2930. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) + 1)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(48))
  2931. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) + 2)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(40))
  2932. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) + 3)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(32))
  2933. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) + 4)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(24))
  2934. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) + 5)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(16))
  2935. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) + 6)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(8))
  2936. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA256_BLOCK_LENGTH)-libc.Int32FromInt32(8)) + 7)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)))
  2937. /* Final transform: */
  2938. XSHA256Transform(tls, context, context+80)
  2939. /* Clean up: */
  2940. usedspace = uint32(0)
  2941. }
  2942. func XSHA256Final(tls *libc.TLS, digest uintptr, context uintptr) {
  2943. var i int32
  2944. _ = i
  2945. XSHA256Pad(tls, context)
  2946. /* If no digest buffer is passed, we don't bother doing this: */
  2947. if digest != libc.UintptrFromInt32(0) {
  2948. /* Convert TO host byte order */
  2949. i = 0
  2950. for {
  2951. if !(i < int32(8)) {
  2952. break
  2953. }
  2954. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)))) = uint8(*(*Tuint32_t)(unsafe.Pointer(context + uintptr(i)*4)) >> int32(24))
  2955. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 1)) = uint8(*(*Tuint32_t)(unsafe.Pointer(context + uintptr(i)*4)) >> int32(16))
  2956. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 2)) = uint8(*(*Tuint32_t)(unsafe.Pointer(context + uintptr(i)*4)) >> int32(8))
  2957. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(4)) + 3)) = uint8(*(*Tuint32_t)(unsafe.Pointer(context + uintptr(i)*4)))
  2958. goto _1
  2959. _1:
  2960. ;
  2961. i++
  2962. }
  2963. libc.Xmemset(tls, context, 0, uint32(208))
  2964. }
  2965. }
  2966. // C documentation
  2967. //
  2968. // /*** SHA-512: *********************************************************/
  2969. func XSHA512Init(tls *libc.TLS, context uintptr) {
  2970. var v1 Tuint64_t
  2971. _ = v1
  2972. if context == libc.UintptrFromInt32(0) {
  2973. return
  2974. }
  2975. libc.Xmemcpy(tls, context, uintptr(unsafe.Pointer(&_sha512_initial_hash_value)), uint32(64))
  2976. libc.Xmemset(tls, context+80, 0, uint32(128))
  2977. v1 = libc.Uint64FromInt32(0)
  2978. *(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) = v1
  2979. *(*Tuint64_t)(unsafe.Pointer(context + 64)) = v1
  2980. }
  2981. func XSHA512Transform(tls *libc.TLS, state uintptr, data uintptr) {
  2982. bp := tls.Alloc(128)
  2983. defer tls.Free(128)
  2984. var T1, T2, a, b, c, d, e, f, g, h, s0, s1, v10, v2, v3, v4, v5, v6, v7, v8, v9 Tuint64_t
  2985. var j int32
  2986. var p1 uintptr
  2987. var _ /* W512 at bp+0 */ [16]Tuint64_t
  2988. _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ = T1, T2, a, b, c, d, e, f, g, h, j, s0, s1, v10, v2, v3, v4, v5, v6, v7, v8, v9, p1
  2989. /* Initialize registers with the prev. intermediate value */
  2990. a = *(*Tuint64_t)(unsafe.Pointer(state))
  2991. b = *(*Tuint64_t)(unsafe.Pointer(state + 1*8))
  2992. c = *(*Tuint64_t)(unsafe.Pointer(state + 2*8))
  2993. d = *(*Tuint64_t)(unsafe.Pointer(state + 3*8))
  2994. e = *(*Tuint64_t)(unsafe.Pointer(state + 4*8))
  2995. f = *(*Tuint64_t)(unsafe.Pointer(state + 5*8))
  2996. g = *(*Tuint64_t)(unsafe.Pointer(state + 6*8))
  2997. h = *(*Tuint64_t)(unsafe.Pointer(state + 7*8))
  2998. j = 0
  2999. for cond := true; cond; cond = j < int32(16) {
  3000. (*(*[16]Tuint64_t)(unsafe.Pointer(bp)))[j] = uint64(*(*Tuint8_t)(unsafe.Pointer(data + 7))) | uint64(*(*Tuint8_t)(unsafe.Pointer(data + 6)))<<libc.Int32FromInt32(8) | uint64(*(*Tuint8_t)(unsafe.Pointer(data + 5)))<<libc.Int32FromInt32(16) | uint64(*(*Tuint8_t)(unsafe.Pointer(data + 4)))<<libc.Int32FromInt32(24) | uint64(*(*Tuint8_t)(unsafe.Pointer(data + 3)))<<libc.Int32FromInt32(32) | uint64(*(*Tuint8_t)(unsafe.Pointer(data + 2)))<<libc.Int32FromInt32(40) | uint64(*(*Tuint8_t)(unsafe.Pointer(data + 1)))<<libc.Int32FromInt32(48) | uint64(*(*Tuint8_t)(unsafe.Pointer(data)))<<libc.Int32FromInt32(56)
  3001. data += uintptr(8)
  3002. /* Apply the SHA-512 compression function to update a..h */
  3003. T1 = h + (e>>libc.Int32FromInt32(14) | e<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(14)) ^ (e>>libc.Int32FromInt32(18) | e<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(18))) ^ (e>>libc.Int32FromInt32(41) | e<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(41)))) + (e&f ^ ^e&g) + _K512[j] + (*(*[16]Tuint64_t)(unsafe.Pointer(bp)))[j]
  3004. T2 = a>>libc.Int32FromInt32(28) | a<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(28)) ^ (a>>libc.Int32FromInt32(34) | a<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(34))) ^ (a>>libc.Int32FromInt32(39) | a<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(39))) + (a&b ^ a&c ^ b&c)
  3005. h = g
  3006. g = f
  3007. f = e
  3008. e = d + T1
  3009. d = c
  3010. c = b
  3011. b = a
  3012. a = T1 + T2
  3013. j++
  3014. }
  3015. for cond := true; cond; cond = j < int32(80) {
  3016. /* Part of the message block expansion: */
  3017. s0 = (*(*[16]Tuint64_t)(unsafe.Pointer(bp)))[(j+int32(1))&int32(0x0f)]
  3018. s0 = s0>>libc.Int32FromInt32(1) | s0<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(1)) ^ (s0>>libc.Int32FromInt32(8) | s0<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(8))) ^ s0>>libc.Int32FromInt32(7)
  3019. s1 = (*(*[16]Tuint64_t)(unsafe.Pointer(bp)))[(j+int32(14))&int32(0x0f)]
  3020. s1 = s1>>libc.Int32FromInt32(19) | s1<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(19)) ^ (s1>>libc.Int32FromInt32(61) | s1<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(61))) ^ s1>>libc.Int32FromInt32(6)
  3021. /* Apply the SHA-512 compression function to update a..h */
  3022. p1 = bp + uintptr(j&int32(0x0f))*8
  3023. *(*Tuint64_t)(unsafe.Pointer(p1)) += s1 + (*(*[16]Tuint64_t)(unsafe.Pointer(bp)))[(j+int32(9))&int32(0x0f)] + s0
  3024. T1 = h + (e>>libc.Int32FromInt32(14) | e<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(14)) ^ (e>>libc.Int32FromInt32(18) | e<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(18))) ^ (e>>libc.Int32FromInt32(41) | e<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(41)))) + (e&f ^ ^e&g) + _K512[j] + *(*Tuint64_t)(unsafe.Pointer(p1))
  3025. T2 = a>>libc.Int32FromInt32(28) | a<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(28)) ^ (a>>libc.Int32FromInt32(34) | a<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(34))) ^ (a>>libc.Int32FromInt32(39) | a<<(libc.Int32FromInt32(64)-libc.Int32FromInt32(39))) + (a&b ^ a&c ^ b&c)
  3026. h = g
  3027. g = f
  3028. f = e
  3029. e = d + T1
  3030. d = c
  3031. c = b
  3032. b = a
  3033. a = T1 + T2
  3034. j++
  3035. }
  3036. /* Compute the current intermediate hash value */
  3037. *(*Tuint64_t)(unsafe.Pointer(state)) += a
  3038. *(*Tuint64_t)(unsafe.Pointer(state + 1*8)) += b
  3039. *(*Tuint64_t)(unsafe.Pointer(state + 2*8)) += c
  3040. *(*Tuint64_t)(unsafe.Pointer(state + 3*8)) += d
  3041. *(*Tuint64_t)(unsafe.Pointer(state + 4*8)) += e
  3042. *(*Tuint64_t)(unsafe.Pointer(state + 5*8)) += f
  3043. *(*Tuint64_t)(unsafe.Pointer(state + 6*8)) += g
  3044. *(*Tuint64_t)(unsafe.Pointer(state + 7*8)) += h
  3045. /* Clean up */
  3046. v10 = libc.Uint64FromInt32(0)
  3047. T2 = v10
  3048. v9 = v10
  3049. T1 = v9
  3050. v8 = v9
  3051. h = v8
  3052. v7 = v8
  3053. g = v7
  3054. v6 = v7
  3055. f = v6
  3056. v5 = v6
  3057. e = v5
  3058. v4 = v5
  3059. d = v4
  3060. v3 = v4
  3061. c = v3
  3062. v2 = v3
  3063. b = v2
  3064. a = v2
  3065. }
  3066. func XSHA512Update(tls *libc.TLS, context uintptr, data uintptr, len1 Tsize_t) {
  3067. var freespace, usedspace, v1, v2 Tsize_t
  3068. _, _, _, _ = freespace, usedspace, v1, v2
  3069. /* Calling with no data is valid (we do nothing) */
  3070. if len1 == uint32(0) {
  3071. return
  3072. }
  3073. usedspace = uint32(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> libc.Int32FromInt32(3) % uint64(m_SHA512_BLOCK_LENGTH))
  3074. if usedspace > uint32(0) {
  3075. /* Calculate how much free space is available in the buffer */
  3076. freespace = uint32(m_SHA512_BLOCK_LENGTH) - usedspace
  3077. if len1 >= freespace {
  3078. /* Fill the buffer completely and process it */
  3079. libc.Xmemcpy(tls, context+80+uintptr(usedspace), data, freespace)
  3080. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += uint64(freespace << libc.Int32FromInt32(3))
  3081. if *(*Tuint64_t)(unsafe.Pointer(context + 64)) < uint64(freespace<<libc.Int32FromInt32(3)) {
  3082. *(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8))++
  3083. }
  3084. len1 -= freespace
  3085. data += uintptr(freespace)
  3086. XSHA512Transform(tls, context, context+80)
  3087. } else {
  3088. /* The buffer is not yet full */
  3089. libc.Xmemcpy(tls, context+80+uintptr(usedspace), data, len1)
  3090. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += uint64(len1 << libc.Int32FromInt32(3))
  3091. if *(*Tuint64_t)(unsafe.Pointer(context + 64)) < uint64(len1<<libc.Int32FromInt32(3)) {
  3092. *(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8))++
  3093. }
  3094. /* Clean up: */
  3095. v1 = libc.Uint32FromInt32(0)
  3096. freespace = v1
  3097. usedspace = v1
  3098. return
  3099. }
  3100. }
  3101. for len1 >= uint32(m_SHA512_BLOCK_LENGTH) {
  3102. /* Process as many complete blocks as we can */
  3103. XSHA512Transform(tls, context, data)
  3104. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += libc.Uint64FromInt32(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH) << libc.Int32FromInt32(3))
  3105. if *(*Tuint64_t)(unsafe.Pointer(context + 64)) < libc.Uint64FromInt32(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)<<libc.Int32FromInt32(3)) {
  3106. *(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8))++
  3107. }
  3108. len1 -= uint32(m_SHA512_BLOCK_LENGTH)
  3109. data += uintptr(m_SHA512_BLOCK_LENGTH)
  3110. }
  3111. if len1 > uint32(0) {
  3112. /* There's left-overs, so save 'em */
  3113. libc.Xmemcpy(tls, context+80, data, len1)
  3114. *(*Tuint64_t)(unsafe.Pointer(context + 64)) += uint64(len1 << libc.Int32FromInt32(3))
  3115. if *(*Tuint64_t)(unsafe.Pointer(context + 64)) < uint64(len1<<libc.Int32FromInt32(3)) {
  3116. *(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8))++
  3117. }
  3118. }
  3119. /* Clean up: */
  3120. v2 = libc.Uint32FromInt32(0)
  3121. freespace = v2
  3122. usedspace = v2
  3123. }
  3124. func XSHA512Pad(tls *libc.TLS, context uintptr) {
  3125. var usedspace, v1 uint32
  3126. _, _ = usedspace, v1
  3127. usedspace = uint32(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> libc.Int32FromInt32(3) % uint64(m_SHA512_BLOCK_LENGTH))
  3128. if usedspace > uint32(0) {
  3129. /* Begin padding with a 1 bit: */
  3130. v1 = usedspace
  3131. usedspace++
  3132. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(v1))) = uint8(0x80)
  3133. if usedspace <= libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) {
  3134. /* Set-up for the last transform: */
  3135. libc.Xmemset(tls, context+80+uintptr(usedspace), 0, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16))-usedspace)
  3136. } else {
  3137. if usedspace < uint32(m_SHA512_BLOCK_LENGTH) {
  3138. libc.Xmemset(tls, context+80+uintptr(usedspace), 0, uint32(m_SHA512_BLOCK_LENGTH)-usedspace)
  3139. }
  3140. /* Do second-to-last transform: */
  3141. XSHA512Transform(tls, context, context+80)
  3142. /* And set-up for the last transform: */
  3143. libc.Xmemset(tls, context+80, 0, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(2)))
  3144. }
  3145. } else {
  3146. /* Prepare for final transform: */
  3147. libc.Xmemset(tls, context+80, 0, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)))
  3148. /* Begin padding with a 1 bit: */
  3149. *(*Tuint8_t)(unsafe.Pointer(context + 80)) = uint8(0x80)
  3150. }
  3151. /* Store the length of input data (in bits) in big endian format: */
  3152. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)))) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) >> int32(56))
  3153. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) + 1)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) >> int32(48))
  3154. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) + 2)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) >> int32(40))
  3155. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) + 3)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) >> int32(32))
  3156. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) + 4)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) >> int32(24))
  3157. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) + 5)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) >> int32(16))
  3158. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) + 6)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) >> int32(8))
  3159. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)) + 7)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)))
  3160. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)))) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(56))
  3161. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)) + 1)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(48))
  3162. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)) + 2)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(40))
  3163. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)) + 3)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(32))
  3164. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)) + 4)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(24))
  3165. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)) + 5)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(16))
  3166. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)) + 6)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)) >> int32(8))
  3167. *(*Tuint8_t)(unsafe.Pointer(context + 80 + uintptr(libc.Int32FromInt32(m_SHA512_BLOCK_LENGTH)-libc.Int32FromInt32(16)+libc.Int32FromInt32(8)) + 7)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + 64)))
  3168. /* Final transform: */
  3169. XSHA512Transform(tls, context, context+80)
  3170. /* Clean up: */
  3171. usedspace = uint32(0)
  3172. }
  3173. func XSHA512Final(tls *libc.TLS, digest uintptr, context uintptr) {
  3174. var i int32
  3175. _ = i
  3176. XSHA512Pad(tls, context)
  3177. /* If no digest buffer is passed, we don't bother doing this: */
  3178. if digest != libc.UintptrFromInt32(0) {
  3179. /* Convert TO host byte order */
  3180. i = 0
  3181. for {
  3182. if !(i < int32(8)) {
  3183. break
  3184. }
  3185. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)))) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(56))
  3186. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 1)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(48))
  3187. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 2)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(40))
  3188. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 3)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(32))
  3189. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 4)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(24))
  3190. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 5)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(16))
  3191. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 6)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(8))
  3192. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 7)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)))
  3193. goto _1
  3194. _1:
  3195. ;
  3196. i++
  3197. }
  3198. libc.Xmemset(tls, context, 0, uint32(208))
  3199. }
  3200. }
  3201. // C documentation
  3202. //
  3203. // /*** SHA-384: *********************************************************/
  3204. func XSHA384Init(tls *libc.TLS, context uintptr) {
  3205. var v1 Tuint64_t
  3206. _ = v1
  3207. if context == libc.UintptrFromInt32(0) {
  3208. return
  3209. }
  3210. libc.Xmemcpy(tls, context, uintptr(unsafe.Pointer(&_sha384_initial_hash_value)), uint32(64))
  3211. libc.Xmemset(tls, context+80, 0, uint32(128))
  3212. v1 = libc.Uint64FromInt32(0)
  3213. *(*Tuint64_t)(unsafe.Pointer(context + 64 + 1*8)) = v1
  3214. *(*Tuint64_t)(unsafe.Pointer(context + 64)) = v1
  3215. }
  3216. func XSHA384Final(tls *libc.TLS, digest uintptr, context uintptr) {
  3217. var i int32
  3218. _ = i
  3219. XSHA512Pad(tls, context)
  3220. /* If no digest buffer is passed, we don't bother doing this: */
  3221. if digest != libc.UintptrFromInt32(0) {
  3222. /* Convert TO host byte order */
  3223. i = 0
  3224. for {
  3225. if !(i < int32(6)) {
  3226. break
  3227. }
  3228. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)))) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(56))
  3229. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 1)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(48))
  3230. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 2)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(40))
  3231. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 3)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(32))
  3232. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 4)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(24))
  3233. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 5)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(16))
  3234. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 6)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)) >> int32(8))
  3235. *(*Tuint8_t)(unsafe.Pointer(digest + uintptr(i*libc.Int32FromInt32(8)) + 7)) = uint8(*(*Tuint64_t)(unsafe.Pointer(context + uintptr(i)*8)))
  3236. goto _1
  3237. _1:
  3238. ;
  3239. i++
  3240. }
  3241. }
  3242. /* Zero out state data */
  3243. libc.Xmemset(tls, context, 0, uint32(208))
  3244. }
  3245. const m_AT_EACCESS = 0x200
  3246. const m_AT_EMPTY_PATH = 0x1000
  3247. const m_AT_NO_AUTOMOUNT = 0x800
  3248. const m_AT_RECURSIVE = 0x8000
  3249. const m_AT_REMOVEDIR = 0x200
  3250. const m_AT_STATX_DONT_SYNC = 0x4000
  3251. const m_AT_STATX_FORCE_SYNC = 0x2000
  3252. const m_AT_STATX_SYNC_AS_STAT = 0x0000
  3253. const m_AT_STATX_SYNC_TYPE = 0x6000
  3254. const m_AT_SYMLINK_FOLLOW = 0x400
  3255. const m_AT_SYMLINK_NOFOLLOW = 0x100
  3256. const m_BUFSIZ = 1024
  3257. const m_DN_ACCESS = 0x00000001
  3258. const m_DN_ATTRIB = 0x00000020
  3259. const m_DN_CREATE = 0x00000004
  3260. const m_DN_DELETE = 0x00000008
  3261. const m_DN_MODIFY = 0x00000002
  3262. const m_DN_MULTISHOT = 0x80000000
  3263. const m_DN_RENAME = 0x00000010
  3264. const m_E2BIG = 7
  3265. const m_EACCES = 13
  3266. const m_EADDRINUSE = 98
  3267. const m_EADDRNOTAVAIL = 99
  3268. const m_EADV = 68
  3269. const m_EAFNOSUPPORT = 97
  3270. const m_EAGAIN = 11
  3271. const m_EALREADY = 114
  3272. const m_EBADE = 52
  3273. const m_EBADF = 9
  3274. const m_EBADFD = 77
  3275. const m_EBADMSG = 74
  3276. const m_EBADR = 53
  3277. const m_EBADRQC = 56
  3278. const m_EBADSLT = 57
  3279. const m_EBFONT = 59
  3280. const m_EBUSY = 16
  3281. const m_ECANCELED = 125
  3282. const m_ECHILD = 10
  3283. const m_ECHRNG = 44
  3284. const m_ECOMM = 70
  3285. const m_ECONNABORTED = 103
  3286. const m_ECONNREFUSED = 111
  3287. const m_ECONNRESET = 104
  3288. const m_EDEADLK = 35
  3289. const m_EDEADLOCK = "EDEADLK"
  3290. const m_EDESTADDRREQ = 89
  3291. const m_EDOM = 33
  3292. const m_EDOTDOT = 73
  3293. const m_EDQUOT = 122
  3294. const m_EEXIST = 17
  3295. const m_EFAULT = 14
  3296. const m_EFBIG = 27
  3297. const m_EHOSTDOWN = 112
  3298. const m_EHOSTUNREACH = 113
  3299. const m_EHWPOISON = 133
  3300. const m_EIDRM = 43
  3301. const m_EILSEQ = 84
  3302. const m_EINPROGRESS = 115
  3303. const m_EINTR = 4
  3304. const m_EINVAL = 22
  3305. const m_EIO = 5
  3306. const m_EISCONN = 106
  3307. const m_EISDIR = 21
  3308. const m_EISNAM = 120
  3309. const m_EKEYEXPIRED = 127
  3310. const m_EKEYREJECTED = 129
  3311. const m_EKEYREVOKED = 128
  3312. const m_EL2HLT = 51
  3313. const m_EL2NSYNC = 45
  3314. const m_EL3HLT = 46
  3315. const m_EL3RST = 47
  3316. const m_ELIBACC = 79
  3317. const m_ELIBBAD = 80
  3318. const m_ELIBEXEC = 83
  3319. const m_ELIBMAX = 82
  3320. const m_ELIBSCN = 81
  3321. const m_ELNRNG = 48
  3322. const m_ELOOP = 40
  3323. const m_EMEDIUMTYPE = 124
  3324. const m_EMFILE = 24
  3325. const m_EMLINK = 31
  3326. const m_EMSGSIZE = 90
  3327. const m_EMULTIHOP = 72
  3328. const m_ENAMETOOLONG = 36
  3329. const m_ENAVAIL = 119
  3330. const m_ENETDOWN = 100
  3331. const m_ENETRESET = 102
  3332. const m_ENETUNREACH = 101
  3333. const m_ENFILE = 23
  3334. const m_ENOANO = 55
  3335. const m_ENOBUFS = 105
  3336. const m_ENOCSI = 50
  3337. const m_ENODATA = 61
  3338. const m_ENODEV = 19
  3339. const m_ENOENT = 2
  3340. const m_ENOEXEC = 8
  3341. const m_ENOKEY = 126
  3342. const m_ENOLCK = 37
  3343. const m_ENOLINK = 67
  3344. const m_ENOMEDIUM = 123
  3345. const m_ENOMEM = 12
  3346. const m_ENOMSG = 42
  3347. const m_ENONET = 64
  3348. const m_ENOPKG = 65
  3349. const m_ENOPROTOOPT = 92
  3350. const m_ENOSPC = 28
  3351. const m_ENOSR = 63
  3352. const m_ENOSTR = 60
  3353. const m_ENOSYS = 38
  3354. const m_ENOTBLK = 15
  3355. const m_ENOTCONN = 107
  3356. const m_ENOTDIR = 20
  3357. const m_ENOTEMPTY = 39
  3358. const m_ENOTNAM = 118
  3359. const m_ENOTRECOVERABLE = 131
  3360. const m_ENOTSOCK = 88
  3361. const m_ENOTSUP = "EOPNOTSUPP"
  3362. const m_ENOTTY = 25
  3363. const m_ENOTUNIQ = 76
  3364. const m_ENXIO = 6
  3365. const m_EOPNOTSUPP = 95
  3366. const m_EOVERFLOW = 75
  3367. const m_EOWNERDEAD = 130
  3368. const m_EPERM = 1
  3369. const m_EPFNOSUPPORT = 96
  3370. const m_EPIPE = 32
  3371. const m_EPROTO = 71
  3372. const m_EPROTONOSUPPORT = 93
  3373. const m_EPROTOTYPE = 91
  3374. const m_ERANGE = 34
  3375. const m_EREMCHG = 78
  3376. const m_EREMOTE = 66
  3377. const m_EREMOTEIO = 121
  3378. const m_ERESTART = 85
  3379. const m_ERFKILL = 132
  3380. const m_EROFS = 30
  3381. const m_ESHUTDOWN = 108
  3382. const m_ESOCKTNOSUPPORT = 94
  3383. const m_ESPIPE = 29
  3384. const m_ESRCH = 3
  3385. const m_ESRMNT = 69
  3386. const m_ESTALE = 116
  3387. const m_ESTRPIPE = 86
  3388. const m_ETIME = 62
  3389. const m_ETIMEDOUT = 110
  3390. const m_ETOOMANYREFS = 109
  3391. const m_ETXTBSY = 26
  3392. const m_EUCLEAN = 117
  3393. const m_EUNATCH = 49
  3394. const m_EUSERS = 87
  3395. const m_EWOULDBLOCK = "EAGAIN"
  3396. const m_EXDEV = 18
  3397. const m_EXFULL = 54
  3398. const m_EXIT_FAILURE = 1
  3399. const m_EXIT_SUCCESS = 0
  3400. const m_FALLOC_FL_KEEP_SIZE = 1
  3401. const m_FALLOC_FL_PUNCH_HOLE = 2
  3402. const m_FAPPEND = "O_APPEND"
  3403. const m_FASYNC = "O_ASYNC"
  3404. const m_FD_CLOEXEC = 1
  3405. const m_FFSYNC = "O_SYNC"
  3406. const m_FILENAME_MAX = 4096
  3407. const m_FNDELAY = "O_NDELAY"
  3408. const m_FNONBLOCK = "O_NONBLOCK"
  3409. const m_FOPEN_MAX = 1000
  3410. const m_F_ADD_SEALS = 1033
  3411. const m_F_CANCELLK = 1029
  3412. const m_F_DUPFD = 0
  3413. const m_F_DUPFD_CLOEXEC = 1030
  3414. const m_F_GETFD = 1
  3415. const m_F_GETFL = 3
  3416. const m_F_GETLEASE = 1025
  3417. const m_F_GETLK = 12
  3418. const m_F_GETOWN = 9
  3419. const m_F_GETOWNER_UIDS = 17
  3420. const m_F_GETOWN_EX = 16
  3421. const m_F_GETPIPE_SZ = 1032
  3422. const m_F_GETSIG = 11
  3423. const m_F_GET_FILE_RW_HINT = 1037
  3424. const m_F_GET_RW_HINT = 1035
  3425. const m_F_GET_SEALS = 1034
  3426. const m_F_LOCK = 1
  3427. const m_F_NOTIFY = 1026
  3428. const m_F_OFD_GETLK = 36
  3429. const m_F_OFD_SETLK = 37
  3430. const m_F_OFD_SETLKW = 38
  3431. const m_F_OK = 0
  3432. const m_F_OWNER_GID = 2
  3433. const m_F_OWNER_PGRP = 2
  3434. const m_F_OWNER_PID = 1
  3435. const m_F_OWNER_TID = 0
  3436. const m_F_RDLCK = 0
  3437. const m_F_SEAL_FUTURE_WRITE = 0x0010
  3438. const m_F_SEAL_GROW = 0x0004
  3439. const m_F_SEAL_SEAL = 0x0001
  3440. const m_F_SEAL_SHRINK = 0x0002
  3441. const m_F_SEAL_WRITE = 0x0008
  3442. const m_F_SETFD = 2
  3443. const m_F_SETFL = 4
  3444. const m_F_SETLEASE = 1024
  3445. const m_F_SETLK = 13
  3446. const m_F_SETLKW = 14
  3447. const m_F_SETOWN = 8
  3448. const m_F_SETOWN_EX = 15
  3449. const m_F_SETPIPE_SZ = 1031
  3450. const m_F_SETSIG = 10
  3451. const m_F_SET_FILE_RW_HINT = 1038
  3452. const m_F_SET_RW_HINT = 1036
  3453. const m_F_TEST = 3
  3454. const m_F_TLOCK = 2
  3455. const m_F_ULOCK = 0
  3456. const m_F_UNLCK = 2
  3457. const m_F_WRLCK = 1
  3458. const m_L_INCR = 1
  3459. const m_L_SET = 0
  3460. const m_L_XTND = 2
  3461. const m_L_ctermid = 20
  3462. const m_L_cuserid = 20
  3463. const m_L_tmpnam = 20
  3464. const m_MAX_HANDLE_SZ = 128
  3465. const m_O_APPEND = 02000
  3466. const m_O_ASYNC = 020000
  3467. const m_O_CLOEXEC = 02000000
  3468. const m_O_CREAT = 0100
  3469. const m_O_DIRECT = 0200000
  3470. const m_O_DIRECTORY = 040000
  3471. const m_O_DSYNC = 010000
  3472. const m_O_EXCL = 0200
  3473. const m_O_EXEC = "O_PATH"
  3474. const m_O_LARGEFILE = 0400000
  3475. const m_O_NDELAY = "O_NONBLOCK"
  3476. const m_O_NOATIME = 01000000
  3477. const m_O_NOCTTY = 0400
  3478. const m_O_NOFOLLOW = 0100000
  3479. const m_O_NONBLOCK = 04000
  3480. const m_O_PATH = 010000000
  3481. const m_O_RDONLY = 0
  3482. const m_O_RDWR = 02
  3483. const m_O_RSYNC = 04010000
  3484. const m_O_SEARCH = "O_PATH"
  3485. const m_O_SYNC = 04010000
  3486. const m_O_TMPFILE = 020040000
  3487. const m_O_TRUNC = 01000
  3488. const m_O_TTY_INIT = 0
  3489. const m_O_WRONLY = 01
  3490. const m_POSIX_CLOSE_RESTART = 0
  3491. const m_POSIX_FADV_DONTNEED = 4
  3492. const m_POSIX_FADV_NOREUSE = 5
  3493. const m_POSIX_FADV_NORMAL = 0
  3494. const m_POSIX_FADV_RANDOM = 1
  3495. const m_POSIX_FADV_SEQUENTIAL = 2
  3496. const m_POSIX_FADV_WILLNEED = 3
  3497. const m_P_tmpdir = "/tmp"
  3498. const m_RAND_MAX = 0x7fffffff
  3499. const m_RWF_WRITE_LIFE_NOT_SET = 0
  3500. const m_RWH_WRITE_LIFE_EXTREME = 5
  3501. const m_RWH_WRITE_LIFE_LONG = 4
  3502. const m_RWH_WRITE_LIFE_MEDIUM = 3
  3503. const m_RWH_WRITE_LIFE_NONE = 1
  3504. const m_RWH_WRITE_LIFE_SHORT = 2
  3505. const m_R_OK = 4
  3506. const m_SEEK_DATA = 3
  3507. const m_SEEK_HOLE = 4
  3508. const m_SPLICE_F_GIFT = 8
  3509. const m_SPLICE_F_MORE = 4
  3510. const m_SPLICE_F_MOVE = 1
  3511. const m_SPLICE_F_NONBLOCK = 2
  3512. const m_STATX_ALL = 0xfff
  3513. const m_STATX_ATIME = 0x20
  3514. const m_STATX_BASIC_STATS = 0x7ff
  3515. const m_STATX_BLOCKS = 0x400
  3516. const m_STATX_BTIME = 0x800
  3517. const m_STATX_CTIME = 0x80
  3518. const m_STATX_GID = 0x10
  3519. const m_STATX_INO = 0x100
  3520. const m_STATX_MODE = 2
  3521. const m_STATX_MTIME = 0x40
  3522. const m_STATX_NLINK = 4
  3523. const m_STATX_SIZE = 0x200
  3524. const m_STATX_TYPE = 1
  3525. const m_STATX_UID = 8
  3526. const m_STDERR_FILENO = 2
  3527. const m_STDIN_FILENO = 0
  3528. const m_STDOUT_FILENO = 1
  3529. const m_SYNC_FILE_RANGE_WAIT_AFTER = 4
  3530. const m_SYNC_FILE_RANGE_WAIT_BEFORE = 1
  3531. const m_SYNC_FILE_RANGE_WRITE = 2
  3532. const m_S_IEXEC = "S_IXUSR"
  3533. const m_S_IFBLK = 0060000
  3534. const m_S_IFCHR = 0020000
  3535. const m_S_IFDIR = 0040000
  3536. const m_S_IFIFO = 0010000
  3537. const m_S_IFLNK = 0120000
  3538. const m_S_IFMT = 0170000
  3539. const m_S_IFREG = 0100000
  3540. const m_S_IFSOCK = 0140000
  3541. const m_S_IREAD = "S_IRUSR"
  3542. const m_S_IRGRP = 0040
  3543. const m_S_IROTH = 0004
  3544. const m_S_IRUSR = 0400
  3545. const m_S_IRWXG = 0070
  3546. const m_S_IRWXO = 0007
  3547. const m_S_IRWXU = 0700
  3548. const m_S_ISGID = 02000
  3549. const m_S_ISUID = 04000
  3550. const m_S_ISVTX = 01000
  3551. const m_S_IWGRP = 0020
  3552. const m_S_IWOTH = 0002
  3553. const m_S_IWRITE = "S_IWUSR"
  3554. const m_S_IWUSR = 0200
  3555. const m_S_IXGRP = 0010
  3556. const m_S_IXOTH = 0001
  3557. const m_S_IXUSR = 0100
  3558. const m_TMP_MAX = 10000
  3559. const m_UTIME_NOW = 0x3fffffff
  3560. const m_UTIME_OMIT = 0x3ffffffe
  3561. const m_WNOHANG = 1
  3562. const m_WUNTRACED = 2
  3563. const m_W_OK = 2
  3564. const m_X_OK = 1
  3565. const m__CS_GNU_LIBC_VERSION = 2
  3566. const m__CS_GNU_LIBPTHREAD_VERSION = 3
  3567. const m__CS_PATH = 0
  3568. const m__CS_POSIX_V5_WIDTH_RESTRICTED_ENVS = 4
  3569. const m__CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116
  3570. const m__CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117
  3571. const m__CS_POSIX_V6_ILP32_OFF32_LIBS = 1118
  3572. const m__CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119
  3573. const m__CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120
  3574. const m__CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121
  3575. const m__CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122
  3576. const m__CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123
  3577. const m__CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124
  3578. const m__CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125
  3579. const m__CS_POSIX_V6_LP64_OFF64_LIBS = 1126
  3580. const m__CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127
  3581. const m__CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128
  3582. const m__CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129
  3583. const m__CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130
  3584. const m__CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131
  3585. const m__CS_POSIX_V6_WIDTH_RESTRICTED_ENVS = 1
  3586. const m__CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132
  3587. const m__CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133
  3588. const m__CS_POSIX_V7_ILP32_OFF32_LIBS = 1134
  3589. const m__CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135
  3590. const m__CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136
  3591. const m__CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137
  3592. const m__CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138
  3593. const m__CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139
  3594. const m__CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140
  3595. const m__CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141
  3596. const m__CS_POSIX_V7_LP64_OFF64_LIBS = 1142
  3597. const m__CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143
  3598. const m__CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144
  3599. const m__CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145
  3600. const m__CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146
  3601. const m__CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147
  3602. const m__CS_POSIX_V7_THREADS_CFLAGS = 1150
  3603. const m__CS_POSIX_V7_THREADS_LDFLAGS = 1151
  3604. const m__CS_POSIX_V7_WIDTH_RESTRICTED_ENVS = 5
  3605. const m__CS_V6_ENV = 1148
  3606. const m__CS_V7_ENV = 1149
  3607. const m__IOFBF = 0
  3608. const m__IOLBF = 1
  3609. const m__IONBF = 2
  3610. const m__PC_2_SYMLINKS = 20
  3611. const m__PC_ALLOC_SIZE_MIN = 18
  3612. const m__PC_ASYNC_IO = 10
  3613. const m__PC_CHOWN_RESTRICTED = 6
  3614. const m__PC_FILESIZEBITS = 13
  3615. const m__PC_LINK_MAX = 0
  3616. const m__PC_MAX_CANON = 1
  3617. const m__PC_MAX_INPUT = 2
  3618. const m__PC_NAME_MAX = 3
  3619. const m__PC_NO_TRUNC = 7
  3620. const m__PC_PATH_MAX = 4
  3621. const m__PC_PIPE_BUF = 5
  3622. const m__PC_PRIO_IO = 11
  3623. const m__PC_REC_INCR_XFER_SIZE = 14
  3624. const m__PC_REC_MAX_XFER_SIZE = 15
  3625. const m__PC_REC_MIN_XFER_SIZE = 16
  3626. const m__PC_REC_XFER_ALIGN = 17
  3627. const m__PC_SOCK_MAXBUF = 12
  3628. const m__PC_SYMLINK_MAX = 19
  3629. const m__PC_SYNC_IO = 9
  3630. const m__PC_VDISABLE = 8
  3631. const m__POSIX2_C_BIND = "_POSIX_VERSION"
  3632. const m__POSIX2_VERSION = "_POSIX_VERSION"
  3633. const m__POSIX_ADVISORY_INFO = "_POSIX_VERSION"
  3634. const m__POSIX_ASYNCHRONOUS_IO = "_POSIX_VERSION"
  3635. const m__POSIX_BARRIERS = "_POSIX_VERSION"
  3636. const m__POSIX_CHOWN_RESTRICTED = 1
  3637. const m__POSIX_CLOCK_SELECTION = "_POSIX_VERSION"
  3638. const m__POSIX_CPUTIME = "_POSIX_VERSION"
  3639. const m__POSIX_FSYNC = "_POSIX_VERSION"
  3640. const m__POSIX_IPV6 = "_POSIX_VERSION"
  3641. const m__POSIX_JOB_CONTROL = 1
  3642. const m__POSIX_MAPPED_FILES = "_POSIX_VERSION"
  3643. const m__POSIX_MEMLOCK = "_POSIX_VERSION"
  3644. const m__POSIX_MEMLOCK_RANGE = "_POSIX_VERSION"
  3645. const m__POSIX_MEMORY_PROTECTION = "_POSIX_VERSION"
  3646. const m__POSIX_MESSAGE_PASSING = "_POSIX_VERSION"
  3647. const m__POSIX_MONOTONIC_CLOCK = "_POSIX_VERSION"
  3648. const m__POSIX_NO_TRUNC = 1
  3649. const m__POSIX_RAW_SOCKETS = "_POSIX_VERSION"
  3650. const m__POSIX_READER_WRITER_LOCKS = "_POSIX_VERSION"
  3651. const m__POSIX_REALTIME_SIGNALS = "_POSIX_VERSION"
  3652. const m__POSIX_REGEXP = 1
  3653. const m__POSIX_SAVED_IDS = 1
  3654. const m__POSIX_SEMAPHORES = "_POSIX_VERSION"
  3655. const m__POSIX_SHARED_MEMORY_OBJECTS = "_POSIX_VERSION"
  3656. const m__POSIX_SHELL = 1
  3657. const m__POSIX_SPAWN = "_POSIX_VERSION"
  3658. const m__POSIX_SPIN_LOCKS = "_POSIX_VERSION"
  3659. const m__POSIX_THREADS = "_POSIX_VERSION"
  3660. const m__POSIX_THREAD_ATTR_STACKADDR = "_POSIX_VERSION"
  3661. const m__POSIX_THREAD_ATTR_STACKSIZE = "_POSIX_VERSION"
  3662. const m__POSIX_THREAD_CPUTIME = "_POSIX_VERSION"
  3663. const m__POSIX_THREAD_PRIORITY_SCHEDULING = "_POSIX_VERSION"
  3664. const m__POSIX_THREAD_PROCESS_SHARED = "_POSIX_VERSION"
  3665. const m__POSIX_THREAD_SAFE_FUNCTIONS = "_POSIX_VERSION"
  3666. const m__POSIX_TIMEOUTS = "_POSIX_VERSION"
  3667. const m__POSIX_TIMERS = "_POSIX_VERSION"
  3668. const m__POSIX_V6_ILP32_OFFBIG = 1
  3669. const m__POSIX_V7_ILP32_OFFBIG = 1
  3670. const m__POSIX_VDISABLE = 0
  3671. const m__POSIX_VERSION = 200809
  3672. const m__SC_2_CHAR_TERM = 95
  3673. const m__SC_2_C_BIND = 47
  3674. const m__SC_2_C_DEV = 48
  3675. const m__SC_2_FORT_DEV = 49
  3676. const m__SC_2_FORT_RUN = 50
  3677. const m__SC_2_LOCALEDEF = 52
  3678. const m__SC_2_PBS = 168
  3679. const m__SC_2_PBS_ACCOUNTING = 169
  3680. const m__SC_2_PBS_CHECKPOINT = 175
  3681. const m__SC_2_PBS_LOCATE = 170
  3682. const m__SC_2_PBS_MESSAGE = 171
  3683. const m__SC_2_PBS_TRACK = 172
  3684. const m__SC_2_SW_DEV = 51
  3685. const m__SC_2_UPE = 97
  3686. const m__SC_2_VERSION = 46
  3687. const m__SC_ADVISORY_INFO = 132
  3688. const m__SC_AIO_LISTIO_MAX = 23
  3689. const m__SC_AIO_MAX = 24
  3690. const m__SC_AIO_PRIO_DELTA_MAX = 25
  3691. const m__SC_ARG_MAX = 0
  3692. const m__SC_ASYNCHRONOUS_IO = 12
  3693. const m__SC_ATEXIT_MAX = 87
  3694. const m__SC_AVPHYS_PAGES = 86
  3695. const m__SC_BARRIERS = 133
  3696. const m__SC_BC_BASE_MAX = 36
  3697. const m__SC_BC_DIM_MAX = 37
  3698. const m__SC_BC_SCALE_MAX = 38
  3699. const m__SC_BC_STRING_MAX = 39
  3700. const m__SC_CHILD_MAX = 1
  3701. const m__SC_CLK_TCK = 2
  3702. const m__SC_CLOCK_SELECTION = 137
  3703. const m__SC_COLL_WEIGHTS_MAX = 40
  3704. const m__SC_CPUTIME = 138
  3705. const m__SC_DELAYTIMER_MAX = 26
  3706. const m__SC_EXPR_NEST_MAX = 42
  3707. const m__SC_FSYNC = 15
  3708. const m__SC_GETGR_R_SIZE_MAX = 69
  3709. const m__SC_GETPW_R_SIZE_MAX = 70
  3710. const m__SC_HOST_NAME_MAX = 180
  3711. const m__SC_IOV_MAX = 60
  3712. const m__SC_IPV6 = 235
  3713. const m__SC_JOB_CONTROL = 7
  3714. const m__SC_LINE_MAX = 43
  3715. const m__SC_LOGIN_NAME_MAX = 71
  3716. const m__SC_MAPPED_FILES = 16
  3717. const m__SC_MEMLOCK = 17
  3718. const m__SC_MEMLOCK_RANGE = 18
  3719. const m__SC_MEMORY_PROTECTION = 19
  3720. const m__SC_MESSAGE_PASSING = 20
  3721. const m__SC_MINSIGSTKSZ = 249
  3722. const m__SC_MONOTONIC_CLOCK = 149
  3723. const m__SC_MQ_OPEN_MAX = 27
  3724. const m__SC_MQ_PRIO_MAX = 28
  3725. const m__SC_NGROUPS_MAX = 3
  3726. const m__SC_NPROCESSORS_CONF = 83
  3727. const m__SC_NPROCESSORS_ONLN = 84
  3728. const m__SC_NZERO = 109
  3729. const m__SC_OPEN_MAX = 4
  3730. const m__SC_PAGESIZE = 30
  3731. const m__SC_PAGE_SIZE = 30
  3732. const m__SC_PASS_MAX = 88
  3733. const m__SC_PHYS_PAGES = 85
  3734. const m__SC_PRIORITIZED_IO = 13
  3735. const m__SC_PRIORITY_SCHEDULING = 10
  3736. const m__SC_RAW_SOCKETS = 236
  3737. const m__SC_READER_WRITER_LOCKS = 153
  3738. const m__SC_REALTIME_SIGNALS = 9
  3739. const m__SC_REGEXP = 155
  3740. const m__SC_RE_DUP_MAX = 44
  3741. const m__SC_RTSIG_MAX = 31
  3742. const m__SC_SAVED_IDS = 8
  3743. const m__SC_SEMAPHORES = 21
  3744. const m__SC_SEM_NSEMS_MAX = 32
  3745. const m__SC_SEM_VALUE_MAX = 33
  3746. const m__SC_SHARED_MEMORY_OBJECTS = 22
  3747. const m__SC_SHELL = 157
  3748. const m__SC_SIGQUEUE_MAX = 34
  3749. const m__SC_SIGSTKSZ = 250
  3750. const m__SC_SPAWN = 159
  3751. const m__SC_SPIN_LOCKS = 154
  3752. const m__SC_SPORADIC_SERVER = 160
  3753. const m__SC_SS_REPL_MAX = 241
  3754. const m__SC_STREAMS = 174
  3755. const m__SC_STREAM_MAX = 5
  3756. const m__SC_SYMLOOP_MAX = 173
  3757. const m__SC_SYNCHRONIZED_IO = 14
  3758. const m__SC_THREADS = 67
  3759. const m__SC_THREAD_ATTR_STACKADDR = 77
  3760. const m__SC_THREAD_ATTR_STACKSIZE = 78
  3761. const m__SC_THREAD_CPUTIME = 139
  3762. const m__SC_THREAD_DESTRUCTOR_ITERATIONS = 73
  3763. const m__SC_THREAD_KEYS_MAX = 74
  3764. const m__SC_THREAD_PRIORITY_SCHEDULING = 79
  3765. const m__SC_THREAD_PRIO_INHERIT = 80
  3766. const m__SC_THREAD_PRIO_PROTECT = 81
  3767. const m__SC_THREAD_PROCESS_SHARED = 82
  3768. const m__SC_THREAD_ROBUST_PRIO_INHERIT = 247
  3769. const m__SC_THREAD_ROBUST_PRIO_PROTECT = 248
  3770. const m__SC_THREAD_SAFE_FUNCTIONS = 68
  3771. const m__SC_THREAD_SPORADIC_SERVER = 161
  3772. const m__SC_THREAD_STACK_MIN = 75
  3773. const m__SC_THREAD_THREADS_MAX = 76
  3774. const m__SC_TIMEOUTS = 164
  3775. const m__SC_TIMERS = 11
  3776. const m__SC_TIMER_MAX = 35
  3777. const m__SC_TRACE = 181
  3778. const m__SC_TRACE_EVENT_FILTER = 182
  3779. const m__SC_TRACE_EVENT_NAME_MAX = 242
  3780. const m__SC_TRACE_INHERIT = 183
  3781. const m__SC_TRACE_LOG = 184
  3782. const m__SC_TRACE_NAME_MAX = 243
  3783. const m__SC_TRACE_SYS_MAX = 244
  3784. const m__SC_TRACE_USER_EVENT_MAX = 245
  3785. const m__SC_TTY_NAME_MAX = 72
  3786. const m__SC_TYPED_MEMORY_OBJECTS = 165
  3787. const m__SC_TZNAME_MAX = 6
  3788. const m__SC_UIO_MAXIOV = 60
  3789. const m__SC_V6_ILP32_OFF32 = 176
  3790. const m__SC_V6_ILP32_OFFBIG = 177
  3791. const m__SC_V6_LP64_OFF64 = 178
  3792. const m__SC_V6_LPBIG_OFFBIG = 179
  3793. const m__SC_V7_ILP32_OFF32 = 237
  3794. const m__SC_V7_ILP32_OFFBIG = 238
  3795. const m__SC_V7_LP64_OFF64 = 239
  3796. const m__SC_V7_LPBIG_OFFBIG = 240
  3797. const m__SC_VERSION = 29
  3798. const m__SC_XBS5_ILP32_OFF32 = 125
  3799. const m__SC_XBS5_ILP32_OFFBIG = 126
  3800. const m__SC_XBS5_LP64_OFF64 = 127
  3801. const m__SC_XBS5_LPBIG_OFFBIG = 128
  3802. const m__SC_XOPEN_CRYPT = 92
  3803. const m__SC_XOPEN_ENH_I18N = 93
  3804. const m__SC_XOPEN_LEGACY = 129
  3805. const m__SC_XOPEN_REALTIME = 130
  3806. const m__SC_XOPEN_REALTIME_THREADS = 131
  3807. const m__SC_XOPEN_SHM = 94
  3808. const m__SC_XOPEN_STREAMS = 246
  3809. const m__SC_XOPEN_UNIX = 91
  3810. const m__SC_XOPEN_VERSION = 89
  3811. const m__SC_XOPEN_XCU_VERSION = 90
  3812. const m__SC_XOPEN_XPG2 = 98
  3813. const m__SC_XOPEN_XPG3 = 99
  3814. const m__SC_XOPEN_XPG4 = 100
  3815. const m__XOPEN_ENH_I18N = 1
  3816. const m__XOPEN_UNIX = 1
  3817. const m__XOPEN_VERSION = 700
  3818. const m_alloca = "__builtin_alloca"
  3819. const m_loff_t = "off_t"
  3820. type Tstat = struct {
  3821. F__ccgo_align [0]uint32
  3822. Fst_dev Tdev_t
  3823. F__st_dev_padding int32
  3824. F__st_ino_truncated int32
  3825. Fst_mode Tmode_t
  3826. Fst_nlink Tnlink_t
  3827. Fst_uid Tuid_t
  3828. Fst_gid Tgid_t
  3829. Fst_rdev Tdev_t
  3830. F__st_rdev_padding int32
  3831. F__ccgo_align9 [4]byte
  3832. Fst_size Toff_t
  3833. Fst_blksize Tblksize_t
  3834. F__ccgo_align11 [4]byte
  3835. Fst_blocks Tblkcnt_t
  3836. F__st_atim32 struct {
  3837. Ftv_sec int32
  3838. Ftv_nsec int32
  3839. }
  3840. F__st_mtim32 struct {
  3841. Ftv_sec int32
  3842. Ftv_nsec int32
  3843. }
  3844. F__st_ctim32 struct {
  3845. Ftv_sec int32
  3846. Ftv_nsec int32
  3847. }
  3848. Fst_ino Tino_t
  3849. Fst_atim Ttimespec
  3850. Fst_mtim Ttimespec
  3851. Fst_ctim Ttimespec
  3852. }
  3853. type Tstatx_timestamp = struct {
  3854. F__ccgo_align [0]uint32
  3855. Ftv_sec Tint64_t
  3856. Ftv_nsec Tuint32_t
  3857. F__pad Tuint32_t
  3858. }
  3859. type Tstatx = struct {
  3860. F__ccgo_align [0]uint32
  3861. Fstx_mask Tuint32_t
  3862. Fstx_blksize Tuint32_t
  3863. Fstx_attributes Tuint64_t
  3864. Fstx_nlink Tuint32_t
  3865. Fstx_uid Tuint32_t
  3866. Fstx_gid Tuint32_t
  3867. Fstx_mode Tuint16_t
  3868. F__pad0 [1]Tuint16_t
  3869. Fstx_ino Tuint64_t
  3870. Fstx_size Tuint64_t
  3871. Fstx_blocks Tuint64_t
  3872. Fstx_attributes_mask Tuint64_t
  3873. Fstx_atime Tstatx_timestamp
  3874. Fstx_btime Tstatx_timestamp
  3875. Fstx_ctime Tstatx_timestamp
  3876. Fstx_mtime Tstatx_timestamp
  3877. Fstx_rdev_major Tuint32_t
  3878. Fstx_rdev_minor Tuint32_t
  3879. Fstx_dev_major Tuint32_t
  3880. Fstx_dev_minor Tuint32_t
  3881. F__pad1 [14]Tuint64_t
  3882. }
  3883. type Tiovec = struct {
  3884. Fiov_base uintptr
  3885. Fiov_len Tsize_t
  3886. }
  3887. type Tflock = struct {
  3888. F__ccgo_align [0]uint32
  3889. Fl_type int16
  3890. Fl_whence int16
  3891. F__ccgo_align2 [4]byte
  3892. Fl_start Toff_t
  3893. Fl_len Toff_t
  3894. Fl_pid Tpid_t
  3895. F__ccgo_pad5 [4]byte
  3896. }
  3897. type Tfile_handle = struct {
  3898. Fhandle_bytes uint32
  3899. Fhandle_type int32
  3900. }
  3901. type Tf_owner_ex = struct {
  3902. Ftype1 int32
  3903. Fpid Tpid_t
  3904. }
  3905. type Twchar_t = uint32
  3906. type Tdiv_t = struct {
  3907. Fquot int32
  3908. Frem int32
  3909. }
  3910. type Tldiv_t = struct {
  3911. Fquot int32
  3912. Frem int32
  3913. }
  3914. type Tlldiv_t = struct {
  3915. F__ccgo_align [0]uint32
  3916. Fquot int64
  3917. Frem int64
  3918. }
  3919. type Tva_list = uintptr
  3920. type t__isoc_va_list = uintptr
  3921. type Tfpos_t = struct {
  3922. F__ccgo_align [0]uint32
  3923. F__lldata [0]int64
  3924. F__align [0]float64
  3925. F__opaque [16]uint8
  3926. }
  3927. type T_G_fpos64_t = Tfpos_t
  3928. type Tcookie_io_functions_t = struct {
  3929. Fread uintptr
  3930. Fwrite uintptr
  3931. Fseek uintptr
  3932. Fclose1 uintptr
  3933. }
  3934. type T_IO_cookie_io_functions_t = Tcookie_io_functions_t
  3935. // C documentation
  3936. //
  3937. // /* ARGSUSED */
  3938. func XMD2End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  3939. bp := tls.Alloc(16)
  3940. defer tls.Free(16)
  3941. var i int32
  3942. var v1 uintptr
  3943. var v2 bool
  3944. var _ /* digest at bp+0 */ [16]Tuint8_t
  3945. _, _, _ = i, v1, v2
  3946. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  3947. v1 = libc.Xmalloc(tls, uint32(m_MD2_DIGEST_STRING_LENGTH))
  3948. buf = v1
  3949. }
  3950. if v2 && v1 == libc.UintptrFromInt32(0) {
  3951. return libc.UintptrFromInt32(0)
  3952. }
  3953. XMD2Final(tls, bp, ctx)
  3954. i = 0
  3955. for {
  3956. if !(i < int32(m_MD2_DIGEST_LENGTH)) {
  3957. break
  3958. }
  3959. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex[libc.Int32FromUint8((*(*[16]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  3960. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex[libc.Int32FromUint8((*(*[16]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  3961. goto _3
  3962. _3:
  3963. ;
  3964. i++
  3965. }
  3966. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  3967. libc.Xmemset(tls, bp, 0, uint32(16))
  3968. return buf
  3969. }
  3970. var _hex = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  3971. func XMD2FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  3972. bp := tls.Alloc(1248)
  3973. defer tls.Free(1248)
  3974. var fd, save_errno, v1 int32
  3975. var nr, v2 Tssize_t
  3976. var v3 int64
  3977. var v4 bool
  3978. var v5 uintptr
  3979. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  3980. var _ /* ctx at bp+1176 */ TMD2_CTX
  3981. var _ /* sb at bp+0 */ Tstat
  3982. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  3983. XMD2Init(tls, bp+1176)
  3984. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  3985. fd = v1
  3986. if v1 < 0 {
  3987. return libc.UintptrFromInt32(0)
  3988. }
  3989. if len1 == 0 {
  3990. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  3991. libc.Xclose(tls, fd)
  3992. return libc.UintptrFromInt32(0)
  3993. }
  3994. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  3995. }
  3996. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  3997. libc.Xclose(tls, fd)
  3998. return libc.UintptrFromInt32(0)
  3999. }
  4000. for {
  4001. if libc.Int64FromInt64(1024) < len1 {
  4002. v3 = libc.Int64FromInt64(1024)
  4003. } else {
  4004. v3 = len1
  4005. }
  4006. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4007. nr = v2
  4008. if !(v2 > 0) {
  4009. break
  4010. }
  4011. XMD2Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4012. if v4 = len1 > 0; v4 {
  4013. len1 -= int64(nr)
  4014. }
  4015. if v4 && len1 == 0 {
  4016. break
  4017. }
  4018. }
  4019. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4020. libc.Xclose(tls, fd)
  4021. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4022. if nr < 0 {
  4023. v5 = libc.UintptrFromInt32(0)
  4024. } else {
  4025. v5 = XMD2End(tls, bp+1176, buf)
  4026. }
  4027. return v5
  4028. }
  4029. func XMD2File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4030. return XMD2FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4031. }
  4032. func XMD2Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4033. bp := tls.Alloc(80)
  4034. defer tls.Free(80)
  4035. var _ /* ctx at bp+0 */ TMD2_CTX
  4036. XMD2Init(tls, bp)
  4037. XMD2Update(tls, bp, data, len1)
  4038. return XMD2End(tls, bp, buf)
  4039. }
  4040. // C documentation
  4041. //
  4042. // /* ARGSUSED */
  4043. func XMD4End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  4044. bp := tls.Alloc(16)
  4045. defer tls.Free(16)
  4046. var i int32
  4047. var v1 uintptr
  4048. var v2 bool
  4049. var _ /* digest at bp+0 */ [16]Tuint8_t
  4050. _, _, _ = i, v1, v2
  4051. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  4052. v1 = libc.Xmalloc(tls, libc.Uint32FromInt32(libc.Int32FromInt32(m_MD4_DIGEST_LENGTH)*libc.Int32FromInt32(2)+libc.Int32FromInt32(1)))
  4053. buf = v1
  4054. }
  4055. if v2 && v1 == libc.UintptrFromInt32(0) {
  4056. return libc.UintptrFromInt32(0)
  4057. }
  4058. XMD4Final(tls, bp, ctx)
  4059. i = 0
  4060. for {
  4061. if !(i < int32(m_MD4_DIGEST_LENGTH)) {
  4062. break
  4063. }
  4064. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex1[libc.Int32FromUint8((*(*[16]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  4065. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex1[libc.Int32FromUint8((*(*[16]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  4066. goto _3
  4067. _3:
  4068. ;
  4069. i++
  4070. }
  4071. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  4072. libc.Xmemset(tls, bp, 0, uint32(16))
  4073. return buf
  4074. }
  4075. var _hex1 = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  4076. func XMD4FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  4077. bp := tls.Alloc(1264)
  4078. defer tls.Free(1264)
  4079. var fd, save_errno, v1 int32
  4080. var nr, v2 Tssize_t
  4081. var v3 int64
  4082. var v4 bool
  4083. var v5 uintptr
  4084. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  4085. var _ /* ctx at bp+1176 */ TMD4_CTX
  4086. var _ /* sb at bp+0 */ Tstat
  4087. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  4088. XMD4Init(tls, bp+1176)
  4089. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  4090. fd = v1
  4091. if v1 < 0 {
  4092. return libc.UintptrFromInt32(0)
  4093. }
  4094. if len1 == 0 {
  4095. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  4096. libc.Xclose(tls, fd)
  4097. return libc.UintptrFromInt32(0)
  4098. }
  4099. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  4100. }
  4101. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  4102. libc.Xclose(tls, fd)
  4103. return libc.UintptrFromInt32(0)
  4104. }
  4105. for {
  4106. if libc.Int64FromInt64(1024) < len1 {
  4107. v3 = libc.Int64FromInt64(1024)
  4108. } else {
  4109. v3 = len1
  4110. }
  4111. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4112. nr = v2
  4113. if !(v2 > 0) {
  4114. break
  4115. }
  4116. XMD4Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4117. if v4 = len1 > 0; v4 {
  4118. len1 -= int64(nr)
  4119. }
  4120. if v4 && len1 == 0 {
  4121. break
  4122. }
  4123. }
  4124. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4125. libc.Xclose(tls, fd)
  4126. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4127. if nr < 0 {
  4128. v5 = libc.UintptrFromInt32(0)
  4129. } else {
  4130. v5 = XMD4End(tls, bp+1176, buf)
  4131. }
  4132. return v5
  4133. }
  4134. func XMD4File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4135. return XMD4FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4136. }
  4137. func XMD4Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4138. bp := tls.Alloc(96)
  4139. defer tls.Free(96)
  4140. var _ /* ctx at bp+0 */ TMD4_CTX
  4141. XMD4Init(tls, bp)
  4142. XMD4Update(tls, bp, data, len1)
  4143. return XMD4End(tls, bp, buf)
  4144. }
  4145. /* Avoid polluting the namespace. Even though this makes this usage
  4146. * implementation-specific, defining it unconditionally should not be
  4147. * a problem, and better than possibly breaking unexpecting code. */
  4148. // C documentation
  4149. //
  4150. // /* ARGSUSED */
  4151. func XMD5End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  4152. bp := tls.Alloc(16)
  4153. defer tls.Free(16)
  4154. var i int32
  4155. var v1 uintptr
  4156. var v2 bool
  4157. var _ /* digest at bp+0 */ [16]Tuint8_t
  4158. _, _, _ = i, v1, v2
  4159. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  4160. v1 = libc.Xmalloc(tls, libc.Uint32FromInt32(libc.Int32FromInt32(m_MD5_DIGEST_LENGTH)*libc.Int32FromInt32(2)+libc.Int32FromInt32(1)))
  4161. buf = v1
  4162. }
  4163. if v2 && v1 == libc.UintptrFromInt32(0) {
  4164. return libc.UintptrFromInt32(0)
  4165. }
  4166. XMD5Final(tls, bp, ctx)
  4167. i = 0
  4168. for {
  4169. if !(i < int32(m_MD5_DIGEST_LENGTH)) {
  4170. break
  4171. }
  4172. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex2[libc.Int32FromUint8((*(*[16]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  4173. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex2[libc.Int32FromUint8((*(*[16]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  4174. goto _3
  4175. _3:
  4176. ;
  4177. i++
  4178. }
  4179. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  4180. libc.Xmemset(tls, bp, 0, uint32(16))
  4181. return buf
  4182. }
  4183. var _hex2 = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  4184. func XMD5FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  4185. bp := tls.Alloc(1264)
  4186. defer tls.Free(1264)
  4187. var fd, save_errno, v1 int32
  4188. var nr, v2 Tssize_t
  4189. var v3 int64
  4190. var v4 bool
  4191. var v5 uintptr
  4192. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  4193. var _ /* ctx at bp+1176 */ TMD5_CTX
  4194. var _ /* sb at bp+0 */ Tstat
  4195. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  4196. XMD5Init(tls, bp+1176)
  4197. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  4198. fd = v1
  4199. if v1 < 0 {
  4200. return libc.UintptrFromInt32(0)
  4201. }
  4202. if len1 == 0 {
  4203. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  4204. libc.Xclose(tls, fd)
  4205. return libc.UintptrFromInt32(0)
  4206. }
  4207. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  4208. }
  4209. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  4210. libc.Xclose(tls, fd)
  4211. return libc.UintptrFromInt32(0)
  4212. }
  4213. for {
  4214. if libc.Int64FromInt64(1024) < len1 {
  4215. v3 = libc.Int64FromInt64(1024)
  4216. } else {
  4217. v3 = len1
  4218. }
  4219. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4220. nr = v2
  4221. if !(v2 > 0) {
  4222. break
  4223. }
  4224. XMD5Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4225. if v4 = len1 > 0; v4 {
  4226. len1 -= int64(nr)
  4227. }
  4228. if v4 && len1 == 0 {
  4229. break
  4230. }
  4231. }
  4232. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4233. libc.Xclose(tls, fd)
  4234. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4235. if nr < 0 {
  4236. v5 = libc.UintptrFromInt32(0)
  4237. } else {
  4238. v5 = XMD5End(tls, bp+1176, buf)
  4239. }
  4240. return v5
  4241. }
  4242. func XMD5File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4243. return XMD5FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4244. }
  4245. func XMD5Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4246. bp := tls.Alloc(96)
  4247. defer tls.Free(96)
  4248. var _ /* ctx at bp+0 */ TMD5_CTX
  4249. XMD5Init(tls, bp)
  4250. XMD5Update(tls, bp, data, len1)
  4251. return XMD5End(tls, bp, buf)
  4252. }
  4253. // C documentation
  4254. //
  4255. // /* ARGSUSED */
  4256. func XRMD160End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  4257. bp := tls.Alloc(32)
  4258. defer tls.Free(32)
  4259. var i int32
  4260. var v1 uintptr
  4261. var v2 bool
  4262. var _ /* digest at bp+0 */ [20]Tuint8_t
  4263. _, _, _ = i, v1, v2
  4264. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  4265. v1 = libc.Xmalloc(tls, libc.Uint32FromInt32(libc.Int32FromInt32(m_RMD160_DIGEST_LENGTH)*libc.Int32FromInt32(2)+libc.Int32FromInt32(1)))
  4266. buf = v1
  4267. }
  4268. if v2 && v1 == libc.UintptrFromInt32(0) {
  4269. return libc.UintptrFromInt32(0)
  4270. }
  4271. XRMD160Final(tls, bp, ctx)
  4272. i = 0
  4273. for {
  4274. if !(i < int32(m_RMD160_DIGEST_LENGTH)) {
  4275. break
  4276. }
  4277. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex3[libc.Int32FromUint8((*(*[20]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  4278. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex3[libc.Int32FromUint8((*(*[20]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  4279. goto _3
  4280. _3:
  4281. ;
  4282. i++
  4283. }
  4284. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  4285. libc.Xmemset(tls, bp, 0, uint32(20))
  4286. return buf
  4287. }
  4288. var _hex3 = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  4289. func XRMD160FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  4290. bp := tls.Alloc(1280)
  4291. defer tls.Free(1280)
  4292. var fd, save_errno, v1 int32
  4293. var nr, v2 Tssize_t
  4294. var v3 int64
  4295. var v4 bool
  4296. var v5 uintptr
  4297. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  4298. var _ /* ctx at bp+1176 */ TRMD160_CTX
  4299. var _ /* sb at bp+0 */ Tstat
  4300. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  4301. XRMD160Init(tls, bp+1176)
  4302. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  4303. fd = v1
  4304. if v1 < 0 {
  4305. return libc.UintptrFromInt32(0)
  4306. }
  4307. if len1 == 0 {
  4308. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  4309. libc.Xclose(tls, fd)
  4310. return libc.UintptrFromInt32(0)
  4311. }
  4312. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  4313. }
  4314. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  4315. libc.Xclose(tls, fd)
  4316. return libc.UintptrFromInt32(0)
  4317. }
  4318. for {
  4319. if libc.Int64FromInt64(1024) < len1 {
  4320. v3 = libc.Int64FromInt64(1024)
  4321. } else {
  4322. v3 = len1
  4323. }
  4324. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4325. nr = v2
  4326. if !(v2 > 0) {
  4327. break
  4328. }
  4329. XRMD160Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4330. if v4 = len1 > 0; v4 {
  4331. len1 -= int64(nr)
  4332. }
  4333. if v4 && len1 == 0 {
  4334. break
  4335. }
  4336. }
  4337. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4338. libc.Xclose(tls, fd)
  4339. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4340. if nr < 0 {
  4341. v5 = libc.UintptrFromInt32(0)
  4342. } else {
  4343. v5 = XRMD160End(tls, bp+1176, buf)
  4344. }
  4345. return v5
  4346. }
  4347. func XRMD160File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4348. return XRMD160FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4349. }
  4350. func XRMD160Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4351. bp := tls.Alloc(96)
  4352. defer tls.Free(96)
  4353. var _ /* ctx at bp+0 */ TRMD160_CTX
  4354. XRMD160Init(tls, bp)
  4355. XRMD160Update(tls, bp, data, len1)
  4356. return XRMD160End(tls, bp, buf)
  4357. }
  4358. // C documentation
  4359. //
  4360. // /* ARGSUSED */
  4361. func XSHA1End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  4362. bp := tls.Alloc(32)
  4363. defer tls.Free(32)
  4364. var i int32
  4365. var v1 uintptr
  4366. var v2 bool
  4367. var _ /* digest at bp+0 */ [20]Tuint8_t
  4368. _, _, _ = i, v1, v2
  4369. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  4370. v1 = libc.Xmalloc(tls, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA1_DIGEST_LENGTH)*libc.Int32FromInt32(2)+libc.Int32FromInt32(1)))
  4371. buf = v1
  4372. }
  4373. if v2 && v1 == libc.UintptrFromInt32(0) {
  4374. return libc.UintptrFromInt32(0)
  4375. }
  4376. XSHA1Final(tls, bp, ctx)
  4377. i = 0
  4378. for {
  4379. if !(i < int32(m_SHA1_DIGEST_LENGTH)) {
  4380. break
  4381. }
  4382. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex4[libc.Int32FromUint8((*(*[20]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  4383. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex4[libc.Int32FromUint8((*(*[20]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  4384. goto _3
  4385. _3:
  4386. ;
  4387. i++
  4388. }
  4389. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  4390. libc.Xmemset(tls, bp, 0, uint32(20))
  4391. return buf
  4392. }
  4393. var _hex4 = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  4394. func XSHA1FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  4395. bp := tls.Alloc(1280)
  4396. defer tls.Free(1280)
  4397. var fd, save_errno, v1 int32
  4398. var nr, v2 Tssize_t
  4399. var v3 int64
  4400. var v4 bool
  4401. var v5 uintptr
  4402. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  4403. var _ /* ctx at bp+1176 */ TSHA1_CTX
  4404. var _ /* sb at bp+0 */ Tstat
  4405. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  4406. XSHA1Init(tls, bp+1176)
  4407. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  4408. fd = v1
  4409. if v1 < 0 {
  4410. return libc.UintptrFromInt32(0)
  4411. }
  4412. if len1 == 0 {
  4413. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  4414. libc.Xclose(tls, fd)
  4415. return libc.UintptrFromInt32(0)
  4416. }
  4417. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  4418. }
  4419. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  4420. libc.Xclose(tls, fd)
  4421. return libc.UintptrFromInt32(0)
  4422. }
  4423. for {
  4424. if libc.Int64FromInt64(1024) < len1 {
  4425. v3 = libc.Int64FromInt64(1024)
  4426. } else {
  4427. v3 = len1
  4428. }
  4429. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4430. nr = v2
  4431. if !(v2 > 0) {
  4432. break
  4433. }
  4434. XSHA1Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4435. if v4 = len1 > 0; v4 {
  4436. len1 -= int64(nr)
  4437. }
  4438. if v4 && len1 == 0 {
  4439. break
  4440. }
  4441. }
  4442. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4443. libc.Xclose(tls, fd)
  4444. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4445. if nr < 0 {
  4446. v5 = libc.UintptrFromInt32(0)
  4447. } else {
  4448. v5 = XSHA1End(tls, bp+1176, buf)
  4449. }
  4450. return v5
  4451. }
  4452. func XSHA1File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4453. return XSHA1FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4454. }
  4455. func XSHA1Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4456. bp := tls.Alloc(96)
  4457. defer tls.Free(96)
  4458. var _ /* ctx at bp+0 */ TSHA1_CTX
  4459. XSHA1Init(tls, bp)
  4460. XSHA1Update(tls, bp, data, len1)
  4461. return XSHA1End(tls, bp, buf)
  4462. }
  4463. // C documentation
  4464. //
  4465. // /* ARGSUSED */
  4466. func XSHA256End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  4467. bp := tls.Alloc(32)
  4468. defer tls.Free(32)
  4469. var i int32
  4470. var v1 uintptr
  4471. var v2 bool
  4472. var _ /* digest at bp+0 */ [32]Tuint8_t
  4473. _, _, _ = i, v1, v2
  4474. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  4475. v1 = libc.Xmalloc(tls, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA256_DIGEST_LENGTH)*libc.Int32FromInt32(2)+libc.Int32FromInt32(1)))
  4476. buf = v1
  4477. }
  4478. if v2 && v1 == libc.UintptrFromInt32(0) {
  4479. return libc.UintptrFromInt32(0)
  4480. }
  4481. XSHA256Final(tls, bp, ctx)
  4482. i = 0
  4483. for {
  4484. if !(i < int32(m_SHA256_DIGEST_LENGTH)) {
  4485. break
  4486. }
  4487. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex5[libc.Int32FromUint8((*(*[32]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  4488. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex5[libc.Int32FromUint8((*(*[32]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  4489. goto _3
  4490. _3:
  4491. ;
  4492. i++
  4493. }
  4494. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  4495. libc.Xmemset(tls, bp, 0, uint32(32))
  4496. return buf
  4497. }
  4498. var _hex5 = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  4499. func XSHA256FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  4500. bp := tls.Alloc(1392)
  4501. defer tls.Free(1392)
  4502. var fd, save_errno, v1 int32
  4503. var nr, v2 Tssize_t
  4504. var v3 int64
  4505. var v4 bool
  4506. var v5 uintptr
  4507. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  4508. var _ /* ctx at bp+1176 */ TSHA2_CTX
  4509. var _ /* sb at bp+0 */ Tstat
  4510. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  4511. XSHA256Init(tls, bp+1176)
  4512. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  4513. fd = v1
  4514. if v1 < 0 {
  4515. return libc.UintptrFromInt32(0)
  4516. }
  4517. if len1 == 0 {
  4518. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  4519. libc.Xclose(tls, fd)
  4520. return libc.UintptrFromInt32(0)
  4521. }
  4522. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  4523. }
  4524. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  4525. libc.Xclose(tls, fd)
  4526. return libc.UintptrFromInt32(0)
  4527. }
  4528. for {
  4529. if libc.Int64FromInt64(1024) < len1 {
  4530. v3 = libc.Int64FromInt64(1024)
  4531. } else {
  4532. v3 = len1
  4533. }
  4534. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4535. nr = v2
  4536. if !(v2 > 0) {
  4537. break
  4538. }
  4539. XSHA256Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4540. if v4 = len1 > 0; v4 {
  4541. len1 -= int64(nr)
  4542. }
  4543. if v4 && len1 == 0 {
  4544. break
  4545. }
  4546. }
  4547. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4548. libc.Xclose(tls, fd)
  4549. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4550. if nr < 0 {
  4551. v5 = libc.UintptrFromInt32(0)
  4552. } else {
  4553. v5 = XSHA256End(tls, bp+1176, buf)
  4554. }
  4555. return v5
  4556. }
  4557. func XSHA256File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4558. return XSHA256FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4559. }
  4560. func XSHA256Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4561. bp := tls.Alloc(208)
  4562. defer tls.Free(208)
  4563. var _ /* ctx at bp+0 */ TSHA2_CTX
  4564. XSHA256Init(tls, bp)
  4565. XSHA256Update(tls, bp, data, len1)
  4566. return XSHA256End(tls, bp, buf)
  4567. }
  4568. // C documentation
  4569. //
  4570. // /* ARGSUSED */
  4571. func XSHA384End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  4572. bp := tls.Alloc(48)
  4573. defer tls.Free(48)
  4574. var i int32
  4575. var v1 uintptr
  4576. var v2 bool
  4577. var _ /* digest at bp+0 */ [48]Tuint8_t
  4578. _, _, _ = i, v1, v2
  4579. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  4580. v1 = libc.Xmalloc(tls, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA384_DIGEST_LENGTH)*libc.Int32FromInt32(2)+libc.Int32FromInt32(1)))
  4581. buf = v1
  4582. }
  4583. if v2 && v1 == libc.UintptrFromInt32(0) {
  4584. return libc.UintptrFromInt32(0)
  4585. }
  4586. XSHA384Final(tls, bp, ctx)
  4587. i = 0
  4588. for {
  4589. if !(i < int32(m_SHA384_DIGEST_LENGTH)) {
  4590. break
  4591. }
  4592. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex6[libc.Int32FromUint8((*(*[48]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  4593. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex6[libc.Int32FromUint8((*(*[48]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  4594. goto _3
  4595. _3:
  4596. ;
  4597. i++
  4598. }
  4599. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  4600. libc.Xmemset(tls, bp, 0, uint32(48))
  4601. return buf
  4602. }
  4603. var _hex6 = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  4604. func XSHA384FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  4605. bp := tls.Alloc(1392)
  4606. defer tls.Free(1392)
  4607. var fd, save_errno, v1 int32
  4608. var nr, v2 Tssize_t
  4609. var v3 int64
  4610. var v4 bool
  4611. var v5 uintptr
  4612. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  4613. var _ /* ctx at bp+1176 */ TSHA2_CTX
  4614. var _ /* sb at bp+0 */ Tstat
  4615. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  4616. XSHA384Init(tls, bp+1176)
  4617. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  4618. fd = v1
  4619. if v1 < 0 {
  4620. return libc.UintptrFromInt32(0)
  4621. }
  4622. if len1 == 0 {
  4623. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  4624. libc.Xclose(tls, fd)
  4625. return libc.UintptrFromInt32(0)
  4626. }
  4627. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  4628. }
  4629. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  4630. libc.Xclose(tls, fd)
  4631. return libc.UintptrFromInt32(0)
  4632. }
  4633. for {
  4634. if libc.Int64FromInt64(1024) < len1 {
  4635. v3 = libc.Int64FromInt64(1024)
  4636. } else {
  4637. v3 = len1
  4638. }
  4639. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4640. nr = v2
  4641. if !(v2 > 0) {
  4642. break
  4643. }
  4644. XSHA512Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4645. if v4 = len1 > 0; v4 {
  4646. len1 -= int64(nr)
  4647. }
  4648. if v4 && len1 == 0 {
  4649. break
  4650. }
  4651. }
  4652. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4653. libc.Xclose(tls, fd)
  4654. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4655. if nr < 0 {
  4656. v5 = libc.UintptrFromInt32(0)
  4657. } else {
  4658. v5 = XSHA384End(tls, bp+1176, buf)
  4659. }
  4660. return v5
  4661. }
  4662. func XSHA384File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4663. return XSHA384FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4664. }
  4665. func XSHA384Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4666. bp := tls.Alloc(208)
  4667. defer tls.Free(208)
  4668. var _ /* ctx at bp+0 */ TSHA2_CTX
  4669. XSHA384Init(tls, bp)
  4670. XSHA512Update(tls, bp, data, len1)
  4671. return XSHA384End(tls, bp, buf)
  4672. }
  4673. // C documentation
  4674. //
  4675. // /* ARGSUSED */
  4676. func XSHA512End(tls *libc.TLS, ctx uintptr, buf uintptr) (r uintptr) {
  4677. bp := tls.Alloc(64)
  4678. defer tls.Free(64)
  4679. var i int32
  4680. var v1 uintptr
  4681. var v2 bool
  4682. var _ /* digest at bp+0 */ [64]Tuint8_t
  4683. _, _, _ = i, v1, v2
  4684. if v2 = buf == libc.UintptrFromInt32(0); v2 {
  4685. v1 = libc.Xmalloc(tls, libc.Uint32FromInt32(libc.Int32FromInt32(m_SHA512_DIGEST_LENGTH)*libc.Int32FromInt32(2)+libc.Int32FromInt32(1)))
  4686. buf = v1
  4687. }
  4688. if v2 && v1 == libc.UintptrFromInt32(0) {
  4689. return libc.UintptrFromInt32(0)
  4690. }
  4691. XSHA512Final(tls, bp, ctx)
  4692. i = 0
  4693. for {
  4694. if !(i < int32(m_SHA512_DIGEST_LENGTH)) {
  4695. break
  4696. }
  4697. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = _hex7[libc.Int32FromUint8((*(*[64]Tuint8_t)(unsafe.Pointer(bp)))[i])>>int32(4)]
  4698. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i+int32(1)))) = _hex7[libc.Int32FromUint8((*(*[64]Tuint8_t)(unsafe.Pointer(bp)))[i])&int32(0x0f)]
  4699. goto _3
  4700. _3:
  4701. ;
  4702. i++
  4703. }
  4704. *(*uint8)(unsafe.Pointer(buf + uintptr(i+i))) = uint8('\000')
  4705. libc.Xmemset(tls, bp, 0, uint32(64))
  4706. return buf
  4707. }
  4708. var _hex7 = [17]uint8{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}
  4709. func XSHA512FileChunk(tls *libc.TLS, filename uintptr, buf uintptr, off Toff_t, len1 Toff_t) (r uintptr) {
  4710. bp := tls.Alloc(1392)
  4711. defer tls.Free(1392)
  4712. var fd, save_errno, v1 int32
  4713. var nr, v2 Tssize_t
  4714. var v3 int64
  4715. var v4 bool
  4716. var v5 uintptr
  4717. var _ /* buffer at bp+152 */ [1024]Tuint8_t
  4718. var _ /* ctx at bp+1176 */ TSHA2_CTX
  4719. var _ /* sb at bp+0 */ Tstat
  4720. _, _, _, _, _, _, _, _ = fd, nr, save_errno, v1, v2, v3, v4, v5
  4721. XSHA512Init(tls, bp+1176)
  4722. v1 = libc.Xopen(tls, filename, m_O_RDONLY, 0)
  4723. fd = v1
  4724. if v1 < 0 {
  4725. return libc.UintptrFromInt32(0)
  4726. }
  4727. if len1 == 0 {
  4728. if libc.Xfstat(tls, fd, bp) == -int32(1) {
  4729. libc.Xclose(tls, fd)
  4730. return libc.UintptrFromInt32(0)
  4731. }
  4732. len1 = (*(*Tstat)(unsafe.Pointer(bp))).Fst_size
  4733. }
  4734. if off > 0 && libc.Xlseek(tls, fd, off, 0) < 0 {
  4735. libc.Xclose(tls, fd)
  4736. return libc.UintptrFromInt32(0)
  4737. }
  4738. for {
  4739. if libc.Int64FromInt64(1024) < len1 {
  4740. v3 = libc.Int64FromInt64(1024)
  4741. } else {
  4742. v3 = len1
  4743. }
  4744. v2 = libc.Xread(tls, fd, bp+152, libc.Uint32FromInt64(v3))
  4745. nr = v2
  4746. if !(v2 > 0) {
  4747. break
  4748. }
  4749. XSHA512Update(tls, bp+1176, bp+152, libc.Uint32FromInt32(nr))
  4750. if v4 = len1 > 0; v4 {
  4751. len1 -= int64(nr)
  4752. }
  4753. if v4 && len1 == 0 {
  4754. break
  4755. }
  4756. }
  4757. save_errno = *(*int32)(unsafe.Pointer(libc.X__errno_location(tls)))
  4758. libc.Xclose(tls, fd)
  4759. *(*int32)(unsafe.Pointer(libc.X__errno_location(tls))) = save_errno
  4760. if nr < 0 {
  4761. v5 = libc.UintptrFromInt32(0)
  4762. } else {
  4763. v5 = XSHA512End(tls, bp+1176, buf)
  4764. }
  4765. return v5
  4766. }
  4767. func XSHA512File(tls *libc.TLS, filename uintptr, buf uintptr) (r uintptr) {
  4768. return XSHA512FileChunk(tls, filename, buf, libc.Int64FromInt32(0), libc.Int64FromInt32(0))
  4769. }
  4770. func XSHA512Data(tls *libc.TLS, data uintptr, len1 Tsize_t, buf uintptr) (r uintptr) {
  4771. bp := tls.Alloc(208)
  4772. defer tls.Free(208)
  4773. var _ /* ctx at bp+0 */ TSHA2_CTX
  4774. XSHA512Init(tls, bp)
  4775. XSHA512Update(tls, bp, data, len1)
  4776. return XSHA512End(tls, bp, buf)
  4777. }
  4778. var __ccgo_ts = (*reflect.StringHeader)(unsafe.Pointer(&__ccgo_ts1)).Data
  4779. var __ccgo_ts1 = "\x00\x01\x00\x02\x02\x00\x03\x03\x03\x00\x04\x04\x04\x04\x00\x05\x05\x05\x05\x05\x00\x06\x06\x06\x06\x06\x06\x00\a\a\a\a\a\a\a\x00\b\b\b\b\b\b\b\b\x00\t\t\t\t\t\t\t\t\t\x00\n\n\n\n\n\n\n\n\n\n\x00\v\v\v\v\v\v\v\v\v\v\v\x00\f\f\f\f\f\f\f\f\f\f\f\f\x00\r\r\r\r\r\r\r\r\r\r\r\r\r\x00\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x00\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x0f\x00\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x00\x80\x00\x00\x00"