Skip to content

Commit 83d55ce

Browse files
committed
clarify about length and info's length
1 parent 9e12aad commit 83d55ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

draft-selander-lake-authz.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -424,13 +424,13 @@ The derivation of K_1 = EDHOC-Expand(PRK, info, length) uses the following input
424424

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

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

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

435435
### Voucher {#voucher}
436436

0 commit comments

Comments
 (0)