(self, client_proof)
| 26 | self.key = None |
| 27 | |
| 28 | def calculate_server_proof(self, client_proof): |
| 29 | h = self.hash_class() |
| 30 | h.update(long_to_bytes(self.A, SRP_LEN_BYTES)) |
| 31 | h.update(client_proof) |
| 32 | h.update(long_to_bytes(self.secret, SRP_LEN_BYTES)) |
| 33 | return h.digest() |
| 34 | |
| 35 | def calculate_client_proof(self): |
| 36 | h = self.hash_class() |
no test coverage detected