You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor TLS cipher suite definitions and verification algorithms
- Simplified the definition of TLS 1.2 cipher suites by introducing the `feature_slice!` macro for conditional compilation based on features.
- Replaced repetitive cipher suite definitions in `ecdsa.rs` and `rsa.rs` with a new macro `tls12_ecdhe_cipher_suite!` to streamline the code.
- Enhanced the `ALL` and `MAPPING` constants in `verify.rs` to utilize the `feature_slice!` macro for better readability and maintainability.
- Added support for EdDSA signature schemes in the verification algorithms.
- Refactored RSA hash implementations and verifier constants using a new macro `rsa_hash_and_consts!` to reduce code duplication.
- Updated TLS 1.3 cipher suite definitions in `aes.rs`, `chacha20.rs`, and `suites.rs` to use the `tls13_cipher_suite!` macro for consistency.
- Improved the organization and clarity of the codebase by consolidating feature checks and reducing boilerplate code.
0 commit comments