{"id":13631809,"url":"https://github.com/kmackay/micro-ecc","last_synced_at":"2025-05-14T10:10:41.051Z","repository":{"id":8320960,"uuid":"9871244","full_name":"kmackay/micro-ecc","owner":"kmackay","description":"ECDH and ECDSA for 8-bit, 32-bit, and 64-bit processors.","archived":false,"fork":false,"pushed_at":"2024-11-14T03:34:49.000Z","size":670,"stargazers_count":1298,"open_issues_count":58,"forks_count":471,"subscribers_count":88,"default_branch":"master","last_synced_at":"2025-04-03T20:43:46.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmackay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2013-05-05T16:29:20.000Z","updated_at":"2025-03-28T23:05:27.000Z","dependencies_parsed_at":"2022-07-19T04:17:02.281Z","dependency_job_id":"667e8426-ed56-4be7-abd7-19e4a870bc01","html_url":"https://github.com/kmackay/micro-ecc","commit_stats":{"total_commits":202,"total_committers":27,"mean_commits":7.481481481481482,"dds":0.504950495049505,"last_synced_commit":"541b3a78026420a3e369c4c9281c396b5e531113"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmackay%2Fmicro-ecc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmackay%2Fmicro-ecc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmackay%2Fmicro-ecc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmackay%2Fmicro-ecc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmackay","download_url":"https://codeload.github.com/kmackay/micro-ecc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248338025,"owners_count":21087149,"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":"2024-08-01T22:02:39.368Z","updated_at":"2025-04-11T03:36:33.153Z","avatar_url":"https://github.com/kmackay.png","language":"PHP","readme":"micro-ecc\n==========\n\nA small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors.\n\nThe static version of micro-ecc (ie, where the curve was selected at compile-time) can be found in the \"static\" branch.\n\nFeatures\n--------\n\n * Resistant to known side-channel attacks.\n * Written in C, with optional GCC inline assembly for AVR, ARM and Thumb platforms.\n * Supports 8, 32, and 64-bit architectures.\n * Small code size.\n * No dynamic memory allocation.\n * Support for 5 standard curves: secp160r1, secp192r1, secp224r1, secp256r1, and secp256k1.\n * BSD 2-clause license.\n\nUsage Notes\n-----------\n### Point Representation ###\nCompressed points are represented in the standard format as defined in http://www.secg.org/sec1-v2.pdf; uncompressed points are represented in standard format, but without the `0x04` prefix. All functions except `uECC_decompress()` only accept uncompressed points; use `uECC_compress()` and `uECC_decompress()` to convert between compressed and uncompressed point representations.\n\nPrivate keys are represented in the standard format.\n\n### Using the Code ###\n\nI recommend just copying (or symlink) the uECC files into your project. Then just `#include \"uECC.h\"` to use the micro-ecc functions.\n\nFor use with Arduino, you can use the Library Manager to download micro-ecc (**Sketch**=\u003e**Include Library**=\u003e**Manage Libraries**). You can then use uECC just like any other Arduino library (uECC should show up in the **Sketch**=\u003e**Import Library** submenu).\n\nSee uECC.h for documentation for each function.\n\n### Compilation Notes ###\n\n * Should compile with any C/C++ compiler that supports stdint.h (this includes Visual Studio 2013).\n * If you want to change the defaults for any of the uECC compile-time options (such as `uECC_OPTIMIZATION_LEVEL`), you must change them in your Makefile or similar so that uECC.c is compiled with the desired values (ie, compile uECC.c with `-DuECC_OPTIMIZATION_LEVEL=3` or whatever).\n * When compiling for a Thumb-1 platform, you must use the `-fomit-frame-pointer` GCC option (this is enabled by default when compiling with `-O1` or higher).\n * When compiling for an ARM/Thumb-2 platform with `uECC_OPTIMIZATION_LEVEL` \u003e= 3, you must use the `-fomit-frame-pointer` GCC option (this is enabled by default when compiling with `-O1` or higher).\n * When compiling for AVR, you must have optimizations enabled (compile with `-O1` or higher).\n * When building for Windows, you will need to link in the `advapi32.lib` system library.\n","funding_links":[],"categories":["Cryptography","PHP","communication"],"sub_categories":["Cryptography","Elliptic Curve Cryptography"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmackay%2Fmicro-ecc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmackay%2Fmicro-ecc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmackay%2Fmicro-ecc/lists"}