e62bf02a13
This is an extremely important and practical use case. The comment that state->calls is bounded by the reseed interval isn't quite true. We only check on entry to the function, which means that it may exceed it by one call's worth. Switch it to a size_t (which doesn't actually increase memory because the struct was already padded). Change-Id: Ia7646fd5b4142789c1d613280223baa4cd1a4a9b Reviewed-on: https://boringssl-review.googlesource.com/c/32804 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
asm | ||
ctrdrbg_test.cc | ||
ctrdrbg_vectors.txt | ||
ctrdrbg.c | ||
internal.h | ||
rand.c | ||
urandom.c |