Commit 91541ab1 authored by Vadim Fedorenko's avatar Vadim Fedorenko Committed by Martin KaFai Lau
Browse files

selftests: bpf: crypto skcipher algo selftests



Add simple tc hook selftests to show the way to work with new crypto
BPF API. Some tricky dynptr initialization is used to provide empty iv
dynptr. Simple AES-ECB algo is used to demonstrate encryption and
decryption of fixed size buffers.

Signed-off-by: default avatarVadim Fedorenko <vadfed@meta.com>
Link: https://lore.kernel.org/r/20240422225024.2847039-4-vadfed@meta.com


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent fda4f712
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment