United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4898484 Cipher should optimize cases where only one buffer is a DirectBuffer
JDK-4898484 : Cipher should optimize cases where only one buffer is a DirectBuffer

Details
Type:
Enhancement
Submit Date:
2003-07-30
Status:
Resolved
Updated Date:
2007-09-15
Project Name:
JDK
Resolved Date:
2007-09-15
Component:
security-libs
OS:
generic,solaris_10
Sub-Component:
javax.crypto:pkcs11
CPU:
x86,sparc,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0,6
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Relates:
Relates:

Sub Tasks

Description
The SunPKCS11 symmetric cipher implementation contain an optimized code path for the engineUpdate(ByteBuffer, ByteBuffer) and engineDoFinal() methods if both the input and the output ByteBuffer are direct buffers. We should consider doing a partial optimization if only one of the two buffers is a direct buffer.

                                    

Comments
EVALUATION

Will investigate post-Tiger.

###@###.### 2003-07-30
                                     
2003-07-30
EVALUATION

Updated the code so that SunPKCS11 provider can handle ByteBuffer input/output for both direct and non-direct type of byte buffers.
                                     
2007-08-31



Hardware and Software, Engineered to Work Together