Skip to content

Commit

Permalink
Merge pull request #32 from private-attribution/remove-nx-extract
Browse files Browse the repository at this point in the history
Remove nx extract
  • Loading branch information
martinthomson authored Aug 8, 2024
2 parents bcba83c + aee3a98 commit dac5ad6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions draft-thomson-ppm-prss.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,9 @@ sequences of bytes:
4. The identifier for the chosen PRF from {{prf}}, encoded in two bytes in
network byte order.

5. A two byte encoding of the KEM parameter `Npk` in network byte order.
5. The value of `pk_bytes`, the public key from the receiver.

6. The value of `pk_bytes`, the public key from the receiver.

7. A two byte encoding of the KEM parameter `Nenc` in network byte order.

8. The value of `enc`, the key encapsulation from the sender.
6. The value of `enc`, the key encapsulation from the sender.

Note:

Expand All @@ -259,9 +255,7 @@ def extracted = LabeledExtract(kem, kdf, prf, ss, pk_bytes, enc):
I2OSP(kem.id, 2),
I2OSP(kdf.id, 2),
I2OSP(prf.id, 2),
I2OSP(kem.Npk, 2),
pk_bytes,
I2OSP(kem.Nenc, 2),
enc,
)
extracted = kdf.Extract(salt = ss, ikm = label)
Expand Down Expand Up @@ -705,4 +699,4 @@ others to zero.
# Acknowledgments
{:numbered="false"}

TODO acknowledge.
Tim Geoghegan provided constructive feedback.

0 comments on commit dac5ad6

Please sign in to comment.