You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/06/04 20:43:05 UTC

[GitHub] [incubator-teaclave] mssun commented on a change in pull request #337: [cli] Cli can output cmac

mssun commented on a change in pull request #337:
URL: https://github.com/apache/incubator-teaclave/pull/337#discussion_r435537024



##########
File path: cli/src/main.rs
##########
@@ -71,27 +73,30 @@ struct Opt {
     command: Command,
 }
 
-fn decrypt(opt: EncryptDecryptOpt) -> Result<()> {
+fn decrypt(opt: EncryptDecryptOpt, cmac: &mut CMac) -> Result<()> {

Review comment:
       How about this? `fn decrypt(opt: EncryptDecryptOpt) -> Result<CMac>`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org