Closed Bug 95323 Opened 23 years ago Closed 17 years ago

ckfw should support cipher operations.

Categories

(NSS :: Libraries, defect, P3)

3.3.1
x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zhou.bin, Assigned: rrelyea)

Details

Attachments

(2 files, 1 obsolete file)

I'm write pkcs11 module using nss's ckfw.But ckfw does not support cipher operations,such as digest,sign.(the wrapped function's implementation is empty).
Assigned the bug to Bob.
Assignee: wtc → relyea
Yup, that's on the list.;). bob
Status: UNCONFIRMED → NEW
Ever confirmed: true
Bob, I assume you plan to address this issue in NSS 3.4?
Priority: -- → P1
Target Milestone: --- → 3.4
Version: unspecified → 3.3.1
It would be nice, but I really think it's a 4.0 feature. I'm using the softoken in 3.4 bob
Priority: P1 → P3
Target Milestone: 3.4 → 4.0
Changed the QA contact to Bishakha.
QA Contact: sonja.mirtitsch → bishakhabanerjee
QA Contact: bishakhabanerjee → jason.m.reid
Status: NEW → ASSIGNED
This patch implments all the XXXXX_Init XXXXX_Update XXXXXX_Final and XXXXX (update and final) as well as the combo operations. It does not implement the basic key operations: wrap, unwrap, keygen, etc. The basic flow is the token returns mechanism structures for each mechanism it implements. These structures supply the XXXX_Init operations, which return a CryptoOperation structure. The latter is stored in PKCS #11 by class (as the PKCS #11 spec specifies), and are used to fulfill the subsequent update, updateDigest final, etc operations. bob
Attachment #201870 - Flags: review?
The patch is long, but very repetitive.
set target milestone.
Target Milestone: 4.0 → 3.11
Attachment #201870 - Flags: review? → review?(julien.pierre.bugs)
Here is the 'final' patch. I'm sure we will need to make updates as this code gets more use, but this should provide a good base usage for implementing tokens which do crypto. this patch is needed for the capi pkcs #11 module to build.
Attachment #201870 - Attachment is obsolete: true
Attachment #201870 - Flags: review?(julien.pierre.bugs)
Attachment #203033 - Flags: review?
Attachment #203033 - Flags: superreview?(kengert)
Attachment #203033 - Flags: review?(julien.pierre.bugs)
Attachment #203033 - Flags: review?
Comment on attachment 203033 [details] [diff] [review] Complete the needed framework functions. You are often derefencing pointers without having checked for null. Please decide yourself whether you want to add some checks.
Attachment #203033 - Flags: superreview?(kengert) → superreview+
Attachment #203033 - Flags: review?(julien.pierre.bugs)
Patch to allow older window developement environments to continue to build NSS.
Attachment #208039 - Flags: review?
Comment on attachment 208039 [details] [diff] [review] Turn off capi builds unless an NSS_BUILD_CAPI is set, or MOZILLA_CLIENT is set Oops, I guess I forgot to put Julien on the review. bob
Attachment #208039 - Flags: review? → review?(julien.pierre.bugs)
Attachment #208039 - Flags: review?(julien.pierre.bugs) → review+
QA Contact: jason.m.reid → libraries
Comment on attachment 203033 [details] [diff] [review] Complete the needed framework functions. This bug just needs a second review. The patch has been in NSS 3.12 for ages. Alexi, feel free to punt the review to someone else if you are loaded. bob
Attachment #203033 - Flags: review?(alexei.volkov.bugs)
Target Milestone: 3.11 → 3.11.7
Bob, out of curiosity, what/who needs this before 3.12?
rob can use it. I wouldn't say it is critical. Mostly, I misunderstood target email, and thought it was the list of things that were targetted for 3.11.7. After I realized the truth, I also realized that this would be a nice have. It's not a high priority item. bob
Comment on attachment 203033 [details] [diff] [review] Complete the needed framework functions. we don't really need this in 3.11.x. dropping review request.
Attachment #203033 - Flags: review?(alexei.volkov.bugs)
Agreed.
Target Milestone: 3.11.7 → 3.12
So, should this bug be resolved fixed then ?
yes.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: