Skip to content

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

Closed
@nazar-pc

Description

@nazar-pc

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.

Activity

aDotInTheVoid

aDotInTheVoid commented on May 29, 2025

@aDotInTheVoid
Member

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

CC #1714

@rustbot transfer stdarch

transferred this issue fromrust-lang/ruston May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @nazar-pc@aDotInTheVoid

      Issue actions

        VAES intrinsics are `unsafe`, but shouldn't be · Issue #1809 · rust-lang/stdarch