Home
last modified time | relevance | path

Searched refs:hmacsha256 (Results 1 - 6 of 6) sorted by relevance

/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()
45 cifs_free_hash(&p->hmacsha256); in smb3_crypto_shash_allocate()
55 rc = cifs_alloc_hash("hmac(sha256)", &p->hmacsha256); in smb311_crypto_shash_allocate()
71 cifs_free_hash(&p->hmacsha256); 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, in generate_key()
[all...]
H A Dcifsencrypt.c847 cifs_free_hash(&server->secmech.hmacsha256); in cifs_crypto_secmech_release()
H A Dcifsglob.h160 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */ member
/kernel/linux/linux-5.10/fs/cifs/
H A Dsmb2transport.c50 &p->hmacsha256, in smb3_crypto_shash_allocate()
61 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb3_crypto_shash_allocate()
72 &p->hmacsha256, in smb311_crypto_shash_allocate()
89 cifs_free_hash(&p->hmacsha256, &p->sdeschmacsha256); in smb311_crypto_shash_allocate()
246 hash = server->secmech.hmacsha256; in smb2_calc_signature()
317 rc = crypto_shash_setkey(server->secmech.hmacsha256, in generate_key()
H A Dcifsencrypt.c812 if (server->secmech.hmacsha256) { in cifs_crypto_secmech_release()
813 crypto_free_shash(server->secmech.hmacsha256); in cifs_crypto_secmech_release()
814 server->secmech.hmacsha256 = NULL; in cifs_crypto_secmech_release()
H A Dcifsglob.h147 struct crypto_shash *hmacsha256; /* hmac-sha256 hash function */ member

Completed in 17 milliseconds