Lines Matching refs:ksmbd_crypto_ctx

100 static void ctx_free(struct ksmbd_crypto_ctx *ctx)  in ctx_free()
111 static struct ksmbd_crypto_ctx *ksmbd_find_crypto_ctx(void) in ksmbd_find_crypto_ctx()
113 struct ksmbd_crypto_ctx *ctx; in ksmbd_find_crypto_ctx()
119 struct ksmbd_crypto_ctx, in ksmbd_find_crypto_ctx()
136 ctx = kzalloc(sizeof(struct ksmbd_crypto_ctx), GFP_KERNEL); in ksmbd_find_crypto_ctx()
150 void ksmbd_release_crypto_ctx(struct ksmbd_crypto_ctx *ctx) in ksmbd_release_crypto_ctx()
168 static struct ksmbd_crypto_ctx *____crypto_shash_ctx_find(int id) in ____crypto_shash_ctx_find()
170 struct ksmbd_crypto_ctx *ctx; in ____crypto_shash_ctx_find()
186 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_hmacmd5(void) in ksmbd_crypto_ctx_find_hmacmd5()
191 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_hmacsha256(void) in ksmbd_crypto_ctx_find_hmacsha256()
196 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_cmacaes(void) in ksmbd_crypto_ctx_find_cmacaes()
201 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_sha256(void) in ksmbd_crypto_ctx_find_sha256()
206 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_sha512(void) in ksmbd_crypto_ctx_find_sha512()
211 static struct ksmbd_crypto_ctx *____crypto_aead_ctx_find(int id) in ____crypto_aead_ctx_find()
213 struct ksmbd_crypto_ctx *ctx; in ____crypto_aead_ctx_find()
229 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_gcm(void) in ksmbd_crypto_ctx_find_gcm()
234 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_ccm(void) in ksmbd_crypto_ctx_find_ccm()
241 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypto_destroy()
245 struct ksmbd_crypto_ctx, in ksmbd_crypto_destroy()
254 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypto_create()
261 ctx = kzalloc(sizeof(struct ksmbd_crypto_ctx), GFP_KERNEL); in ksmbd_crypto_create()