Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_crypto.c335 int rc, rbuf_len, active = 0, ahash_rc = 0; in ima_calc_file_hash_atfm() local
382 for (offset = 0; offset < i_size; offset += rbuf_len) { in ima_calc_file_hash_atfm()
393 rbuf_len = min_t(loff_t, i_size - offset, rbuf_size[active]); in ima_calc_file_hash_atfm()
395 rbuf_len); in ima_calc_file_hash_atfm()
396 if (rc != rbuf_len) { in ima_calc_file_hash_atfm()
417 sg_init_one(&sg[0], rbuf[active], rbuf_len); in ima_calc_file_hash_atfm()
418 ahash_request_set_crypt(req, sg, NULL, rbuf_len); in ima_calc_file_hash_atfm()
483 int rbuf_len; in ima_calc_file_hash_tfm() local
485 rbuf_len = integrity_kernel_read(file, offset, rbuf, PAGE_SIZE); in ima_calc_file_hash_tfm()
486 if (rbuf_len < 0) { in ima_calc_file_hash_tfm()
[all …]