Skip to content

Shared DRBG used without a lock: duplicate keys and nonce reuse under threads #89

Closed

Description

@MarkAtwood

On wolfSSL < 5.9.4 / FIPS < v7, the wrapper's shared priv_rng is used from multiple threads without a lock. Concurrent key generation produces duplicate keys and nonce reuse; we have also seen a permanent hang in threaded first-use RSA keygen.

Fix and reproducer: #86 (closed in favour of this issue). The fix ships in our FIPS-eval channel packages.

Activity

  1. self-assigned this
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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