Lines Matching refs:wait
313 static inline int ahash_wait(int err, struct crypto_wait *wait) in ahash_wait() argument
316 err = crypto_wait_req(err, wait); in ahash_wait()
333 struct crypto_wait wait; in ima_calc_file_hash_atfm() local
342 crypto_init_wait(&wait); in ima_calc_file_hash_atfm()
345 crypto_req_done, &wait); in ima_calc_file_hash_atfm()
347 rc = ahash_wait(crypto_ahash_init(req), &wait); in ima_calc_file_hash_atfm()
383 rc = ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
398 ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
407 rc = ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
421 rc = ahash_wait(ahash_rc, &wait); in ima_calc_file_hash_atfm()
428 rc = ahash_wait(crypto_ahash_final(req), &wait); in ima_calc_file_hash_atfm()
664 struct crypto_wait wait; in calc_buffer_ahash_atfm() local
673 crypto_init_wait(&wait); in calc_buffer_ahash_atfm()
676 crypto_req_done, &wait); in calc_buffer_ahash_atfm()
678 rc = ahash_wait(crypto_ahash_init(req), &wait); in calc_buffer_ahash_atfm()
688 rc = ahash_wait(ahash_rc, &wait); in calc_buffer_ahash_atfm()
691 rc = ahash_wait(crypto_ahash_final(req), &wait); in calc_buffer_ahash_atfm()