Commit Graph

715 Commits

Author SHA1 Message Date
y30053096
c4975eb328 optimize fuzz
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I5670952c71af87d78659e5505791f872d007a890
2024-11-11 09:37:46 +08:00
openharmony_ci
384270d412
!1394 add rename feature Tdd tests
Merge pull request !1394 from Linzs.online/addRenameTdd
2024-11-08 10:04:53 +00:00
l00889714
63ac18d774 addRenameTdd
Signed-off-by: l00889714 <linzhaosheng@huawei.com>
2024-11-08 16:30:13 +08:00
y30053096
8d15051ea5 optimize fuzz
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: Ib47c12ab30f8a549fed177d871d27b41d275e48a
2024-11-07 22:26:34 +08:00
y30053096
9356c36d5c add tdd for HksChangeStorageLevel
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: Id83cf8bb1cf91f9130f1a2b18e80bf49bff5fac7
2024-11-01 10:02:32 +08:00
y30053096
571170621b add tdd for HksChangeStorageLevel
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I5de637cbb58963537945811799d2fff29383c840
2024-10-24 17:49:42 +08:00
l00889714
74743ad31e dd rename feature Tdd tests
Signed-off-by: l00889714 <linzhaosheng@huawei.com>
2024-10-19 19:09:31 +08:00
y30053096
f11322beae add tdd for HksChangeStorageLevel
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: Ic84fe3331d370bc9b712b2bfc52f2395f6875e1f
2024-10-17 12:00:23 +08:00
y30053096
fd45510ff6 fix fuzz test for HksGetKeyInfoList
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I96690489d05b2b270b112476f20476f098ccee7b
2024-10-10 19:06:49 +08:00
openharmony_ci
c8937322b5
!1332 derive key size should be in bytes, and no more than 1024
Merge pull request !1332 from code4lala/hks_import_wrapped_sm2_suite_test.cpp
2024-10-10 03:45:34 +00:00
openharmony_ci
ed088cb788
!1335 接口HksChangeStorageLevel补充tdd和fuzz
Merge pull request !1335 from 杨欢欢/d2c
2024-10-09 08:56:14 +00:00
tangboyi
667cbdc2d5 二次密钥迁移
Signed-off-by: tangboyi <tangboyi1@huawei.com>
Change-Id: I22e6403b448f958a2ceb43e18d88328a20a248eb
Signed-off-by: tangboyi <tangboyi1@huawei.com>
2024-10-08 20:24:23 +08:00
y30053096
6a3f9f0b10 add tdd for HksChangeStorageLevel
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I30833b4cf5f9578e0ee2b0dc60827334c56aeecb
2024-09-30 17:43:20 +08:00
openharmony_ci
63f4941b8b
!1331 放开sessionLimit
Merge pull request !1331 from wkyrong/master
2024-09-30 02:54:49 +00:00
openharmony_ci
71aa8ee13d
!1327 删除部分无用函数及变量(芯片平台加解密相关)
Merge pull request !1327 from Ziyi Zhong/master
2024-09-29 02:29:48 +00:00
code4lala
b5cbb90e52 derive key size should be in bytes, and no more than 1024
Signed-off-by: code4lala <fengziteng2@huawei.com>
Change-Id: I5ea262054365f615c639a78e529fff602baf1603
2024-09-27 16:04:12 +08:00
wkyrong
4cfbc2e090 enlarge session limit
Signed-off-by: wkyrong <wangkairong@huawei.com>
2024-09-26 22:31:02 +08:00
l00889714
7f8942202d add Fuzz
Signed-off-by: l00889714 <linzhaosheng@huawei.com>
2024-09-26 20:32:37 +08:00
l00889714
a8e4806100 Add HksRenameKeyAlias API TDD tests
Signed-off-by: l00889714 <linzhaosheng@huawei.com>
2024-09-26 17:17:44 +08:00
zzy
797561361a 4 trial
Signed-off-by: zzy <zhongziyi3@huawei.com>
Change-Id: I09ec97f6be6869bdee3191eb040ad9170ceff6ea
2024-09-26 09:00:02 +08:00
zzy
da158b5cda another trial
Signed-off-by: zzy <zhongziyi3@huawei.com>
Change-Id: I4d55c17c69b10144375503ebe18a3ab8b1f9878d
2024-09-25 16:13:24 +08:00
zzy
e30df9fc87 delete all useless files and functions
Signed-off-by: zzy <zhongziyi3@huawei.com>
Change-Id: I460c9dcadf47da52c7382bdaa8e3fab9dc28a057
2024-09-25 15:21:09 +08:00
openharmony_ci
7030771d16
!1310 add fuzz test
Merge pull request !1310 from 杨欢欢/fuzz1
2024-09-07 07:55:27 +00:00
openharmony_ci
57958bca74
!1302 优化fuzz和tdd
Merge pull request !1302 from 杨欢欢/fuzz
2024-09-07 06:49:47 +00:00
y30053096
4cdb6a3bc7 add fuzz
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I0f9c4ba56fba986c9503c4d3288134ef1d20b199
2024-09-07 11:31:53 +08:00
openharmony_ci
2eee09bb8c
!1303 tdd修改文件操作用例校验错误码
Merge pull request !1303 from lwt999/master
2024-09-06 07:06:20 +00:00
y30053096
43f14da213 optimize fuzz and tdd
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: Ie6a6b5268cb976d525cc7321af5ad34e2476fc6c
2024-09-06 14:58:09 +08:00
lwt999
2f744bbf53 tdd修改文件操作用例校验错误码
Signed-off-by: lwt999 <liuwanting5@huawei.com>
2024-09-06 12:05:55 +08:00
y30053096
82aeeaa922 add fuzz test
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I005ac520f786ca0e43906362fa22d39a669a061e
2024-09-04 22:13:57 +08:00
y30053096
38462eae0d improve fuzz coverage
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I0f6435b6160cfb0d81aba78873b29679b3a9409b
2024-09-03 22:08:44 +08:00
y30053096
793830f709 fix failed tdd
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I1ed0e10f1a9090de69e72e7d166e9950e6f9e039
2024-08-27 17:27:22 +08:00
code4lala
4bdbd1e9c1 add rwlock for upgrading keys, use atomic for multi-thread
Signed-off-by: code4lala <fengziteng2@huawei.com>
Change-Id: Ib74f47a667a8f052aefe085d2389377f8e8a99d7
2024-08-23 15:08:35 +08:00
y30053096
43e609e37b add assert for tdd
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I06ba3be4946b9ac847f27e8503832ab243a9941d
2024-08-21 18:57:13 +08:00
wpy88
73c87172f0 split hks_core_service.c
Signed-off-by: wpy88 <weipengyu4@huawei.com>
2024-08-09 19:48:08 +08:00
openharmony_ci
c418c69d85
!1243 循环依赖处理
Merge pull request !1243 from wuXin/master
2024-08-09 08:39:23 +00:00
WuXinTao
b59ee285cd add code for cycle deps fix 8-9
Signed-off-by: wuxintao <wuxintao5@huawei.com>
2024-08-09 14:22:14 +08:00
y30053096
41794f837b add tdd for hks_client_ipc_serialization
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I04c5c5e5bc5995d3952e1e339b5b1715a16f5f6d
2024-08-08 12:30:37 +08:00
code4lala
8cbb412d16 rm ReportIfHapCallHuksBeforeUnlock
Signed-off-by: code4lala <fengziteng2@huawei.com>
Change-Id: Ia5ae5dce7b9377c8f4c09e3ef6c8547cd2e37afc
2024-08-07 11:18:24 +08:00
y30053096
a977013502 add tdd for file transfer and dcm callback
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: Id0be7d256227ea69b2212d98e014ee9bd2c3912f
2024-08-06 21:00:57 +08:00
openharmony_ci
3704c88bee
!1241 新增tdd for sa
Merge pull request !1241 from 杨欢欢/tdd
2024-08-05 15:15:18 +00:00
y30053096
c3a00c134f add tdd for sa
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I95a57febbbd1ce9dc5b6c8d4d9e62cd374137277
2024-08-05 21:41:38 +08:00
openharmony_ci
5253fdf501
!1228 HKS_ENABLE_CLEAN_FILE相关依赖
Merge pull request !1228 from lwt999/master
2024-08-05 13:41:09 +00:00
l30057051
a9d7a97ce2 修复huks_use_rkc_in_standard和HKS_ENABLE_CLEAN_FILE同时开启场景依赖、DH支持密钥长度
Signed-off-by: l30057051 <liuwanting5@huawei.com>
2024-08-05 16:54:52 +08:00
y30053096
47201ba88e add tdd
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I18abeff0afeaca9d29393308fac52c8ec7ee9338
2024-08-02 12:21:37 +08:00
code4lala
26b010cf29 callback on failure
Signed-off-by: code4lala <fengziteng2@huawei.com>
Change-Id: I531417fda90e2328df4807bde00b8e898a98f18f
2024-08-01 14:52:35 +08:00
code4lala
2cc9ae5f86 session manager, keynode for each token id
Signed-off-by: code4lala <fengziteng2@huawei.com>

Change-Id: I0fa21e84640e0ef0742f87cfcf24b6579f4f6bcb
2024-07-31 14:48:14 +08:00
y30053096
a9e58384f9 clean warnings for compile
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I2649064d2e21509cda82aafbac1554684951da9e
2024-07-29 15:36:43 +08:00
y30053096
ef63e003ba add fuzz test
Signed-off-by: y30053096 <yangjinhuan@huawei.com>

Change-Id: I253a7b0b45bb4d27d1b1fd6418cf000b811ceeba
2024-07-26 17:19:08 +08:00
tangboyi
37e199b5d4 修复编译问题
Signed-off-by: tangboyi <tangboyi1@huawei.com>
Change-Id: Id4d1eeb0d24ef397e8330caf6b60b0c45e132cec
Signed-off-by: tangboyi <tangboyi1@huawei.com>
2024-07-20 23:00:48 +08:00
openharmony_ci
2180a5f0b2
!1203 设备密钥管理补充跨端协同二次访问控制认证
Merge pull request !1203 from weizhaohui/master
2024-07-12 08:30:52 +00:00