码迷,mamicode.com
首页 > 其他好文 > 详细

调试理解过程

时间:2016-02-24 17:18:11      阅读:355      评论:0      收藏:0      [点我收藏+]

标签:

takeownership

?

tddl enter

00 c1 00 00 00 1e 00 00 00 7c 19 bf 5a d6 f3 b7

3d 57 db 50 56 5a e3 bc 07 51 ec 2e e4 af tddl end

receive tddl enter

NO 9

receive tddl end

tddl enter

00 c1 00 00 00 0a 00 00 00 0a tddl end

receive tddl enter

NO 10

receive tddl end

TCSD TCS Unloading a public key of size 0!

tddl enter

00 c2 00 00 02 70 00 00 00 0d 00 05 00 00 01 00

39 5c c3 cf b1 27 88 c7 61 d4 f2 e2 e5 2b a2 7f

85 b1 00 d4 46 57 6d 96 f1 dc f0 be ee 0f fc 3c

1d 17 6b 57 75 0a 22 f7 af 25 95 d8 73 60 c6 b9

27 68 6a c1 d1 91 2f d1 f7 e2 f1 bd 64 dd bd 4f

37 21 6d 4e b6 4f 8e d3 3b d2 bb 1c 29 50 c3 cf

76 59 02 59 e8 dc 84 2a 58 46 79 24 96 51 81 2b

3f 27 ff e3 5f 0c 7c 30 4b 7a 74 8f 05 04 c1 57

d4 07 d5 4a e2 10 cc b8 a9 0f 37 5d bd 40 52 08

4b 7a b7 ac 87 70 79 ac ba 1e 26 93 af 44 94 d9

a6 3d 65 34 bc 2c 3b 54 0b f4 bf 2a 15 4e 5d 29

27 4a ea 76 2a 84 e6 54 80 89 24 ad 17 1d 52 ac

26 24 6d 34 6a e8 bb bb 86 d9 7a 1e 30 69 a8 1c

36 8c 15 d9 24 f7 6f 6f 88 6f 6b fb 6e 4c b6 d3

11 6f 30 94 ff c2 aa 97 3d 90 76 06 46 d0 af 0e

c3 96 70 38 ba f3 32 d9 4b c3 11 9e 54 a7 9c 4c

07 49 01 90 f9 45 c6 f5 86 44 66 86 f2 89 d9 45

00 00 01 00 2b 49 bd 38 c8 b8 59 a1 07 98 d3 86

c4 aa d3 44 aa 14 81 04 b1 28 1d e8 ac 22 4f ac

37 c7 b5 ad 48 2b b4 a6 a7 ae b5 0e 8c cc 3d 2e

ea 2f d3 2c 03 59 b4 80 75 ba 03 f0 81 d9 6e c3

1d f8 92 33 77 ba d4 86 45 0e a3 c2 69 e6 8a 19

8c 87 e4 2a cf 8c f4 f1 75 12 b6 84 5a 69 6e 33

a9 11 ec 47 51 60 c8 44 12 84 ed d1 7b 58 e7 61

98 8a 0d 90 ff 49 fa e7 05 f4 d2 6a a5 48 0e da

49 82 da 90 28 a2 22 e6 ff 9c 82 ce 86 80 dd 42

94 a7 31 97 7a 6d da e7 55 94 a8 d1 59 3e ac bf

9e e8 e6 47 ec ec 5f 0a bc 82 af 67 b5 43 a6 03

8e 06 53 bc 88 51 0f 09 e5 a9 bd 9f 79 9d ec 29

a9 a0 1f ef 22 19 5c 5e ac 38 1c 5a b4 fd f7 b7

71 17 7b 65 69 6c 7c fa 0a fa 6f 46 50 30 bc 24

3b ff 20 d4 6e cb a3 de b6 d1 a9 41 15 04 e6 af

1b d2 ec 23 67 3b 70 85 d1 5c e7 b1 37 8d 47 0a

18 6e 61 46 01 01 00 00 00 11 00 00 00 00 01 00

00 00 01 00 03 00 01 00 00 00 0c 00 00 08 00 00

00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 02 00 00 00 a6 52 04 9b 3e f3 fb 75 d1

5e b6 96 d8 c5 77 7d 61 b0 51 e1 00 3c 51 1e c6

c7 dc 17 d0 5f 59 7d 5f 32 52 19 25 d2 fc 42 e5

tddl end

receive tddl enter

NO 11

receive tddl end

tddl enter

00 c1 00 00 00 12 00 00 00 ba 02 00 00 00 00 00

00 02 tddl end

receive tddl enter

NO 12

receive tddl end

?

?

tpmd.c:331: Debug: waiting for commands...

tpmd.c:331: Debug: waiting for commands...

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 30 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3462: Debug: [TPM_TAG_RQU_COMMAND]

tpm_cmd_handler.c:3798: Debug: [TPM_ORD_ReadPubek]

tpm_credentials.c:132: Info: TPM_ReadPubek()

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpmd.c:358: Debug: sending 314 bytes

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 10 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3462: Debug: [TPM_TAG_RQU_COMMAND]

tpm_cmd_handler.c:3858: Debug: [TPM_ORD_OIAP]

tpm_authorization.c:158: Info: TPM_OIAP()

tpm_authorization.c:166: Debug: handle = 02000000

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpmd.c:358: Debug: sending 34 bytes

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 624 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3455: Debug: [TPM_TAG_RQU_AUTH1_COMMAND]

tpm_cmd_handler.c:3545: Debug: [TPM_ORD_TakeOwnership]

tpm_owner.c:112: Info: TPM_TakeOwnership()

tpm_authorization.c:531: Info: tpm_verify_auth()

tpm_authorization.c:532: Debug: handle = 02000000

tpm_authorization.c:539: Debug: [TPM_ST_OIAP]

tpm_owner.c:152: Debug: srk->authDataUsage = 01

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpm_eviction.c:51: Info: TPM_FlushSpecific()

tpm_eviction.c:52: Debug: handle = 02000000, resourceType = 00000002

tpmd.c:358: Debug: sending 354 bytes

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 18 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3462: Debug: [TPM_TAG_RQU_COMMAND]

tpm_cmd_handler.c:3953: Debug: [TPM_ORD_FlushSpecific]

tpm_eviction.c:51: Info: TPM_FlushSpecific()

tpm_eviction.c:52: Debug: handle = 02000000, resourceType = 00000002

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpmd.c:358: Debug: sending 10 bytes

tpmd.c:331: Debug: waiting for commands...

?

?

?

?

tddl enter

00 c1 00 00 00 1e 00 00 00 7c 9d 2d ae ae 7d 70

e1 c7 5c df c7 ae 7f a8 c3 26 91 c0 54 0b tddl end

receive tddl enter

NO 9

receive tddl end

tddl enter

00 c1 00 00 00 0a 00 00 00 0a tddl end

receive tddl enter

NO 10

receive tddl end

TCSD TCS Unloading a public key of size 0!

tddl enter

00 c2 00 00 02 70 00 00 00 0d 00 05 00 00 01 00

51 3a cd cb 7f 42 6d 9f 23 ad c2 07 5f df ae e5

c1 b2 94 51 fa 12 81 3b b0 c7 88 b6 88 60 bf c1

b7 6d 61 75 ad 2c 4b 4b db 70 8c 00 d4 57 a9 b4

16 0c 9b 8d 0f 02 2e 02 b9 fa db 57 36 56 32 7a

c0 91 45 fa cc f7 40 18 51 ec 2b 66 6a 5e 57 7e

c2 08 e7 0d f8 31 31 8a a6 bd f7 81 fe c2 f0 6b

c5 ed dc 4a 95 92 bb 23 99 3b 41 25 0f 33 1d 86

66 58 45 bc fb 44 14 b8 20 56 a5 fc 5a 9d dd 3e

2d 92 10 40 db 97 eb 25 0d a0 56 07 12 24 ed ef

ba b6 38 9c ca a1 64 00 8b 46 3c 11 64 18 e6 37

f1 77 20 54 80 90 75 a3 01 15 da bf 72 ae 51 fa

f6 7e 81 ab 2d c2 9e ee 84 d0 94 2d 39 60 9e 4f

6e 33 08 91 92 2b f9 74 d7 a2 e6 51 ad 3f 26 7d

4c b4 aa 12 ed 8c 46 b3 2c 0c da b3 9a fb eb a8

50 e1 98 81 05 07 57 ac c6 9f 42 23 0d a5 34 90

eb 1b 5a 9d 5b ac fa ce 5a d8 9e 69 b3 5f 0d b5

00 00 01 00 8d 1c ae 7f 20 00 ed 02 e5 67 a8 10

f5 9b d7 d4 83 11 d7 25 52 3d 43 38 76 2b 00 9f

b8 ac dd 18 16 64 85 a0 c7 58 3e 26 b6 07 c2 27

93 ad 2c 9b 62 31 29 96 ff 14 34 76 6f 13 78 3c

5e 96 70 94 cf d9 f4 ed 8b 4d 12 b6 ee e7 f3 50

bb bb af d2 a9 1f 65 39 e9 33 50 c8 e6 fe ee 0f

fb f6 5d ec da db 3d cc 62 7e c4 8c 2a d1 f6 12

fd e3 ca 80 dd e4 bc 3c ec 14 0c f3 2e 44 de ca

33 94 a8 d7 79 a4 7b 0a fe 8e 61 59 86 a1 e5 3e

80 f2 91 24 5d 46 fd e2 ee 23 ce af 6f 2f 56 97

00 28 41 bd 67 7e 1f 4f f6 07 d5 d0 fc a7 7a b5

69 ec 38 58 35 0b 41 59 1b 6e b7 f8 6a 69 67 92

c3 d0 de 23 e0 51 b4 fa df 2c a3 a1 ab 0c a7 df

5a e1 92 df fe 4a ab 8b 48 0d 18 6c 61 8d 91 fd

a6 31 df 20 06 4b 6d e9 9f 93 08 3e c5 06 87 41

c8 9c 3b 09 c2 24 46 fc 80 3d fe 3c d9 4d 81 48

71 cd 9c 2a 01 01 00 00 00 11 00 00 00 00 01 00

00 00 01 00 03 00 01 00 00 00 0c 00 00 08 00 00

00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 02 00 00 00 53 82 e3 e7 4b f8 0c 97 d4

a0 4c ed d5 10 21 bc c2 38 66 40 00 40 50 3d 5c

33 6e 89 4c 7e 8f 08 78 8c ce 6d bd 51 f6 24 cc

tddl end

receive tddl enter

NO 11

receive tddl end

tddl enter

00 c1 00 00 00 12 00 00 00 ba 02 00 00 00 00 00

00 02 tddl end

receive tddl enter

NO 12

receive tddl end

?

?

change owner auth

tpmd.c:331: Debug: waiting for commands...

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 36 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3462: Debug: [TPM_TAG_RQU_COMMAND]

tpm_cmd_handler.c:3863: Debug: [TPM_ORD_OSAP]

tpm_authorization.c:177: Info: TPM_OSAP()

tpm_authorization.c:182: Debug: entityType = 0002, entityValue = 0000

tpm_authorization.c:240: Debug: handle = 02000000

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpmd.c:358: Debug: sending 54 bytes

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 79 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3455: Debug: [TPM_TAG_RQU_AUTH1_COMMAND]

tpm_cmd_handler.c:3853: Debug: [TPM_ORD_ChangeAuthOwner]

tpm_authorization.c:112: Info: TPM_ChangeAuthOwner()

tpm_authorization.c:531: Info: tpm_verify_auth()

tpm_authorization.c:532: Debug: handle = 02000000

tpm_authorization.c:544: Debug: [TPM_ST_OSAP]

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpm_eviction.c:51: Info: TPM_FlushSpecific()

tpm_eviction.c:52: Debug: handle = 02000000, resourceType = 00000002

tpmd.c:358: Debug: sending 51 bytes

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 18 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3462: Debug: [TPM_TAG_RQU_COMMAND]

tpm_cmd_handler.c:3953: Debug: [TPM_ORD_FlushSpecific]

tpm_eviction.c:51: Info: TPM_FlushSpecific()

tpm_eviction.c:52: Debug: handle = 02000000, resourceType = 00000002

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpmd.c:358: Debug: sending 10 bytes

tpmd.c:331: Debug: waiting for commands...

tpmd.c:331: Debug: waiting for commands...

?

?

tddl enter

00 c1 00 00 00 24 00 00 00 0b 00 02 00 00 00 00

7e ef 1b 52 4b f1 7b 17 da cb a4 e6 b5 28 f3 26

c3 65 dd 9e tddl end

receive tddl enter

NO 13

receive tddl end

tddl enter

00 c2 00 00 00 4f 00 00 00 10 00 04 59 94 ce 12

98 f3 9f 38 91 52 50 40 09 b1 b1 d6 5a b0 39 40

00 02 02 00 00 00 ab 10 89 7a 08 3c 60 45 f8 14

98 ca f9 06 cd b2 07 d1 2b d7 00 c7 35 80 0b 9f

51 91 be 14 55 08 01 db 6f 19 5d c1 f1 20 1f tddl end

receive tddl enter

NO 14

receive tddl end

tddl enter

00 c1 00 00 00 12 00 00 00 ba 02 00 00 00 00 00

00 02 tddl end

receive tddl enter

NO 15

receive tddl end

?

?

?

set operator

?

?

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 30 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3462: Debug: [TPM_TAG_RQU_COMMAND]

tpm_cmd_handler.c:3540: Debug: [TPM_ORD_SetOperatorAuth]

tpm_owner.c:88: Info: TPM_SetOperatorAuth()

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpmd.c:358: Debug: sending 10 bytes

tpmd.c:331: Debug: waiting for commands...

?

?

tpmd.c:331: Debug: waiting for commands...

tpmd.c:352: Debug: received 30 bytes

tpm_cmd_handler.c:4155: Debug: tpm_handle_command()

tpm_cmd_handler.c:3462: Debug: [TPM_TAG_RQU_COMMAND]

tpm_cmd_handler.c:3540: Debug: [TPM_ORD_SetOperatorAuth]

tpm_owner.c:88: Info: TPM_SetOperatorAuth()

tpm_cmd_handler.c:4096: Info: TPM command succeeded

tpmd.c:358: Debug: sending 10 bytes

tpmd.c:331: Debug: waiting for commands...

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

调试理解过程

标签:

原文地址:http://www.cnblogs.com/amywu2015/p/5213425.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!