mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8294734: Redundant override in AES implementation
Reviewed-by: valeriep, wetmore
This commit is contained in:
parent
536c9a512e
commit
f2c57186a4
1 changed files with 0 additions and 18 deletions
|
@ -548,22 +548,4 @@ abstract class AESCipher extends CipherSpi {
|
||||||
return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
|
return core.unwrap(wrappedKey, wrappedKeyAlgorithm,
|
||||||
wrappedKeyType);
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue