Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07989805db412e8e21a5eb36a4a4ac7985bcfb46
https://github.com/WebKit/WebKit/commit/07989805db412e8e21a5eb36a4a4ac7985bcfb46
Author: Nitin Mahendru <[email protected]>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
A
LayoutTests/crypto/subtle/aes-gcm-generate-key-encrypt-decrypt-small-iv-expected.txt
A
LayoutTests/crypto/subtle/aes-gcm-generate-key-encrypt-decrypt-small-iv.html
M Source/WebCore/crypto/cocoa/CryptoAlgorithmAESGCMMac.cpp
Log Message:
-----------
REGRESSION (Safari 18.2): Allow < 12 byte IV for encrypt
rdar://146395205
https://bugs.webkit.org/show_bug.cgi?id=289171
Reviewed by Pascoe.
As part of CryptoKit adoption we did add a limit to the minimum
IV size for AES-GCM encrypt. This change removes that and falls back to the
CommonCrypto
Implementation if IV is < 12 bytes.
A Test has been added to verify the same.
*
LayoutTests/crypto/subtle/aes-gcm-generate-key-encrypt-decrypt-small-iv-expected.txt:
Added.
* LayoutTests/crypto/subtle/aes-gcm-generate-key-encrypt-decrypt-small-iv.html:
Added.
* Source/WebCore/crypto/cocoa/CryptoAlgorithmAESGCMMac.cpp:
(WebCore::encryptCryptoKitAESGCM):
(WebCore::CryptoAlgorithmAESGCM::platformEncrypt):
Canonical link: https://commits.webkit.org/291981@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