Skip to content

CET breaks 32bit x86 without SSE2, affects VIA Nehemiah (openssl 3.0) #18334

@sebastianas

Description

@sebastianas

This has been submit as Debian bug report by Wolfgang Walter.

The VIA Nehemiah is a 32bit x86 without SSE2. The CET related "endbranch" statement in crypto/perlasm/x86asm.pl leads to an invalid opcode. The ENDBR32 instruction is enabled by gcc if multi byte ops are supported based on the SSE2 feature flag, see gcc's cet.m4.

Could we please add an option to that perl script so that it can be set from the Configurations template if the CET opcode should be emitted? I could probably submit a patch if someone outlines the idea ;)

Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    branch: 3.0Applies to openssl-3.0 branchbranch: masterApplies to master branchtriaged: bugThe issue/pr is/fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions