Skip to content

[RP2040] Built in mbedtls does not have ctr_drbg and entropy enabled #437

Closed
@dogtopus

Description

@dogtopus

I'm trying to use the built-in mbedtls (on RP2040) to do RSA PSS signing, which requires an RNG function. Unfortunately I found that when I try to use ctr_drbg and entropy API the linker gives me the "undefined reference" error.

It also seems hard to workaround this issue by using external mbedtls due to symbol conflicts. I'd also avoid switching to another crypto library at this point due to the fact that I already wrote a bunch of mbedtls specific code.

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