tireddy2 / ikev2-pqc-auth

0 stars 0 forks source link

The text about prehashing is misleading #1

Open sfluhrer opened 6 months ago

sfluhrer commented 6 months ago

There's a couple of problems with the paragraph:

Whether we use prehashing or not would depend on practical issues - can the signer/verifier be expected to hold the entire message to be signed/verified in memory?

tireddy2 commented 6 months ago

Good points, I see that in https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.204.ipd.pdf the message (M) is hashed only once.

The signed octets for initiator and responder should not exceed few kilo bytes and would fit in the memory (see https://www.rfc-editor.org/rfc/rfc7296.html#section-2.15).