Skip to content

Commit

Permalink
relax requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
wangweij committed Apr 19, 2024
1 parent dc59556 commit cb27fd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/javax/crypto/Cipher.java
Original file line number Diff line number Diff line change
Expand Up @@ -2609,7 +2609,7 @@ public final byte[] wrap(Key key)
*
* @param context a byte array representing additional data or context
* information that influences the key derivation process.
* The exported key material must be unique to the given context.
* The exported key material should be unique to the given context.
* @param algorithm the algorithm of the derived key
* @param length the desired length of the derived key in bytes
*
Expand Down
2 changes: 1 addition & 1 deletion src/java.base/share/classes/javax/crypto/CipherSpi.java
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ protected void engineUpdateAAD(byte[] src, int offset, int len) {
*
* @param context a byte array representing additional data or context
* information that influences the key derivation process.
* The exported key material must be unique to the given context.
* The exported key material should be unique to the given context.
* @param algorithm the algorithm of the derived key
* @param length the desired length of the derived key in bytes
*
Expand Down

0 comments on commit cb27fd3

Please sign in to comment.