Skip to content

C_SeedRandom and C_GenerateRandom - minor issues #459

@johughes99

Description

@johughes99

Just doing some boundary tests for C_SeedRandom and C_GenerateRandom. I noticed that if you provide a zero length for the seed in C_SeedRandom or zero length for the RNG in C_GenerateRandom you get back CKR_OK. I was expecting CKR_ARGUMENTS_BAD.

Softhsm does correctly check for null pointers though.

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