Skip to content

Commit e0ba069

Browse files
committed
Fix Fenrir F-1229: EC_Ephemeral parameter marshaling
1 parent 98327ea commit e0ba069

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tpm2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3111,7 +3111,7 @@ TPM_RC TPM2_EC_Ephemeral(EC_Ephemeral_In* in, EC_Ephemeral_Out* out)
31113111

31123112
TPM2_Packet_Init(ctx, &packet);
31133113
st = TPM2_Packet_AppendAuth(&packet, ctx, &info);
3114-
TPM2_Packet_AppendU32(&packet, in->curveID);
3114+
TPM2_Packet_AppendU16(&packet, in->curveID);
31153115
TPM2_Packet_Finalize(&packet, st, TPM_CC_EC_Ephemeral);
31163116

31173117
/* send command */

0 commit comments

Comments
 (0)