< prev index next >

src/java.base/share/classes/com/sun/crypto/provider/HmacCore.java

Print this page

        

*** 172,182 **** * * @param input the input buffer. * @param offset the offset in <code>input</code> where the input starts. * @param len the number of bytes to process. */ ! protected void engineUpdate(byte input[], int offset, int len) { if (first == true) { // compute digest for 1st pass; start with inner pad md.update(k_ipad); first = false; } --- 172,182 ---- * * @param input the input buffer. * @param offset the offset in <code>input</code> where the input starts. * @param len the number of bytes to process. */ ! protected void engineUpdate(byte[] input, int offset, int len) { if (first == true) { // compute digest for 1st pass; start with inner pad md.update(k_ipad); first = false; }
< prev index next >