aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorSabrina Dubroca <[email protected]>2022-11-02 22:33:16 +0100
committerDavid S. Miller <[email protected]>2022-11-04 10:43:56 +0000
commitaaab73f8fba4fd38f4d2617440d541a1c334e819 (patch)
tree1056d292135103ec50d2fb60c614e4c4a2d450fa /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent80df4706357a5a06bbbc70273bf2611df1ceee04 (diff)
macsec: clear encryption keys from the stack after setting up offload
macsec_add_rxsa and macsec_add_txsa copy the key to an on-stack offloading context to pass it to the drivers, but leaves it there when it's done. Clear it with memzero_explicit as soon as it's not needed anymore. Fixes: 3cf3227a21d1 ("net: macsec: hardware offloading infrastructure") Signed-off-by: Sabrina Dubroca <[email protected]> Reviewed-by: Antoine Tenart <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions