Skip to content

Commit

Permalink
fix the compile warnings of too long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
William-PanWei authored Jul 5, 2024
1 parent 0f4e45e commit 50df1ef
Showing 1 changed file with 31 additions and 23 deletions.
54 changes: 31 additions & 23 deletions [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ module ietf-tpm-remote-attestation-stream {
<mailto:[email protected]>";

description
"This module contains YANG specification for subscribing
to attestation streams which contain events that
have been generated by TPM chips.
"This module contains YANG specification for subscribing
to attestation streams which contain events that have
been generated by TPM chips or equivalent hardware
implementations that include the protected capabilities
as provided by TPMs.
Copyright (c) 2024 IETF Trust and the persons identified
as authors of the code. All rights reserved.
Expand Down Expand Up @@ -75,10 +77,10 @@ module ietf-tpm-remote-attestation-stream {
type uint16;
units "seconds";
description
"Number of seconds before the Attestation stream should send a
new notification with a fresh quote. This allows confirmation
that the PCR values haven't changed since the last
tpm20-attestation.";
"Number of seconds before the Attestation stream should send
a new notification with a fresh quote. This allows
confirmation that the PCR values haven't changed since the
last tpm20-attestation.";
}
}

Expand All @@ -97,9 +99,10 @@ module ietf-tpm-remote-attestation-stream {
type tpm:pcr;
min-elements 1;
description
"The numbers/indexes of the PCRs. This will act as a filter for
the subscription so that 'tpm-extend' notifications related to
non-requested PCRs will not be sent to a subscriber.";
"The numbers/indexes of the PCRs. This will act as a filter
for the subscription so that 'tpm-extend' notifications
related to non-requested PCRs will not be sent to a
subscriber.";
}
}

Expand All @@ -112,8 +115,8 @@ module ietf-tpm-remote-attestation-stream {
"This notification indicates that one or more PCRs have been
extended within a TPM based cryptoprocessor. In less than the
'marshalling-period', it MUST be followed with either a
corresponding tpm12-attestation or tpm20-attestation notification
which exposes the result of the PCRs updated.";
corresponding tpm12-attestation or tpm20-attestation
notification which exposes the result of the PCRs updated.";
uses tpm:certificate-name-ref;
leaf-list pcr-index-changed {
type tpm:pcr;
Expand All @@ -127,9 +130,9 @@ module ietf-tpm-remote-attestation-stream {
}
list attested-event {
description
"A set of events which extended an Attester PCR. The sequence
of elements represented in list must match the sequence of
events placed into the TPM's PCR.";
"A set of events which extended an Attester PCR. The
sequence of elements represented in list must match the
sequence of events placed into the TPM's PCR.";
container attested-event {
description
"An instance of an event which extended an Attester PCR";
Expand Down Expand Up @@ -198,7 +201,8 @@ module ietf-tpm-remote-attestation-stream {
leaf-list pcr-value {
type binary;
description
"PCR value in a sequence which matches to the 'pcr-index'.";
"PCR value in a sequence which matches to the
'pcr-index'.";
}
}
}
Expand All @@ -217,8 +221,9 @@ module ietf-tpm-remote-attestation-stream {
}
uses tpm:tpm20-attestation {
description
"Provides the attestation info. Also ensures PCRs can be XPATH
filtered by refining the unsigned data so that it appears.";
"Provides the attestation info. Also ensures PCRs can be
XPATH filtered by refining the unsigned data so that it
appears.";
refine unsigned-pcr-values {
min-elements 1;
}
Expand All @@ -242,9 +247,10 @@ module ietf-tpm-remote-attestation-stream {
default 5;
description
"The maximum number of seconds between the time an event
extends a PCR, and the 'tpm-extend' notification which reports
it to a subscribed Verifier. This period allows multiple
extend operations bundled together and handled as a group.";
extends a PCR, and the 'tpm-extend' notification which
reports it to a subscribed Verifier. This period allows
multiple extend operations bundled together and handled as a
group.";
}
leaf tpm12-subscribed-signature-scheme {
if-feature "taa:tpm12";
Expand Down Expand Up @@ -297,7 +303,8 @@ module ietf-tpm-remote-attestation-stream {
leaf-list tpm12-pcr-index {
type tpm:pcr;
description
"The numbers/indexes of the PCRs which can be subscribed.";
"The numbers/indexes of the PCRs which can be
subscribed.";
}
}
case tpm20-stream {
Expand All @@ -308,7 +315,8 @@ module ietf-tpm-remote-attestation-stream {
leaf-list tpm20-pcr-index {
type tpm:pcr;
description
"The numbers/indexes of the PCRs which can be subscribed.";
"The numbers/indexes of the PCRs which can be
subscribed.";
}
}
}
Expand Down

0 comments on commit 50df1ef

Please sign in to comment.