MCPcopy
hub / github.com/pyca/cryptography / has_flag

Method has_flag

tests/utils.py:982–983  ·  view source on GitHub ↗
(self, flag: str)

Source from the content-addressed store, hash-verified

980 return self.testcase["result"] == "invalid"
981
982 def has_flag(self, flag: str) -> bool:
983 return flag in self.testcase["flags"]
984
985 def cache_value_to_group(self, cache_key: str, func):
986 cache_val = self.testgroup.get(cache_key)

Callers 12

test_mldsa44_verifyFunction · 0.80
test_mldsa44_sign_seedFunction · 0.80
test_mldsa65_verifyFunction · 0.80
test_mldsa65_sign_seedFunction · 0.80
test_mldsa87_verifyFunction · 0.80
test_mldsa87_sign_seedFunction · 0.80
test_dsa_signatureFunction · 0.80
test_ecdsa_signatureFunction · 0.80
test_keywrapFunction · 0.80
should_verifyFunction · 0.80
test_rsa_oaep_encryptionFunction · 0.80
test_x448Function · 0.80

Calls

no outgoing calls

Tested by 12

test_mldsa44_verifyFunction · 0.64
test_mldsa44_sign_seedFunction · 0.64
test_mldsa65_verifyFunction · 0.64
test_mldsa65_sign_seedFunction · 0.64
test_mldsa87_verifyFunction · 0.64
test_mldsa87_sign_seedFunction · 0.64
test_dsa_signatureFunction · 0.64
test_ecdsa_signatureFunction · 0.64
test_keywrapFunction · 0.64
should_verifyFunction · 0.64
test_rsa_oaep_encryptionFunction · 0.64
test_x448Function · 0.64