We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55bbcee commit ee08385Copy full SHA for ee08385
java/ql/lib/experimental/quantum/JCA.qll
@@ -221,13 +221,13 @@ module JCAModel {
221
bindingset[name]
222
predicate key_agreement_name_to_type_known(Crypto::TKeyAgreementType type, string name) {
223
type = Crypto::DH() and
224
- name.toUpperCase() in ["DH", "XDH"]
+ name.toUpperCase() in ["DH"]
225
or
226
type = Crypto::EDH() and
227
name.toUpperCase() = "EDH"
228
229
type = Crypto::ECDH() and
230
- name.toUpperCase() in ["ECDH", "X25519", "X448"]
+ name.toUpperCase() in ["ECDH", "X25519", "X448", "XDH"]
231
232
type = Crypto::OtherKeyAgreementType() and
233
name.toUpperCase().matches("ML-KEM%")
0 commit comments