Searched refs:sdescmd5 (Results 1 – 3 of 3) sorted by relevance
/fs/cifs/ |
D | cifsencrypt.c | 52 if (!server->secmech.sdescmd5) { in cifs_calc_signature() 57 rc = crypto_shash_init(&server->secmech.sdescmd5->shash); in cifs_calc_signature() 63 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature() 83 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature() 87 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature() 102 crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature() 107 rc = crypto_shash_final(&server->secmech.sdescmd5->shash, signature); in cifs_calc_signature() 722 kfree(server->secmech.sdescmd5); in cifs_crypto_shash_release() 763 server->secmech.sdescmd5 = kmalloc(size, GFP_KERNEL); in cifs_crypto_shash_allocate() 764 if (!server->secmech.sdescmd5) { in cifs_crypto_shash_allocate() [all …]
|
D | link.c | 54 struct sdesc *sdescmd5; in symlink_hash() local 64 sdescmd5 = kmalloc(size, GFP_KERNEL); in symlink_hash() 65 if (!sdescmd5) { in symlink_hash() 69 sdescmd5->shash.tfm = md5; in symlink_hash() 70 sdescmd5->shash.flags = 0x0; in symlink_hash() 72 rc = crypto_shash_init(&sdescmd5->shash); in symlink_hash() 77 rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len); in symlink_hash() 82 rc = crypto_shash_final(&sdescmd5->shash, md5_hash); in symlink_hash() 88 kfree(sdescmd5); in symlink_hash()
|
D | cifsglob.h | 135 struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */ member
|