Searched refs:ksmbd_crypto_ctx (Results 1 – 3 of 3) sorted by relevance
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()[all …]
32 struct ksmbd_crypto_ctx { struct55 void ksmbd_release_crypto_ctx(struct ksmbd_crypto_ctx *ctx); argument56 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_hmacmd5(void);57 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_hmacsha256(void);58 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_cmacaes(void);59 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_sha512(void);60 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_sha256(void);61 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_gcm(void);62 struct ksmbd_crypto_ctx *ksmbd_crypto_ctx_find_ccm(void);
82 struct ksmbd_crypto_ctx *ctx; in ksmbd_gen_sess_key()130 struct ksmbd_crypto_ctx *ctx; in calc_ntlmv2_hash()224 struct ksmbd_crypto_ctx *ctx; in ksmbd_auth_ntlmv2()572 struct ksmbd_crypto_ctx *ctx; in ksmbd_sign_smb2_pdu()623 struct ksmbd_crypto_ctx *ctx; in ksmbd_sign_smb3_pdu()679 struct ksmbd_crypto_ctx *ctx; in generate_key()917 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_gen_preauth_integrity_hash()961 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_gen_sd_hash()1103 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypt_message()