Skip to content

Commit

Permalink
Merge pull request #24 from robinbryce/robin/issue-20/uint-for-indice…
Browse files Browse the repository at this point in the history
…s-and-sizes

issue #20 uint vs int for tree indices and sizes
  • Loading branch information
OR13 authored Aug 6, 2024
2 parents f8c2d22 + ed8a178 commit c5cf68b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions draft-ietf-cose-merkle-tree-proofs.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ The CBOR representation of an inclusion proof for RFC9162_SHA256 is:
inclusion-proof = bstr .cbor [

; tree size at current merkle root
tree-size: int
tree-size: uint

; index of leaf in tree
leaf-index: int
leaf-index: uint

; path from leaf to current merkle root
inclusion-path: [ + bstr ]
Expand Down Expand Up @@ -402,10 +402,10 @@ The cbor representation of a consistency proof for RFC9162_SHA256 is:
consistency-proof = bstr .cbor [

; previous merkle root tree size
tree-size-1: int
tree-size-1: uint

; latest merkle root tree size
tree-size-2: int
tree-size-2: uint

; path from previous merkle root to latest merkle root.
consistency-path: [ + bstr ]
Expand Down

0 comments on commit c5cf68b

Please sign in to comment.