Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2transport.c48 if (server->secmech.sdeschmacsha256 != NULL) in smb2_crypto_shash_allocate()
61 server->secmech.sdeschmacsha256 = kmalloc(size, GFP_KERNEL); in smb2_crypto_shash_allocate()
62 if (!server->secmech.sdeschmacsha256) { in smb2_crypto_shash_allocate()
67 server->secmech.sdeschmacsha256->shash.tfm = server->secmech.hmacsha256; in smb2_crypto_shash_allocate()
68 server->secmech.sdeschmacsha256->shash.flags = 0x0; in smb2_crypto_shash_allocate()
89 kfree(server->secmech.sdeschmacsha256); in smb3_crypto_shash_allocate()
90 server->secmech.sdeschmacsha256 = NULL; in smb3_crypto_shash_allocate()
103 kfree(server->secmech.sdeschmacsha256); in smb3_crypto_shash_allocate()
104 server->secmech.sdeschmacsha256 = NULL; in smb3_crypto_shash_allocate()
213 rc = crypto_shash_init(&server->secmech.sdeschmacsha256->shash); in smb2_calc_signature()
[all …]
Dcifsencrypt.c890 kfree(server->secmech.sdeschmacsha256); in cifs_crypto_shash_release()
891 server->secmech.sdeschmacsha256 = NULL; in cifs_crypto_shash_release()
Dcifsglob.h137 struct sdesc *sdeschmacsha256; /* ctxt to generate smb2 signature */ member