-
Bug
-
Resolution: Delivered
-
P4
-
None
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289932 | 11.0.16-oracle | Raymond Gallardo | P4 | Closed | Delivered |
Please add a footnote to Table 4-16 in https://docs.oracle.com/en/java/javase/$release_version$/security/oracle-providers.html.
The footnote should say something to the effect of "Though the standard does not specify or require the padding bytes to be random, this ISO10126Padding implementation pads with random bytes (until the last byte, which provides the length of padding, as specified)."
Also suggest you update the Standard Names document to mention the source for this ISO10126 is the actual 10126 doc.
This block cipher padding is described in ISO 10126 (Section 6) and the Block Encryption Algorithms in the W3C "XML Encryption Syntax and Processing" document (Section 5.2).
See also:
- https://bugs.openjdk.org/browse/JDK-8170762
- https://github.com/openjdk/jdk/pull/9350
The footnote should say something to the effect of "Though the standard does not specify or require the padding bytes to be random, this ISO10126Padding implementation pads with random bytes (until the last byte, which provides the length of padding, as specified)."
Also suggest you update the Standard Names document to mention the source for this ISO10126 is the actual 10126 doc.
This block cipher padding is described in ISO 10126 (Section 6) and the Block Encryption Algorithms in the W3C "XML Encryption Syntax and Processing" document (Section 5.2).
See also:
- https://bugs.openjdk.org/browse/JDK-8170762
- https://github.com/openjdk/jdk/pull/9350
- backported by
-
JDK-8289932 Update public-facing documentation to describe the behavior of ISO10126Padding
-
- Closed
-
- relates to
-
JDK-8289848 Update Standard Algorithm Names document in accordance with JDK-8289602
-
- Resolved
-
-
JDK-8170762 Document that ISO10126Padding pads with random bytes
-
- Resolved
-