首页 > 其他分享 >keymaster 4.0 VTS测试之HmacKeySharingTest

keymaster 4.0 VTS测试之HmacKeySharingTest

时间:2023-03-19 16:12:33浏览次数:39  
标签:00 CKDF 4.0 dumpData HmacKeySharingTest computeSharedHmac 121 VTS TA

./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.GetParameters/0_default

#./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.GetParameters/0_default <
Note: Google Test filter = PerInstance/HmacKeySharingTest.GetParameters/0_default
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from PerInstance/HmacKeySharingTest
[ RUN ] PerInstance/HmacKeySharingTest.GetParameters/0_default
[ OK ] PerInstance/HmacKeySharingTest.GetParameters/0_default (198 ms)
[----------] 1 test from PerInstance/HmacKeySharingTest (198 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (198 ms total)
[ PASSED ] 1 test.

TA log:

D/TA: TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA: TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA: TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA: TA_serialize_rsp_err:476 res: 0
D/TA: TA_getHmacSharingParameters:2340 size of km error = 4
D/TA: TA_getHmacSharingParameters:2345 seed_size = 4
D/TA: TA_getHmacSharingParameters:2352 size = 40
D/TA: TA_getHmacSharingParameters:2354 dump hmac sharing params start
D/TA: dumpData:107 dumpData data_len = 40, count = 3
D/TA: dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA: dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA: dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA: TA_getHmacSharingParameters:2356 dump hmac sharing params end
D/TA: TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA: TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA: TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA: TA_serialize_rsp_err:476 res: 0
D/TA: TA_getHmacSharingParameters:2340 size of km error = 4
D/TA: TA_getHmacSharingParameters:2345 seed_size = 4
D/TA: TA_getHmacSharingParameters:2352 size = 40
D/TA: TA_getHmacSharingParameters:2354 dump hmac sharing params start
D/TA: dumpData:107 dumpData data_len = 40, count = 3
D/TA: dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA: dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA: dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA: TA_getHmacSharingParameters:2356 dump hmac sharing params end

./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmac/0_default

# ./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmac/0_default
Note: Google Test filter = PerInstance/HmacKeySharingTest.ComputeSharedHmac/0_default
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from PerInstance/HmacKeySharingTest
[ RUN ] PerInstance/HmacKeySharingTest.ComputeSharedHmac/0_default
[ OK ] PerInstance/HmacKeySharingTest.ComputeSharedHmac/0_default (742 ms)
[----------] 1 test from PerInstance/HmacKeySharingTest (742 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (744 ms total)
[ PASSED ] 1 test.

TA log:

D/TA: TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA: TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA: TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA: TA_serialize_rsp_err:476 res: 0
D/TA: TA_getHmacSharingParameters:2340 size of km error = 4
D/TA: TA_getHmacSharingParameters:2345 seed_size = 4
D/TA: TA_getHmacSharingParameters:2352 size = 40
D/TA: TA_getHmacSharingParameters:2354 dump hmac sharing params start
D/TA: dumpData:107 dumpData data_len = 40, count = 3
D/TA: dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA: dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA: dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA: TA_getHmacSharingParameters:2356 dump hmac sharing params end
D/TA: TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA: TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA: TA_computeSharedHmac:2106 dump param in start
D/TA: dumpData:107 dumpData data_len = 40, count = 3
D/TA: dumpData:121 [000] 01 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA: dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA: dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA: TA_computeSharedHmac:2108 dump param in end
D/TA: TA_computeSharedHmac:2119 num_params = 1, in size = 40
D/TA: TA_computeSharedHmac:2128 L = 256, blocks = 2
D/TA: TA_computeSharedHmac:2130 TEE_AllocateOperation
D/TA: TA_computeSharedHmac:2138 TEE_AllocateTransientObject
D/TA: TA_computeSharedHmac:2146 TEE_InitRefAttribute
D/TA: TA_computeSharedHmac:2150 TEE_PopulateTransientObject
D/TA: TA_computeSharedHmac:2159 TEE_SetOperationKey
D/TA: TA_computeSharedHmac:2174 CKDF loop i = 1
D/TA: TA_computeSharedHmac:2175 TEE_MACInit
D/TA: TA_computeSharedHmac:2180 CKDF i
D/TA: TA_computeSharedHmac:2185 CKDF label
D/TA: TA_computeSharedHmac:2189 CKDF 0x00
D/TA: TA_computeSharedHmac:2194 CKDF context
D/TA: TA_computeSharedHmac:2199 CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA: TA_computeSharedHmac:2202 CKDF seed length: 0
D/TA: TA_computeSharedHmac:2242 CKDF dump nonce start
D/TA: dumpData:107 dumpData data_len = 32, count = 2
D/TA: dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA: dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA: TA_computeSharedHmac:2244 CKDF dump nonce end
D/TA: TA_computeSharedHmac:2263 CKDF L
D/TA: TA_computeSharedHmac:2270 CKDF not the last block
D/TA: TA_computeSharedHmac:2277 CKDF K(i) out_len = 16
D/TA: TA_computeSharedHmac:2174 CKDF loop i = 2
D/TA: TA_computeSharedHmac:2175 TEE_MACInit
D/TA: TA_computeSharedHmac:2180 CKDF i
D/TA: TA_computeSharedHmac:2185 CKDF label
D/TA: TA_computeSharedHmac:2189 CKDF 0x00
D/TA: TA_computeSharedHmac:2194 CKDF context
D/TA: TA_computeSharedHmac:2199 CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA: TA_computeSharedHmac:2202 CKDF seed length: 0
D/TA: TA_computeSharedHmac:2242 CKDF dump nonce start
D/TA: dumpData:107 dumpData data_len = 32, count = 2
D/TA: dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA: dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA: TA_computeSharedHmac:2244 CKDF dump nonce end
D/TA: TA_computeSharedHmac:2263 CKDF L
D/TA: TA_computeSharedHmac:2270 CKDF not the last block
D/TA: TA_computeSharedHmac:2277 CKDF K(i) out_len = 16
D/TA: TA_computeSharedHmac:2305 TA_serialize_rsp_err, res = 0
D/TA: TA_serialize_rsp_err:476 res: 0
D/TA: TA_computeSharedHmac:2315 dump output start
D/TA: dumpData:107 dumpData data_len = 32, count = 2
D/TA: dumpData:121 [000] 58 ab bb 7e 54 41 71 bb c3 67 19 d1 6d f3 83 e7
D/TA: dumpData:121 [001] 21 92 38 c7 bb 3c 80 86 66 81 42 29 90 8c 63 8e
D/TA: TA_computeSharedHmac:2317 dump output end
D/TA: TA_computeSharedHmac:2320 response size = 40
D/TA: TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA: TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA: TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA: TA_serialize_rsp_err:476 res: 0
D/TA: TA_getHmacSharingParameters:2340 size of km error = 4
D/TA: TA_getHmacSharingParameters:2345 seed_size = 4
D/TA: TA_getHmacSharingParameters:2352 size = 40
D/TA: TA_getHmacSharingParameters:2354 dump hmac sharing params start
D/TA: dumpData:107 dumpData data_len = 40, count = 3
D/TA: dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA: dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA: dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA: TA_getHmacSharingParameters:2356 dump hmac sharing params end
D/TA: TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA: TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA: TA_computeSharedHmac:2106 dump param in start
D/TA: dumpData:107 dumpData data_len = 40, count = 3
D/TA: dumpData:121 [000] 01 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA: dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA: dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA: TA_computeSharedHmac:2108 dump param in end
D/TA: TA_computeSharedHmac:2119 num_params = 1, in size = 40
D/TA: TA_computeSharedHmac:2128 L = 256, blocks = 2
D/TA: TA_computeSharedHmac:2130 TEE_AllocateOperation
D/TA: TA_computeSharedHmac:2138 TEE_AllocateTransientObject
D/TA: TA_computeSharedHmac:2146 TEE_InitRefAttribute
D/TA: TA_computeSharedHmac:2150 TEE_PopulateTransientObject
D/TA: TA_computeSharedHmac:2159 TEE_SetOperationKey
D/TA: TA_computeSharedHmac:2174 CKDF loop i = 1
D/TA: TA_computeSharedHmac:2175 TEE_MACInit
D/TA: TA_computeSharedHmac:2180 CKDF i
D/TA: TA_computeSharedHmac:2185 CKDF label
D/TA: TA_computeSharedHmac:2189 CKDF 0x00
D/TA: TA_computeSharedHmac:2194 CKDF context
D/TA: TA_computeSharedHmac:2199 CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA: TA_computeSharedHmac:2202 CKDF seed length: 0
D/TA: TA_computeSharedHmac:2242 CKDF dump nonce start
D/TA: dumpData:107 dumpData data_len = 32, count = 2
D/TA: dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA: dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA: TA_computeSharedHmac:2244 CKDF dump nonce end
D/TA: TA_computeSharedHmac:2263 CKDF L
D/TA: TA_computeSharedHmac:2270 CKDF not the last block
D/TA: TA_computeSharedHmac:2277 CKDF K(i) out_len = 16
D/TA: TA_computeSharedHmac:2174 CKDF loop i = 2
D/TA: TA_computeSharedHmac:2175 TEE_MACInit
D/TA: TA_computeSharedHmac:2180 CKDF i
D/TA: TA_computeSharedHmac:2185 CKDF label
D/TA: TA_computeSharedHmac:2189 CKDF 0x00
D/TA: TA_computeSharedHmac:2194 CKDF context
D/TA: TA_computeSharedHmac:2199 CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA: TA_computeSharedHmac:2202 CKDF seed length: 0
D/TA: TA_computeSharedHmac:2242 CKDF dump nonce start
D/TA: dumpData:107 dumpData data_len = 32, count = 2
D/TA: dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA: dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA: TA_computeSharedHmac:2244 CKDF dump nonce end
D/TA: TA_computeSharedHmac:2263 CKDF L
D/TA: TA_computeSharedHmac:2270 CKDF not the last block
D/TA: TA_computeSharedHmac:2277 CKDF K(i) out_len = 16
D/TA: TA_computeSharedHmac:2305 TA_serialize_rsp_err, res = 0
D/TA: TA_serialize_rsp_err:476 res: 0
D/TA: TA_computeSharedHmac:2315 dump output start
D/TA: dumpData:107 dumpData data_len = 32, count = 2
D/TA: dumpData:121 [000] 58 ab bb 7e 54 41 71 bb c3 67 19 d1 6d f3 83 e7
D/TA: dumpData:121 [001] 21 92 38 c7 bb 3c 80 86 66 81 42 29 90 8c 63 8e
D/TA: TA_computeSharedHmac:2317 dump output end
D/TA: TA_computeSharedHmac:2320 response size = 40

./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptNonce/0_default

# ./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptNonce/0_default
Note: Google Test filter = PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptNonce/0_default
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from PerInstance/HmacKeySharingTest
[ RUN ] PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptNonce/0_default
[ OK ] PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptNonce/0_default (947 ms)
[----------] 1 test from PerInstance/HmacKeySharingTest (947 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (949 ms total)
[ PASSED ] 1 test.

TA log:

D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA:  TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA:  TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_getHmacSharingParameters:2340 size of km error = 4
D/TA:  TA_getHmacSharingParameters:2345 seed_size = 4
D/TA:  TA_getHmacSharingParameters:2352 size = 40
D/TA:  TA_getHmacSharingParameters:2354  dump hmac sharing params start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_getHmacSharingParameters:2356  dump hmac sharing params end
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA:  TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA:  TA_computeSharedHmac:2106  dump param in start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 01 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2108  dump param in end
D/TA:  TA_computeSharedHmac:2119  num_params = 1, in size = 40
D/TA:  TA_computeSharedHmac:2128  L = 256, blocks = 2
D/TA:  TA_computeSharedHmac:2130  TEE_AllocateOperation
D/TA:  TA_computeSharedHmac:2138  TEE_AllocateTransientObject
D/TA:  TA_computeSharedHmac:2146  TEE_InitRefAttribute
D/TA:  TA_computeSharedHmac:2150  TEE_PopulateTransientObject
D/TA:  TA_computeSharedHmac:2159  TEE_SetOperationKey
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 1
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 2
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2305  TA_serialize_rsp_err, res = 0
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_computeSharedHmac:2315  dump output start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 58 ab bb 7e 54 41 71 bb c3 67 19 d1 6d f3 83 e7
D/TA:  dumpData:121 [001] 21 92 38 c7 bb 3c 80 86 66 81 42 29 90 8c 63 8e
D/TA:  TA_computeSharedHmac:2317  dump output end
D/TA:  TA_computeSharedHmac:2320  response size = 40
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA:  TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA:  TA_computeSharedHmac:2106  dump param in start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 01 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 02 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2108  dump param in end
D/TA:  TA_computeSharedHmac:2119  num_params = 1, in size = 40
D/TA:  TA_computeSharedHmac:2128  L = 256, blocks = 2
D/TA:  TA_computeSharedHmac:2130  TEE_AllocateOperation
D/TA:  TA_computeSharedHmac:2138  TEE_AllocateTransientObject
D/TA:  TA_computeSharedHmac:2146  TEE_InitRefAttribute
D/TA:  TA_computeSharedHmac:2150  TEE_PopulateTransientObject
D/TA:  TA_computeSharedHmac:2159  TEE_SetOperationKey
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 1
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 02 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
E/TA:  TA_computeSharedHmac:2246 invalid nonce
D/TA:  TA_computeSharedHmac:2305  TA_serialize_rsp_err, res = -38
D/TA:  TA_serialize_rsp_err:476 res: -38
D/TA:  TA_computeSharedHmac:2315  dump output start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D/TA:  dumpData:121 [001] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D/TA:  TA_computeSharedHmac:2317  dump output end
D/TA:  TA_computeSharedHmac:2320  response size = 4
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA:  TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA:  TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_getHmacSharingParameters:2340 size of km error = 4
D/TA:  TA_getHmacSharingParameters:2345 seed_size = 4
D/TA:  TA_getHmacSharingParameters:2352 size = 40
D/TA:  TA_getHmacSharingParameters:2354  dump hmac sharing params start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_getHmacSharingParameters:2356  dump hmac sharing params end
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA:  TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA:  TA_computeSharedHmac:2106  dump param in start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 01 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2108  dump param in end
D/TA:  TA_computeSharedHmac:2119  num_params = 1, in size = 40
D/TA:  TA_computeSharedHmac:2128  L = 256, blocks = 2
D/TA:  TA_computeSharedHmac:2130  TEE_AllocateOperation
D/TA:  TA_computeSharedHmac:2138  TEE_AllocateTransientObject
D/TA:  TA_computeSharedHmac:2146  TEE_InitRefAttribute
D/TA:  TA_computeSharedHmac:2150  TEE_PopulateTransientObject
D/TA:  TA_computeSharedHmac:2159  TEE_SetOperationKey
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 1
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 2
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2305  TA_serialize_rsp_err, res = 0
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_computeSharedHmac:2315  dump output start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 58 ab bb 7e 54 41 71 bb c3 67 19 d1 6d f3 83 e7
D/TA:  dumpData:121 [001] 21 92 38 c7 bb 3c 80 86 66 81 42 29 90 8c 63 8e
D/TA:  TA_computeSharedHmac:2317  dump output end
D/TA:  TA_computeSharedHmac:2320  response size = 40

 ./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptSeed/0_default

# ./VtsHalKeymasterV4_0TargetTest --gtest_filter=PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptSeed/0_default
Note: Google Test filter = PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptSeed/0_default
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from PerInstance/HmacKeySharingTest
[ RUN ] PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptSeed/0_default
[ OK ] PerInstance/HmacKeySharingTest.ComputeSharedHmacCorruptSeed/0_default (937 ms)
[----------] 1 test from PerInstance/HmacKeySharingTest (937 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (938 ms total)
[ PASSED ] 1 test.

TA log:

D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA:  TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA:  TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_getHmacSharingParameters:2340 size of km error = 4
D/TA:  TA_getHmacSharingParameters:2345 seed_size = 4
D/TA:  TA_getHmacSharingParameters:2352 size = 40
D/TA:  TA_getHmacSharingParameters:2354  dump hmac sharing params start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_getHmacSharingParameters:2356  dump hmac sharing params end
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA:  TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA:  TA_computeSharedHmac:2106  dump param in start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 01 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2108  dump param in end
D/TA:  TA_computeSharedHmac:2119  num_params = 1, in size = 40
D/TA:  TA_computeSharedHmac:2128  L = 256, blocks = 2
D/TA:  TA_computeSharedHmac:2130  TEE_AllocateOperation
D/TA:  TA_computeSharedHmac:2138  TEE_AllocateTransientObject
D/TA:  TA_computeSharedHmac:2146  TEE_InitRefAttribute
D/TA:  TA_computeSharedHmac:2150  TEE_PopulateTransientObject
D/TA:  TA_computeSharedHmac:2159  TEE_SetOperationKey
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 1
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 2
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2305  TA_serialize_rsp_err, res = 0
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_computeSharedHmac:2315  dump output start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 58 ab bb 7e 54 41 71 bb c3 67 19 d1 6d f3 83 e7
D/TA:  dumpData:121 [001] 21 92 38 c7 bb 3c 80 86 66 81 42 29 90 8c 63 8e
D/TA:  TA_computeSharedHmac:2317  dump output end
D/TA:  TA_computeSharedHmac:2320  response size = 40
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA:  TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA:  TA_computeSharedHmac:2106  dump param in start
D/TA:  dumpData:107 dumpData data_len = 72, count = 5
D/TA:  dumpData:121 [000] 01 00 00 00 20 00 00 00 01 00 00 00 00 00 00 00
D/TA:  dumpData:121 [001] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D/TA:  dumpData:121 [002] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [003] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [004] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2108  dump param in end
D/TA:  TA_computeSharedHmac:2119  num_params = 1, in size = 72
D/TA:  TA_computeSharedHmac:2128  L = 256, blocks = 2
D/TA:  TA_computeSharedHmac:2130  TEE_AllocateOperation
D/TA:  TA_computeSharedHmac:2138  TEE_AllocateTransientObject
D/TA:  TA_computeSharedHmac:2146  TEE_InitRefAttribute
D/TA:  TA_computeSharedHmac:2150  TEE_PopulateTransientObject
D/TA:  TA_computeSharedHmac:2159  TEE_SetOperationKey
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 1
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 68, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 32
E/TA:  TA_computeSharedHmac:2204 invalid seed length
D/TA:  TA_computeSharedHmac:2305  TA_serialize_rsp_err, res = -38
D/TA:  TA_serialize_rsp_err:476 res: -38
D/TA:  TA_computeSharedHmac:2315  dump output start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D/TA:  dumpData:121 [001] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D/TA:  TA_computeSharedHmac:2317  dump output end
D/TA:  TA_computeSharedHmac:2320  response size = 4
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x4c, id = 0x0, sub_cmd = 0x4c
D/TA:  TA_InvokeCommandEntryPoint:2454 KM_GET_HMAC_SHARING_PARAMETERS
D/TA:  TA_getHmacSharingParameters:2327 s_nonce_generated = 1
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_getHmacSharingParameters:2340 size of km error = 4
D/TA:  TA_getHmacSharingParameters:2345 seed_size = 4
D/TA:  TA_getHmacSharingParameters:2352 size = 40
D/TA:  TA_getHmacSharingParameters:2354  dump hmac sharing params start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 00 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_getHmacSharingParameters:2356  dump hmac sharing params end
D/TA:  TA_InvokeCommandEntryPoint:2366 cmd_id: 0x50, id = 0x0, sub_cmd = 0x50
D/TA:  TA_InvokeCommandEntryPoint:2457 KM_COMPUTE_SHARED_HMAC
D/TA:  TA_computeSharedHmac:2106  dump param in start
D/TA:  dumpData:107 dumpData data_len = 40, count = 3
D/TA:  dumpData:121 [000] 01 00 00 00 00 00 00 00 68 70 e4 05 e5 c8 00 9c
D/TA:  dumpData:121 [001] 43 26 8f 7d 7f b8 22 db 75 0e c1 fe bf bf 06 ae
D/TA:  dumpData:121 [002] 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2108  dump param in end
D/TA:  TA_computeSharedHmac:2119  num_params = 1, in size = 40
D/TA:  TA_computeSharedHmac:2128  L = 256, blocks = 2
D/TA:  TA_computeSharedHmac:2130  TEE_AllocateOperation
D/TA:  TA_computeSharedHmac:2138  TEE_AllocateTransientObject
D/TA:  TA_computeSharedHmac:2146  TEE_InitRefAttribute
D/TA:  TA_computeSharedHmac:2150  TEE_PopulateTransientObject
D/TA:  TA_computeSharedHmac:2159  TEE_SetOperationKey
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 1
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2174  CKDF loop i = 2
D/TA:  TA_computeSharedHmac:2175  TEE_MACInit
D/TA:  TA_computeSharedHmac:2180  CKDF i
D/TA:  TA_computeSharedHmac:2185  CKDF label
D/TA:  TA_computeSharedHmac:2189  CKDF 0x00
D/TA:  TA_computeSharedHmac:2194  CKDF context
D/TA:  TA_computeSharedHmac:2199  CKDF get seed length, SIZE_LENGTH_AKMS = 4, size of local in = 36, sizeof(seed) = 16
D/TA:  TA_computeSharedHmac:2202  CKDF seed length: 0
D/TA:  TA_computeSharedHmac:2242  CKDF dump nonce start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 68 70 e4 05 e5 c8 00 9c 43 26 8f 7d 7f b8 22 db
D/TA:  dumpData:121 [001] 75 0e c1 fe bf bf 06 ae 6a 07 60 ec 3f c1 44 a2
D/TA:  TA_computeSharedHmac:2244  CKDF dump nonce end
D/TA:  TA_computeSharedHmac:2263  CKDF L
D/TA:  TA_computeSharedHmac:2270  CKDF not the last block
D/TA:  TA_computeSharedHmac:2277  CKDF K(i) out_len = 16
D/TA:  TA_computeSharedHmac:2305  TA_serialize_rsp_err, res = 0
D/TA:  TA_serialize_rsp_err:476 res: 0
D/TA:  TA_computeSharedHmac:2315  dump output start
D/TA:  dumpData:107 dumpData data_len = 32, count = 2
D/TA:  dumpData:121 [000] 58 ab bb 7e 54 41 71 bb c3 67 19 d1 6d f3 83 e7
D/TA:  dumpData:121 [001] 21 92 38 c7 bb 3c 80 86 66 81 42 29 90 8c 63 8e
D/TA:  TA_computeSharedHmac:2317  dump output end
D/TA:  TA_computeSharedHmac:2320  response size = 40

 

标签:00,CKDF,4.0,dumpData,HmacKeySharingTest,computeSharedHmac,121,VTS,TA
From: https://www.cnblogs.com/xiululu/p/17233395.html

相关文章

  • ffmpeg4.0以上的阻塞超时设置
    //其实ffmpeg从4.0开始不用stimeout,用的listen_timeout等待网络超时,不然会一直超时下去。   AVDictionary*options=nullptr; //实时播放使用ud......
  • keymaster4.0 VTS测试用例
    VTS单模块测试:./VtsHalKeymasterV4_0TargetTest--gtest_filter=PerInstance/HmacKeySharingTest*/0_default./VtsHalKeymasterV4_0TargetTest--gtest_filter=PerInsta......
  • Angular 4.0 内置指令全攻略
    在这篇文章中,我们将分别列举每一个内置指令的用法,并提供一个例子作为演示。尽量用最少最简单的描述,让你在更快更准确地学会每一种内置指令的基本用法。ngFor作用:像for......
  • BeyondCompare4.0比较代码内容相同但显示红色问题终结方案
    一个困扰了我将近五年的问题,终于解决了,泪目问题描述比较时几乎所有文件都显示红色不相同打开文件时发现内容相同,然后关闭发现列表两个文件变成相同了问题原因未知解......
  • Photoshop 2023 (ps 2023) for Mac v24.0激活版
    Photoshop 2023是一款图像处理软件。Photoshop主要处理以像素所构成的数字图像。使用其众多的编修与绘图工具,可以有效地进行图片编辑工作。ps有很多功能,在图像、图形、文字......
  • .NET静态代码织入——肉夹馍(Rougamo) 发布1.4.0
    肉夹馍(https://github.com/inversionhourglass/Rougamo)通过静态代码织入方式实现AOP的组件,其主要特点是在编译时完成AOP代码织入,相比动态代理可以减少应用启动的初始化时......
  • OpenCV各版本差异与演化,从1.x到4.0
    写在前面最近因项目需要,得把OpenCV捡起来,登录OpenCV官网,竟然发现release了4.0.0-beata版本,所以借此机会,查阅资料,了解下OpenCV各版本的差异及其演化过程,形成了以下几点认识......
  • Aras Innovator (2023 Release Build 14.0.9.36244)的安装经验
    免费的东西不错,但装起来确实坑很多。为了节约大家时间,只说要点吧:1.系统选择WindowsServer2022,(Windows10/11和旧版本Server应该也可以);2.数据库用Microsoft的SQLServe......
  • Tengine-2.4.0编译安装
    官方地址收集nginx官方安装地址https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/#installing-nginx-dependenciesnginx官......
  • .NET静态代码织入——肉夹馍(Rougamo) 发布1.4.0
    肉夹馍(https://github.com/inversionhourglass/Rougamo)通过静态代码织入方式实现AOP的组件,其主要特点是在编译时完成AOP代码织入,相比动态代理可以减少应用启动的初始化时......