#
03c3b87e |
| 05-Feb-2024 |
Aaron LI <aly@aaronly.me> |
wg: Refactor cookie functions to make cookie_{checker,maker} opaque
- Rename cookie_{checker,maker}_init() to cookie_{checker,maker}_alloc(), in symmetry with cookie_{checker,maker}_free(). - Make
wg: Refactor cookie functions to make cookie_{checker,maker} opaque
- Rename cookie_{checker,maker}_init() to cookie_{checker,maker}_alloc(), in symmetry with cookie_{checker,maker}_free(). - Make cookie_{checker,maker} structs opaque, and move them from wg_cookie.h to wg_cookie.c. - Update if_wg.c and selftest code accordingly.
show more ...
|
#
af6d6403 |
| 25-Jan-2024 |
Aaron LI <aly@aaronly.me> |
wg: Style cleanups and minor updates to selftest cookie.c and counter.c
- Style cleanups to make them consistent. - Add '#undef' to cleanup defines. - Add MIT license contents to file headers. - Twe
wg: Style cleanups and minor updates to selftest cookie.c and counter.c
- Style cleanups to make them consistent. - Add '#undef' to cleanup defines. - Add MIT license contents to file headers. - Tweak 'for' loops in noise_counter_selftest() to make them more clear. - Rename 'rl' to be 'rl_test'; rename 'MESSAGE_LEN' to be 'T_MESSAGE_LEN'. - Remove unnecessary '[0 ... INITIATIONS_BURSTABLE - 1]' initialization designator, and thus save one GNU extension.
show more ...
|