Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dsmb2transport.c51 server->secmech.hmacsha256 = crypto_alloc_shash("hmac(sha256)", 0, 0); in smb2_crypto_shash_allocate()
52 if (IS_ERR(server->secmech.hmacsha256)) { in smb2_crypto_shash_allocate()
54 rc = PTR_ERR(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()
55 server->secmech.hmacsha256 = NULL; in smb2_crypto_shash_allocate()
60 crypto_shash_descsize(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()
63 crypto_free_shash(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()
64 server->secmech.hmacsha256 = NULL; in smb2_crypto_shash_allocate()
67 server->secmech.sdeschmacsha256->shash.tfm = server->secmech.hmacsha256; in smb2_crypto_shash_allocate()
91 crypto_free_shash(server->secmech.hmacsha256); in smb3_crypto_shash_allocate()
92 server->secmech.hmacsha256 = NULL; in smb3_crypto_shash_allocate()
[all …]
Dcifsencrypt.c844 if (server->secmech.hmacsha256) { in cifs_crypto_shash_release()
845 crypto_free_shash(server->secmech.hmacsha256); in cifs_crypto_shash_release()
846 server->secmech.hmacsha256 = NULL; in cifs_crypto_shash_release()
Dcifsglob.h119 struct crypto_shash *hmacsha256; /* hmac-sha256 hash function */ member