Searched refs:sdesc (Results 1 – 7 of 7) sorted by relevance
/fs/cifs/ |
D | smb2transport.c | 225 struct sdesc *sdesc = NULL; in smb2_calc_signature() local 238 rc = cifs_alloc_hash("hmac(sha256)", &hash, &sdesc); in smb2_calc_signature() 244 shash = &sdesc->shash; in smb2_calc_signature() 292 cifs_free_hash(&hash, &sdesc); in smb2_calc_signature() 542 struct sdesc *sdesc = NULL; in smb3_calc_signature() local 551 rc = cifs_alloc_hash("cmac(aes)", &hash, &sdesc); in smb3_calc_signature() 555 shash = &sdesc->shash; in smb3_calc_signature() 607 cifs_free_hash(&hash, &sdesc); in smb3_calc_signature()
|
D | misc.c | 931 struct crypto_shash **shash, struct sdesc **sdesc) in cifs_alloc_hash() argument 936 if (*sdesc != NULL) in cifs_alloc_hash() 944 *sdesc = NULL; in cifs_alloc_hash() 949 *sdesc = kmalloc(size, GFP_KERNEL); in cifs_alloc_hash() 950 if (*sdesc == NULL) { in cifs_alloc_hash() 957 (*sdesc)->shash.tfm = *shash; in cifs_alloc_hash() 967 cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc) in cifs_free_hash() argument 969 kfree(*sdesc); in cifs_free_hash() 970 *sdesc = NULL; in cifs_free_hash()
|
D | cifsproto.h | 602 struct sdesc **sdesc); 603 void cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc);
|
D | cifsglob.h | 138 struct sdesc { struct 150 struct sdesc *sdeschmacmd5; /* ctxt to generate ntlmv2 hash, CR1 */ argument 151 struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */ 152 struct sdesc *sdeschmacsha256; /* ctxt to generate smb2 signature */ 153 struct sdesc *sdesccmacaes; /* ctxt to generate smb3 signature */ 154 struct sdesc *sdescsha512; /* ctxt to generate smb3.11 signing key */
|
D | smbencrypt.c | 113 struct sdesc *sdescmd4 = NULL; in mdfour()
|
D | link.c | 54 struct sdesc *sdescmd5 = NULL; in symlink_hash()
|
D | smb2misc.c | 869 struct sdesc *d; in smb311_update_preauth_hash()
|