Home
last modified time | relevance | path

Searched refs:bpf_crypto_ctx (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dcrypto_common.h10 struct bpf_crypto_ctx *bpf_crypto_ctx_create(const struct bpf_crypto_params *params,
12 struct bpf_crypto_ctx *bpf_crypto_ctx_acquire(struct bpf_crypto_ctx *ctx) __ksym;
13 void bpf_crypto_ctx_release(struct bpf_crypto_ctx *ctx) __ksym;
14 int bpf_crypto_encrypt(struct bpf_crypto_ctx *ctx, const struct bpf_dynptr *src,
16 int bpf_crypto_decrypt(struct bpf_crypto_ctx *ctx, const struct bpf_dynptr *src,
20 struct bpf_crypto_ctx __kptr * ctx;
37 static inline int crypto_ctx_insert(struct bpf_crypto_ctx *ctx) in crypto_ctx_insert()
40 struct bpf_crypto_ctx *old; in crypto_ctx_insert()
H A Dcrypto_bench.c24 struct bpf_crypto_ctx *cctx; in crypto_setup()
59 struct bpf_crypto_ctx *ctx; in crypto_encrypt()
88 struct bpf_crypto_ctx *ctx; in crypto_decrypt()
H A Dcrypto_sanity.c61 struct bpf_crypto_ctx *cctx; in skb_crypto_setup()
91 struct bpf_crypto_ctx *ctx; in decrypt_sanity()
127 struct bpf_crypto_ctx *ctx; in encrypt_sanity()
H A Dcrypto_basic.c21 struct bpf_crypto_ctx *cctx; in crypto_release()
47 struct bpf_crypto_ctx *cctx; in crypto_acquire()
/linux/kernel/bpf/
H A Dcrypto.c52 struct bpf_crypto_ctx { struct
145 __bpf_kfunc struct bpf_crypto_ctx *
150 struct bpf_crypto_ctx *ctx; in bpf_crypto_ctx_create()
225 struct bpf_crypto_ctx *ctx; in crypto_free_cb()
227 ctx = container_of(head, struct bpf_crypto_ctx, rcu); in crypto_free_cb()
242 __bpf_kfunc struct bpf_crypto_ctx *
243 bpf_crypto_ctx_acquire(struct bpf_crypto_ctx *ctx) in bpf_crypto_ctx_acquire()
258 __bpf_kfunc void bpf_crypto_ctx_release(struct bpf_crypto_ctx *ctx) in bpf_crypto_ctx_release()
264 static int bpf_crypto_crypt(const struct bpf_crypto_ctx *ctx, in bpf_crypto_crypt()
313 __bpf_kfunc int bpf_crypto_decrypt(struct bpf_crypto_ctx *ctx, in bpf_crypto_decrypt()
[all …]
H A Dverifier.c5699 BTF_ID(struct, bpf_crypto_ctx) in BTF_ID()