Lines Matching refs:sdescmd5
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()
768 server->secmech.sdescmd5->shash.tfm = server->secmech.md5; in cifs_crypto_shash_allocate()
769 server->secmech.sdescmd5->shash.flags = 0x0; in cifs_crypto_shash_allocate()
784 kfree(server->secmech.sdescmd5); in cifs_crypto_shash_allocate()