Example #1
0
 /**
  * Processes the first <code>len</code> bytes in <code>input</code>, starting at <code>offset
  * </code>.
  *
  * @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) {
   hmac.update(input, offset, len);
 }
Example #2
0
 protected void engineUpdate(ByteBuffer input) {
   hmac.update(input);
 }
Example #3
0
 /**
  * Processes the given byte.
  *
  * @param input the input byte to be processed.
  */
 protected void engineUpdate(byte input) {
   hmac.update(input);
 }