Skip to content

Intel x64 ASM: Add new assembly for AES#10756

Open
SparkiDev wants to merge 1 commit into
wolfSSL:masterfrom
SparkiDev:aes_asm_ymm_zmm
Open

Intel x64 ASM: Add new assembly for AES#10756
SparkiDev wants to merge 1 commit into
wolfSSL:masterfrom
SparkiDev:aes_asm_ymm_zmm

Conversation

@SparkiDev

Copy link
Copy Markdown
Contributor

Description

Support AES-XTS AVX512/VAES
Support AES-GCM AVX512/VAES
Support AES-ECB/CBC/CTR AVX512/VAES/AVX1/AES-NI.
Remove code from aes_asm.S/aes_asm.asm
Add CPU defines for AVX512 and VAES
Updated ASM files with new defines for AVX512.
Added support for printing out the new CPU Id flags in benchmark. Added new files to Windows projects.
aes.c: Supports ECB/CBC/CTR in assembly. Supports calling AVX512/VAES assembly.

Testing

On an AMD64 that supports AVX512 and then turned off CPU ids to have other implementations run.

@SparkiDev SparkiDev self-assigned this Jun 23, 2026
@SparkiDev

Copy link
Copy Markdown
Contributor Author

Code generated with PR:
https://github.com/wolfSSL/scripts/pull/598

@SparkiDev SparkiDev force-pushed the aes_asm_ymm_zmm branch 3 times, most recently from 40df9df to 66feabd Compare June 23, 2026 01:49
Support AES-XTS AVX512/VAES
Support AES-GCM AVX512/VAES
Support AES-ECB/CBC/CTR AVX512/VAES/AVX1/AES-NI.
Remove code from aes_asm.S/aes_asm.asm
Add CPU defines for AVX512 and VAES
Updated ASM files with new defines for AVX512.
Added support for printing out the new CPU Id flags in benchmark.
Added new files to Windows projects.
aes.c: Supports ECB/CBC/CTR in assembly. Supports calling AVX512/VAES assembly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant