Home
last modified time | relevance | path

Searched refs:hmacsha256 (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/fs/smb/client/
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, &zero, 1); in generate_key()
[all …]
Dcifsencrypt.c847 cifs_free_hash(&server->secmech.hmacsha256); in cifs_crypto_secmech_release()
Dcifsglob.h160 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */ member