]> Kevux Git Server - fll/commit
Feature: add f_random_array_shuffle() function to f_random().
authorKevin Day <kevin@kevux.org>
Tue, 12 Mar 2024 00:20:12 +0000 (19:20 -0500)
committerKevin Day <kevin@kevux.org>
Tue, 12 Mar 2024 00:20:12 +0000 (19:20 -0500)
commit006c7a752b2d7df0bc4b479e516e5c29a9e4c93e
treea0bb3b29bd01dc8d7cc7d32a545cd51d00607f9a
parentcc451b8f8746208704ce6200e35a26a51c92d6e4
Feature: add f_random_array_shuffle() function to f_random().

Provide an array shuffle function using standard random function calls.

This is ideal for use in randomizing packet header order for increase network packet security.

Add appropriate unit tests.
15 files changed:
level_0/f_random/c/random.c
level_0/f_random/c/random.h
level_0/f_random/data/build/dependencies
level_0/f_random/data/build/settings
level_0/f_random/data/build/settings-tests
level_0/f_random/tests/unit/c/mock-random.c
level_0/f_random/tests/unit/c/mock-random.h
level_0/f_random/tests/unit/c/test-random-array_shuffle.c [new file with mode: 0644]
level_0/f_random/tests/unit/c/test-random-array_shuffle.h [new file with mode: 0644]
level_0/f_random/tests/unit/c/test-random-get.c
level_0/f_random/tests/unit/c/test-random-read.c
level_0/f_random/tests/unit/c/test-random-seed.c
level_0/f_random/tests/unit/c/test-random-seed_set.c
level_0/f_random/tests/unit/c/test-random.c
level_0/f_random/tests/unit/c/test-random.h