You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by di...@apache.org on 2020/11/13 04:49:31 UTC

[incubator-teaclave-sgx-sdk] branch master updated: Update lib.rs

This is an automated email from the ASF dual-hosted git repository.

dingyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git


The following commit(s) were added to refs/heads/master by this push:
     new 0e8e011  Update lib.rs
     new 7610877  Merge pull request #287 from lengyijun/patch-2
0e8e011 is described below

commit 0e8e011ac515f1b1e50c107df86fadd46ab650db
Author: lyj <sj...@gmail.com>
AuthorDate: Fri Nov 13 12:47:39 2020 +0800

    Update lib.rs
---
 samplecode/crypto/enclave/src/lib.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/samplecode/crypto/enclave/src/lib.rs b/samplecode/crypto/enclave/src/lib.rs
index 27c97f1..cbe79f7 100644
--- a/samplecode/crypto/enclave/src/lib.rs
+++ b/samplecode/crypto/enclave/src/lib.rs
@@ -208,7 +208,7 @@ pub extern "C" fn aes_gcm_128_encrypt(key: &[u8;16],
 ///
 /// **ciphertext**
 ///
-/// Cipher text to be encrypted.
+/// Cipher text to be decrypted.
 ///
 /// **text_len**
 ///
@@ -443,4 +443,4 @@ pub extern "C" fn rsa_key(text: * const u8, text_len: usize) -> sgx_status_t {
     }
 
     sgx_status_t::SGX_SUCCESS
-}
\ No newline at end of file
+}


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