CFRG - Crypto Forum Research Group
IETF 120 in Vancouver
Thursday July 25, 2024, 13:00-14:30 (UTC - 7)
https://meetings.conf.meetecho.com/ietf120/?session=33025
Notes: https://notes.ietf.org/notes-ietf-120-cfrg
Chairs: Stanislav Smyshlyaev (SS), Nick Sullivan (NS), and Alexey
Melnikov (AM)
Note-taker: Ben Greenman
13:00 - Chairs' update (5 mins).
no agenda bashes
13:05 - Ghous Amjad, "Partially Blind RSA Signatures" (10+5 mins)
- rfc 9474 for Blind RSA Signatures, natural starting point for
partially-blind
-
Q [Scott] Did I understand correctly about two messages can be
distinguished ...
- A. If your messages have different public metadata, server
already distinguishes them.
-
Q [Sophie] any lattice-based schemes to use instead of RSA?
- A. Haven't explored that.
-
Q [Watson]. Is the security model +1 signature for each metadata,
or do we also want to say it cannot extract sig from different
metadata if you ... H1 H2, should it be hard to get a signature for
H3?
- A. Security definition should cover that case, you cannot forge
a signature for any public metadata. The scheme may
probabilistically fill that definition.
- A. If you know your public metadata in advance can satinize
-
Q [Chris] What's the plan for this document? Went through adoption
call last time, not much support, it wasn't really required because
no IETF protocol used it but that has changed. Surely we don't want
IRTF work to block IETF work.
- A. Chairs will expedite doc/discussion to prevent IRTF blockers.
Discuss process on list.
saag Thursday for extra discussion:
- Security Area Open Meeting Thursday 3pm vancouver, Regency C/D
13:20 - Burt Kaliski, "Merkle Tree Ladder (MTL) Mode Signatures" (10+5 mins)
MTL mode, use underlying signature scheme to validate multiple, ladder
scheme
since IETF 117:
- updated MTL Mode Draft, Version 03 published, aligns with NIST pure
hashing and pre hashing modes
- open source https://github.com/verisign/MTL
- I-D on using MTL Model with DNSSEC published for discussion at
DNSOOP
Request CFRG take MTL Mode as part of researching "model of operation"
in general
- for digital signatures
-
guidance to apps on domain separation b/w pure sighning, pre-hash
signing, other ways of processing message inputs
-
Q [??]. Prefix bytes 80, 81, you also need a domain separator,
would that be allowed and fit in NIST API?
- A. Those prefix bytes are part of the domain separator.
-
Q. [Quinn from NIST] I thought we could pick a context when we
sign. Can't we reuse an existing
- A. Good question for the list. If
-
Q [Russ]. New list yesterday on quantum, this technique is
interesting for that context, this group should pick it up.
13:35 - Ruediger Geib, "Crypto in IP Capacity Measurement Protocol" (5+10 mins)
crypto in IP capacity measurement profile
special: auth + encryption uses second half of HMAC-SHA256 auth digest
as inivialization vector for 128bit AEC CBC encryption
conjecture: result of the HMAC meets the unpredictability requirement.
Key to HMAC is unknown to attacker. Output is uniform-random.
-
Q [Watson]. Sounds like you take HMAC of message and use it as IV,
then cvc encrypt message. This is not ... security properties you
ask are not just "can the attacker decrypt". Because CVC adds
padding, there are padding vulnerabilities unless the message is
authenticated.
- A. Need to see this written.
-
Q [Jonathan]. If you send the same message twice, it's not
unpredictable.
- A. How big is the probability of the same HMACE twice if the
content doesn't change?
- [XX] Deterministic encryption is not an issue. Vulnerabilities
come down to different messages, encrypting the same message
twice is fine.
- [J] question on slide is, "is this unpredictable?", answer is
no, it is not unpredictable
- [??} AES-SRV??? does what you want, uses CMAP not HMAC.
RFC-5297. It's a good mode, has an RFC, will solve your problem.
[Chair] thanks for bringing this forward. Mailing list is also a good
place to collect early-stage ideas.
RFC 5297 check it out!
13:50 - Shay Gueron, "Double Nonce Derive Key AES-GCM" (10+5 mins)
want to encrypt at least 2^64 bytes with random nonces, umbrella under
NIST compliance as way to use GCM, etc. nonce length >= 160 bits.
challenge: this is longer than the underlying block size of AES.
idea: split a long nonce in half, apply twice PRFF XOR 2 PRF outputs
3-byte configuration (do we want 10 and 11?):
- 00 standard AEAD interface (6 AES calls for derivation)
- 01 with key commitment (10 AES calls for derivation)
- 10 AEAD interface with "half" counter
- 11 with key commitment and "half" counter
evaluation: some overhead for <16KB messages, evens out afterward.
code: https://github.com/facebookincubator/haberdashery
talk at Real World Crypto 2024
RFC draft
-
Q [Daniel] use-case sounds same as tweakable block ciphers, but
your method requires recomputation. Why not go for NIST approved?
- A. Want to run classic standardized AES-GCM under the hood.
Every time you encrypt, use one key, each key used once.
-
Q [Martin] Like the 1-key idea. I share Daniel's concern, would
like to avoid the per-message overhead ... We have people who want
to use TLS over a long period of time, want to avoid re-keying.
- A. I cannot change concept on the fly. Overhead on 10 AES is 175
cycles. Not a lot.
- [Martin] Question about counter-nonce, yes people would want
that. Want to do same thing TLS does with counter-nonce and XOR.
- A. Forgot to mention, if you freeze half the nonce you can
(save).
14:05 - Deirdre Connolly, Stephen Farrell, "KEM Combiners" (5+10 mins)
Need volunteers.
14:20 - Deirdre Connolly, "HPKE v2" (5+5 mins)
ideas toward HPKE v2
problems in v1
- lack of binding in any KEM that's not HD-KEM
- doesn't define a signature-based AuthKEM
- doesn't provide way to mix multiple Encap/AuthEncap's or PSKs
fixes:
- fix binding, backwards-compatible
- generic signature based AuthKEM mode
- generalize key schedule to allow multi-Encap and AuthEncap
- should we put all fixeus in a single RFC?
- [Chris P] supportive of cutting a draft with fix 1, I don't think
we should do AuthCam
- [Rohan] I like fix 1 and a bunch of errata, in a fix, we've got a
ton of errata in v1, it's a nice bundle of work, can do others
later.
- [Chris W] Not sure fix 1 fixes a problem. Proofs for KEM
- [Dierdre] We have guarantees of properties we didn't know we
relied on, if you swap out
- [Chris W] He did that, swapped out,
- [Dierdre] We inadvertantly relied on _ properties, more than CC2
security: MLS TreeKEM
- [Chris W] Analysis for ECH only depends on ????
- [Dierdre] If they swapped out
there is errata for HPCA
- [Watson] If you have an application using AuthKEM, it may not know
it needs two separate keys. I don't think fixing to use signatures
will be helpful. Errata useful. Other stuff as extensions, evaluate
based on experience whether it turns out valuable.
- [Stephen] Lots of modes, we should analyze what's getting used.
- [Richard] Agreed these look like extensions, not fixes. Good
argument for the extensions. Fits well. Maybe this bundle makes
sense as recommendations. Doesn't feel like a fix or v2 to me.
- [Martin] I want less, like Stephen, too many bells and whistles
already. Adding more is bad.