Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dcifsencrypt.c43 if (server->secmech.sdescmd5 != NULL) in cifs_crypto_shash_md5_allocate()
56 server->secmech.sdescmd5 = kmalloc(size, GFP_KERNEL); in cifs_crypto_shash_md5_allocate()
57 if (!server->secmech.sdescmd5) { in cifs_crypto_shash_md5_allocate()
62 server->secmech.sdescmd5->shash.tfm = server->secmech.md5; in cifs_crypto_shash_md5_allocate()
63 server->secmech.sdescmd5->shash.flags = 0x0; in cifs_crypto_shash_md5_allocate()
86 if (!server->secmech.sdescmd5) { in cifs_calc_signature()
94 rc = crypto_shash_init(&server->secmech.sdescmd5->shash); in cifs_calc_signature()
100 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
120 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
124 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature()
[all …]
Dlink.c62 struct sdesc *sdescmd5; in symlink_hash() local
72 sdescmd5 = kmalloc(size, GFP_KERNEL); in symlink_hash()
73 if (!sdescmd5) { in symlink_hash()
77 sdescmd5->shash.tfm = md5; in symlink_hash()
78 sdescmd5->shash.flags = 0x0; in symlink_hash()
80 rc = crypto_shash_init(&sdescmd5->shash); in symlink_hash()
85 rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len); in symlink_hash()
90 rc = crypto_shash_final(&sdescmd5->shash, md5_hash); in symlink_hash()
96 kfree(sdescmd5); in symlink_hash()
Dcifsglob.h122 struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */ member