Searched refs:secmech (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/fs/smb/client/ |
D | cifsencrypt.c | 234 rc = cifs_alloc_hash("md5", &server->secmech.md5); in cifs_calc_signature() 238 rc = crypto_shash_init(server->secmech.md5); in cifs_calc_signature() 244 rc = crypto_shash_update(server->secmech.md5, in cifs_calc_signature() 251 return __cifs_calc_signature(rqst, server, signature, server->secmech.md5); in cifs_calc_signature() 542 if (!ses->server->secmech.hmacmd5) { in calc_ntlmv2_hash() 550 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5->tfm, nt_hash, in calc_ntlmv2_hash() 557 rc = crypto_shash_init(ses->server->secmech.hmacmd5); in calc_ntlmv2_hash() 578 rc = crypto_shash_update(ses->server->secmech.hmacmd5, in calc_ntlmv2_hash() 598 crypto_shash_update(ses->server->secmech.hmacmd5, in calc_ntlmv2_hash() 618 crypto_shash_update(ses->server->secmech.hmacmd5, in calc_ntlmv2_hash() [all …]
|
D | smb2transport.c | 32 struct cifs_secmech *p = &server->secmech; in smb3_crypto_shash_allocate() 52 struct cifs_secmech *p = &server->secmech; in smb311_crypto_shash_allocate() 258 shash = server->secmech.hmacsha256; in smb2_calc_signature() 330 rc = crypto_shash_setkey(server->secmech.hmacsha256->tfm, in generate_key() 337 rc = crypto_shash_init(server->secmech.hmacsha256); in generate_key() 343 rc = crypto_shash_update(server->secmech.hmacsha256, i, 4); in generate_key() 349 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len); in generate_key() 355 rc = crypto_shash_update(server->secmech.hmacsha256, &zero, 1); in generate_key() 361 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len); in generate_key() 369 rc = crypto_shash_update(server->secmech.hmacsha256, L256, 4); in generate_key() [all …]
|
D | smb2misc.c | 907 sha512 = server->secmech.sha512; in smb311_update_preauth_hash()
|
D | cifsglob.h | 716 struct cifs_secmech secmech; /* crypto sec mech functs, descriptors */ member
|
D | smb2ops.c | 4385 tfm = enc ? server->secmech.enc : server->secmech.dec; in crypt_message()
|