Skip to content

PSA: missing test coverage for BUFFER_TOO_SMALL #200

@gilles-peskine-arm

Description

@gilles-peskine-arm

Description

We mostly don't test what psa_xxx functions do if they write output to a buffer and that buffer is too small.

Example bug (wrong error code): #199

For all API functions that take an output buffer, there should be at least one test that expects PSA_ERROR_BUFFER_TOO_SMALL with parameters that are correct except for one output buffer which is too small.

Issue request type

[ ] Question
[x] Enhancement
[ ] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions