Support cbcs scheme in gmp-clearkey
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: bryce, Assigned: burtonljas)
References
(Depends on 1 open bug, Blocks 4 open bugs)
Details
Attachments
(1 file, 2 obsolete files)
Reporter | ||
Comment 1•6 years ago
|
||
I spoke to :jcj about doing this with some of our existing crypto libs:
you’ll be working with the higher-level PK11_Encrypt / PK11_Decrypt functions (included via nss.h) . https://searchfox.org/mozilla-central/source/netwerk/srtp/src/crypto/cipher/aes_gcm_nss.c#284 might be a useful general reference about how to set things up and call — while it’s using GCM instead of CTR or CBC, at broad strokes it’s a decent enough pattern
It's not in stone we'd want to go this route, but it would be nice to leverage existing works for clearkey if we can. We may also wish to consider replacing some of the existing clearkey cenc machinery if possible.
Assignee | ||
Comment 2•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Add PK11_Finalize to nss exported symbols so that it can be used outside of the
nss lib. Without this, attempts to use PK11_Finalize will result in linker
errors.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D60053
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
Description
•