X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fbouncycastle%2Fcrypto%2Fdigests%2FSHA1Digest.java;fp=src%2Forg%2Fbouncycastle%2Fcrypto%2Fdigests%2FSHA1Digest.java;h=70fa7416ef7eeb4d06731b91558b5c22f8084a10;hb=b32cea3f3e272ab00899d134d75a8bd7bcf6c8c0;hp=7a7d176140d888ce0255baa67690199311f1503e;hpb=6d2f9fba912164ddc3024078aab83258a9d9e522;p=org.ibex.core.git diff --git a/src/org/bouncycastle/crypto/digests/SHA1Digest.java b/src/org/bouncycastle/crypto/digests/SHA1Digest.java index 7a7d176..70fa741 100644 --- a/src/org/bouncycastle/crypto/digests/SHA1Digest.java +++ b/src/org/bouncycastle/crypto/digests/SHA1Digest.java @@ -18,31 +18,31 @@ public class SHA1Digest private int[] X = new int[80]; private int xOff; - /** - * Standard constructor - */ + /** + * Standard constructor + */ public SHA1Digest() { reset(); } - /** - * Copy constructor. This will copy the state of the provided - * message digest. - */ - public SHA1Digest(SHA1Digest t) - { - super(t); - - H1 = t.H1; - H2 = t.H2; - H3 = t.H3; - H4 = t.H4; - H5 = t.H5; - - System.arraycopy(t.X, 0, X, 0, t.X.length); - xOff = t.xOff; - } + /** + * Copy constructor. This will copy the state of the provided + * message digest. + */ + public SHA1Digest(SHA1Digest t) + { + super(t); + + H1 = t.H1; + H2 = t.H2; + H3 = t.H3; + H4 = t.H4; + H5 = t.H5; + + System.arraycopy(t.X, 0, X, 0, t.X.length); + xOff = t.xOff; + } public String getAlgorithmName() {