[webkit-changes] [WebKit/WebKit] c40282: Updating forward declarations to reflect newer ver...

Commit Queue noreply at github.com
Thu Jan 11 16:38:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c40282d7bbd5a49c66b9e67fb0eeed33bc0ed093
      https://github.com/WebKit/WebKit/commit/c40282d7bbd5a49c66b9e67fb0eeed33bc0ed093
  Author: Nitin Mahendru <nitinmahendru at apple.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M LayoutTests/platform/ios-16/TestExpectations
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac/TestExpectations
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/cocoa/CoreCryptoSPI.h
    M Source/WebCore/crypto/mac/CryptoAlgorithmEd25519Cocoa.cpp
    M Source/WebCore/crypto/mac/CryptoAlgorithmX25519Cocoa.cpp
    M Source/WebCore/crypto/mac/CryptoKeyOKPCocoa.cpp

  Log Message:
  -----------
  Updating forward declarations to reflect newer versions of the ed25519 APIs.
https://bugs.webkit.org/show_bug.cgi?id=262663
rdar://116490690

Reviewed by Alex Christensen.

The interfaces were changed for Sonoma so the forward declarations need to be updated
to reflect the changes. Still keeping old changes for pre Sonoma builds.
This PR adds on to https://github.com/WebKit/WebKit/pull/19899 from @pascoej

Also, the newer APIs from corecrypto now return errors so calls to the same
have been updated with checks on return values.

* LayoutTests/platform/ios-16/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cocoa/CoreCryptoSPI.h:
* Source/WebCore/crypto/mac/CryptoAlgorithmEd25519Cocoa.cpp:
(WebCore::signEd25519):
* Source/WebCore/crypto/mac/CryptoAlgorithmX25519Cocoa.cpp:
(WebCore::CryptoAlgorithmX25519::platformDeriveBits):
* Source/WebCore/crypto/mac/CryptoKeyOKPCocoa.cpp:
(WebCore::CryptoKeyOKP::platformGeneratePair):
(WebCore::CryptoKeyOKP::platformCheckPairedKeys):

Canonical link: https://commits.webkit.org/272946@main




More information about the webkit-changes mailing list