Home
last modified time | relevance | path

Searched refs:cifs_alloc_hash (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A Dsmb2transport.c49 rc = cifs_alloc_hash("hmac(sha256)", in smb3_crypto_shash_allocate()
55 rc = cifs_alloc_hash("cmac(aes)", &p->cmacaes, &p->sdesccmacaes); in smb3_crypto_shash_allocate()
71 rc = cifs_alloc_hash("hmac(sha256)", in smb311_crypto_shash_allocate()
77 rc = cifs_alloc_hash("cmac(aes)", &p->cmacaes, &p->sdesccmacaes); in smb311_crypto_shash_allocate()
81 rc = cifs_alloc_hash("sha512", &p->sha512, &p->sdescsha512); in smb311_crypto_shash_allocate()
238 rc = cifs_alloc_hash("hmac(sha256)", &hash, &sdesc); in smb2_calc_signature()
551 rc = cifs_alloc_hash("cmac(aes)", &hash, &sdesc); in smb3_calc_signature()
H A Dsmbencrypt.c115 rc = cifs_alloc_hash("md4", &md4, &sdescmd4); in mdfour()
H A Dcifsencrypt.c120 rc = cifs_alloc_hash("md5", &server->secmech.md5, in cifs_calc_signature()
716 rc = cifs_alloc_hash("hmac(md5)", in setup_ntlmv2_rsp()
H A Dlink.c56 rc = cifs_alloc_hash("md5", &md5, &sdescmd5); in symlink_hash()
H A Dcifsproto.h601 int cifs_alloc_hash(const char *name, struct crypto_shash **shash,
H A Dmisc.c924 * cifs_alloc_hash - allocate hash and hash context together
930 cifs_alloc_hash(const char *name, in cifs_alloc_hash() function
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmb2transport.c35 rc = cifs_alloc_hash("hmac(sha256)", &p->hmacsha256); in smb3_crypto_shash_allocate()
39 rc = cifs_alloc_hash("cmac(aes)", &p->aes_cmac); in smb3_crypto_shash_allocate()
55 rc = cifs_alloc_hash("hmac(sha256)", &p->hmacsha256); in smb311_crypto_shash_allocate()
59 rc = cifs_alloc_hash("cmac(aes)", &p->aes_cmac); in smb311_crypto_shash_allocate()
63 rc = cifs_alloc_hash("sha512", &p->sha512); in smb311_crypto_shash_allocate()
251 rc = cifs_alloc_hash("hmac(sha256)", &shash); in smb2_calc_signature()
578 rc = cifs_alloc_hash("cmac(aes)", &shash); in smb3_calc_signature()
H A Dcifsencrypt.c234 rc = cifs_alloc_hash("md5", &server->secmech.md5); in cifs_calc_signature()
757 rc = cifs_alloc_hash("hmac(md5)", &ses->server->secmech.hmacmd5); in setup_ntlmv2_rsp()
H A Dlink.c43 rc = cifs_alloc_hash("md5", &md5); in symlink_hash()
H A Dcifsproto.h620 int cifs_alloc_hash(const char *name, struct shash_desc **sdesc);
H A Dmisc.c1017 * cifs_alloc_hash - allocate hash and hash context together
1025 cifs_alloc_hash(const char *name, struct shash_desc **sdesc) in cifs_alloc_hash() function

Completed in 11 milliseconds