summaryrefslogtreecommitdiffstats
path: root/crypto/p224_spake.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/p224_spake.h')
-rw-r--r--crypto/p224_spake.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/p224_spake.h b/crypto/p224_spake.h
index 6905ef2..61451a3 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