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

chore: remove subtle feature #6185

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

AaronFeickert
Copy link
Collaborator

Description

Removes the core_hint_black_box feature from subtle.

Motivation and Context

We currently use the core_hint_black_box feature from subtle, which uses a particular optimization barrier.

However, the standard library documentation cautions against the use of std::hint::black_box for cryptographic use. This has led subtle to remove it in an upcoming release, at which point the feature will do nothing.

This PR takes the proactive step of removing the feature. There is still an optimization barrier in place, which will become the default after the feature is deprecated.

How Has This Been Tested?

Existing tests pass.

What process can a PR reviewer use to test or verify this change?

Check the claims made in the PR about the feature behavior.

Copy link

github-actions bot commented Mar 5, 2024

Test Results (CI)

    3 files    120 suites   39m 8s ⏱️
1 267 tests 1 267 ✅ 0 💤 0 ❌
3 793 runs  3 793 ✅ 0 💤 0 ❌

Results for commit c0a928c.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Mar 5, 2024
Copy link

github-actions bot commented Mar 5, 2024

Test Results (Integration tests)

29 tests   29 ✅  11m 52s ⏱️
11 suites   0 💤
 2 files     0 ❌

Results for commit c0a928c.

@SWvheerden SWvheerden merged commit 6527b77 into tari-project:development Mar 6, 2024
15 of 16 checks passed
@AaronFeickert AaronFeickert deleted the subtle branch March 6, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants