diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-07 13:18:01 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-07 13:18:01 +0400 |
commit | af343d1ae8d119fbf7710cb819cb3798c1ed583a (patch) | |
tree | 5b360598f3c7352c4c81574cbe9f6f3227a8a4d6 /core/src/main/java/org/bouncycastle/crypto/tls/DTLSReliableHandshake.java | |
parent | 71de9789c2d1172c33eb2ee8e362b95c0914d85a (diff) |
Support tracking of extra hash algorithms in DeferredHash
Simple logic to choose b/w buffering vs multi-hash-update strategies
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/DTLSReliableHandshake.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/DTLSReliableHandshake.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/DTLSReliableHandshake.java b/core/src/main/java/org/bouncycastle/crypto/tls/DTLSReliableHandshake.java index bc693594..05f7ceff 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/DTLSReliableHandshake.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/DTLSReliableHandshake.java @@ -32,7 +32,8 @@ class DTLSReliableHandshake void notifyHelloComplete() { - this.hash = this.hash.commit(); + this.hash = this.hash.notifyPRFDetermined(); + this.hash.sealHashAlgorithms(); } byte[] getCurrentHash() |