United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4960803 : RC5ParameterSpec: behavior of invalid argument is not defined

Details
Type:
Bug
Submit Date:
2003-11-27
Status:
Closed
Updated Date:
2004-03-22
Project Name:
JDK
Resolved Date:
2004-01-22
Component:
security-libs
OS:
solaris_7
Sub-Component:
javax.crypto
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (b36)

Related Reports
Duplicate:

Sub Tasks

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
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
                                     
2003-12-08
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


                                     
2004-09-01



Hardware and Software, Engineered to Work Together