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

Upgrade ring to 0.16 #115

Merged
merged 1 commit into from
Jan 28, 2020
Merged

Upgrade ring to 0.16 #115

merged 1 commit into from
Jan 28, 2020

Conversation

cbranch
Copy link
Contributor

@cbranch cbranch commented Jan 14, 2020

The API for SealingKey and OpeningKey changed to have these structs
manage their own nonces. Instead we switch to LessSafeKey so that we can
continue to manually manage nonce values.

Benchmark results before and after are well within the expected variance, at least on my computer.

The API for SealingKey and OpeningKey changed to have these structs
manage their own nonces. Instead we switch to LessSafeKey so that we can
continue to manually manage nonce values.
@cbranch cbranch requested a review from vkrasnov January 14, 2020 23:49
)
.unwrap()
self.sender
.seal_in_place_separate_tag(
Copy link
Contributor

@vkrasnov vkrasnov Jan 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using seal_in_place_append_tag is the more appropriate function here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't use it, the destination buffer is a slice so doesn't implement Extend.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

@vkrasnov vkrasnov self-requested a review January 28, 2020 01:28
@vkrasnov vkrasnov self-assigned this Jan 28, 2020
@vkrasnov vkrasnov removed their assignment Jan 28, 2020
@vkrasnov vkrasnov merged commit 700f20b into master Jan 28, 2020
@vkrasnov vkrasnov deleted the cbranch/ring-0.16 branch April 4, 2020 11:07
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.

2 participants