Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

libhydrogen on Sonata only works in 32 bit mode #16

@PhilDay-CT

Description

@PhilDay-CT

Something in the 64-bit compile on Sonata means that it doesn't generate a valid signature, and always validates even invalid signatures.

Work around is to force it to compile in 32 bit mode, but based on a commend from David Chisnell it seems that 64-bit maths is exoecte to work on Sonata.

Maybe th emulti3() method we had to add to cheriot-rtos is wrong, and should have been implemented for int128_t (long long) rather than int64_t

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions