Index: crypto/p224_spake.h |
diff --git a/crypto/p224_spake.h b/crypto/p224_spake.h |
index 6905ef2c220f0134d9a55d2ab05a142586782709..61451a3a20cecfe54743226171ab2646029848ac 100644 |
--- a/crypto/p224_spake.h |
+++ b/crypto/p224_spake.h |
@@ -68,7 +68,11 @@ class CRYPTO_EXPORT P224EncryptedKeyExchange { |
// The key established as result of the key exchange. Must be called |
// at then end after ProcessMessage() returns kResultSuccess. |
- const std::string& GetKey(); |
+ const std::string& GetKey() const; |
+ |
+ // The key established as result of the key exchange. Can be called after |
+ // the first ProcessMessage() |
+ const std::string& GetUnverifiedKey() const; |
private: |
// The authentication state machine is very simple and each party proceeds |