summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2023-06-16 17:08:06 +0800
committerJun Nie <jun.nie@linaro.org>2023-06-16 17:10:26 +0800
commitbf2f92a78e9ee9bb6ee2a7ac30420d43e00009fa (patch)
treec61de06d8b3815d0617987dd75f5327462dd55bd
parent375fa1d2d7adacfbcd2d00c8406ced3ab7eaa125 (diff)
Signed-off-by: Jun Nie <jun.nie@linaro.org>
-rw-r--r--ta/key_demo/key_demo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ta/key_demo/key_demo.c b/ta/key_demo/key_demo.c
index 72b0e15..f3e5332 100644
--- a/ta/key_demo/key_demo.c
+++ b/ta/key_demo/key_demo.c
@@ -617,12 +617,12 @@ EMSG("-----------Open persistent object, res=0x%08x", result);
TEE_CipherInit(encrypt_op, IV, IVlen);
- /* we see panic in TEE_CipherUpdate() */
- TEE_CipherUpdate(encrypt_op,
+ EMSG("========Input buf [0] %d [28] %d [108] %d.", in[0], in[28], in[108]);
+ result = TEE_CipherUpdate(encrypt_op,
in, TEST_CRYPT_SIZE,
out, &out_size);
- EMSG("========Out size %d, buf [0] 0x%x [28] 0x%x [108] 0x%x.",
+ EMSG("========Out size %d, buf [0] %d [28] %d [108] %d.",
out_size, out[0], out[28], out[108]);
TEE_Free(IV);