(signature, s, alg)
| 281 | |
| 282 | |
| 283 | def _verify_hash(signature, s, alg): |
| 284 | hash_value = create_half_hash(s, alg) |
| 285 | if hash_value is None: |
| 286 | return False |
| 287 | return hmac.compare_digest(hash_value, to_bytes(signature)) |
no test coverage detected
searching dependent graphs…