Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken build with AVX2. #299

Merged
merged 1 commit into from
Oct 25, 2019
Merged

Fix broken build with AVX2. #299

merged 1 commit into from
Oct 25, 2019

Conversation

hdevalence
Copy link
Contributor

This implementation is broken because the packed_simd types don't implement Zeroize. Tested this manually with the avx2 backend on skylake and with the ifma backend on cannonlake.

This implementation is broken because the packed_simd types don't implement `Zeroize`.
@hdevalence hdevalence merged commit 4d735ed into develop Oct 25, 2019
@hdevalence hdevalence deleted the fix-avx2-zeroize branch October 25, 2019 22:50
pinkforest pushed a commit to pinkforest/curve25519-dalek that referenced this pull request Jun 27, 2023
…rehashed` (dalek-cryptography#299)

* Added raw_sign() and raw_sign_prehashed() functions

* Renamed `nonce` to `hash_prefix` in signing because it's really not a nonce

* Moved raw signing to hazmat module

* impl From<EdwardsPoint> for VerifyingKey

* Brought back ExpandedSecretKey; made raw_* functions take it as input

* Added remaining features to docs.rs feature set

* Removed redundant ExpandedSecretKey def; made raw signing use a generic CtxDigest

* Implemented raw_verify with generic CtxDigest

* Implemented raw_verify_prehashed with generic MsgDigest and CtxDigest

* Wrote hazmat tests; fixed errors; switched ordering of MsgDigest and CtxDigest

* Updated changelog

* ExpandedSecretKey::from_bytes takes an array and is now infallible

* Add TODO comment for split_array_ref

* Added from_slice and TryFrom<&[u8]> for ExpandedSecretKey

---------

Co-authored-by: Tony Arcieri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant