Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4960803
Votes 0
Synopsis RC5ParameterSpec: behavior of invalid argument is not defined
Category jce:doc
Reported Against tiger
Release Fixed 1.5(tiger-b36)
State 10-Fix Delivered, Verified, bug
Priority: 3-Medium
Related Bugs 4993536 , 4961054
Submit Date 27-NOV-2003
Description



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."
======================================================================
Work Around
N/A
Evaluation
  xxxxx@xxxxx   2003-12-08

A CCC has been filed for Tiger and is awaiting approval. 

  xxxxx@xxxxx   2004-01-05

CCC has been approved: http://ccc.sfbay/4960803
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang