Skip to content

VAES intrinsics are unsafe, but shouldn't be #1809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nazar-pc opened this issue May 29, 2025 · 1 comment · Fixed by #1810
Closed

VAES intrinsics are unsafe, but shouldn't be #1809

nazar-pc opened this issue May 29, 2025 · 1 comment · Fixed by #1810

Comments

@nazar-pc
Copy link

Currently VAES intrinsics like _mm512_aesenc_epi128 are unsafe, while regular AES-NI intrinsics like _mm_aesenc_si128 are safe.

I have not found an explanation for this, so I assume they shouldn't be unsafe.

rust-lang/rust#111137 doesn't seem to contain any details about what stabilization of them would look like, but hopefully they'll be stabilized in a safe form.

@aDotInTheVoid
Copy link
Member

Transferring to stdarch, as that's where the intrinsic are defined.

CC #1714

@rustbot transfer stdarch

@rustbot rustbot transferred this issue from rust-lang/rust May 29, 2025
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 a pull request may close this issue.

2 participants