[PATCH 18/18] doc: recommend secure random for unpredictable values

Aaron Conole aconole at redhat.com
Tue Sep 22 14:32:57 CEST 2026


Stephen Hemminger <stephen at networkplumber.org> writes:

> The AI review checks say not to generate keys, IVs and nonces with
> rte_rand(), but do not say what to use instead. Name
> rte_random_bytes() as the replacement, and extend the rule to the
> other values which must not be predictable.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---

LGTM,

Acked-by: Aaron Conole <aconole at redhat.com>



More information about the dev mailing list