Searched refs:sdesc (Results 1 – 6 of 6) sorted by relevance
/fs/cifs/ |
D | smb2transport.c | 220 struct sdesc *sdesc = NULL; in smb2_calc_signature() local 233 rc = cifs_alloc_hash("hmac(sha256)", &hash, &sdesc); in smb2_calc_signature() 239 shash = &sdesc->shash; in smb2_calc_signature() 287 cifs_free_hash(&hash, &sdesc); in smb2_calc_signature() 539 struct sdesc *sdesc = NULL; in smb3_calc_signature() local 550 rc = cifs_alloc_hash("cmac(aes)", &hash, &sdesc); in smb3_calc_signature() 554 shash = &sdesc->shash; in smb3_calc_signature() 606 cifs_free_hash(&hash, &sdesc); in smb3_calc_signature()
|
D | misc.c | 1093 struct crypto_shash **shash, struct sdesc **sdesc) in cifs_alloc_hash() argument 1098 if (*sdesc != NULL) in cifs_alloc_hash() 1106 *sdesc = NULL; in cifs_alloc_hash() 1111 *sdesc = kmalloc(size, GFP_KERNEL); in cifs_alloc_hash() 1112 if (*sdesc == NULL) { in cifs_alloc_hash() 1119 (*sdesc)->shash.tfm = *shash; in cifs_alloc_hash() 1131 cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc) in cifs_free_hash() argument 1133 kfree(*sdesc); in cifs_free_hash() 1134 *sdesc = NULL; in cifs_free_hash()
|
D | cifsproto.h | 590 struct sdesc **sdesc); 591 void cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc);
|
D | cifsglob.h | 131 struct sdesc { struct 143 struct sdesc *sdeschmacmd5; /* ctxt to generate ntlmv2 hash, CR1 */ argument 144 struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */ 145 struct sdesc *sdeschmacsha256; /* ctxt to generate smb2 signature */ 146 struct sdesc *sdesccmacaes; /* ctxt to generate smb3 signature */ 147 struct sdesc *sdescsha512; /* ctxt to generate smb3.11 signing key */
|
D | link.c | 42 struct sdesc *sdescmd5 = NULL; in symlink_hash()
|
D | smb2misc.c | 852 struct sdesc *d; in smb311_update_preauth_hash()
|