jdk/src/java.base/share/classes/sun/security/provider/SHA.java
changeset 32649 2ee9017c7597
parent 31671 362e0c0acece
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   102 
   102 
   103         i2bBig(state, 0, out, ofs, 20);
   103         i2bBig(state, 0, out, ofs, 20);
   104     }
   104     }
   105 
   105 
   106     // Constants for each round
   106     // Constants for each round
   107     private final static int round1_kt = 0x5a827999;
   107     private static final int round1_kt = 0x5a827999;
   108     private final static int round2_kt = 0x6ed9eba1;
   108     private static final int round2_kt = 0x6ed9eba1;
   109     private final static int round3_kt = 0x8f1bbcdc;
   109     private static final int round3_kt = 0x8f1bbcdc;
   110     private final static int round4_kt = 0xca62c1d6;
   110     private static final int round4_kt = 0xca62c1d6;
   111 
   111 
   112     /**
   112     /**
   113      * Compute a the hash for the current block.
   113      * Compute a the hash for the current block.
   114      *
   114      *
   115      * This is in the same vein as Peter Gutmann's algorithm listed in
   115      * This is in the same vein as Peter Gutmann's algorithm listed in