Lines Matching refs:shash

217 	struct shash_desc *shash;  in smb2_calc_signature()  local
238 shash = &sdesc->shash; in smb2_calc_signature()
241 shash = &server->secmech.sdeschmacsha256->shash; in smb2_calc_signature()
253 rc = crypto_shash_init(shash); in smb2_calc_signature()
268 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature()
280 rc = __cifs_calc_signature(&drqst, server, sigptr, shash); in smb2_calc_signature()
320 rc = crypto_shash_init(&server->secmech.sdeschmacsha256->shash); in generate_key()
326 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
333 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
340 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
347 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
356 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
359 rc = crypto_shash_update(&server->secmech.sdeschmacsha256->shash, in generate_key()
367 rc = crypto_shash_final(&server->secmech.sdeschmacsha256->shash, in generate_key()
537 struct shash_desc *shash; in smb3_calc_signature() local
552 shash = &sdesc->shash; in smb3_calc_signature()
555 shash = &server->secmech.sdesccmacaes->shash; in smb3_calc_signature()
572 rc = crypto_shash_init(shash); in smb3_calc_signature()
587 rc = crypto_shash_update(shash, iov[0].iov_base, in smb3_calc_signature()
598 rc = __cifs_calc_signature(&drqst, server, sigptr, shash); in smb3_calc_signature()