Home
last modified time | relevance | path

Searched refs:sdesc (Results 1 – 7 of 7) sorted by relevance

/fs/cifs/
Dsmb2transport.c225 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()
Dmisc.c931 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()
Dcifsproto.h602 struct sdesc **sdesc);
603 void cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc);
Dcifsglob.h138 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 */
Dsmbencrypt.c113 struct sdesc *sdescmd4 = NULL; in mdfour()
Dlink.c54 struct sdesc *sdescmd5 = NULL; in symlink_hash()
Dsmb2misc.c869 struct sdesc *d; in smb311_update_preauth_hash()