Skip to content

sha512 HardFault #3608

@hugolgst

Description

@hugolgst

Hello,

I am building on ATSAMD21E18A and for some reason when I use sha512.New in pbkdf2.Key, my program crashes and prints a single "f" in the logs.
I tried using sha256 and it works perfectly.

I identified that the problem happens when pbkdf2.Key is calling the Sum function, here:
https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.7.0:pbkdf2/pbkdf2.go;l=61
https://cs.opensource.google/go/go/+/refs/tags/go1.20.2:src/crypto/sha512/sha512.go;l=282

I cannot seem to get more information on this issue, anyone got an idea?
Thank you in advance

–hugo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions