Closed Bug 1398679 Opened 7 years ago Closed 7 years ago

Split read and write cipher specs

Categories

(NSS :: Libraries, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: mt, Assigned: mt)

Details

Attachments

(2 files, 2 obsolete files)

There's a lot of duplication in these structs and that isn't suitable any longer.  TLS 1.3 maintains separate copies for reading and writing.

In TLS 1.2 and earlier, this will increase the overhead slightly - by a couple of pointers - but the code gets a fair bit simpler as a result.
Priority: -- → P2
Assignee: nobody → martin.thomson
Attachment #8906498 - Attachment is obsolete: true
Attachment #8906499 - Attachment is obsolete: true
Comment on attachment 8919545 [details]
Bug 1398679 - Move much of the cipher spec code into a dedicated file, r?ekr

Eric Rescorla (:ekr) has approved the revision.

https://phabricator.services.mozilla.com/D137#3604
Attachment #8919545 - Flags: review+
Comment on attachment 8919546 [details]
Bug 1398679 - Make cipher specs properly directional, r?ekr

Eric Rescorla (:ekr) has approved the revision.

https://phabricator.services.mozilla.com/D138#4260
Attachment #8919546 - Flags: review+
9d1576864bf1
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Future
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: