Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use constant-time equality checking for DHKE (#232)
This PR ensures that `DiffieHellmanSharedSecret` equality testing is done in constant time. Previously, this equality testing was offloaded to the underlying `PublicKey` type. While this type supports the `ConstantTimeEq` trait, it is not guaranteed that equality testing will use this in all implementations.
- Loading branch information