Skip to content

Commit

Permalink
Clarify that header comes from sframe_ciphertext
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-wood authored Nov 16, 2023
1 parent 105a2d6 commit 392a5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-sframe-enc.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ the encrypted frame, and the CTR field is used to construct the nonce.

~~~~~
def decrypt(metadata, sframe_ciphertext):
KID, CTR, ciphertext = parse_ciphertext(sframe_ciphertext)
KID, CTR, header, ciphertext = parse_ciphertext(sframe_ciphertext)

sframe_key, sframe_salt = key_store[KID]

Expand Down

0 comments on commit 392a5e3

Please sign in to comment.