-
Notifications
You must be signed in to change notification settings - Fork 52
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
Adds the encrypt_decrypt_2 context method #220
Conversation
Added the CBC mode to the SymmetricMode interface type. Signed-off-by: Jesper Brynolf <jesper.brynolf@gmail.com>
e339f3e
to
ed23c56
Compare
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.
Looks good to me - missing docs on the new context method, but apart from that...
tss-esapi/tests/context_tests/tpm_commands/symmetric_primitives_tests.rs
Outdated
Show resolved
Hide resolved
@@ -237,6 +237,7 @@ impl TryFrom<TPMI_ALG_SYM> for SymmetricAlgorithm { | |||
pub enum SymmetricMode { | |||
Ctr, | |||
Ofb, | |||
Cbc, |
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.
This is definitely a breaking change - if it's in a different commit then it's alright. I'll try and think of a way to check whether the changes in a PR relate to breaking additions.
ed23c56
to
75bb43f
Compare
@ionut-arm Thanks for your input. Now I have to figure out what I am doing wrong in the test. I get a really wierd like |
The |
ede5c42
to
05e3718
Compare
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.
LGTM, just a couple of typos
Tpm2PublicBuilder. Signed-off-by: Jesper Brynolf <jesper.brynolf@gmail.com>
Signed-off-by: Jesper Brynolf <jesper.brynolf@gmail.com>
- Add more API documentation. - Renamed a parameter in the method. Signed-off-by: Jesper Brynolf <jesper.brynolf@gmail.com>
05e3718
to
cacab32
Compare
…henticators Add implementation for ListAuthenticators operation
No description provided.