circomlib/circuits/poseidon_constants.circom

45 lines
44 KiB
Plaintext
Raw Permalink Normal View History

// Parameters are generated by a reference script https://extgit.iaik.tugraz.at/krypto/hadeshash/-/blob/master/code/generate_parameters_grain.sage
// Used like so: sage generate_parameters_grain.sage 1 0 254 2 8 56 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001
function POSEIDON_C(t) {
if (t == 2) {
return [0x1083c3a16f6c55c7956a5ce08fb39df23957cc6381c217985d9ba0ae29771100, 0x1dd8990173e411a3a4dff6710e8c3df9ef8e07216efd610a63b3ce10ab57b8ae, 0x1f3ff523faa41dab28fd27c47286a6b93fe44a9e993ea1ab3723d17aba78b3de, 0x2662d2995574e11e58f4ce13e282b6b57c2d7df1681bfef79a0261dc300573fc, 0x20b3c06fa2b82434f725af0c37efb847324312d182d127fdb2054cfa0da9a8be, 0x18ff92e6daa7639fc832d97928e4098d84efa47d7ef5c1929e54232960ae32b1, 0x2c175450b8686e4958e698cf1af0b54e0e912ea93f35be8e8e1c3daebbc034be, 0x00596181885c32674b20103a1a153744c302cf1fa86ee39e14e2ff9a5f9efcba, 0x0e21b4330dd8a9563e60ef4ffdbb26b85ae766e867633e58c20932365d273a53, 0x16eb0a124adc927e3fdae149e1aef43d5ee08693f7dac9aa20b46bb31ae12d1f, 0x0ba1d75274999eb448de5751b5bd165582205d564c636e8340d2a3fe09e4e01c, 0x04d615bf7a10c566ae2b198a40bef494bc43e7bbd40baa908bf2ce989d39cb16, 0x10f7d989ce23d2ec2dc7cb425b603ef0fb09efb7f620a25b4e0187fafaeb364e, 0x091562ecab7c0dffec5f874d385c6a7f06e10c0ba2d43a6e4958a47b9d369438, 0x214c48e2dd8005914ef1c20e4e2e73933abc7dde8bf2f87ffee4bacb52110931, 0x29418d43249c5f094ff06f9bc1b80e21dffbaac1874539e42b40f8dc49facb42, 0x017c1908a9f8359c1280d6ac4edfdcec6ae060d0d520bf64b183191397999203, 0x1a01b85c3b8e81a862a90fd72d5989f75683d9573d4865d79228eb8c5a105e93, 0x261b40b148e35d05c9a231b70f46bd67e973c7e3cb33648e1904cc257d52a4d5, 0x036eb758e5135f0137fc7ef59c37454e2b86f0fd90932f0e382ae7c97e3b2e35, 0x2de1f93fc74bfa9f08fae8bb730f8d266d3726892b97db237f703ed3a8817ac2, 0x2be0f288c7cb40cf6b063559e689775aa6e0837ff4a3a5d3d62f9f14d688c925, 0x202410f3233bc5ccf8621873ab2827da7a365ffbd5c55d62bed934a2bf441256, 0x2f4aa966c6aaa0f96b1a2d8c7c6090ac81a390252e2c2eca95b2d9d4f6f60118, 0x1c8b2beb3bbc01ec6a6f31261215c3d3aa4193322317b2a8f0816369fbd8db0d, 0x09166d1877b85ed30781d55bd800917958abc8eb14be7acdf7c74dca69b9f293, 0x054974baac27bad68c2928ad06d711cb424e77509102145b9e5a1b911dc2342c, 0x08759d0b984c16c5ba432900cf2bd92c4919cdd7e99a10c29cd343f69b460f74, 0x2a65153ca0dbc6487497126a6ec8a8d014bcb3d1818914865a504404a4ad03a0, 0x2b1c5d81263028bcf7996584eede3c315789d1f3e205919585145e023cefd30e, 0x1927d650073030417589aa9047f9b62ee876cca63cde015e24d0bf4894b2978f, 0x2d76a732e12f3deafda7b22085efef22772cd3de8f7e001bc99088cb81c9b734, 0x04063f088d29d7e91e72cdbc50afe1835c4b11ed14f769522c86760cbf526d50, 0x03e3a3a1c937f3c05882148070e9dac6b5915751fbca27c212bf7582441819eb, 0x0d416931f39d66d2c94f070c54cae280da1c12605fd2256a129696e98f11ccf6, 0x2bc7ec8d56eaf3c8e0d7695f84cbf898f0155c3ebaf24583af09b0e7154bec1a, 0x0367eff17e1bddbee7eed78ec874a9a01e6a9a38406108f487662dc60614010b, 0x08dd17e110dc0768f10866e8ccf53efb5290468cd8afd07430def10ec9a586fd, 0x218efb40100662ed34129a8246a90398a806f52f5f76e104299092860a7a8888, 0x1ac99c81cc6f26be5143ea1daccd4eacaa31e3b223f0a6c4dec96633410f197d, 0x12cd3c8d2ac7f084684109522fb7be0b7531e2acf8d9e7b686e177ea7a0f05d6, 0x17e4773a46b9bb17843f36f6db850bace2c86aa3376abf06614f62bded94a7b1, 0x29d767ca1255c6c1b1bce1d68ecfbd596aa77657dfbe4a604235e60449a9ff14, 0x242b7392dec412813184d8dca1a25147c092f3d7dfd3c0c58174eb4268452cb8, 0x0ea9a0a62f1db4cf40e5e2db0286e48312eee96e72305cf4f98c5f7d6c2df9e5, 0x13b3fe8f9d94f4d1bcbbaa26018c2c54fcaf122015c5cb9bfbe7a6694ca718bc, 0x2208e0ced2039b4140bd1fdc4cdff8568f92ea662ab6588a16c42fd95adc8f39, 0x1e8616716cf3255c36bdb7b62fe0f9b41c3877aa2df998ab54e8974e017a3537, 0x038c19e5b3c8c3a6e812190a39e6313b181dc71e065ada3b823547451b8288eb, 0x2518ab4d82a14c358e67509c46fd78ef736049c9498592e9390fce0e8b42a314, 0x2c2b623bc30fbc269b3ef27e6a7fd25c2968a321382218ab2548e18ff6ea4b3c, 0x25fa075323cdc87b1db37b7d42fccf1fd9a7ad6a598085e68e57dd145032c15c, 0x2f5f009c35bb13a3027067b3bf5881d8c533b67fcb390d162fc406c989575905, 0x0b8e0cd5cab0e99ca405d6bd1597a9dee6cd3c0dd4e0f6929a1d4d88b42605a3, 0x104069c2b60c8e4b01890e6992cc841e269636e3c5ab6905a8f4045711c19665, 0x25d04aa8cab6c80cce8005e027f4bc3b82e91fe2f1ca6e2b652defed5b0af05c, 0x2cc7d8d1f3deb41e50665cb11ad9e821464a382dd17d2e71fe9d1c52c167427d, 0x1b176ebf76e8d0d4dd54afe65596621b9af71273e5006cc60cad9819e2a0b87c, 0x128db0ff4dade1354d6ad7567e59b4aee9341ecf906f2988aaa53f6eff912aa1, 0x19b85e448cd2bd1cd640922cc2c7ba93441f0bafdb8a38818a5d5a666c0eb921,
} else if (t == 3) {
return [0x211fa1419f2b7b630c9d42ac4dfff1d8201547e24651d10dd4b4988ac06216f6, 0x18ac51e16e5865ee074806af313b040924f20a76c2a45a76b90aeb07ac438e03, 0x2906c33d1c67bd9a2ba6ab37ef7aecf377eb3f324ce68be741441faa846133b6, 0x0d6fdc1a5ff92bedc6919093d495de525266075a273eadea7287b1b4941cf427, 0x2552b734c5a95e374c8286a1cf7c05975265132ec03487470a513366fb38c5fd, 0x1a8e88f6d94394599224dba0906142559b388ba2cc168fe97b6af4a85aec2680, 0x2573ce0ce1273b649d31dd96f1f03f2ec83cf4920b72db75e428707dc1e26db3, 0x0ce0750d2b6bf2a1251c0c6b496f01f7217a58c4ae1e5bf17a1f884f9c430642, 0x154735e5f8c0640c2c722fb3dac05c4d603c3e150dd2cd09475d5770159fdeef, 0x1671d015b9090cd861a5a5ccbba2cbd7a51bf07febdefabeff7b69f4b219ff3f, 0x2d2fbd76fcfbc5943b16d77456d974a7741165a49187f28efb5d64a7634a4260, 0x040a119f75e867208bddfaeb55741ebf53a30c7a1affcb8b6cd267c66c054755, 0x11a3eb9fe3312950bf5cafea6c2b97818825db4389b8ae9408f9c7cb4882665a, 0x12c9a214894557df9260fee1fd68af4fe37e63234f4b1950fb6302ef5c7602e2, 0x19fc5d4620dbaeaf5448897edf3bcbfeb3853a9126c7b3c3d5b77ebf5b7fbf21, 0x257c925a34966aae22eb261d58f97b43f255ae75fd0864fc48e492de7e55becc, 0x18115b83ed73527d8c1823f98ae53c499a375f99a82064b270a54d35ea9f0ba6, 0x1002ae120de1a1f4ba32b976d7dd4f4579381ca75f00248c5afbdfd80fe521a3, 0x24230056009f5af1b7f585fe11ab1af1f4e0529381455573c76094e9828c7cc1, 0x2fefc9ed5c4feb1474dcdd8b11184afdfb5c4663cf077c81c8c2f118f101c583, 0x121991b5b076111411145f18534359541107182407d3981d463a10a6c04f5f04, 0x161a5dc3f5e215684236c228529d96b6cae2af12fce8c281ae7c5ae13251cf0d, 0x1b7cde8e1bf7f5df08a8fc322f21af95a44f9d782a5d74de4b12b3cac52d3d18, 0x1efcd1c5767a2ce97fa08064888beb441feb80d799f939d284790268313e0cb8, 0x1516c91480500fb959576c060a50df5e5c13b86e39089be8fad5a3017c19fef1, 0x1a5acefb238a038e8567c0f8a98840870c17b9e2841f6de8a75b4ec765fdc74e, 0x26f743f547ba08bb0a3800e83d37a508063c10ab415fd1c6b71fc3e642e27804, 0x0439c5460f9710db5ef74e5e4ecfbbab6c92d81e1bef048af2ba990af6a96412, 0x0b1cdb26cef7f77835ba81f23832acbe2cc8ad11311982f0b39d89eaa4ff3d88, 0x1a4cbeea3894f5692512f2e13ce9034239ef5c203682750d0ed7263c3dc4a05d, 0x1be2d5efb6c55e9b31ade0b3ca179410702f09ab5c176fd719adb145642dd2fc, 0x1771f3273703d9c276b6be221b24044ad33a4f04cfc871010b8d1d7b461a5034, 0x21042bc294c0c181f4c512a6a7d94f3c2782bc28a774ce517efb5c567daa30ed, 0x0d3ea1bd94a88d6d2a0aaece2f577ee98168284e59138411c47702aa6e9a9df7, 0x1b2ec4de5e50bbf2c918dce28e1291e7620f28b0cdffec6db9a3afb857d48bec, 0x052fe3c5b2091f4d9cd772fb788288430ab43c404a9f1afd28f9e8a9e2b539ba, 0x1ad58f9fd03d9d21c74c08dce54dabdd724b25ce408fe990253740a1dac49186, 0x11c044f3e07c21ff4a93fd1056d54567510c622ae24cc7c454af294b4d5a7371, 0x14dc6b7bab9b24d83ab458d326ccb312335c3526cc9dee1802ccb7eb0cb8ee6b, 0x137cf4c2a4afcc4bcb58a8eda56f5223750a12b2d4e41a66727d797138fbde86, 0x07d9bc2c364231525ac35618fae08284af5127124da38777326b4ced6e87a0b8, 0x0f7ead7cfeb697ad5d119032f9e8580cf8dc44c8268402d866ee3ec4f66e723b, 0x0bb18ee7793d2bd5a3b32a6daf6bce111c1ba770a03c8cb19214cd9315e6b381, 0x234650e3ac2fb30e34af2d36dc407c891d2093232f6e9d1a5c212bc998560d45, 0x2eb1745785eb34354cbc25e4d7d20866e97bf688aba5aab3462aa9d53c753308, 0x1695af57d2faab4077ac86998fa44f39c1b3a9a6e8e3da91293f254ce12fea86, 0x1b9c5539bab55de67a1feff373539bf20d74b975f0271a77fa67c923529dafc7, 0x1901b13ce9cbfd15e91fafb059ced8b7936dca44e3fb3a59b9858f80f7e79bb5, 0x302d415567eda49ff0c3dc812dd4f2f90addb3161b7fc6f604b739a8988e9264, 0x1ee445f02ed077fce7dcaae404c42c72ce5c73bb60c59ed03192398330f27e40, 0x14577b4a2afc653d9193cf40100e439ed67b26be2a9c1dcc4c53f29fcce478ef, 0x0f70ff1275eec4602dcbdd315329e51316e39bcf6ce618b8cf49b9d0b9cfaef8, 0x2e26e4b699b1fabd0b7bb94ae902ce38f8e4be6b723b02918b59288fe36c6153, 0x0596a8f8be07116754d6b2664f7759ca2a81dcc3f05f89977e04b0fa3e424aa1, 0x050b34c574517ab6ac58b491774c7fa2572951c4c0c0cfdbd1ca46242da8b48d, 0x17a32f1c2ed7875f416eb3c3bc5296085c0f95cf8fc91429a81010beff1aeda3, 0x08c7b7dd56ffae4496dad107e585670dff7919514bf2dfa8572df8d019938cdc, 0x1041cb8c6d4155e3f11ea4f4dcaac28874b20400d511c166108580f5b4e1ea5d, 0x1b19cb3e41e9c29970a4123c4d0c834f19216a277a03caceb457463bf353ca1a, 0x2e4680a4ac50cfc484bf0bc75f064e0cce85e5bf037908a1f4e54a66f1ae9a0c,
} else if (t == 4) {
return [0x0769209ddbe93ac17371b60ada48a8b0baf8c2df826d0c60791701122abb3647, 0x08ef53e225e568f8c2957adf5e2418106f57809c8370793fb3ccac0eb9c4ef12, 0x0f67730966f094a9ae0ece540cf1ed527cc31c5f161107ce2146ff11f6b6dcdf, 0x2a2c892eca22e361229c79ac5dc2d9aab2ae508ed5f70b9832f0557ec40aabc3, 0x039c7ef7c29f809073e30f2591c4ff9858f8d498e233f3883dacd7d6e7570be6, 0x26ad7dce66a9a95a2b92d1633da3f33587a46117f4c26bc642c808b86b925a50, 0x294402ea191b6b02d558c2f860e6e11898efc5cac4214d6eaf78bf046b424da7, 0x200cc1d8d4d6f4a22934248446129b2082ebcac73dc9477599f5efcd8f092b7f, 0x031b696ba36be3334afaa13168f5a212cb222a5a43dceb67ef2f90def1f2a3ac, 0x22405ea030cbd6aea6efbc202372454f3cb7315bb24ec7d273569499cf602072, 0x0e892bb94be4ddb0e13900727efbe6545a7cdaf7837d2e8aa91c085416f4a08b, 0x2884ab441638fd7622aedc70b5a338450962e57e801975a887c28608a3f6f3d8, 0x2ea66506abc2e2a5536857d8a372510a5dfd44005813a53d13a83eb3e30caff5, 0x0fe3e93c274dfb0164a3479d77be40f51fbd808a27068da1e6d633566f5ad4b4, 0x1b64728c657615de184eabf173ebd624e2eeba23e04c4a818be2e7ceef50d2b2, 0x2c5d33d430dfddb329dab768eacff9d0be4dc9d638d171a835b72f2630fc07a3, 0x00775ecd42283f8a4782a1a8e101c59df926ecaf123c83a569872cc8c1e3e955, 0x2dd915162db8286e7863f207e5116c30539aa05753fa157dd2f3b07b6dfe11d0, 0x1452f77a0c98817d3834aa29d6dceb1fd078b8873a02b33e650d3d9a463f4d7d, 0x2bc056180a81b77fcbbf620aa8453ca644931dd432030390162525a596bc380b, 0x0b3c1e2cb0607e12103406681be5635236551aa286f2261ec88f27a7ff16a7a9, 0x1e7032ee33c3d1fa6d8d24f1307f53cb33461822f2717913ca654c0e3a13ab04, 0x0bd2dd98fc4a8af526799f197c315857d71b0740f9a5274c4e3c4e269af0718c, 0x142e9259f139ab5b18345dba3b11d4ea7ba6483cf28163b603674527073cdc2f, 0x28bc36ae9e257061fcab76ad2114d96f29bdc78dc36bc65bc94328213e5ec615, 0x274dedce47e3d3ad192b0d48e25c1e83c68d78318d2538d787b3a79b143cfaa5, 0x172ee8a327ff74dd9910f098513499eace293d9276dd4ad9b01bed9a5fdd499b, 0x27e7c5263cf192368bac114666c8adb002a01def45fbf084e3fb1781d37fa17a, 0x2bda40b3cb61f7868ea66a588423000121bd08ac139e5bb92717fd427e15bbc6, 0x26fac827cf9e87cd9f46a055ca32db3055c68f8e7097f1907b27e78197f6c4dd, 0x271e74c38c0bc0b5f904e1459fafe0032ae2b3a27679fb8bdf8fcfd9294ff1f5, 0x25da79c356d14b424f40e8052b8168c7dc4d938d181c2caaca27619f12d210ee, 0x1e699abd2c6508eae9bd6a9a282e5513c003dd642dd262d2e17f79f09bdf6bd9, 0x1ee81815c3be0406b2a9cff25d6f668d9ff89d3f795ca260c7187547cf09e79e, 0x21c26c8c318b88a969c93cd35c7d227fcf0d69867238695726f90dffcf938279, 0x14013837d5e3e65ea5155e016e3bddcd575fd584e4e61bbbf295f88fafd8fafa, 0x154198f9c749177ed41262a5906028d7fe7ac4c6c808865a85816ef44824de23, 0x1e59f9ee9c83ee78c55c6bec8201f28966beb0c5c11b54ffa01c6451f7a57210, 0x2558c2e976422214f0dc5a2d2ff180de2628f1a18645da52f02b5e6f846f9504, 0x0043de4604c7bd1ced85922717d06992924c23f4149f844be9bf6dd9c60f3388, 0x282947ab201839e628460e16d3d31fad868bec724f263969b3d0c69e9e8bada6, 0x0a1ada5b5b5018481015fbe3c43c38b44c7b67804f50bbe4952812372603c935, 0x12d7c76e2833a9f8f57a17e7118ff6666581503026cc1c7a7655ccbb514e516e, 0x24576880cf40f29a0fc19df8ed0239cfcc150e11b800aa880f6289bebd89a013, 0x1c7590758c8996f2119af7cef10df7c1cf9d8c1dc388975e830b50680b09d7c4, 0x2c9096f0f659ee66751cf179cdfe5af5470c6845335de41a3ade2111d9330152, 0x0ce33a79644c079faa54139a5074943790985a7c6936aa2d3ea97fcadb8d64eb, 0x0ffba00c11bbb7e6070153b817c9ab5acaeef3306cb05bb8feb5d54fe89ff8be, 0x15a15cc692ed7bf420df399c9d14e5ff9758a6c7db3c5c097063217b4c6c4f1f, 0x2214373b87f53cb1d4e91aa21d2e607e83c7ba2a61de8d32c54db7050e9fc17a, 0x1f0ba195d267de887b51cbdc77e6c77a5c055a625e76c5a22ccbb8cc9bb15539, 0x2f3b29c072d8cd7c1a673c6759fd58e34dbc2075dae7fd5ebde784113d61755a, 0x23df997a7ef29ad9a5fc7cc21937c9977a73247434821ff60b31ef0170ed17a4, 0x1928275de0e4fb64134721b14ab3d99f94b1c268368c1167b2b39ab30e308972, 0x2bdfec339abdfc11fd5a9f48dceef79a463be5074df37bf00893c83f4b20cc0b, 0x266134d4d26103883f7f429ed07fbed19bb0e17904cf03eda9da117f8c0f4e1a, 0x0471a32e2cb225ba86c91cb136309cb462d49c9045a4d4d61e00de27e6ae3ea4, 0x2c56d2388857121e91cea207347f0e5449b8f7d4bfcdd0c8d71872a5b223ba58, 0x2acc967f4e0cda77f4f3578b2e463848895b31e7607dbe33e8a1f92a17ff1f2e, 0x1a891c55471f9da7f6d6125219a3b47eef6560c0fd64dca3177e1efc9b681267,
} else if (t == 5) {
return [0x2f519d236ff3908aeed8bc12b6e3204820c18780cda2aa9bf32a675722a943e7, 0x0d463eca09295bbf17ecbd6c0f1a2ae22e9e971abf332b50f6dc652948130ac9, 0x04f7b92e174673f12ad94305e211dbc74505cea331c8270bbc0436cfd3f9203d, 0x0b9ce1d7a1d5702d9cce533fed0eb4efa2d3d5adeb056a0bcfaa8df560e39d65, 0x05fd9a940ebf8c4f6365146a71cc4d60792afcfe5edfb289ef3a5e0ee7171df5, 0x0b5644601dcb7f359904a3be22a6726d88c91c83462e2a96eefcb2e0d3aac3b2, 0x05270c934663d155aa71e7bb2c9bcc6d8dc181ae02c779a1bde958eda5b61398, 0x1ca3acc7430ca47799891a4c459af74a965256eba9d6940381c1d0bf0a9739a5, 0x03db72aade768b78c7a6a9ecda0f0f2c6733a0651cf2212e174ea97c01a59c70, 0x1ad0aa205be150c5621b3fea98b78db2e4b20fecf80034c52e9ae558950dc780, 0x041dddc69336c714ee7cb998b68d94c5232d4e8d1deeca05ce83b0ed0834cd3f, 0x2b3e015174c3a6939f08df076b3ba73bbd4f2452100c1821492321175d162b1f, 0x238e6389e5fb2584c06ed2f534d4d9e2d5d62bb99dfe8add413d809fbdc754d3, 0x15f4f175fe2ef1101a4f0a34fb73acf4397c3379b1c2924dd94b1dd4d2c6b27a, 0x04fa37d0ac02626ecd1f192e28acc2ad80f3de4354aa8ebe87471757dbabc9e7, 0x24deab96a4e96719adf665e11c38a3334d9b47643171a7d814b9dc6fe7382d02, 0x0a2c7eb8738a61719ce05c72547cfdce9f6ac8770cd64e6556a06c7ae86610c0, 0x199482b63e5fdf185628c3046f0bf2f7be5d0f256ecd035bc212fc01eea8ffa6, 0x296cfc7f739a3cf4e9b75994056e2568c6aa52b8333520627bd6b28cf484de9d, 0x06fdb5a0e6f4e2c7e546bad6b1669db01d9d4e3bff4ee772507563da1ed92dca, 0x1216f1b2f749f561078eeaf1fc60590a71e33157d0227ac8e796a4042e945ba8, 0x193fa4aa12acc79be80e6a2424afeb3f4d249566e8a0908c908761758437929e, 0x12ad33b11810144865ae5391c8f266adc3fa0adb622b90c2ada406253e09eb2b, 0x1a90d5e1c0578c066529c54f8f37e23109de9159e298cb6c9102c6ccf581a07d, 0x15af9b019146d04fd7db3dcc25ce29d163fb604f5ce11b8fd507089a8660095b, 0x124aa9d20b2a15ec73fc6b6eb84b544edc13e9a72309ab080e362563881eb8ff, 0x183cf3432c6354e3bef6170a32fd653b560748e59b65052512125db3b542ca7a, 0x263159492b9a836f8d477e6ccf6f2dad9d4bc43eea7241f224314cd356fb07eb, 0x2ef6717639f7e6a2a0c60da01ce73721b83f6f9fca63ad632a27c5e0d561dc26, 0x1b85e4a891411168c803d411048f946a167f45edd0b98aea0e96fcf9796a5415, 0x1712b6d3ab45b45a1a43bbb23ac830235f8fa4c6c057be35b84e77ef366fd89b, 0x2e97c862eb257de5ef4f71b56bab12b449b3186cb3f4c44ff32c931bd9c3108a, 0x0500ca19f7690358b983978382d969729008b41a902b03c8254e8a4b863ebe2d, 0x25ecf7468c3d34ab9aced95fd7f966c7e7fe7ed74ac02c2f33cbf59d182c169a, 0x061493f05adc4813cb62ea6269e2672c241b4ce0e3658542e4bedc660cb832c8, 0x077d4ee2b3292e73eb891b51f63b0fc897ddf1095208c65a291f470391eccc8a, 0x2a1ddaac93b561971f9174611a06273671f80dcf4eb355636577a623f2267239, 0x28c9d37bc63119f5b846f969452d93c78743ed7c769590d1e2eaff2f7d51b636, 0x1c12d6672a7c9c525e1ad06e91be238291b6a452298c3f0907b3bbeeee33a75b, 0x295813176a99d708f66de0dd6a79790c1049113c1a9589f58e29aef2431dc3d0, 0x11cf1b0b429cdde5235a2fa4044a75fa29d464d422bcec4cd5a77b2a70996952, 0x26cd23abd3084eb97652a0bdfa0675107c27d021a797ffd85c3935035e82c708, 0x0c98e951acef5ecdf322fd11adf84e1237fd7a2856f5d611185677e064e59a7c, 0x0f65e0d787c7a80daffa6fcec8e4333baf1b7e536dc26da1617bf8d33fd571ea, 0x0a6af46169c405b7aefa2369aea2437e83a5f936e21b2c5bdd40c4c229691035, 0x2c5d17722f1e857bc53fb954a1c617be89f79f666e7d42e5cd289bd1f6c2c253, 0x05ed375b0a7340fdd67b5a6e02e9d7f8cee95207cc1f021a98c9f026b6b8263a, 0x05c43b6a0449ae8aba7f7ef495f81f9b1172e2e33d6b45641c85ac438f867072, 0x0632e9aaccb645ff09e9a71c0bdc98bb8525d16dc0808089288084dc6a37239d, 0x020115cdd5958aee185af3281eb02700cb22c680fea57e0e24ddcfea04e4ce44, 0x130ed2b41ae4fa1bcb39907d9213b816fb5be6f78c8b33f81037c6c82351ad6e, 0x198b2b80ff15fe2af3c414b89c4fab453017cadce1b42986a9064069b91e9d1a, 0x26a02e2e22afd030083fac312c3ea5ef2b8261a789a3cdb14e0f59344710c7d6, 0x1e972689e841a22940b918fb25a4fd47bc016bb627359e0f8efb982516900250, 0x1719a91dcbaa2591741e3c6e8c813071dbb249caed013b1a49a09c6337588388, 0x07ae0bd9a15c6093e83d203cee422cabaac2b1480b199a5a01f3b6bae8943c22, 0x0335138c841a80c3374731753ec839f6240bd2a965d10971c20a5573c6700a61, 0x0bccc625cafac996fc66d3d723e2efcbc7291c5c2ee94ec4308719f0f682bae9, 0x1aca016e7c2b5f0fa4a3c8466822be48e461a2f96daa05a7e6bd65447ceedc20, 0x228ca2efdfb5fc0371bef36dae53fb3e6743f7f5ac32773eb9daa1fff9ad5280,
}
}
function POSEIDON_M(t) {
if (t == 2) {
return [
[0x028540ffcb050250186bb64a9b6e6d0eaf493d2c72701392fa8de7dbd371fad4, 0x1afa3a02008d8eab18725ff780b7f310156ddef81579367ae944478644e6367e],
[0x00b0cad1d2259f1f6dd07b4e5674057f531b5ce316f741437137b7615caf9fb0, 0x1378798a617a99c07cd850cb3daab0a1b20cb2fe9125133ae092132a071eeffe]
];
} else if (t == 3) {
return [
[0x142d76a5176d04542cc86c20ad276af0f1c4b85a08f5c7fb7076c37bee91b0b0, 0x1f020db9ae14abc9448d91922ce7e8a4b751468b692082ac74d4db30f9a20cbd, 0x02f57e7420298b689cc5932b434d659054d7e9e1a28ce342a357d28d3d0e7ce6],
[0x0cc8c6aa7aa0f7a0191f236aad3b994b4e6d2671ef5cddef7395a663f18a82b6, 0x132d968e1372659c4b77528bec8b46830564bbb1ef44e828966a07578b52db1e, 0x2e7a166a1b7e646c9f9e04f451e541b3eb516fbad05901b4f37e7dd402a501de],
[0x0411c26273e6ac2f2b7ef6da84499413605b6099bda4254a31ab3bac526a1581, 0x1e9d5cd096fd315de38e6e2490b8e9c406f954ba63a8be9f11756780af6315f1, 0x198dfceb06c35ab9162320e55b68a7d160ac9caf74ff1098d62b4cd86823e74c]
];
} else if (t == 4) {
return [
[0x055042fce3759fd347470105116d64130f5cb362e345d7651c377a63f1c73f81, 0x2ce35792e15aa0836ab5089a71903eb626bfe7fd6a460cb2f9d93f338b1c93a8, 0x123324a5430d1e324553566a662bab9bd5b78bc183829124d3407352f3399a44, 0x014b3af716655fd79b921fb8aba95bf4033d91eefddba964c6813b194ec2e92b],
[0x00f7a1e3ee734053ac96e44087e97819d5289c2e002339ed649d14df4416c664, 0x158586db6e410642a1e221f5d80a482cc6ba3cfbe51a38502987db8c42d53bea, 0x1607fd8dcba9cecf99fa9f882b7bf67c9bdf121aef9843d5d47301d812d23406, 0x02afb3d945a884974edcf2b2ea59422bfbfb98ba0ea6ae232a2fbf2a98fce73c],
[0x1303c19d840c01975ac5f417c7d797c84e32937e82c3267a8a5abf86c2adc2dc, 0x0dfbb78b621ce3f17ea1fca649c7fdf8936872b335d86c5f3ac83072f2b0804e, 0x0c6d9cca76d73644645d39f6da45e32a5784eb278da4ba346226e3503767c559, 0x271868e3480e8509ee5b7d057e0e85677220d4751c1475c8a07c578584dba071],
[0x1ce85b8925fef3258cf52dd26ea5dbe2616118a051fad03b174c55e6bf25c193, 0x10a902db55c0d71628c51efcb7f01c28e3e60833c254e68d38833c0b577e7bf8, 0x24afc938e9d8abe5f4cc11f1388ab83460681a00dced6ccd170860e03508ca5c, 0x297a43fb5e3fefcf3ccabaacf30e9171e4fb359ab66c6ebc8bd6654bd387ab1b]
];
} else if (t == 5) {
return [
[0x098df2176f14c72d9ef76d268c6526704b2dce0d2ab0bf0d0b6506c598a12e39, 0x1ee4a90d3dc9864851e9cefb41c3e19218f7ec9b97283b8781d74a9260a9b182, 0x090becc1ca85079c519e9519456d0613c4dea08dc17ce3d3ac24c51780bbe653, 0x24510d25f0893ebc56cb6d302b08ebc1fe23a842483a1cf105efccdb8f6623be, 0x1836f551337cc92e446cda258313ddb9a1291f822c2120d3765f5bb29bccd044],
[0x235a03a1f31060c62a1bb1b6cbce38317dcf3501e3f0b3d92b4b01a070ee58b2, 0x1b0481c924c00fd4b7809ff4a9f9daa7f12efea4821078b869159d34e7c9caca, 0x2f1ced49ea067ad0f3a22b51ad12da2d7b0280f3f50977f9b09d4bea92e6b34e, 0x28f301e64ff54c671bb7a9fc672a420e3af0382c71af2aec84d1b26d19bd01ee, 0x05c29dff5d6ae85f7bc09637a86134c63a8052d1905a8057449cc7d92658f24d],
[0x2885788b4255180581aac93d5313e7489efc386deceaf13050ebcb8cdddff5fa, 0x2a7f03d4b0954a37f9a33ebd9117e2c4cfaa3978e5f221a30db56a7403572a3c, 0x291093f3d5182756f267566140d2d8f5356be8408b40ead3748484267f1e90cb, 0x29ecfb524f4135deb55d9d9eb02839dedda189c17726aeef96019b205c8aab53, 0x1650d221980ec72736322d9fa404a0fe6bea3d8530b71c9522096e455be52379],
[0x10d08ba1c37b79a36c9d3c9a3d8fd2ff41f2445e7d71dd5ede6f45987e5e1044, 0x1eaa7441754632ffae99c9e2f2264c1bc89551e7bbf2c889d92af30bef70e817, 0x062101fedd4ecff781f529f57f45e8b479b03d86a11acf549c6555a1293c70b3, 0x1c1ec7db63405475e844b5cb6215d9e2919e903a7387721db150c9977a1818b5, 0x0b5ca51ebe8fd98da6e8f4a4465e19dd210bf59e0841f50fcf0f06e43d83ce1f],
[0x0143b223ed92a0b426f8f2886cda3d8fdb565eb6acb4841897489e14cbc943a8, 0x017f82dcfdf078265df4cfa1d9d79aeec0fee433eebc489a875785b99dc8832a, 0x0013ae98ed23af18461bcde9ff99728edeec173e63c5467a209c2a34b503dc72, 0x0e120df26061ea797bba1f6153995de0090ddb744ad23bfcdf1ecc28a9b18338, 0x0233c1411c8cb5ff0d33e20a65bfd9c0347deb9a12a50e55fb01a40248ccc366]
];
}
}