Lines Matching refs:wait
193 static inline int ahash_wait(int err, struct crypto_wait *wait) in ahash_wait() argument
196 err = crypto_wait_req(err, wait); in ahash_wait()
213 struct crypto_wait wait; in ima_calc_file_hash_atfm() local
222 crypto_init_wait(&wait); in ima_calc_file_hash_atfm()
225 crypto_req_done, &wait); in ima_calc_file_hash_atfm()
227 rc = ahash_wait(crypto_ahash_init(req), &wait); in ima_calc_file_hash_atfm()
263 rc = ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
278 ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
287 rc = ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
301 rc = ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
308 rc = ahash_wait(crypto_ahash_final(req), &wait); in ima_calc_file_hash_atfm()
537 struct crypto_wait wait; in calc_buffer_ahash_atfm() local
546 crypto_init_wait(&wait); in calc_buffer_ahash_atfm()
549 crypto_req_done, &wait); in calc_buffer_ahash_atfm()
551 rc = ahash_wait(crypto_ahash_init(req), &wait); in calc_buffer_ahash_atfm()
561 rc = ahash_wait(ahash_rc, &wait); in calc_buffer_ahash_atfm()
564 rc = ahash_wait(crypto_ahash_final(req), &wait); in calc_buffer_ahash_atfm()