Merge pull request #286 from lengyijun/patch-1
Update app.c
diff --git a/samplecode/crypto/app/app.c b/samplecode/crypto/app/app.c
index b1619a2..5016638 100644
--- a/samplecode/crypto/app/app.c
+++ b/samplecode/crypto/app/app.c
@@ -224,6 +224,7 @@
}
printf("\n");
printf("[+] calc_sha256 success ...\n");
+ return 0;
}
int aes_gcm_128(){
@@ -311,6 +312,7 @@
printf("\n");
printf("[+] aes-gcm-128 decrypt complete \n");
+ return 0;
}
@@ -366,7 +368,7 @@
printf("%02x", cmac_result[i]);
}
printf("\n");
-
+ return 0;
}
int rsa(){
@@ -406,4 +408,5 @@
return -1;
}
printf("rsa_key success. \n");
+ return 0;
}