Skip to content

Commit

Permalink
clarify about length and info's length
Browse files Browse the repository at this point in the history
  • Loading branch information
geonnave committed Nov 30, 2023
1 parent 9e12aad commit 83d55ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions draft-selander-lake-authz.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,13 +424,13 @@ The derivation of K_1 = EDHOC-Expand(PRK, info, length) uses the following input

* info_label = 0
* context = h'' (the empty CBOR string)
* length is length of key of the EDHOC AEAD algorithm in bytes
* length is length of key of the EDHOC AEAD algorithm in bytes (which is the length of K_1)

The derivation of IV_1 = EDHOC-Expand(PRK, info, length) uses the following input to the info struct (see {{reuse}}):

* info_label = 1
* context = h'' (the empty CBOR string)
* length is length of nonce of the EDHOC AEAD algorithm in bytes
* length is length of nonce of the EDHOC AEAD algorithm in bytes (which is the length of IV_1)

### Voucher {#voucher}

Expand Down

0 comments on commit 83d55ce

Please sign in to comment.