Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 775df91afc0a2cd9844d4a543e73aa8123188274
https://github.com/WebKit/WebKit/commit/775df91afc0a2cd9844d4a543e73aa8123188274
Author: Claudio Saavedra <[email protected]>
Date: 2024-11-29 (Fri, 29 Nov 2024)
Changed paths:
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmAESCBCGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmAESCTRGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmAESGCMGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmECDSAGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmEd25519GCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSASSA_PKCS1_v1_5GCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSA_OAEPGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSA_PSSGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoKeyRSAGCrypt.cpp
M Source/WebCore/crypto/gcrypt/GCryptUtilities.cpp
M Source/WebCore/crypto/gcrypt/GCryptUtilities.h
Log Message:
-----------
[GTK][WPE] Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE from gcrypt classes
https://bugs.webkit.org/show_bug.cgi?id=283800
Reviewed by Adrian Perez de Castro.
Leverage Vector::subspan() and others to avoid doing pointer arithmetic,
and as a drive-by adopt ASCIILiteral for the hash algorithm names.
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmAESCBCGCrypt.cpp:
(WebCore::gcryptEncrypt):
(WebCore::gcryptDecrypt):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmAESCTRGCrypt.cpp:
(WebCore::gcryptAESCTR):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmAESGCMGCrypt.cpp:
(WebCore::gcryptDecrypt):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmECDSAGCrypt.cpp:
(WebCore::gcryptSign):
(WebCore::gcryptVerify):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmEd25519GCrypt.cpp:
(WebCore::verifyEd25519):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSASSA_PKCS1_v1_5GCrypt.cpp:
(WebCore::gcryptSign):
(WebCore::gcryptVerify):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSA_OAEPGCrypt.cpp:
(WebCore::gcryptEncrypt):
(WebCore::gcryptDecrypt):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmRSA_PSSGCrypt.cpp:
(WebCore::gcryptSign):
(WebCore::gcryptVerify):
* Source/WebCore/crypto/gcrypt/CryptoKeyRSAGCrypt.cpp:
(WebCore::exponentVectorToUInt32):
* Source/WebCore/crypto/gcrypt/GCryptUtilities.cpp:
(WebCore::hashAlgorithmName):
(WebCore::mpiZeroPrefixedData):
(): Deleted.
* Source/WebCore/crypto/gcrypt/GCryptUtilities.h:
Canonical link: https://commits.webkit.org/287164@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes