Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better [v3]

2025-07-21 Thread duke
On Thu, 26 Jun 2025 03:42:14 GMT, Koushik Muthukrishnan Thirupattur wrote: >> The class documentation in javax.crypto.Cipher could better describe AEAD >> and reuse. The current class description example is outdated as GCM >> encryption does not allow resets. The doc should state that reset()

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better [v3]

2025-07-21 Thread Anthony Scarpino
On Thu, 26 Jun 2025 03:42:14 GMT, Koushik Muthukrishnan Thirupattur wrote: >> The class documentation in javax.crypto.Cipher could better describe AEAD >> and reuse. The current class description example is outdated as GCM >> encryption does not allow resets. The doc should state that reset()

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better [v3]

2025-06-25 Thread Koushik Muthukrishnan Thirupattur
> The class documentation in javax.crypto.Cipher could better describe AEAD and > reuse. The current class description example is outdated as GCM encryption > does not allow resets. The doc should state that reset() may not be possible > with some algorithms or providers and that an > InvalidAl

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better [v2]

2025-06-24 Thread Anthony Scarpino
On Thu, 12 Jun 2025 17:04:22 GMT, Koushik Muthukrishnan Thirupattur wrote: >> The class documentation in javax.crypto.Cipher could better describe AEAD >> and reuse. The current class description example is outdated as GCM >> encryption does not allow resets. The doc should state that reset()

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better [v2]

2025-06-12 Thread Koushik Muthukrishnan Thirupattur
> The class documentation in javax.crypto.Cipher could better describe AEAD and > reuse. The current class description example is outdated as GCM encryption > does not allow resets. The doc should state that reset() may not be possible > with some algorithms or providers and that an > InvalidAl

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better

2025-06-09 Thread Anthony Scarpino
On Thu, 22 May 2025 19:30:44 GMT, Koushik Muthukrishnan Thirupattur wrote: > The class documentation in javax.crypto.Cipher could better describe AEAD and > reuse. The current class description example is outdated as GCM encryption > does not allow resets. The doc should state that reset() may

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better

2025-06-09 Thread Anthony Scarpino
On Sat, 7 Jun 2025 05:24:40 GMT, Sebastian Stenzel wrote: >> The class documentation in javax.crypto.Cipher could better describe AEAD >> and reuse. The current class description example is outdated as GCM >> encryption does not allow resets. The doc should state that reset() may not >> be pos

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better

2025-06-06 Thread Sebastian Stenzel
On Thu, 22 May 2025 19:30:44 GMT, Koushik Muthukrishnan Thirupattur wrote: > The class documentation in javax.crypto.Cipher could better describe AEAD and > reuse. The current class description example is outdated as GCM encryption > does not allow resets. The doc should state that reset() may

Re: RFR: 8349946: Cipher javadoc could describe AEAD reuse better

2025-06-06 Thread Anthony Scarpino
On Thu, 22 May 2025 19:30:44 GMT, Koushik Muthukrishnan Thirupattur wrote: > The class documentation in javax.crypto.Cipher could better describe AEAD and > reuse. The current class description example is outdated as GCM encryption > does not allow resets. The doc should state that reset() may