Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hacker-code-j/elliptic_curve_crypto
High-Performance Implementation for ECC
https://github.com/hacker-code-j/elliptic_curve_crypto
c ecc elliptic-curve-cryptography p256 public-key-cryptography rust secp256r1
Last synced: about 2 months ago
JSON representation
High-Performance Implementation for ECC
- Host: GitHub
- URL: https://github.com/hacker-code-j/elliptic_curve_crypto
- Owner: Hacker-Code-J
- License: mit
- Created: 2023-12-29T07:22:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-17T06:05:09.000Z (9 months ago)
- Last Synced: 2024-04-17T09:46:35.336Z (9 months ago)
- Topics: c, ecc, elliptic-curve-cryptography, p256, public-key-cryptography, rust, secp256r1
- Language: C
- Homepage:
- Size: 20.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Elliptic_Curve_Crypto
**- High-Performance Implementation for ECC -**
---
## NIST P-256 (secp256r1)
### Environment
- AMD Ryzen 5 5625U with Radeon Graphics @ 2.3 GHz### My Performance
- Number of Samples:
- Addition: 10,000,000,000 (10B)
- Subtraction: 10,000,000,000 (10B)
- Multiplication (reduction): 10,000,000,000 (10B)
- Multiplication I : 100,000,000 (100M)
- Multiplication II: 100,000,000 (100M)| Operation \ Platform | 32-bit (cycle) | 64-bit (cycle) |
| --- | --- | --- |
| P-256 Addition $\mathbb{F}_2^{256}\times\mathbb{F}_2^{256}\to\mathbb{F}_2^{256}$ | 22.15 | 14.38 |
| P-256 Subtraction $\mathbb{F}_2^{256}\times\mathbb{F}_2^{256}\to\mathbb{F}_2^{256}$ | 23.86 | 16.00 |
| Multiplication I $\mathbb{F}_2^{256}\times\mathbb{F}_2^{256}\to\mathbb{F}_2^{512}$ | 4878.74 | 915.33 |
| Multiplication II $\mathbb{F}_2^{256}\times\mathbb{F}_2^{256}\to\mathbb{F}_2^{512}$ | 1091.18 | 304.60 |
| P-256 Multiplication $\mathbb{F}_2^{256}\times\mathbb{F}_2^{256}\to\mathbb{F}_2^{512}\to\mathbb{F}_2^{256}$ | 1393.11 | 521.08 |