File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3549,13 +3549,13 @@ TPM_RC TPM2_Encapsulate(Encapsulate_In* in, Encapsulate_Out* out)
35493549 TPM2_Packet_ParseU32 (& packet , & paramSz );
35503550 }
35513551
3552- TPM2_Packet_ParseU16 (& packet , & out -> ciphertext .size );
3553- TPM2_Packet_ParseBytes (& packet , out -> ciphertext .buffer ,
3554- out -> ciphertext .size );
3555-
35563552 TPM2_Packet_ParseU16 (& packet , & out -> sharedSecret .size );
35573553 TPM2_Packet_ParseBytes (& packet , out -> sharedSecret .buffer ,
35583554 out -> sharedSecret .size );
3555+
3556+ TPM2_Packet_ParseU16 (& packet , & out -> ciphertext .size );
3557+ TPM2_Packet_ParseBytes (& packet , out -> ciphertext .buffer ,
3558+ out -> ciphertext .size );
35593559 }
35603560
35613561 TPM2_ReleaseLock (ctx );
Original file line number Diff line number Diff line change @@ -2665,8 +2665,8 @@ typedef struct {
26652665 TPMI_DH_OBJECT keyHandle ;
26662666} Encapsulate_In ;
26672667typedef struct {
2668- TPM2B_KEM_CIPHERTEXT ciphertext ;
26692668 TPM2B_SHARED_SECRET sharedSecret ;
2669+ TPM2B_KEM_CIPHERTEXT ciphertext ;
26702670} Encapsulate_Out ;
26712671WOLFTPM_API TPM_RC TPM2_Encapsulate (Encapsulate_In * in , Encapsulate_Out * out );
26722672
You can’t perform that action at this time.
0 commit comments