[webkit-changes] [WebKit/WebKit] 8cf3d3: [WebRTC][WPE][GTK] SFrame encryption support
Philippe Normand
noreply at github.com
Mon Aug 12 10:43:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8cf3d3cdb4d73ecfd90b0e44d60fec1053c2df48
https://github.com/WebKit/WebKit/commit/8cf3d3cdb4d73ecfd90b0e44d60fec1053c2df48
Author: Philippe Normand <philn at igalia.com>
Date: 2024-08-12 (Mon, 12 Aug 2024)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp
M Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformerCocoa.cpp
A Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformerOpenSSL.cpp
M Source/WebCore/Modules/mediastream/SFrameUtils.h
M Source/WebCore/SourcesGTK.txt
M Source/WebCore/SourcesWPE.txt
M Source/WebCore/platform/GStreamer.cmake
M Source/cmake/GStreamerChecks.cmake
Log Message:
-----------
[WebRTC][WPE][GTK] SFrame encryption support
https://bugs.webkit.org/show_bug.cgi?id=277602
Reviewed by Michael Catanzaro.
OpenSSL is now used for SFrame crypto handling in the GTK and WPE ports. GStreamer encoded
transforms handling will be submitted in a future PR.
* LayoutTests/platform/glib/TestExpectations:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp:
* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformerCocoa.cpp:
(WebCore::encodeBigEndian): Deleted.
* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformerOpenSSL.cpp: Added.
(WebCore::deriveHKDFBits):
(WebCore::RTCRtpSFrameTransformer::computeSaltKey):
(WebCore::createBaseSFrameKey):
(WebCore::RTCRtpSFrameTransformer::computeAuthenticationKey):
(WebCore::RTCRtpSFrameTransformer::computeEncryptionKey):
(WebCore::crypt):
(WebCore::RTCRtpSFrameTransformer::decryptData):
(WebCore::RTCRtpSFrameTransformer::encryptData):
(WebCore::RTCRtpSFrameTransformer::computeEncryptedDataSignature):
(WebCore::RTCRtpSFrameTransformer::updateAuthenticationSize):
* Source/WebCore/Modules/mediastream/SFrameUtils.h:
(WebCore::encodeBigEndian):
* Source/WebCore/SourcesGTK.txt:
* Source/WebCore/SourcesWPE.txt:
Canonical link: https://commits.webkit.org/282124@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list