Skip to content

sodium_crypto_aead_aes256gcm_is_available: document the 8.4 aarch64 support - #5780

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/sodium-aes256gcm-aarch64-84
Open

sodium_crypto_aead_aes256gcm_is_available: document the 8.4 aarch64 support#5780
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/sodium-aes256gcm-aarch64-84

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Adds a changelog section to sodium_crypto_aead_aes256gcm_is_available() for the PHP 8.4 aarch64 support. Before 8.4 the HAVE_AESGCM guard in ext/sodium/libsodium.c covered x86 and x86-64 only, so the function always returned false on aarch64 and the other AES-256-GCM functions were not registered at all. PHP 8.4 extends the guard to __aarch64__ and _M_ARM64 (php-src #12867, UPGRADING for PHP 8.4, "sodium_crypto_aead_aes256gcm_*() functions are now enabled on aarch64 CPUs with the ARM cryptographic extensions").

The change was only covered by the migration guide so far; this page had no changelog section.

Tracker: PHP 8.4 Documentation Tracker.

@lacatoire lacatoire added the 8.4 label Aug 20, 2026
@lacatoire lacatoire added this to the PHP 8.4 milestone Aug 20, 2026
@lacatoire
lacatoire force-pushed the sync-src/sodium-aes256gcm-aarch64-84 branch from 77677e1 to dfa13bc Compare August 21, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant