Example #1
0
 protected byte[] engineDoFinal() {
   return core.doFinal();
 }
Example #2
0
 protected void engineReset() {
   core.reset();
 }
Example #3
0
 protected void engineUpdate(ByteBuffer input) {
   core.update(input);
 }
Example #4
0
 protected void engineUpdate(byte input[], int offset, int len) {
   core.update(input, offset, len);
 }
Example #5
0
 protected void engineUpdate(byte input) {
   core.update(input);
 }
Example #6
0
 protected void engineInit(Key key, AlgorithmParameterSpec params)
     throws InvalidKeyException, InvalidAlgorithmParameterException {
   core.init(key, params);
 }
Example #7
0
 protected int engineGetMacLength() {
   return core.getDigestLength();
 }