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

Implement Display on Algorithm #75

Merged
merged 1 commit into from
Feb 19, 2021

Conversation

hug-dev
Copy link
Member

@hug-dev hug-dev commented Feb 19, 2021

Also fixes some clippy/deprecated errors.

Signed-off-by: Hugues de Valon hugues.devalon@arm.com

@hug-dev hug-dev requested a review from ionut-arm February 19, 2021 12:09
Type::Arc4 => write!(f, "Key for the RC4 stream cipher"),
Type::Chacha20 => write!(
f,
"Key for the ChaCha20 stream cipher or the Chacha20-Poly1305 AEAD algorithm"
Copy link
Member

Choose a reason for hiding this comment

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

Is this how it's defined in the spec? Seems sensible to just write it like the ones above Key for an algorithm based on ChaCha20

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@ionut-arm ionut-arm Feb 19, 2021

Choose a reason for hiding this comment

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

Hmm, though you did "sanitize" the ones above, they're not just copy-pasted

Also fixes some clippy/deprecated errors.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
@hug-dev hug-dev merged commit 9fbd3ad into parallaxsecond:master Feb 19, 2021
@hug-dev hug-dev deleted the display-type branch February 19, 2021 15:44
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