Skip to content

hmac.Update() causes segfault when CRYPTOPP_DISABLE_ASM ON #130

Description

@jcgsville

I'm still relatively new to the c++ ecosystem, so apologies if this misses something obvious

I encountered a segfault when setting CRYPTOPP_DISABLE_ASM to ON in x86 linux environments.

I have created as minimal a repro I can manage here. The readme includes the instructions for setting it up. Basically just build & run

https://github.com/jcgsville/cryptocpp-segfault-repro

This is probably an upstream problem on cryptopp, but I thought I'd start here first since this is what I'm using directly.

This is not blocking me as I fixed it by setting CRYPTOPP_DISABLE_ASM to OFF and I don't need to disable the assembly optimizations, but I thought I'd raise it in case it's useful.

Thanks for your work creating this library 🙂

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions