8294734: Redundant override in AES implementation

Reviewed-by: valeriep, wetmore
This commit is contained in:
Xue-Lei Andrew Fan 2022-10-05 17:25:58 +00:00
parent 536c9a512e
commit f2c57186a4

View File

@ -548,22 +548,4 @@ abstract class AESCipher extends CipherSpi {
return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
wrappedKeyType);
}
/**
* Finalize crypto operation with ByteBuffers
*
* @param input the input ByteBuffer
* @param output the output ByteBuffer
*
* @return output length
* @throws ShortBufferException
* @throws IllegalBlockSizeException
* @throws BadPaddingException
*/
@Override
protected int engineDoFinal(ByteBuffer input, ByteBuffer output)
throws ShortBufferException, IllegalBlockSizeException,
BadPaddingException {
return super.engineDoFinal(input, output);
}
}