Searched refs:secmech (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/fs/cifs/ |
D | cifsencrypt.c | 119 rc = cifs_alloc_hash("md5", &server->secmech.md5, in cifs_calc_signature() 120 &server->secmech.sdescmd5); in cifs_calc_signature() 124 rc = crypto_shash_init(&server->secmech.sdescmd5->shash); in cifs_calc_signature() 130 rc = crypto_shash_update(&server->secmech.sdescmd5->shash, in cifs_calc_signature() 138 &server->secmech.sdescmd5->shash); in cifs_calc_signature() 500 if (!ses->server->secmech.sdeschmacmd5) { in calc_ntlmv2_hash() 508 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, nt_hash, in calc_ntlmv2_hash() 515 rc = crypto_shash_init(&ses->server->secmech.sdeschmacmd5->shash); in calc_ntlmv2_hash() 536 rc = crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash() 556 crypto_shash_update(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash() [all …]
|
D | smb2transport.c | 47 &server->secmech.hmacsha256, in smb2_crypto_shash_allocate() 48 &server->secmech.sdeschmacsha256); in smb2_crypto_shash_allocate() 54 struct cifs_secmech *p = &server->secmech; in smb3_crypto_shash_allocate() 76 struct cifs_secmech *p = &server->secmech; in smb311_crypto_shash_allocate() 192 rc = crypto_shash_setkey(server->secmech.hmacsha256, in smb2_calc_signature() 199 shash = &server->secmech.sdeschmacsha256->shash; in smb2_calc_signature() 252 rc = crypto_shash_setkey(ses->server->secmech.hmacsha256, in generate_key() 259 rc = crypto_shash_init(&ses->server->secmech.sdeschmacsha256->shash); in generate_key() 265 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key() 272 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key() [all …]
|
D | smb2misc.c | 850 d = ses->server->secmech.sdescsha512; in smb311_update_preauth_hash()
|
D | cifsglob.h | 663 struct cifs_secmech secmech; /* crypto sec mech functs, descriptors */ member
|
D | smb2ops.c | 2755 tfm = enc ? server->secmech.ccmaesencrypt : in crypt_message() 2756 server->secmech.ccmaesdecrypt; in crypt_message()
|