Lines Matching defs:and
43 # hashlib with and without OpenSSL backend for PBKDF2
115 """Import a module and return a reference to it or None on failure."""
119 if self._warn_on_extension_import and module_name in builtin_hashes:
134 if SKIP_SHA3 and algorithm.startswith('sha3_'):
138 # For each algorithm, test the direct constructor and the use
305 if HASH is not None and isinstance(h, HASH):
363 # 2 is for hashlib.name(...) and hashlib.new(name, ...)
380 if not shake and kwargs.get("key") is None:
381 # skip shake and blake2 extended parameter tests
478 if HASH is not None and isinstance(m, HASH):
761 # This checks that all the parameters work in general, and also that
804 # This checks that all the parameters work in general, and also that
963 # _sha3 and _blake types can be instantiated
1123 # password and salt must be bytes-like