diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-06-21 08:35:03 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-06-21 08:35:03 +0400 |
commit | 0f8d170019d57997e69fd4c4b14c04126b870f01 (patch) | |
tree | 13dc98457a3cd3df3bc288e0b02530223f85c02c /core/src/main/java/org/bouncycastle/crypto | |
parent | 861abad2b0c99498b6170fe64fb1a731fa73cd8d (diff) |
Fix references to SRPUtilCustom
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Client.java | 6 | ||||
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Server.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Client.java b/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Client.java index a34baf35..153e5a83 100644 --- a/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Client.java +++ b/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Client.java @@ -108,7 +108,7 @@ public class SRP6Client "some data are missing from the previous operations (A,B,S)"); } // compute the client evidence message 'M1' - this.M1 = SRP6UtilCustom.calculateM1(digest, N, A, B, S); + this.M1 = SRP6Util.calculateM1(digest, N, A, B, S); return M1; } @@ -124,7 +124,7 @@ public class SRP6Client "some data are missing from the previous operations (A,M1,S)"); } // Compute the own server evidence message 'M2' - BigInteger computedM2 = SRP6UtilCustom.calculateM2(digest, N, A, M1, S); + BigInteger computedM2 = SRP6Util.calculateM2(digest, N, A, M1, S); if (computedM2.equals(serverM2)){ this.M2 = serverM2; return true; @@ -144,7 +144,7 @@ public class SRP6Client throw new CryptoException("Impossible to compute Key: " + "some data are missing from the previous operations (S,M1,M2)"); } - this.Key = SRP6UtilCustom.calculateKey(digest, N, S); + this.Key = SRP6Util.calculateKey(digest, N, S); return Key; } } diff --git a/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Server.java b/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Server.java index e8f1711f..5d703470 100644 --- a/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Server.java +++ b/core/src/main/java/org/bouncycastle/crypto/agreement/srp/SRP6Server.java @@ -105,7 +105,7 @@ public class SRP6Server "some data are missing from the previous operations (A,B,S)"); } // Compute the own client evidence message 'M1' - BigInteger computedM1 = SRP6UtilCustom.calculateM1(digest, N, A, B, S); + BigInteger computedM1 = SRP6Util.calculateM1(digest, N, A, B, S); if (computedM1.equals(clientM1)){ this.M1 = clientM1; return true; @@ -126,7 +126,7 @@ public class SRP6Server "some data are missing from the previous operations (A,M1,S)"); } // Compute the server evidence message 'M2' - this.M2 = SRP6UtilCustom.calculateM2(digest, N, A, M1, S); + this.M2 = SRP6Util.calculateM2(digest, N, A, M1, S); return M2; } @@ -142,7 +142,7 @@ public class SRP6Server throw new CryptoException("Impossible to compute Key: " + "some data are missing from the previous operations (S,M1,M2)"); } - this.Key = SRP6UtilCustom.calculateKey(digest, N, S); + this.Key = SRP6Util.calculateKey(digest, N, S); return Key; } } |