Home
last modified time | relevance | path

Searched refs:cctx (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dcrypto_basic.c21 struct bpf_crypto_ctx *cctx; in crypto_release() local
26 cctx = bpf_crypto_ctx_create(&params, sizeof(params), &err); in crypto_release()
28 if (!cctx) { in crypto_release()
33 bpf_crypto_ctx_release(cctx); in crypto_release()
47 struct bpf_crypto_ctx *cctx; in crypto_acquire() local
52 cctx = bpf_crypto_ctx_create(&params, sizeof(params), &err); in crypto_acquire()
54 if (!cctx) { in crypto_acquire()
59 cctx = bpf_crypto_ctx_acquire(cctx); in crypto_acquire()
60 if (!cctx) in crypto_acquire()
63 bpf_crypto_ctx_release(cctx); in crypto_acquire()
A Dcrypto_bench.c24 struct bpf_crypto_ctx *cctx; in crypto_setup() local
41 cctx = bpf_crypto_ctx_create(&params, sizeof(params), &err); in crypto_setup()
43 if (!cctx) { in crypto_setup()
48 err = crypto_ctx_insert(cctx); in crypto_setup()
A Dcrypto_sanity.c61 struct bpf_crypto_ctx *cctx; in skb_crypto_setup() local
73 cctx = bpf_crypto_ctx_create(&params, sizeof(params), &err); in skb_crypto_setup()
75 if (!cctx) { in skb_crypto_setup()
80 err = crypto_ctx_insert(cctx); in skb_crypto_setup()

Completed in 5 milliseconds