Lines Matching refs:sdeschmacsha256
48 if (server->secmech.sdeschmacsha256 != NULL) in smb2_crypto_shash_allocate()
61 server->secmech.sdeschmacsha256 = kmalloc(size, GFP_KERNEL); in smb2_crypto_shash_allocate()
62 if (!server->secmech.sdeschmacsha256) { in smb2_crypto_shash_allocate()
67 server->secmech.sdeschmacsha256->shash.tfm = server->secmech.hmacsha256; in smb2_crypto_shash_allocate()
68 server->secmech.sdeschmacsha256->shash.flags = 0x0; in smb2_crypto_shash_allocate()
89 kfree(server->secmech.sdeschmacsha256); in smb3_crypto_shash_allocate()
90 server->secmech.sdeschmacsha256 = NULL; in smb3_crypto_shash_allocate()
103 kfree(server->secmech.sdeschmacsha256); in smb3_crypto_shash_allocate()
104 server->secmech.sdeschmacsha256 = NULL; in smb3_crypto_shash_allocate()
213 rc = crypto_shash_init(&server->secmech.sdeschmacsha256->shash); in smb2_calc_signature()
220 &server->secmech.sdeschmacsha256->shash); in smb2_calc_signature()
254 rc = crypto_shash_init(&ses->server->secmech.sdeschmacsha256->shash); in generate_key()
260 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
267 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
274 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
281 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
288 rc = crypto_shash_update(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()
295 rc = crypto_shash_final(&ses->server->secmech.sdeschmacsha256->shash, in generate_key()