Fix bugs during exporting a wrapped key 98/296798/1
authorDongsun Lee <ds73.lee@samsung.com>
Sat, 29 Jul 2023 07:26:10 +0000 (16:26 +0900)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 4 Aug 2023 08:11:17 +0000 (10:11 +0200)
commitbe4bfe18aafa7a703874889ffb0d1978a2bb11b6
tree192ad3c4ac5f94f945201842f79d5e77c9084c88
parentd501c51b8cb6b42e4ebf75a1ee6f746a27c52eaf
Fix bugs during exporting a wrapped key

- generous output size check
- enlarged encryption overhead for RSA
- use type of wrap to key

Change-Id: I64367edf00d58e67df62a682a05c58dae5e2327b
src/manager/crypto/tz-backend/obj.cpp
src/manager/crypto/tz-backend/tz-context.cpp