Skip to content

Commit

Permalink
digest algorithm clarifications
Browse files Browse the repository at this point in the history
Fix #60

Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>
  • Loading branch information
thomas-fossati committed Mar 1, 2023
1 parent 218a6b2 commit 593365c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion draft-ietf-rats-corim.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ normative:
seriesinfo:
ITU-T: Recommendation X.690
target: https://www.itu.int/rec/T-REC-X.690
IANA.named-information: named-info

informative:
RFC7942:
I-D.fdb-rats-psa-endorsements: psa-endorsements
I-D.tschofenig-rats-psa-token: psa-token

entity:
SELF: "RFCthis"
Expand Down Expand Up @@ -239,7 +241,14 @@ namespace under which the value must be understood.
### Digest {#sec-common-hash-entry}

A digest represents the value of a hashing operation together with the hash
algorithm used.
algorithm used. The type of the digest algorithm identifier can be either
`int` or `text`. When carried as an integer value, it is interpreted according
to the "Named Information Hash Algorithm Registry" {{-named-info}} registry.
When it is carried as `text`, there are no requirements with regards to its
format. In general, the `int` encoding is RECOMMENDED. The `text` encoding
should only to be used when the `digest` type conveys reference value
measurements that must be matched verbatim with evidence that uses the same
convention - e.g., {{Section 4.4.1.5 of -psa-token}}).

~~~ cddl
{::include cddl/digest.cddl}
Expand Down

0 comments on commit 593365c

Please sign in to comment.