{"id":24511112,"url":"https://github.com/libraries/secp256k1-musl","last_synced_at":"2025-03-15T09:43:19.666Z","repository":{"id":251924791,"uuid":"838835727","full_name":"libraries/secp256k1-musl","owner":"libraries","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-08T02:49:22.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T00:38:25.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-06T12:44:21.000Z","updated_at":"2024-08-08T02:49:25.000Z","dependencies_parsed_at":"2025-01-22T00:36:24.334Z","dependency_job_id":"a18e706d-a98c-44c8-96e0-ea3bff7c59f6","html_url":"https://github.com/libraries/secp256k1-musl","commit_stats":null,"previous_names":["libraries/secp256k1-musl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libraries%2Fsecp256k1-musl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libraries%2Fsecp256k1-musl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libraries%2Fsecp256k1-musl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libraries%2Fsecp256k1-musl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libraries","download_url":"https://codeload.github.com/libraries/secp256k1-musl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243713393,"owners_count":20335566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-22T00:36:21.249Z","updated_at":"2025-03-15T09:43:19.651Z","avatar_url":"https://github.com/libraries.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secp256k1 musl\n\nBuild [secp256k1](https://github.com/nervosnetwork/secp256k1) with clang-18 and musl.\n\n## Build by clang-18\n\n```sh\n$ make build\n\n$ ll -h build/secp256k1_bench\n# -rwxrwxr-x 1 ubuntu ubuntu 56K Aug  7 09:06 build/secp256k1_bench*\n\n$ ckb-debugger --bin build/secp256k1_bench secp256k1_bench 033f8cf9c4d51a33206a6c1c6b27d2cc5129daa19dbd1fc148d395284f6b26411f 304402203679d909f43f073c7c1dcf8468a485090589079ee834e6eed92fea9b09b06a2402201e46f1075afa18f306715e7db87493e7b7e779569aa13c64ab3d09980b3560a3 foo bar\n# Run result: 0\n# Total cycles consumed: 1087688(1.0M)\n```\n\n## Build by riscv64-unknown-elf-gcc\n\n```sh\n$ make -f Makefile.gcc build\n\n$ ll -h build/secp256k1_bench\n# -rwxrwxr-x 1 ubuntu ubuntu 49K Aug  8 10:46 build/secp256k1_bench*\n\n$ ckb-debugger --bin build/secp256k1_bench secp256k1_bench 033f8cf9c4d51a33206a6c1c6b27d2cc5129daa19dbd1fc148d395284f6b26411f 304402203679d909f43f073c7c1dcf8468a485090589079ee834e6eed92fea9b09b06a2402201e46f1075afa18f306715e7db87493e7b7e779569aa13c64ab3d09980b3560a3 foo bar\n# Run result: 0\n# Total cycles consumed: 1234537(1.2M)\n```\n\n## Comparison\n\n|         Toolbox         | Size | Cycles |\n| ----------------------- | ---- | ------ |\n| riscv64-unknown-elf-gcc | 49K  | 1.2M   |\n| clang-18 + musl         | 56K  | 1.0M   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibraries%2Fsecp256k1-musl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibraries%2Fsecp256k1-musl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibraries%2Fsecp256k1-musl/lists"}