JDK-4960803 : RC5ParameterSpec: behavior of invalid argument is not defined
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2003-11-27
  • Updated: 2017-05-16
  • Resolved: 2004-01-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b36Fixed
Related Reports
Duplicate :  
Description

Name: mtR10145			Date: 11/27/2003

The specs of
RC5ParameterSpec.RC5ParameterSpec(int, int, int, byte[]) and RC5ParameterSpec.RC5ParameterSpec(int, int, int, byte[], int)
constructors contain the following sentence: "Note that the size of the IV (block
size) must be twice the word size. The bytes that constitute the IV are those between iv[0] and iv[2*(wordSize/8)-1] inclusive."
However dispite of obligatory "MUST" is used it's unclear what happens
when this rule is broken. The only case mentioned when constructors throw IAE is
"if iv is null."
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b36 tiger-beta2 VERIFIED IN: tiger-beta2
01-09-2004

EVALUATION ###@###.### 2003-12-08 A CCC has been filed for Tiger and is awaiting approval. ###@###.### 2004-01-05 CCC has been approved: http://ccc.sfbay/4960803
08-12-2003