-
-
Notifications
You must be signed in to change notification settings - Fork 771
capsules: remove virtual_[digest|flash|sha].rs which do not virtualize #3503
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can always resurrect these from git.
Wait, so like...what do these do now? |
Nothing, really. They insert a little code when a HIL function is called, but for the most part the code isn't used. This is because the callbacks are not handled by these capsules, but instead passed directly to the upper layer. |
e6c14d0
to
68eda7d
Compare
This still breaks CI |
Yeah if there is consensus to doing this then I can remove their uses. |
I am on board |
This means choosing between SHA and HMAC (I assume only SHA worked before). I decided to keep HMAC, rather arbitrarily.
57d6496
I removed the uses of the virtualizers from the components and OT. The digest virtualizer was being used to make both SHA and HMAC available. That wasn't working, but now I had to pick just one. For future us, on code reviews, we need to check that |
Pull Request Overview
These capsules do not actually provide virtualized digest resources, and I think it's better to not give the impression that we support virtualized digest resources when we do not currently.
Testing Strategy
n/a
TODO or Help Wanted
Thoughts? Obviously another option is to re-write the virtualizers, but someone needs to be willing to do that.
Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.