Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: modularize elliptic curve implementation
Move the elliptic curve (EC) implementation into separate modules for better code organization and maintainability. The `ec.rs` file was split into `ec/mod.rs` and `ec/weierstrass.rs` to group the EC trait definition and Weierstrass curve logic respectively. This change improves modularity and clarifies the separation between different curve types, making it easier to extend with additional curve types in the future. The core elliptic curve trait remains unchanged, while the Weierstrass curve has been refactored into its own module. Unit tests have been preserved and moved accordingly.
- Loading branch information