Vadim Fedorenko <vadfed@xxxxxxxx> wrote: > Add crypto API support to BPF to be able to decrypt or encrypt packets > in TC/XDP BPF programs. Only symmetric key ciphers are supported for > now. Special care should be taken for initialization part of crypto algo > because crypto_alloc_sync_skcipher() doesn't work with preemtion > disabled, it can be run only in sleepable BPF program. Also async crypto > is not supported because of the very same issue - TC/XDP BPF programs > are not sleepable. > > Signed-off-by: Vadim Fedorenko <vadfed@xxxxxxxx> Please use the newly introduced lskcipher interface instead of skcipher. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt