Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
Dlink.c54 struct sdesc *sdescmd5 = NULL; in symlink_hash() local
56 rc = cifs_alloc_hash("md5", &md5, &sdescmd5); in symlink_hash()
60 rc = crypto_shash_init(&sdescmd5->shash); in symlink_hash()
65 rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len); in symlink_hash()
70 rc = crypto_shash_final(&sdescmd5->shash, md5_hash); in symlink_hash()
75 cifs_free_hash(&md5, &sdescmd5); in symlink_hash()
Dcifsencrypt.c121 &server->secmech.sdescmd5); in cifs_calc_signature()
125 rc = crypto_shash_init(&server->secmech.sdescmd5->shash); in cifs_calc_signature()
131 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
139 &server->secmech.sdescmd5->shash); in cifs_calc_signature()
848 kfree(server->secmech.sdescmd5); in cifs_crypto_secmech_release()
849 server->secmech.sdescmd5 = NULL; in cifs_crypto_secmech_release()
Dcifsglob.h148 struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */ member