Describe the defect
schema/cryptography-defs.json currently has:
"pattern": "FFDH(E)[-{namedGroup}]"
Under the naming-pattern grammar (parentheses group; they are not optional), E is required, so constructed names can only be FFDHE / FFDHE-{namedGroup}. FFDH without E does not match.
ECDH already uses optional E: ECDH[E][-{ellipticCurve}]. FFDH should match that: E is ephemeral and optional
Expected
"pattern": "FFDH[E][-{namedGroup}]"
so FFDH, FFDHE, and FFDHE-ffdhe2048 are all valid.
Describe the defect
schema/cryptography-defs.jsoncurrently has:Under the naming-pattern grammar (parentheses group; they are not optional),
Eis required, so constructed names can only beFFDHE/FFDHE-{namedGroup}.FFDHwithout E does not match.ECDH already uses optional E:
ECDH[E][-{ellipticCurve}]. FFDH should match that: E is ephemeral and optionalExpected
so
FFDH,FFDHE, andFFDHE-ffdhe2048are all valid.