Lines Matching refs:ksmbd_crypto_ctx
97 static void ctx_free(struct ksmbd_crypto_ctx *ctx) in ctx_free()
108 static struct ksmbd_crypto_ctx *ksmbd_find_crypto_ctx(void) in ksmbd_find_crypto_ctx()
110 struct ksmbd_crypto_ctx *ctx; in ksmbd_find_crypto_ctx()
116 struct ksmbd_crypto_ctx, in ksmbd_find_crypto_ctx()
133 ctx = kzalloc(sizeof(struct ksmbd_crypto_ctx), KSMBD_DEFAULT_GFP); in ksmbd_find_crypto_ctx()
147 void ksmbd_release_crypto_ctx(struct ksmbd_crypto_ctx *ctx) in ksmbd_release_crypto_ctx()
165 static struct ksmbd_crypto_ctx *____crypto_shash_ctx_find(int id) in ____crypto_shash_ctx_find()
167 struct ksmbd_crypto_ctx *ctx; in ____crypto_shash_ctx_find()
183 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_hmacmd5(void) in ksmbd_crypto_ctx_find_hmacmd5()
188 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_hmacsha256(void) in ksmbd_crypto_ctx_find_hmacsha256()
193 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_cmacaes(void) in ksmbd_crypto_ctx_find_cmacaes()
198 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_sha512(void) in ksmbd_crypto_ctx_find_sha512()
203 static struct ksmbd_crypto_ctx *____crypto_aead_ctx_find(int id) in ____crypto_aead_ctx_find()
205 struct ksmbd_crypto_ctx *ctx; in ____crypto_aead_ctx_find()
221 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_gcm(void) in ksmbd_crypto_ctx_find_gcm()
226 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_ccm(void) in ksmbd_crypto_ctx_find_ccm()
233 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypto_destroy()
237 struct ksmbd_crypto_ctx, in ksmbd_crypto_destroy()
246 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypto_create()
253 ctx = kzalloc(sizeof(struct ksmbd_crypto_ctx), KSMBD_DEFAULT_GFP); in ksmbd_crypto_create()